The Programmable SearchElement now offers a paidads-free version. By enabling the Programmable Search Element Paid API yourProgrammable Search Element will continue to function exactly the same as thefree ad-supported version, except that instead of ads being displayed along withsearch results you'll instead be charged a small fee for each search.
Note that our nonprofit, education, and government users can get an ads-freeexperience by following theseinstructions.
Prerequisites
Search engine configuration
Before using the Programmable Search Element Paid API you first need to createand configure your Programmable Search Engine. If you have not already created a Programmable Search Engine, youcan start by visiting the Programmable Search Engine control panel.
Follow the tutorial to learn moreabout different configuration options.
API key
The Programmable Search Element API requires the use of an API key. Get a Key
Once you have a Programmable Search Element API key, you can add this key toyour search engine using the Programmable Search Engine control panel. Navigate to the Ads section of your search engine'sOverview page and paste your key in the "Paid Element API key" field.Congratulations, the Programmable Search Element API is now active for thissearch engine!
If at any point you wish to return to the free ad-supported search element, justdelete the key from this field in the control panel.
Pricing
The Programmable Search Element API charges $5 per 1000 ad-free search elementqueries. Billing needs to be configured in theAPI Console. Quotas can be configured in the Cloud PlatformConsole to help limit maximumdaily expenditures.
Note that new consumer projects will default to unlimited daily quota; westrongly recommend setting a daily quota that is sufficient foryour traffic volume. Once the daily quota limit is reached all search elementqueries using the engine will be denied for the remainder of the day. Note alsothat per-minute and per-user per-minute quota controls are also available (withIP address being used to distinguish between users).
Monitoring
Two options are available for monitoring usage of the Programmable SearchElement API. First, Cloud Platform Console's APIDashboard provides a varietyof pre-built graphs for monitoring common metrics such as error rates andqueries-per-second. Second, the Google Cloud Operations console providespowerful tools for building custom graphs and also for setting up alerting. SeeAPI Monitoring for more information.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }] [{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]