curl --request PUT \
--url http://localhost:8000/api/v1/google-ads/positive-keywords/{keyword_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"match_type": "EXACT",
"campaign_id": 123
}
'{
"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>"
}Update a Positive Keyword in the database.
curl --request PUT \
--url http://localhost:8000/api/v1/google-ads/positive-keywords/{keyword_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"match_type": "EXACT",
"campaign_id": 123
}
'{
"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>"
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Schema for positive keyword data
The keyword text
The match type of the keyword
EXACT, PHRASE, BROAD, BROAD_MODIFIER, NEGATIVE The ID of the positive keyword
Schema for ad group information related to a keyword
Show child attributes
Schema for campaign information related to a keyword
Show child attributes
The reason provided by the user for the positive keyword recommendation