Traffic Cop Tutorial: How to measure invalid traffic when running Google Ad Manager or PubGuru Header Bidding, Ad Exchange or AdSense hardcoded tags

Traffic Cop
Last updated: October 31, 2022 | by son_m2
Traffic Cop Tutorial: How to measure invalid traffic when running Google Ad Manager or PubGuru Header Bidding, Ad Exchange or AdSense hardcoded tags

This post was most recently updated on October 31st, 2022

When using Google Ad Manager (GAM) or PubGuru Header Bidding onpage codes, deploy your <head> and <body> tags as you normally would. To enable Traffic Cop on “measure” mode, your MonetizeMore Account Manager will also provide you with an additional script which you need to deploy before the closing </body> tag of your site HTML.

Check out PubGuru University to learn more about deploying ad tags, and optimizing ads with AdSense, Google Ad Manager, and more!

If using WordPress, you can deploy the script using any of these plugins:

Advanced Ads

Click Advanced Ads > Ads > New Ad

Give it a title or name. Something that would allow you to easily identify this ad (e.g. m2_trafficcop)

Ad type: Plain Text and Code

Paste the script in the space provided under Ad Parameters

Traffic Cop Tutorial: How to measure invalid traffic when running Google Ad Manager or PubGuru Header Bidding, Ad Exchange or AdSense hardcoded tags MonitizeMore

Click Publish

Select </body> placement

Traffic Cop Tutorial: How to measure invalid traffic when running Google Ad Manager or PubGuru Header Bidding, Ad Exchange or AdSense hardcoded tags MonitizeMore

Ad Inserter

Click Settings > Ad Inserter

Click (Ad Inserter General Settings)

Click the Footer tab

Paste the script in the space provided

Click to enable

Traffic Cop Tutorial: How to measure invalid traffic when running Google Ad Manager or PubGuru Header Bidding, Ad Exchange or AdSense hardcoded tags MonitizeMore

Click Save Settings

If you need to deploy this on specific sections only, watch this tutorial:

Test it!

  1. Download PubGuru Ad Inspector
  2. Open a page on your site where the ads are deployed
  3. Turn on PubGuru Ad Inspector and click Refresh page
  4. Under the Logs tab, you will see the status of Traffic Cop

Traffic Cop Tutorial: How to measure invalid traffic when running Google Ad Manager or PubGuru Header Bidding, Ad Exchange or AdSense hardcoded tags MonitizeMore

Checking Reports

Traffic Cop Tutorial: How to measure invalid traffic when running Google Ad Manager or PubGuru Header Bidding, Ad Exchange or AdSense hardcoded tags MonitizeMore

  1. You will receive email instructions to setup your account on https://app.pubguru.com/
  2. Watch this quick introduction video: https://youtu.be/I8Z1BK0vUDU
  3. Witness how Traffic Cop protects your earnings from fraud traffic!

You can also see the video tutorial here:

Recommended Reading

offerwall-vs-rewarded-ads
Blog
Last updated: July 15, 2025

Offerwall vs. Rewarded Ads: What makes more ad revenue?

Read More
pay-per-crawl
Blog
July 8, 2025

Cloudflare’s Pay Per Crawl for making money with No Traffic: The Data-Driven Disruption of AI’s Free Content Buffet (And What It Means for SERP Dominance)

Read More
in-page-ads
Blog
July 7, 2025

Master Google’s New “Fill Empty In-Page Ads” Feature to Unlock Hidden Revenue

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