Skip to main content
POST
Generate Google Ads ad copy

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
required

Name of the business the ads are for.

Example:

"Nordwind Furniture"

business_description
string
default:""

What the business sells, in a sentence or two. The more specific this is, the better the copy.

Example:

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

keywords
string[]

Words the copy should lean on.

Example:
landing_page_url
string
default:""

Page the ads send people to. Used as context for the copy.

Example:

"https://nordwind-furniture.com"

campaign_goal
string
default:traffic

What the campaign is for: traffic, leads or sales.

Example:

"traffic"

Response

Suggested headlines and descriptions.

Headlines and descriptions for a campaign's ads.

headlines
string[]
required

Suggested headlines, each within Google's 30-character limit.

Example:
descriptions
string[]
required

Suggested description lines, each within Google's 90-character limit.

Example:
source
string
required

ai when a language model wrote this copy. Any other value means it did not, and you are looking at fallback text built from the business details you sent.

Example:

"ai"

language
string | null

Two-letter code for the language the copy came back in, or null when the model did not report one. Pass it as settings.language_code on Create campaign so the campaign's language matches its copy.

Example:

"en"