Duplicate Ad Unit Detected. Here’s How To Fix It

This post was most recently updated on November 6th, 2021

The same div ID is loading more than once in a single page load.

  • Device detection codes are possibly missing from the source code (if ON-page = Ad Manager or DFP tags are defined on page)
  • Device was probably not set in the PubGuru Header Bidding configuration (if OFF-page = tags are hosted in a secure MonetizeMore file)

Troubleshooting:

OFF-page:

Step 1: Log into tools.monetizemore.com

Step 2: Open the relevant PubGuru Header Bidding configuration

Step 3: Re-check “Slot” field to find any unnecessary duplicates

Step 4: If an ad unit has been added twice (i.e. responsive setup), make sure each ad unit defined in the configuration has the right device set (desktop/mobile)

Duplicate Ad Unit Detected. Here’s How To Fix It MonitizeMore

Duplicate Ad Unit Detected. Here’s How To Fix It MonitizeMore

Step 5: Open the site, right click > view page source

Step 6: Search the div ID’s. You should only see each body tag or div deployed once

Duplicate Ad Unit Detected. Here’s How To Fix It MonitizeMore

Step 7: If you see any duplicates, remove them.

 

ON-page:

Step 1: Open the page, right click > view page source

Step 2: CTRL+F “defineslot” to locate DFP header tags

Step 3: If the publisher is using a separate set of ads on mobile vs desktop, check that device detection codes are set to properly load the ads based on device:

Duplicate Ad Unit Detected. Here’s How To Fix It MonitizeMore

Step 4: Search the div ID’s. You should only see each body tag or div deployed once

Duplicate Ad Unit Detected. Here’s How To Fix It MonitizeMore

Step 5: Using a mobile emulator, refresh the page to load mobile

Step 6: View page source again and hunt down the duplicate ID

Step 7: If you see any duplicates, remove them.

 

Need more help? Sign up for a Premium account today and leverage your long-term RPMs!
If you have an account with us already, send us an email at support@monetizemore.com or log in to PubGuru App and use the Chat widget for immediate support.

Stop letting RPM drops stress you out

Let our AdOps Experts do the hard work. Sign up today and unlock your revenue potential.

Maximize my Ad Revenue

It’s your turn to take the ad monetization game to the next level

  • No credit card required
  • No DNS transfer
  • Cancel any time

Get started