Title: Adding DFP Tags
Last modified: August 30, 2016

---

# Adding DFP Tags

 *  Resolved [AbCOM80](https://wordpress.org/support/users/abcom80/)
 * (@abcom80)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-dfp-tags/)
 * Hello!
 * I am tying to add DFP tags to this plug in in order to start a marketing campaign.
   On the code space I added the tag code, and setup al the options on position,
   page shown, etc. but nothing really happens.
 * Can someone help me out on this one? I already created everything on DoubleCLick
   for Publishers, no I just need to activate the spaces to display on my WP site.
 * Thank you!
 * [https://wordpress.org/plugins/ad-inserter/](https://wordpress.org/plugins/ad-inserter/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-dfp-tags/#post-6304674)
 * It would help if you could paste the url to your page where the code should appear
   and screenshot of Ad Inserter settings.
 *  Thread Starter [AbCOM80](https://wordpress.org/support/users/abcom80/)
 * (@abcom80)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-dfp-tags/#post-6304675)
 * Thanks for the response.
 * I just don´t find it very clear on where to put this code, which is for my home
   leaderboard 728×90:
 * <!DOCTYPE HTML>
    <html lang=”en-us”> <head> <meta http-equiv=”Content-type” content
   =”text/html; charset=utf-8″> <title>Widgets Magazine</title> <style type=”text/
   css” media=”screen”> </style> <script type=’text/javascript’> var googletag =
   googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads 
   = document.createElement(‘script’); gads.async = true; gads.type = ‘text/javascript’;
   var useSSL = ‘https:’ == document.location.protocol; gads.src = (useSSL ? ‘https:’:‘
   http:’) + ‘//www.googletagservices.com/tag/js/gpt.js’; var node = document.getElementsByTagName(‘
   script’)[0]; node.parentNode.insertBefore(gads, node); })(); </script>
 * <script type=’text/javascript’>
    googletag.cmd.push(function() { googletag.defineSlot(‘/
   30747816/abarrotero_home_leaderboard’, [728, 90], ‘div-gpt-ad-1435991423179-0’).
   addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.
   enableServices(); … </head>
 * AND then I have this other code (which is for the body):
 * <!– /30747816/abarrotero_home_leaderboard –>
    <div id=’div-gpt-ad-1435991423179-
   0′ style=’height:90px; width:728px;’> <script type=’text/javascript’> googletag.
   cmd.push(function() { googletag.display(‘div-gpt-ad-1435991423179-0’); }); </
   script> </div>
 * The URL of the website where it needs to be shown is: abarrotero.com
 * Thank you for your help.
 *  Thread Starter [AbCOM80](https://wordpress.org/support/users/abcom80/)
 * (@abcom80)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-dfp-tags/#post-6304677)
 * By the way, those are the tags generated by the DFP
 *  Thread Starter [AbCOM80](https://wordpress.org/support/users/abcom80/)
 * (@abcom80)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-dfp-tags/#post-6304684)
 * I cannot give you access to the website, I am sorry, it is the companies website
   and I am not authorized for that. I just wanted to follow up basic steps to setup
   DFP tags on your plug in.
 * The scenario is this:
 * Everything is set on DoubleClick (Google DFP) and the tags have been generated.
   The only thing missing are the ad spaces on wordpress theme. Any suggestions?
 * Thanks for your help!
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-dfp-tags/#post-6304686)
 * Then I can not help much as the insertion mainly depends on the theme used.
 * Ad Inserter can not generate ad spaces on wordpress theme, it can only insert
   code at positions provided by WP and implemented by the theme used.
 * Of course, any custom position can be achieved by manually placing code directly
   into theme PHP files.
 * Ad Inserter supports typical positions that work for many themes. Please check
   general instructions:
    [https://wordpress.org/plugins/ad-inserter/](https://wordpress.org/plugins/ad-inserter/)
 *  Thread Starter [AbCOM80](https://wordpress.org/support/users/abcom80/)
 * (@abcom80)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/adding-dfp-tags/#post-6304706)
 * thank you man!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Adding DFP Tags’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

## Tags

 * [ad insert](https://wordpress.org/support/topic-tag/ad-insert/)
 * [DFP](https://wordpress.org/support/topic-tag/dfp/)

 * 6 replies
 * 2 participants
 * Last reply from: [AbCOM80](https://wordpress.org/support/users/abcom80/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/adding-dfp-tags/#post-6304706)
 * Status: resolved