Table of Contents
Contributors: chriswgerber
Requires at least: 3.0.0
Tested up to: 4.2.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: dfp, doubleclick, ads, ad trafficking, ad ops
Simpler management of DFP (DoubleClick for Publishers) ad positions
- Download Zip File
- Navigate to your website's admin page:
example.com/wp-admin/
- Go to Plugins, "Add New"
- At the top of the page, choose "Upload Plugin"
- Upload zip file and install now
- Activate plugin
- Visit https://www.google.com/dfp/ and get your Account ID
- To find your Account ID, go to Settings. On the left sidebar, choose "Network Settings" and "All Network Settings".
- Copy your "Network Code". It should be an 8-digit integer for identifying your ad network.
- Visit the Ad Positions "Settings" in the WordPress Admin page.
- Add the DFP Network Code for Identifying the ad network for ad positions.
Tired of dealing with creating and fixing the ad positions after each change, I decided to create a plugin that would make it easier to manage individual ad positions and add targeting for each of those positions.
The goal is to create a core set of functions that power a set of ad positions defined in DoubleClick. These ad positions will take custom targeting and display information passed through page level and individual tags.
Managing the tags will be made simple through an import function that works directly with the DFP export tools.
Below are a list of items that need to be completed before the plugin is ready for release.
- Filter taxonomy names and values into page-level targeting for positions.
- More precise validation of input values in custom metaboxes for ad positions.
- Improve documentation on plugin.
- Full Test Suite for current code and all new features.
Submit your questions at www.chriswgerber.com/contact/
- 🆕 Adds
DFP_CONCAT_SCRIPTS
constant. Set asfalse
to force the plugin to use un-minified scripts - 🐛🔫 Fixes array issue in javascript that would cause ads to not appear.
- 🆒 Improves build scripts
- 🆕 Adds Composer.lock file to force support for PHP 5.3 on all
composer install
- 💯 Various code quality improvements.
- 🐛🔫 Fixes widget not displaying ad position correctly.
- 💯 Various code quality improvements.
- 🆕 Adds option to turn off asynchronous loading.
- 🆒 Adds class
dfp_ad_pos
to ad tags. - 🐛 Fixes shortcode issue where content would always appear at the top of the content area.
- Bug Fix - Ad CPT was overriding page meta. Fix implemented resets post data after use of WP_Query.
- Fixes build
- Bug fix
- Fixed issue where settings were not being called.
- Bug Fix: Added extra check to make sure plugin didn't attempt to add other CPTs as ad positions.
- Enhancement: Added linting and uglifying to JS. Now serving minified JS.
- Enhancement: Updated directory structure
- Enhancement: Updated Readme to include screenshots and more information.
- Added functionality for importing DFP Ads
- Added Travis CI Integration.
- Added Composer
- Begin Unit Testing
- Added Code Coverage Reporting
- Updated JS to make extensions easier
- Added Asynchronous ad loading
- Made plugin compatible with PHP 5.3
- Initial pre-release