curl --request POST \
--url http://localhost:8000/api/v1/analysis/recommendations/keyword-pauses/{recommended_keyword_pause_id}/apply \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>",
"keyword_pause": {
"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>"
}
}Apply the recommended keyword pause to the campaign.
curl --request POST \
--url http://localhost:8000/api/v1/analysis/recommendations/keyword-pauses/{recommended_keyword_pause_id}/apply \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>",
"keyword_pause": {
"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>"
}
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The schema for the result of applying a keyword pause.
The schema for a recommended keyword pause.
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