• Resolved AbCOM80

    (@abcom80)


    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Spacetime

    (@spacetime)

    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

    (@abcom80)

    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

    (@abcom80)

    By the way, those are the tags generated by the DFP

    Thread Starter AbCOM80

    (@abcom80)

    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

    (@spacetime)

    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/

    Thread Starter AbCOM80

    (@abcom80)

    thank you man!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding DFP Tags’ is closed to new replies.