curl --request PUT \
--url http://localhost:8000/api/v1/campaigns/drafts/{draft_id}/ad-groups/{ad_group_id}/keywords/{keyword_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"match_type": "EXACT",
"cpc_bid_micros": 123,
"final_url": "<string>"
}
'{
"id": 123,
"text": "<string>",
"match_type": "EXACT",
"cpc_bid_micros": 25000000000,
"final_url": "<string>",
"source_market_analysis_keyword_id": 123
}Update a keyword’s text, match type, bid, or URL.
curl --request PUT \
--url http://localhost:8000/api/v1/campaigns/drafts/{draft_id}/ad-groups/{ad_group_id}/keywords/{keyword_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"match_type": "EXACT",
"cpc_bid_micros": 123,
"final_url": "<string>"
}
'{
"id": 123,
"text": "<string>",
"match_type": "EXACT",
"cpc_bid_micros": 25000000000,
"final_url": "<string>",
"source_market_analysis_keyword_id": 123
}The access token received from the authorization server in the OAuth 2.0 flow.
Auto-regenerate RSAs if keyword text changed
Successful Response
Keyword within a draft ad group.
The keyword match types.
EXACT, PHRASE, BROAD, BROAD_MODIFIER, NEGATIVE 0 <= x <= 500000000001 - 2083