curl --request GET \
--url http://localhost:8000/api/v1/analysis/recommendations \
--header 'Authorization: Bearer <token>'{
"recommended_negative_keywords": [
{
"status": "pending",
"is_manually_generated": true,
"keyword": "<string>",
"match_type": "<string>",
"reason": "<string>",
"campaign": {
"id": 123,
"name": "<string>",
"status": "<string>",
"channel_type": "SEARCH"
},
"date_regenerated": "2023-11-07T05:31:56Z",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"id": 123,
"budget_saving": 123
}
],
"recommended_keyword_pauses": [
{
"status": "pending",
"is_manually_generated": true,
"keyword_id": 123,
"keyword_text": "<string>",
"reason": "<string>",
"campaign": {
"id": 123,
"name": "<string>",
"status": "<string>",
"channel_type": "SEARCH"
},
"is_rejected_by_gemini": true,
"is_rejected_by_user": true,
"date_regenerated": "2023-11-07T05:31:56Z",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"id": 123,
"budget_saving": 123,
"metrics_snapshot": {},
"gemini_rejected_reason": "<string>",
"user_rejected_reason": "<string>"
}
],
"recommended_headlines": [],
"recommended_descriptions": [],
"recommended_budget_migrations": [],
"recommended_pause_hours": [],
"recommended_pause_locations": [],
"recommended_search_terms": []
}Collect all recommendations.
curl --request GET \
--url http://localhost:8000/api/v1/analysis/recommendations \
--header 'Authorization: Bearer <token>'{
"recommended_negative_keywords": [
{
"status": "pending",
"is_manually_generated": true,
"keyword": "<string>",
"match_type": "<string>",
"reason": "<string>",
"campaign": {
"id": 123,
"name": "<string>",
"status": "<string>",
"channel_type": "SEARCH"
},
"date_regenerated": "2023-11-07T05:31:56Z",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"id": 123,
"budget_saving": 123
}
],
"recommended_keyword_pauses": [
{
"status": "pending",
"is_manually_generated": true,
"keyword_id": 123,
"keyword_text": "<string>",
"reason": "<string>",
"campaign": {
"id": 123,
"name": "<string>",
"status": "<string>",
"channel_type": "SEARCH"
},
"is_rejected_by_gemini": true,
"is_rejected_by_user": true,
"date_regenerated": "2023-11-07T05:31:56Z",
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"id": 123,
"budget_saving": 123,
"metrics_snapshot": {},
"gemini_rejected_reason": "<string>",
"user_rejected_reason": "<string>"
}
],
"recommended_headlines": [],
"recommended_descriptions": [],
"recommended_budget_migrations": [],
"recommended_pause_hours": [],
"recommended_pause_locations": [],
"recommended_search_terms": []
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The schema for an analysis result.
Show child attributes
The status of a recommendation.
pending, applied, auto_applied, rejected Schema for campaign information related to a keyword
Show child attributes
SEARCH, DISPLAY, SHOPPING, VIDEO, APP, PERFORMANCE_MAX, LOCAL, SMART, LOCAL_SERVICES, DEMAND_GEN, DISCOVERY Show child attributes
The status of a recommendation.
pending, applied, auto_applied, rejected Schema for campaign information related to a keyword
Show child attributes
SEARCH, DISPLAY, SHOPPING, VIDEO, APP, PERFORMANCE_MAX, LOCAL, SMART, LOCAL_SERVICES, DEMAND_GEN, DISCOVERY Show child attributes
The status of a recommendation.
pending, applied, auto_applied, rejected Schema for Ad data
Show child attributes
Schema for Ad Group data
Show child attributes
Schema for Campaign data
Show child attributes
Show child attributes
The status of a recommendation.
pending, applied, auto_applied, rejected Schema for Ad data
Show child attributes
Schema for Ad Group data
Show child attributes
Schema for Campaign data
Show child attributes