Skip to main content
POST
Suggest Google Ads campaigns

Authorizations

api_key
string
header
required

Personal API key.

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 to build campaigns for.

Example:

"Nordwind Furniture"

business_description
string
default:""

What the business sells, in a sentence or two. This is what the suggestions are built from.

Example:

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

landing_page_url
string
default:""

Page the campaigns would send people to.

Example:

"https://nordwind-furniture.com"

campaign_goal
string
default:traffic

What the campaigns are for: traffic, leads or sales.

Example:

"traffic"

daily_budget_micros
integer
default:30000000

Daily budget each suggestion is sized for, in micros (1,000,000 micros = 1 unit of the account's currency).

Example:

30000000

suggestion_count
integer
default:3

How many suggestions to return. Only three approaches exist, so 4 and 5 return the same three as 3.

Required range: 1 <= x <= 5
Example:

3

Response

Campaigns you can preview and launch.

Suggested campaigns for a business description.

suggestions
GoogleAdsCampaignSuggestion · object[]
required

The suggested campaigns, most general first. At most three, however many you asked for.

Example:
source
string
required

ai when a language model wrote the copy in these suggestions, fallback when it did not run or returned nothing.

Example:

"ai"

language
string | null

Two-letter code for the language the generated copy came back in, or null when the model did not report one.

Example:

"en"