[
{
"adGroupId": {{adGroupId}},
"campaignId": {{campaignId}},
"keywordText": "white socks",
"matchType": "negativeExact"
}
]
curl --location --request POST 'https://www.amazon.com/ap/oa/sb/negativeKeywords' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"adGroupId": {{adGroupId}},
"campaignId": {{campaignId}},
"keywordText": "white socks",
"matchType": "negativeExact"
}
]'
[
{
"code": "SUCCESS",
"keywordId": 372405033119784
}
]