Proper way to add site-wide Adsense code

Posted in: Newspaper
Post count: 12

Hi

For some reason, I couldn’t find the definitive answer to these questions from your documentation:

1) If I only want to use the Adsense site-wide code, do I need to add it to every slot in the Newspaper theme panel’s Ads -section, or only to Analytics/JS code -> Headers section?

2) If I want to add Adsense code by ad slot in addition to the site wide code, is that possible? If yes, does it override the site-wide code in that ad slot?

Thanks!

Post count: 21065

Hello!

If you want to use auto ads, then they should be placed in the Theme Panel -> Analytics/Js Codes.
If you need to add the ads manually on every template, then you should add the ads when you edit the post with TagDiv Composer in the element called ” Single Post Content ” in the tab ADS. Documentation here: https://forum.tagdiv.com/article-ads/
Or you can use the element called “Ad box” from TagDiv Composer and there you need to add the ads: https://forum.tagdiv.com/ads-adsense-overview/

If you want to add some auto ads and also ads in some templates, then this is possible and they should display well.

Thank you!

Post count: 12

Thank you Bettina!

Would you recommend using auto ads, or adding ad slot specific adsense codes? Which method is recommended and works better? Or is it just personal preference?

Post count: 35449

Hi,
You can use both methods, we do not have a recommended one, but in case that you want to have control over the ad, then you should not use auto ads, because those will be display where and when the google wants.
Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.