This article is also available in:

Monetize with Search Ads

A Search placement gives you a search box to put on your site. When a visitor submits a search, ads related to what they searched for open in a new window. Search isn't in the Add Placement list, so EZmob sets it up for you.


Get a Search placement


  1. Open Sites & Placements. If your site isn't there yet, click Add Website first.
  2. Ask your account manager to create a Search placement for that site.
  3. When it's ready, it appears on the Your Placements tab.


Install the tag


  1. On the Your Placements tab, click the code icon (View Script) on the placement.
  2. Under Data Center, choose US East (New York) or EU (Amsterdam).
  3. Click Copy Script.
  4. Paste the code where the search box should appear on your page.


The code is a search form plus a short script:


<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');
function submitted(event) {
event.preventDefault();
const url = 'https://xml.qualiclicks.com/redirect?feed=YOUR_FEED_ID&auth=YOUR_AUTH&query=' + q.value + '&url=YOUR_SITE_URL';
const win = window.open(url, '_blank');
win.focus();
}
f.addEventListener('submit', submitted);
</script>


  • You can change the form's styling and its placeholder text.
  • Keep the feed, auth and url values exactly as they are in your own tag.
  • Use the form once per page, because its IDs (form, query) must be unique.


Screenshots


  • Screenshot: Placements tab, Search code view with the Data Center selector and Copy Script



Updated on: 01/10/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!