Skip to main content
GET
Get a Google Ads hero preview

Authorizations

api_key
string
header
required

Personal API key.

Headers

Accept-Language
string | null

Language to return generated text in, as a standard Accept-Language value. An unsupported language falls back to English.

Path Parameters

app_id
string
required

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.

search_query
string
required

A search someone might type to find this business.

Example:

"oak dining table san francisco"

headline
string
required

Headline of the sample ad.

Example:

"Handmade Oak Dining Tables"

description
string
required

Body text of the sample ad.

Example:

"Built to order in our San Francisco workshop. Free delivery statewide."

subtitle
string
required

The display line shown under the headline, usually the site.

Example:

"nordwind-furniture.com"

business_name
string
required

The business name this preview was written for, taken from the app.

Example:

"Nordwind Furniture"

source
string
required

ai when a language model wrote this preview, fallback when it did not run or returned nothing and Base44 filled in generic copy instead.

Example:

"ai"