> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ezmob.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

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

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:

* Chatting with your account manager
* Sending an email to **supply@ezmob.com**

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 [How to set up EZmob Header bidding banners on the WordPress platform](https://helpdesk.ezmob.com/en/article/how-to-set-up-ezmob-header-bidding-banners-on-the-wordpress-platform-ab5jxd/) and copy all the lines from the bottom of the page. 

   ![](https://storage.crisp.chat/users/helpdesk/website/a54d794cc8c41800/1_u4yxhr.png)

2. 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&#32;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](https://wordpress.org/plugins/ads-txt/). After installation, navigate to **Settings → Ads.txt** and paste the content for your file.

   ![](https://storage.crisp.chat/users/helpdesk/website/a54d794cc8c41800/20220131171338window_1l82zdi.png =790xauto)

3. 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 set up EZmob Header bidding banners on the WordPress platform](https://helpdesk.ezmob.com/en/article/how-to-set-up-ezmob-header-bidding-banners-on-the-wordpress-platform-ab5jxd/).

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**.

   ![](https://storage.crisp.chat/users/helpdesk/website/a54d794cc8c41800/wp1_1ktguyk.png)

3. Paste the following code into the Widget **Content** field:
```html
   <div id="container1"></div>
```
   ![](https://storage.crisp.chat/users/helpdesk/website/a54d794cc8c41800/wp2_1gjnyyw.png)

4. 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**.

   ![](https://storage.crisp.chat/users/helpdesk/website/a54d794cc8c41800/2022-01-31-175613-window_auh7yc.png)

---

### 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 [How to Increase eCPM](https://helpdesk.ezmob.com/en/article/how-to-geo-target-your-campaign-1r4027l/).

---

## Related Articles

[ads.txt for Publishers](https://helpdesk.ezmob.com/en/article/adstxt-for-publishers-1c7zede)
[How to add an Ad Tag to <head> section in WordPress](https://helpdesk.ezmob.com/en/article/how-to-add-an-ad-tag-to-head-section-in-wordpress-ik7qlq)
[EZmob Publisher : Getting Started](https://helpdesk.ezmob.com/en/article/ezmob-publisher-getting-started-8gyat6)
[Banner Advertising](https://helpdesk.ezmob.com/en/article/banner-advertising-t7auq1)
[Optimization Guide for Advertisers](https://helpdesk.ezmob.com/en/article/optimization-guide-for-advertisers-4ccvvv)
