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.
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.
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.
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.
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?
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!
@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"]');?>
@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).
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/ ?
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.
@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
@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]
Hi @thesend – could I hire you to get this going for us? Setup with DFP, but ads won’t resize for us.
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
