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: June 1, 2026 | by Pierre Kazanowski
Traffic Cop Tutorial: How to measure invalid traffic when running Google Ad Manager or PubGuru Header Bidding, Ad Exchange or AdSense hardcoded tags

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

blog cover
Blog
August 26, 2026

Which Destination Page Earns More? A Better Way to Test Publisher Traffic

Read More
blog cover
Traffic Quality
August 19, 2026

How the Updated GCPP Requirements May Affect Publishers

Read More
blog cover
AI Bot Strategy
August 11, 2026

Why Publishers Need an AI Bot Strategy in 2026

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