Google DFP Doubleclick again and again

Posted in: Newspaper
Post count: 8

Dear tagDIV guys,
i love your newspaper theme but……I am considering to switch back to another theme because a google doubleclick ad support is still missing. Google adsense is NOT interesting for professional publishers that have own sales advertising customers. So, where is the problem to support google doubleclick? I dont understand.

Post count: 9544

You can place any ads you want into the ad system using the tools provided, or place the code into the template files directly. Not that hard for a professional publisher. We don’t have any problems with it over here.

Sure TagDiv may have better answer, but working fine for me.

Post count: 52

Just about to ask about this exact issue. So do I need to modify the existing template files of the theme or does the theme support Google DoubleClick?

Post count: 9544

Theme supports ANY ad network… you just need to follow the docs to put in your custom HTML for the different media sizes … theme will print THAT into the spots unless it’s Adsense. At least that how it works for us.

Post count: 128

We’re having problem getting Double Click ad codes to work on mobile (responsive). Anyone have any suggestions?

Post count: 23312

Hello Christina,

The DoubleClick ads aren’t recognized by theme’s ad system and the code is rendered as it is. The theme only works using google Adsense ad codes: https://forum.tagdiv.com/ads/ ..for other type of ads you can either use wp text widget or a plugin like Simple Ads Manager or AdRotate to render the code then use theme’s ad spots. For more references about this regard, you can consult this topic -> https://forum.tagdiv.com/topic/tutorial-responsive-ads-with-google-dfp/

Thanks.

Post count: 52

Which template files would need to be edited for adding in additional leaderboard spots?

Post count: 23312

Hello firetoss,

Depending on where exactly you want to show your spots. I suppose that you want to display on your posts and for achieving this you have to introduce the code in loop-single template corresponding to your post-temple used by you, like this -> http://screencast.com/t/KK5RI7fiuY

Hope this helps!

If is not what you mean, please provide more details so I will be able to provide more accurate response.

Thanks.

Post count: 22

The same here. Everything works fine with AdSense but as soon as you try to manage your ads with DFP things start to fall apart. The most annoying problem is that the size of the rendered ads cannot be managed properly.

Anybody found a stable solution that actually works?

Post count: 23312

Hello thesend,

As I explained above, the theme is not tested with this kind of Ads and might appear some errors in this case, sorry! As an alternative, try to use some plugins in this regard which have this functionality or you can hire a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thank you for your understanding!

Post count: 22

Sure Catalin, everything is clear. I was just wondering if some other users had a stable and effective way to manage DFP with the theme.

Post count: 60

@ChrisS, when you say

you just need to follow the docs to put in your custom HTML for the different media sizes …

do you take DFP’s ad tag and place it in a theme panel>custom ad slot and then hardcode something like:

< ?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>

Post count: 22

@schindyguy, I suggest you to
a) simply paste the code of DFP ad units in the ad section of the theme (header, sidebar, custom slots, etc.);
b) add the javascript of DFP in the header of the theme. You should change and customize this part of the code if you want to make ads responsive (see Catalin’s link for the complete tutorial).

Post count: 60

Thanks @thesend I have not yet switched to DFP but stumbled on this thread – seems pretty straight forward the way you explain it but then what issues are you having that you brought up in this thread? Did you follow this to get responsive working https://forum.tagdiv.com/topic/tutorial-responsive-ads-with-google-dfp/ ?

Post count: 22

Yes @schindyguy, the link you posted is correct and the one you should follow.

Basically, as some other user have reported, the theme handles perfectly AdSense banners with responsive layouts as you can specify the size of the ad units for the different devices in the admin panel.

The same thing does not happen with DFP code. Therefore, if you want to have responsive/smart DFP banners in your site, you do not have to work with the admin panel settings but you need to hard code the instructions directly in the header of your website.

Hope this helps.

Post count: 364

I put $500 into the pot. All I’m looking for:

    • Integration of DFP Doubleclick to the Newspaper theme (like the existing theme panel ad section for Adsense)
      Mobile responsiveness and seamless integration of the ads
      Maintained by Tagdiv
  • Who’s willing to call?

    Post count: 22

    @loano1, I got things working properly on our website: we are now using DFP through the theme’s panel and the size of the ads served depends on the visitor’s device. I am happy to help.

    Post count: 60

    @thesend, thanks for the help! when you write

    @schindyguy, I suggest you to
    a) simply paste the code of DFP ad units in the ad section of the theme (header, sidebar, custom slots, etc.);
    b) add the javascript of DFP in the header of the theme. You should change and customize this part of the code if you want to make ads responsive (see Catalin’s link for the complete tutorial).

    For b) does your js include all the default ad width/dimensions based on tagdiv’s adsense integration? Check out http://screencast.com/t/yr3IO4SuW – lines 98+ of /includes/shortcodes/td_block_ad_box.php show the ad slot name along with the custom “responsive” dimensions that fit within the themes layouts

    Post count: 22

    @schindyguy, depending on your website and banners you can set your own preferred points for ad size change. For instance, in my case I use the following settings for the addSize() property:

    [1024,768]
    [980,690]
    [640,480]
    [0,0]

    Post count: 11

    Hi @thesend – could I hire you to get this going for us? Setup with DFP, but ads won’t resize for us.

    declankerin@mapleleafshotstove.com

    Post count: 22

    @MLHS solved.

    Post count: 10

    I’m trying to do exactly the same. @thesend any way you can help me out?

    Post count: 31

    Hi,
    I am using a plugin, the DFP – Doubleclick Ad Manager by Chris W. Gerber. It works well on two of my sites in body and sidebars, though not in the header (I am using a header style without ads so I don’t care). The import feature doesn’t work but I think only one line of code needs to be changed to make it work (seems to be a character in the beginning that is wrong). I added my ad slots manually, no problem.
    I don’t know about resizing because I don’t use 728×90 on mobile.
    BR, Walther

    Post count: 22

    Dear @avalera, drop me a line at enquiry [at] weddingcake it with the URL of your website.

    Post count: 35

    Hi @thesend,

    we have similar problems. How can I reach you – don’t understand enquiry [at] weddingcake.

    Viewing 25 posts - 1 through 25 (of 28 total)
    You must be logged in to reply to this topic.