Ad Code Manager gives non-developers in WordPress admin for configuring your complex set of ad codes..
This includes the tag IDs used by your template, the URL for your provider, and HTML surrounding that URL.
Ad Code Manager comes with support for Google Doubleclick For Publishers, and Google AdSense.
Once this configuration is in place, Ad Code Manager admin interface will allow you to add new ad codes, modify the parameters for your URL, and define conditionals to determine when the ad code appears.
Example usage function my acm register provider slug { $providers->new provider slug = array return $providers } acm whitelisted script urls.
Example Allow Doubleclick for Publishers ad codes to be used function my acm whiltelisted script urls { $whitelisted urls = array return $whitelisted urls } acm output tokens.
If you want to add your own flavor of DFP or even implement configuration for some another ad network, you'd have to apply filter to correct the slug..
Example usage add filter { return array } ) acm ad code count.
Example usage function my acm list table columns { $columns = array, 'name => , 'priority => , 'conditionals => , ) return $columns } acm ad code args.
Example usage function my acm ad code args { $args = array, 'editable => true, 'required => true, ), ) return $args }...
Read more