Get the latest suggestion for a campaign optimization
Retrieve the latest suggestion for a specific campaign optimization.
Required permission: read:analysis.
The response format depends on the Accept header. Supported formats: JSON (default), CSV (Google Ads only), XLSX (TikTok only).
Suggestion Item Structure (Google Ads — optimization_suggestions.asset_groups.<id>[])
Each suggestion item in the array contains:
{
"keyword": "running shoes for beginners",
"suggestion": "add",
"keyword_en": "running shoes for beginners",
"relevancy_score": 85,
"strength": "very_strong",
"currently_used_in": 2
}
Fields:
keyword(string): The search theme text in the campaign language.suggestion(string): Action —add,keep, orremove.keyword_en(string, optional): English translation. Only present whentranslate_to_en=trueand language is not English.relevancy_score(int, 0–100): Semantic similarity between the keyword and the asset group. Computed via embedding distance.strength(string): Label derived from the relevancy score —very_strong(80–100),strong(60–79),average(40–59),weak(20–39),very_weak(0–19).currently_used_in(int, ≥1): Number of asset groups within this optimization that include the same keyword. Represents overlap across the selected asset group set, not live Google Ads usage.
Note: relevancy_score, strength, and currently_used_in
are only present for Google Ads suggestions. TikTok suggestions
do not include these fields.
Authorizations
Headers
Content type for the response. Possible values: 'application/json' (default, returns JSON with suggestion data), 'text/csv' (returns CSV file, Google Ads only), 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' (returns XLSX file, TikTok only).
Path Parameters
A UUID string identifying the campaign optimization.
Query Parameters
csv, json, xlsx If true and campaign language is not English, translates keywords to English and adds keyword_en field. Only applies to JSON responses.
Response
Details of the latest suggestion. Content type depends on Accept header: JSON (application/json), CSV (text/csv, Google Ads only), or XLSX (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, TikTok only).
google_ads- google adstiktok- tiktok
google_ads, tiktok 255pending- pendingin_progress- in progresscompleted- completedfailed- failedsuggestions_applied- suggestions applied
pending, in_progress, completed, failed, suggestions_applied ar- arda- dade- deen- enes- eseu- eufi- fifil- filfr- frhe- hehi- hihu- huid- idit- itja- jako- konl- nlpl- plpt- ptro- rosv- svth- thtr- trur- urvi- vizh- zhzh-TW- zh TW
ar, da, de, en, es, eu, fi, fil, fr, he, hi, hu, id, it, ja, ko, nl, pl, pt, ro, sv, th, tr, ur, vi, zh, zh-TW,