Suggest Google Ads text assets
Suggests text assets for a Performance Max campaign, one group per asset type you ask for.
Send asset_types with any of HEADLINE, LONG_HEADLINE, DESCRIPTION, BUSINESS_NAME and CALL_TO_ACTION_SELECTION. Only the types you ask for come back, so read the response by key rather than assuming all five are present. BUSINESS_NAME is a single string; the rest are arrays. CALL_TO_ACTION_SELECTION is a fixed set of values Google accepts rather than generated copy.
Nothing is saved. An asset type can come back as an empty array when the model returns nothing usable for it, under a 200.
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.
Body
Name of the business the assets are for.
"Nordwind Furniture"
What the business sells, in a sentence or two.
"Handmade solid oak dining tables, built to order in San Francisco."
Which asset types to generate: HEADLINE, LONG_HEADLINE, DESCRIPTION, BUSINESS_NAME, CALL_TO_ACTION_SELECTION. Only the types you list come back.
Words the copy should lean on.
Search themes the campaign already uses, so the copy matches them.
Extra direction for the copy, in the caller's own words.
"Emphasise the free delivery."
Response
One group per asset type you asked for.
Suggested text for each asset type you asked for.
Short headlines, each within Google's 30-character limit. Present only when you asked for HEADLINE.
Long headlines, each within Google's 90-character limit. Present only when you asked for LONG_HEADLINE.
Description lines, each within Google's 90-character limit. Present only when you asked for DESCRIPTION.
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.
"Nordwind Furniture"
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.