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
Ad Optimization
July 31, 2026

How to Identify and Fix Hidden Ad Units on WordPress

Read More
blog cover
Ad Click Spam
July 30, 2026

What Confirmed Click Can Cost You (and How to Check Your Risk in 60 Seconds)

Read More
blog cover
Ad Click Spam
July 28, 2026

Four Types of Ad Click Spam Most Publishers Don’t Know They Have

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