curl --request PUT \
--url http://localhost:8000/api/v1/analysis/recommendations/{analysis_type}/{recommendation_id}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_updated_text": "<string>"
}
'{
"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
}Update a recommendation’s text (only for Headlines and Descriptions).
curl --request PUT \
--url http://localhost:8000/api/v1/analysis/recommendations/{analysis_type}/{recommendation_id}/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_updated_text": "<string>"
}
'{
"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
}The access token received from the authorization server in the OAuth 2.0 flow.
The types of analyses.
keyword_pause, negative_keyword, double_check_keywords_to_pause, headline, description, budget_migration, pause_hours, pause_locations, search_terms The schema for updating a recommendation text.
Successful Response
The schema for recommended negative keywords.
The status of a recommendation.
pending, applied, auto_applied, rejected Schema for campaign information related to a keyword
Show child attributes