AppNexus ads integration module. Very simple to use. The module provides blocks with ability to set Tag IDs, Ad Sizes.
You can also pass global page options:
<?php
use Drupal\appnexus\PageOpts;
/**
* Implements hook_page_attachments().
*/
function mymodule_page_attachments(array &$page) {
$page_opts = (new PageOpts())
->setKeywordQuotes()
->setMember('YOUR_MEMBER_ID')
->setKeyword('var1', 'value')
->setKeyword('var2', ['val1', 'val2'])
->setKeyword('var3', 1234);
if ($opts = $page_opts->build()) {
$page['#attached']['drupalSettings']['appnexus']['opts'] = json_encode($opts);
}
}Supporting organizations:
Project information
Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projectsObsolete
Use of this project is deprecated.- Project categories: Content editing experience, E-commerce
2 sites report using this module
- Created by minnur on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
