curl --request POST \
--url http://localhost:8000/api/v1/analysis/recommendations/{analysis_type}/{recommendation_id}/reject \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_rejected_reason": "<string>",
"newly_created_positive_keyword": {
"text": "<string>",
"match_type": "EXACT",
"id": 123,
"ad_group": {
"id": 123,
"name": "<string>",
"status": "<string>"
},
"campaign": {
"id": 123,
"name": "<string>",
"status": "<string>",
"channel_type": "SEARCH"
},
"user_provided_reason": "<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
}Reject a recommendation.
curl --request POST \
--url http://localhost:8000/api/v1/analysis/recommendations/{analysis_type}/{recommendation_id}/reject \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_rejected_reason": "<string>",
"newly_created_positive_keyword": {
"text": "<string>",
"match_type": "EXACT",
"id": 123,
"ad_group": {
"id": 123,
"name": "<string>",
"status": "<string>"
},
"campaign": {
"id": 123,
"name": "<string>",
"status": "<string>",
"channel_type": "SEARCH"
},
"user_provided_reason": "<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 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