Skip to main content
POST
Suggest Google Ads text assets

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.

Body

application/json
business_name
string
default:""

Name of the business the assets are for.

Example:

"Nordwind Furniture"

business_description
string
default:""

What the business sells, in a sentence or two.

Example:

"Handmade solid oak dining tables, built to order in San Francisco."

asset_types
string[]

Which asset types to generate: HEADLINE, LONG_HEADLINE, DESCRIPTION, BUSINESS_NAME, CALL_TO_ACTION_SELECTION. Only the types you list come back.

Example:
keywords
string[]

Words the copy should lean on.

Example:
search_themes
string[]

Search themes the campaign already uses, so the copy matches them.

Example:
user_prompt
string
default:""

Extra direction for the copy, in the caller's own words.

Example:

"Emphasise the free delivery."

Response

One group per asset type you asked for.

Suggested text for each asset type you asked for.

HEADLINE
string[] | null

Short headlines, each within Google's 30-character limit. Present only when you asked for HEADLINE.

Example:
LONG_HEADLINE
string[] | null

Long headlines, each within Google's 90-character limit. Present only when you asked for LONG_HEADLINE.

Example:
DESCRIPTION
string[] | null

Description lines, each within Google's 90-character limit. Present only when you asked for DESCRIPTION.

Example:
BUSINESS_NAME
string | null

A single business name, trimmed to Google's 25-character limit. This one is a string rather than an array, unlike every other asset type here. Present only when you asked for BUSINESS_NAME.

Example:

"Nordwind Furniture"

CALL_TO_ACTION_SELECTION
string[] | null

Call-to-action values Google accepts. This is a fixed list, not a generated one. Present only when you asked for CALL_TO_ACTION_SELECTION.

Example: