How to implement PubGuru Header Bidding using Ad Inserter

How to implement PubGuru Header Bidding using Ad Inserter

Header Bidding implementation with MonetizeMore is quick and easy! Instead of having to add hundreds of lines of codes, you’ll only deploy a single one. You read that right – only one line of code (one for the header, one body tag for each ad unit)! In this post, we’ll show you how to implement PubGuru Header Bidding with the Ad Inserter WordPress plugin.

It should look like this:

insert cofig url

implement ad units in body

Header tag

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

Step 2: Click Settings > Ad Inserter

Step 3: Click settings (Ad Inserter General Settings)

Step 4: Click the Header tab

Step 5: Paste the <head> code in the space provided

Step 6: Click to enable

html page header code

Step 7: Click Save Settings

Step 8: In case you have separate Header tags for different sections of your site, check out <link>

Body tags

Step 1: Click Settings > Ad Inserter

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

Step 3: Specify which page categories you’d like to show up and which spot on the page.

div code

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

Step 5: If the ad is intended for the sidebar, specify which page categories this ad will serve but keep Insertion: Disabled, click Manual > check “Shortcode” (see below sample)

div class pg-lazy loading

Save and go to Appearance > Widgets. Drag Ad Inserter into position and select which Block you’d like to show on the chosen spot, then click Save.

select the widget

Find out more about Ad Inserter vs Advanced Ads here.


As you can see, we’ve simplified the implementation with PubGuru Header Bidding enabling publishers to run header bidding with little or no coding knowledge. Have you tested header bidding yet? With MonetizeMore’s PubGuru Header Bidding wrapper, we offer transparency, minimal management, and setup. Best of all, top performance! Take your ad revenue to the next level with PubGuru Header Bidding!

Kean Graham

CEO and Founder at MonetizeMore

Kean has been a pioneer in the AdTech world since 2010 who believes in the supremacy of direct publisher deals, programmatic advertising, and building ad technology as keys to scaling ad revenue. Here, he provides publisher resources and guides covering areas like website monetization, AdSense optimization, Google Ad Manager, Ad Exchanges, and much more.

Get our latest ad optimization tips delivered to your inbox

Fill out my online form.

Submit a Comment

Your email address will not be published.