7 January, 2022 seen 850Title for this article might be named also as - how to display block on taxonomy pages only. In fact that was the…
Google AdSense auto ads have been available for some time already, in the past I have used them with mixed success.
Fast forward to 2020 and I decided to give them another shot. But there was one thing worrying me - I don't want to show Google Ads on every single page, and I want to take control of it. As my blog is built with Drupal, in the past I have used a few tricks to get what I want.
Auto ads offer a simple and innovative way for you to monetize your content. With Auto ads, you place one piece of code on all pages across your site. Auto ads will then scan your site and automatically place ads where they’re likely to perform well and potentially generate more revenue.
Google offers excluding specific URLs for showing auto ads on.
The first step I decided to set up and run Google Auto Ads for a couple of days, and then use Google Analytics to filter out URLs with most AdSense views/clicks (You should connect both AdSense and Analytics to have such feature)
Filtering pages with most Google AdSense views /clicks in Google Analytics
Now there are 4 pages from top 10 pages I don't want Google Ads be shown, now all I have to do is go to the Google AdSense auto ads settings, and manually paste the URLs I want to be excluded:
Login to your Google AdSense account
From the left top menu, click Ads - > Overview
And here you should have a screen offering to enable/disable auto ads, as well configuration settings:
Google Auto ads management
Manage page exclusions for Google auto ads
Click save and you are done!