Ads in header of cloud header template

Posted in: Newspaper
Post count: 209

Hello,
I’m just converting the standard default header to a tagdiv cloud template based header. With the standard template the ads (Google) where displayed correctly on any device (desktop and mobile). So this is no Google nor a banner delivery problem.

With the change to the cloud header, the ads are only shown in the mobile version, but also not perfectly. Although I even set fixed banner-sizes, the banner area collapses to 0 height and no banner is shown. In the mobile version I have the impression, that the title (“Anzeige”) makes the banner moving down. What do I have to do to make the banners displayed correctly?

Here are the banner settings:
https://prnt.sc/q3wl4v
The template in the composer (looks ok):
http://prnt.sc/q3wmgb
The Live-Output: No banner! (the word “Anzeige” moving down/banner-height:0):
https://prnt.sc/q3wvc7
Preview of the mobile view (looks ok):
http://prnt.sc/q3wszp
In the mobile view a banner is displayed, but moved down and not displayed correctly:
https://prnt.sc/q3wtwv

  • This topic was modified 6 years by be2name.
Post count: 18283

Hello !

We do recommend using auto ads: https://support.google.com/adsense/thread/1603676?hl=en

When using a cloud header we recommend using an adBox Element and insert the adsense code directly in it. Find out more about it here: https://forum.tagdiv.com/custom-ad-spots/

Thank you !

Post count: 209

Hello Vlad,

I just tried to insert ad-code directly into an adBox element in my cloud header. I wanted to switch the code between the different screen-sizes (desktop, tablet, mobile …) and just found out, that the code is always the same. I’m not able to enter different code for the different sizes. Is this another bug?

Auto ads is no option for me, because I’m not only displaying Google Ads so I must have the control over the ad places, to sell them.

Post count: 18283

Hello !

If you have the same code from the google for that you will have to contact them. If you’re talking about the ads you set in the theme panel those will be restricted by css not by the code itself.

I hope this was helpful !

Thank you !

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