How to prevent Google from serving on pages with violations to protect your earnings

DoubleClick For Publishers / Google Ad Manager Ad Optimization
March 5, 2020 | by Kean Graham
How to prevent Google from serving on pages with violations to protect your earnings

Google can disable ad serving on your site at any time if you continue to violate program policies. The worst-case scenario is getting your entire account banned. Often, only a specific section or page is in violation, so you don’t have to shut Google demand completely but only prevent it from serving where violations exist.

The steps below apply to WordPress users only but might also provide some useful bits of information if you are using a different CMS.

Preparation

Step 1: List all the URLs of the pages with violations in a notepad, 1 per line. Exclude the root domain and add *.

For example, if this is the page, you only list it as /sunflawer-shaders-1-14-4/*

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Sample on a notepad for 2 URLs:

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Step 2: Create a header Hook on Wordpress using Ad Inserter plugin

  • If not done yet, install Ad Inserter plugin and activate it
  • Go to Settings > Ad Inserter
  • Click on General Settings (gear icon)
  • Go to the Hooks tab
  • Create a hook with action: wp_head and make sure it’s checked
  • Save Settings

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Step 3: On Google Ad Manager, create a key-value pair (KVP):

  • key name: google
  • value: no

Implementation

Step 1: Deploy the header tag that contains the KVP in one of the blocks

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Step 2: Select all sections

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Step 3: Select the header hook you created for the Insertion

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Step 4: Click on Lists > click URLs > paste the list of URLs with violations 1 per line (see below screenshot)

Step 5: Select White list > Save settings

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Step 6: Open the block which contains the regular header tag/s that targets the URLs where you don’t want Google to run

Step 7: Click Lists > paste the list of URLs where you don’t want Google to run > set to Black list

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Repeat steps 4 to 7 for URLs you’d like to add in the future.

Step 8: Save

Google line items in Google Ad Manager

The action below will make your Google line items ineligible to serve where the key-value pair exists.

Step 1: In Google Ad Manager, open each of your AdSense/Google Ad Exchange line items

Step 2: Set Custom Targeting to Google > is none of > no

How to prevent Google from serving on pages with violations to protect your earnings MonitizeMore

Step 3: Save

Conclusion

Now you know how to add an extra layer of protection and prevent your account from getting banned. Violating Google program policies is never a good idea. Be sure to follow them as closely as possible.

Are you still struggling with policy violations or invalid traffic and don’t know how to rid yourself of these issues? Let MonetizeMore help! Our ad optimization specialists know Google program policies inside and out and can help you with invalid traffic concerns. Sign up to MonetizeMore today!

Recommended Reading

how_publisher_q4_ad_sales_strategies_shaping_up
Blog
October 10, 2024

HOW PUBLISHERS’ Q4 AD SALES STRATEGIES ARE SHAPING UP

Read More
monetizemore-fortune-500
Blog
October 9, 2024

MonetizeMore Named Canada’s Top Growing Company Again!

Read More
make-money-in-app-header-bidding
Blog
October 8, 2024

In-App Header Bidding: How to make more money with it? [7 Benefits Included]

Read More

Trusted by 1,500+ publishers worldwide

10X your ad revenue with our award-winning solutions.

Let's Talk

Close

Ready to 10X your ad revenue with the #1 ad management partner?

Start Now