Get a Google Ads hero preview
Writes one sample search result for the app, to show someone what their ad could look like before they connect a Google Ads account.
This is illustrative copy, not a campaign, and nothing is saved. It is built from the app’s own description, so it works before there is an account, a campaign, or any business details on file.
Check source before you present this as generated copy: fallback means the model did not run or came back empty and you are looking at generic text. The response is a 200 either way.
Accept-Language header. Omit the header and you get English — the app’s own language is not consulted — so send it explicitly for a non-English app.Authorizations
Personal API key.
Headers
Language to return generated text in, as a standard Accept-Language value. An unsupported language falls back to English.
Path Parameters
ID of the app you are planning a Google Ads campaign for.
Response
A sample search result for the app.
A sample search result to show before the app has a Google Ads account.
A search someone might type to find this business.
"oak dining table san francisco"
Headline of the sample ad.
"Handmade Oak Dining Tables"
Body text of the sample ad.
"Built to order in our San Francisco workshop. Free delivery statewide."
The display line shown under the headline, usually the site.
"nordwind-furniture.com"
The business name this preview was written for, taken from the app.
"Nordwind Furniture"
ai when a language model wrote this preview, fallback when it did not run or returned nothing and Base44 filled in generic copy instead.
"ai"