Hi,
We create a custom adsense ads for our website: https://www.tendenciaempresarial.es/
And config all of the with auto size (also on google adsense) but on an ipad portrait view the ads doenst fix well
Why??? How could we solve this???
Thanks
Hi,
Is look that the absence on iPad is set to 300×250 -> https://i.imgur.com/BI6RUEK.pngit looks that is not recognize the space that is left, what you can do in this situation is to set a specific size for the ad on iPad -> https://i.imgur.com/yviCdw0.png
Hope this will help you!
Thank you!
Hi again,
We do that but still no works.
I attached you the config that we use with the adsense:
Could ypu check it to fix the problem??? Thanks.
Hi,
Is look that the ad is force to be set on 300×250 with an inline css -> https://i.imgur.com/avox2OS.png I think that here -> https://i.imgur.com/gIIsEqR.png in your code you have this style set, once that you set a fix dimension for the ads, the theme can’t force to change it.
Let me know the results!
Thank you!
Hi,
I recheck all the ads and all of them are now as responsive and autosize.
To fix the issue i add this css on the “IPAD PORTRAIT” custom css:
.adsbygoogle
{
margin-left: -12px !important;
}
Now that works for us.
What do you think about this solution???
One thing more,
We add two ad sense banners on the article as the image attached:
But on ipad and iphone we cant see it… why???
Also we want to know how we have to config the ads to work with the amp news????
(we use this plugin: AMP for WP – Accelerated Mobile Pages)
Hi,
Yes, the above solution is good and is working for the 300x250ads
Unfortunately the ad set in single post template have the same problem, is not resize -> https://i.imgur.com/psO4FMW.png is displaying in iPad but is not resize to the correct size.
you can set ads on amp if you are using the mobile theme plugin and you can set the ads on mobile ads (these will be display on amp and mobile theme) and you can use auto ads.
Hope this will help you!
Thank you!
Hi again,
2 things more:
1.- Why our google ads are not display on ipad or iphone???
2.- We use amazon ads like that:
“<iframe src=”https://rcm-eu.amazon-adsystem.com/e/cm?o=30&p=12&l=ur1&category=kindle_unlimited&banner=0A8ZM7ZCCKPJH18EHF02&f=ifr&linkID=f379c05d852509950141c0e0b7620ebb&t=tendenciaempr-21&tracking_id=tendenciaempr-21″ width=”300px” height=”200px” scrolling=”no” border=”0″ marginwidth=”0″ style=”border:none;” frameborder=”0″></iframe>”
But on ipad portrait the ad didnt fix well… we try to solve with some css but no way… any ideas to fix it???
Thanks
Hi,
1. As I can see the ads are appearing on mobile -> https://i.imgur.com/U8jTKVx.png -> https://i.imgur.com/PmAv385.png and in iPad too -> https://i.imgur.com/cwljOTw.png -> https://i.imgur.com/DqQFrhU.png indeed on iPad are not fit so well.
2. Is look that the smallest ad that amazon provide is 300×150 -> https://i.imgur.com/nPsX6tr.png You can set a 200×200 on iframe but them it will not be display the full ad -> https://i.imgur.com/NX6PbAJ.png
<iframe src="https://rcm-eu.amazon-adsystem.com/e/cm?o=30&p=12&l=ur1&category=kindle_unlimited&banner=0A8ZM7ZCCKPJH18EHF02&f=ifr&linkID=f379c05d852509950141c0e0b7620ebb&t=tendenciaempr-21&tracking_id=tendenciaempr-21" width="200px" height="200px" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe>
Hope this will help you!
Thank you!