Hey Guys,
My problem:- 729*90 adsesne ads work nicely on Dekstops but on ipad landscape and Phones they are not scaling as planned . on iPad they stretch into the side bar and in phones they stretch wider than the phone screen width.
I have read the detailed instructions for Ads and have experimented with specifying the ad size per device from the theme panel but it’s still not working perfectly.
My question is:- If I want my ad to show as 729*90 on desktop and 468*60 on tablet (portrait and landscape) and 320 *100 on cells. what type of Ad sense code should I use ? Shall I get the code for a 729*90 from Ad sense or the responsive code ? which one do you recommend ?
& I wouldn’t mind you having a look into my site to find out why it’s not working as planned. I can PM you sftp details and admin details to check it out.
Cheers
Wissam
Hi,
If you use the responsive ad code from Google for your AdSense ads they will be responsive. Meaning, a different size ad will be loaded depending on viewport. Also note that adsense are not responsive on the fly, you have to refresh the window in order to get the right size ads for current screen width.
Thanks!
I use the responsive code on my sites. I think it says 2014 responsive version; and reminds me I need to double check if they have updated that.
Example:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 2014-Responsive -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-xxxxx"
data-ad-slot="xxxx"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Thanks Again Chris,
What I am trying to achieve pretty simple:-
Desktop: always show 728*90
Tablet p and l : 468*60
Cell : 320 *100
But When I installed the Google responsive code it is showing a 468*60 for desktop which is sort of bad for the design look and the $$ side too.
Can I PM you my site details , or can we make this post private and I will post the details here ?
Cheers
Wissam
#EDIT:- When I installed the Google responsive code it is the bottom of the post Ad to be taking the full width of the page , taking over the side bar and being centred in the middle of the whole page , as if there was no side bar , so could be a CSS some where !
Cheers
Hi,
Please send your site details at contact@tagdiv.com and paste a link to this conversation.
Thanks!