> ## 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).

# Monetize with Search Ads

## Introduction

Monetizing your website with **Search Ads** is a powerful strategy for publishers looking to enhance their revenue. EZmob makes it easy to integrate Search Ads into your site using a simple code snippet. This article will walk you through the process of adding search functionality and effectively monetizing your website.

---

### Why Use Search Ads?

Implementing Search Ads on your site not only improves user experience but also opens up new revenue streams. Benefits of using Search Ads include:

* **Enhanced User Experience**: Users can navigate your site more easily with search functionality.
* **Increased Engagement**: A better search experience can lead to longer time spent on your site.
* **Higher Earnings**: Monetization through advertising can significantly boost your income.

---

### How to Get the Ad Unit Code

To obtain your ad unit code for Search Ads, follow these steps:

1. [Register](https://dashboard.ezmob.com/api?_ga=2.44303204.1569377379.1663156160-149048210.1655881795&_gac=1.212976928.1662385267.EAIaIQobChMIt46qyeP9-QIVRxkGAB1ZUwinEAAYASAAEgJd5fD_BwE#/register?role=Publisher) for a publisher account on EZmob.com.
2. Click on "Add a Website" and choose **Pop** as your ad format.
3. Complete the required fields and submit the new pop placement.
4. Contact our support team at support@ezmob.com, providing:
* Your username
* Your website URL
* Your unique placement ID (refer to the image provided in your dashboard)
* Your website statistics, including inventory details (countries, operating systems, and volumes)

| Helpful tip: After you submit this information, we will send you a configured Search Ads tag within a few hours. |

---

### Example Ad Code

||| Please contact our team to receive your own ad unit tags; do not use the code provided below.

```html
<form id="form" role="search">
  <input type="search" id="query" name="q"
   placeholder="Search..."
   aria-label="Search through site content" required>
  <button>Search</button>
</form>
<script>
      const f = document.getElementById('form');
      const q = document.getElementById('query');
      const site = 'push4free.com';

      function submitted(event) {
        event.preventDefault();
        const url = 'http://zml.ezmgb.com/redirect?feed=4424636&auth=dsea&query=' + q.value + '&url=' + site;
        const win = window.open(url, '_blank');
        win.focus();
      }
      f.addEventListener('submit', submitted);
</script>
```

---

---

By following these guidelines, you can effectively integrate Search Ads and start monetizing your website today!

## Related Articles

[EZmob Publisher : Getting Started](https://helpdesk.ezmob.com/en/article/ezmob-publisher-getting-started-8gyat6)
[ads.txt for Publishers](https://helpdesk.ezmob.com/en/article/adstxt-for-publishers-1c7zede)
[What traffic can EZmob monetize?](https://helpdesk.ezmob.com/en/article/what-traffic-can-ezmob-monetize-t8yf5c)
[Publisher Websites Guidelines and Rules](https://helpdesk.ezmob.com/en/article/publisher-websites-guidelines-and-rules-qwrd41)
[How to check my Ad Codes + Examples](https://helpdesk.ezmob.com/en/article/how-to-check-my-ad-codes-examples-1ykpp7k)
