Creating a new search engine
...
A context file can be uploaded in the Advanced tab under 'Search engine context'.
> Context: Defining a Programmable Search Engine on Google
Hiding Ads
To hide ads on the search results page, a Google Workspace / G-Suite superadmin must be added in the search engine Users tab and set as Administrator. Within a few days of doing so, Google will recognize the search engine as part of a non-profit / education institution. When that happens, the Show Ads toggle in the Ads tab can be switched to 'off'.
...
Attribute | Purpose | Value |
---|---|---|
id | Uniquely identifies the promotion and makes it distinct from other promotions. The value is used for sorting the list of promotions in the Google Programmable Search admin interface. | The first 40 (or fewer) characters of the title value, all lower case. |
tite | The promotion's title, displayed in search results. | Human-readable. Normal casing and punctuation. |
queries | Triggers the display of a promotion is used an a search phrase. | Comma-separated list of phrases. |
url | The link destination of the promotion. | Complete web address, including http(s):// |
Reordering promotions
- Export a promotions.xml file in the Promotions tab of the Search Features area.
- Download the promotions processor script from the repo.
- Run the script with the promotions.xml file in the same directory
- Delete all promotions from the search engine in question using the Google Programmable Search admin interface. This may take a lot of clicks.
- Upload the promotions-processed.xml file generated by the processor script to the search engine using the Google Programmable Search admin interface.