AdSense for search (AFS)
Custom Search Ads policies
In addition to the Google AdSense program policies, AdSense Custom Search Ads has the following supplemental policies that you must agree to in order to participate.
The following policies apply to all Custom Search Ad implementations (desktop, mobile, and mobile app):
- Query variable passed to Google must match user query
All search queries must originate from individual human end users inputting data directly into a search box. You must send all queries exactly as entered, without editing, modifying, or filtering them. The search box should not be pre-populated with search terms, and publishers may not create links containing pre-populated search terms.
- Nature of searchable content
As described in the AdSense program policies, copyrighted content or content that violates our site content guidelines should not be the focus of your searchable content.
- Code may only be used on search results pages
AdSense Custom Search Ads ad units may only be placed on search results pages.
Ads must be distinct from search results
AdSense Custom Search Ads must always be clearly differentiated from any search results on the page. In addition to clearly and prominently labeling ads, here are some recommended techniques to differentiate ads from search results:
- Shading the ad unit background a color that clearly contrasts with the page background color
- Placing a border around the ad unit
- Using a strong line between the ad unit and the search results
- No incentivizing searches
You may not compensate users for viewing ads or performing searches.
- AdSense Custom Search Ads should appear on pages with search results
AdSense Custom Search Ads are intended to supplement search results that your site returns and not act as the results themselves.
- Partners may not backfill AdSense Custom Search Ads with AdSense for Content (AFC) and/or AdMob ads
It is not permitted to mix request types within the one placement, such as to backfill AdSense Custom Search Ads results with AFC or AdMob results. It is also not permitted to alternate request types for the same placement, such as to use AdSense Custom Search Ads on some views, and AFC or AdMob on other views.
You may not place AdSense Custom Search Ads on a page that also concurrently displays AdWords text demand through other units.
Number of ads in relation to organic results
The number of ads should not exceed the number of search results for a user’s search query.
Unless approved by Google in writing, Custom Search Ads may not be implemented on search results pages where the search results are comprised in substantial part of the following:
- News aggregation
- Content originating from any Google service other than Google Custom Search Engine (e.g., YouTube API).
Maximum three ad units per page Your search results pages can feature up to three AdSense Custom Search Ads ad units. You can also include one link unit, and one AdSense for Content or one Ad Exchange unit which must be set to an image, placement targeted ad only.
Number of ads in relation to organic results
- The number of ads should not exceed the number of search results for a user’s search query.
- Maximum of five ads (one unit) above or below search results and ads should not take up more than one third of the search result space without scrolling
- Maximum of eight ads in units to the side of results
- Maximum two ad units per page
You may not make more than one request for AdSense Custom Search Ads for Mobile per page on which results will be displayed. Your search results pages can feature up to two AdSense Custom Search Ads for Mobile ad units. There must be only one ad unit visible on the screen at any time.
- You may not have more than three ads within the top ad unit and more than three ads within the bottom ad unit.
- You may not have more than one AdSense Custom Search Ads for Mobile ad unit visible to the user at a time.
- Only one AFS request is allowed per user action; for example, a scroll or a click on a link.
On mobile applications you may not make more than one request for AdSense Custom Search Ads for Mobile Apps ads per user action for which AdSense Custom Search Ads for Mobile Apps results will be displayed. If your search results page implements infinite scroll, user scroll that initiates the asynchronous loading of more search results is considered a user requested action and you may request more ads.
- On-frame ads (ads which are fixed on the top or bottom of the application) are not allowed.
- In-frame ads (ads which are placed on the page inside the mobile application)
You may not have more than three Custom Search Ads within the top ad unit and more than three ads within the bottom ad unit. You may have up to four Custom Search Ads in the bottom ad unit if no top ad unit is present on the page.
- You may not have more than one AdSense Custom Search Ads for Mobile Apps ad unit visible to the user at a time.
- You may not use both on-frame ads and in-frame ads in the same mobile application.