google_search and google_ads templates can return AI Overviews from Google Search. The API response includes the ai_overviews field, an array that may contain multiple AI-generated blocks, such as “People also ask” and “Things to know.”. More information about the targets can be found here.
AI Overview Rate Optimization
For the best chance of receiving a fully loaded and parsed AI-generated answer, please follow these guidelines:- Turn on JavaScript rendering by adding
"headless": "html"parameter - Set
device_typeto one of the following:desktop,mobile
AI Overview content is generated dynamically by Google and is subject to caching. As a result, the answers you receive may vary over time, even when submitting requests with identical parameters. Do not expect responses to be static or consistently reproducible.
Geographic Availability
Google AI Overviews are available in most countries. However, the feature is currently unavailable in the following regions:- Turkey
- France
- Cuba
- China
- Iran
- Syria
- North Korea
The Google AI Overviews feature is undergoing a continuous rollout. Support for more countries is expected to be added by Google over time.
Request example
The response returns a task
id. Once the task status is done, fetch the result with GET https://data.decodo.com/v1/task/{task_id}/results. See Asynchronous Requests for polling and batch examples.Output
Descriptions for fields in the parsed JSONresults.ai_overviews section are provided in the table below. Results may differ depending on search query provided in request.
Example Output
Example output Answer text and Bullet list for search query - How to improve sleep quality?Support
Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.
You can also reach us anytime via email at support@decodo.com.
Feedback
Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.
Have feedback? Share your thoughts on how we can improve.