Articles on: Publishers

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

Introduction


Setting up EZmob Header bidding banners on your WordPress site is essential for effective monetization. This step-by-step guide will help you successfully implement Header bidding to maximize your ad revenue.



Step 1: Request Header Bidding Banner Tags


To begin, you'll need to request your Header bidding banner tags. You can do this by:



Once you've made your request, you will receive:


  • A Header bidding tag to implement in the <head> section of your website
  • A tag to place in the <body> of your website
  • Login credentials to access your Header bidding performance statistics



Step 2: Get Ads.txt Lines


Next, you'll need to grab the ads.txt lines from our website:


  1. Visit the article on Ads.txt for Publishers and copy all the lines from the bottom of the page.



  1. Choose one of the following methods to add the ads.txt file to your site:


  • Self-Hosted WordPress:
    • Open Notepad or any text editor.
    • Create a new file, paste the copied ads.txt lines, and save it as ads.txt.
    • Upload the ads.txt file to your root directory.

  • WordPress.org Hosting:
    • If you do not have access to your hosting root directory or prefer managing your ads.txt file within your WordPress dashboard, consider using a plugin.
    • One recommended plugin is Ads.txt Manager. After installation, navigate to Settings → Ads.txt and paste the content for your file.



  1. Click “Save Changes.” You can verify the setup by visiting yourwebsite.com/ads.txt.



Step 3: Add the Ad Tag to the <head> Section


Now, you'll need to add the Ad Tag to the <head> section of your WordPress website. You have three options to do this:


  • Use a plugin
  • Edit a theme template
  • Use a WordPress hook


For detailed instructions on each option, refer to How to Add an Ad Tag to <head> Section in WordPress.


Paste the Ad Tag (from Step 1) just above the </head> tag and click the Save button at the top right corner.



Step 4: Adding the Banner


Next, you'll need to add the banner itself:


  1. Navigate to Appearance on the left side of the screen, then click on Widgets.
  2. Add a Custom HTML widget to the Sidebar Widget Area.



  1. Paste the following code into the Widget Content field:
   <div id="container1"></div>


  1. Click on Done.


Alternatively, you can use the Live Preview Editor:


  1. Click on Widgets.
  2. Select the Sidebar Widget Area.
  3. Click Add Widget and choose Custom HTML.
  4. Input a Title if needed and paste the code <div id="container1"></div> into the Content field. Click Done.




Conclusion


That's it! You have successfully set up EZmob Header bidding banners on your WordPress site. Please allow some time for the ads to start displaying.


Tip: The best placement for an Ad Banner is at the top of your sidebar.


For more information, check out [Article: How to Increase eCPM].




  • [Article: How to Set Up Payment Methods]
  • [Article: What is Header Bidding?]
  • [Article: Understanding Ad Placements]

Updated on: 30/10/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!