Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags

Traffic Cop
Last updated: October 31, 2022 | by Kean Graham
Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags

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

If you run PubGuru Header Bidding Off-page*, all you need to do is implement the codes as provided to you by your Account Manager. It should look something like this:

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

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

Whether you opt for Traffic Cop to run on “measure only” mode or “measure & block” mode, implementation is the same either way.

How to get set up

Step 1: Remove any old ad tags deployed on the site, like GAM codes or hardcoded AdSense or Ad Exchange

Step 2: If using WordPress, you can deploy the new <head> tag 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. Head – All Pages)

Ad type: Plain Text and Code

Paste the <head> code in the space provided under Ad Parameters

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Set Display and Visitor condition as needed

Click Publish

Select Head placement

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

In case you have separate Header tags for different sections of your site, follow this tutorial

Ad Inserter

How to set up a test page: 

Click Settings > Ad Inserter

Click (Ad Inserter General Settings)

Click the Header tab

Paste the <head> code in the space provided

Click to enable

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Click Save Settings

In case you have separate Header tags for different sections of your site, check out the first tutorial above.

Step 3: If using WordPress, you can deploy the <body> tags using any of these plugins:

Advanced Ads

Click Advanced Ads > Groups & Rotation > Add New Group

Give it a name & save

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Edit the newly created group and set to Ordered Ads & select the number of ads you want to display per page

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Click Update Groups

Click Advanced Ads > Ads > New Ad

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

Ad type: Plain Text and Code

Paste the <body> tag in the space provided under Ad Parameters

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Set Display and Visitor condition as needed

Select Group

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Click Publish

Select the placement or spot where you’d like it to show up

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Repeat steps for the next <body> tag you need to deploy.

If the ad is intended for the sidebar, click Appearance > Widgets

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Drag Advanced Ads into position and select which ad you’d like to show on the spot selected, then click Save

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Watch this tutorial for more info

Ad Inserter

Click Settings > Ad Inserter

Use a new ad block and paste the <body> tag provided to you.

Specify which page categories you’d like it to show up and which spot on the page

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Repeat steps for the next <body> tag you need to deploy.

If the ad is intended for the sidebar, specify which page categories this ad will serve but keep Insertion: Disabled

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Then, go to Appearance > Widgets

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Drag Ad Inserter into position and select which block you’d like to show on the spot selected, then click Save.

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

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 & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

Google Analytics and GDPR Compliance

Our tech is now able to seamlessly handle Google Analytics tracking and in compliance with GDPR, with no extra codes needed! This makes implementation a lot simpler and unloads a bunch of codes from your site.

  1. Remove your Google Analytics tracking codes and any GDPR codes.
  2. Inform your MonetizeMore Account Manager in advance if you plan to do this, so you can agree on a specific schedule to deploy the changes.
  3. We’ll take care of everything else from here.

Checking Reports

Traffic Cop tutorial: How to measure & block ads when running PubGuru Header Bidding Off-page tags MonitizeMore

  1. You will receive email instructions to set up 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!

More than 1500 publishers see 50-400% ad revenue growth with us.

Don't just take our word for it

$100M+

Paid to Publishers

3B+

Ad Requests Monthly

1500+

Happy Publishers

Recommended Reading

google-delays-cookie
Ad Industry News
April 24, 2024

Google Delays Third-Party Cookie Phase-out (Again)

Read More
best-ad-inspector
Blog
April 23, 2024

Turbocharge Your Ad Revenue with PubGuru Ad Inspector V2

Read More
make-money-real-estate-sites
Blog
April 19, 2024

Navigating the Online Real Estate Marketplace: 8 Tips for Monetized Publishers

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