Articles on: Monetization

How to set up EZmob Header bidding banners on the WordPress platform

Banner tags can be requested from your account manager via chat or email.

This step-by-step guide will explain how to set up EZmob Header bidding monetization on the WordPress platform.

Request Header bidding banner tags from your account manager or via our help chat or send an email to

You will receive:

Header bidding tag to implement into <head> section of your website,
A tag to place into <body> of your website
Additional statistic login to view your Header bidding performance

Now you need to grab ads.txt lines from our website.

a. Go to this article: Ads.txt for publishers and copy all lines from the bottom of the page (We keep them up to date there)

b. Now you have two options:

i. If you self-hosting WordPress website just open Notepad or any text editor create a new file, paste copied ads.txt lines and save as *.txt with name " ads " and upload ads.txt file to you root directory

ii. If you are using hosting or do not have access to your hosting root directory or prefer to manage your ads.txt file from within your WordPress dashboard, there are plugins to allow for that.
One such plugin is Ads.txt Manager. Once installed, you can navigate to Settings → Ads.txt to paste in the content for your file.

c. Press “Save Changes”, and you’re done! You should now be able to view your file at

Next is adding a Tag to <head> section.
Here are 3 options of adding an Ad Tag to the <head> section of your WP website source code:
Use a Plugin
Edit a Theme Template
Use WP hook

Detailed explanation of each option you can find here: How to add an Ad Tag to <head> section in WordPress.

Paste the Ad Tag (you received on the 2nd step of this guide) just above </head>. Now click on the Save button at the top right corner.

Now we are adding Banner itself

a. Go to Appearance on the left side of a screen, then click on Widgets and add Custom HTML widget to Sidebar Widget Area

b. Paste <div id="container1"></div> into the Widget Content field

c. Click on Done


You can use Live Preview Editor (accessible under Appearance → Widgets )

a. Click on Widgets

b. Select Sidebar Widget Area

c. Click at Add Widget and choose Custom HTML

d. Input Title if needed and paste <div id="container1"></div> into Content field, Click Done

That's it!

Wait for a while before ads will start to show.

Keep in mind that the Best Placement for an Ad Banner is the Top of your Sidebar.

For more information about How to Increase eCPM check this article

Updated on: 05/09/2023

Was this article helpful?

Share your feedback


Thank you!