{
"negativeKeywords": [
{
"campaignId": "{{campaignId}}",
"matchType": "NEGATIVE_EXACT",
"state": "ENABLED",
"adGroupId": "{{adGroupId}}",
"keywordText": "fake"
}
]
}
curl --location --request POST 'https://www.amazon.com/ap/oa/sp/negativeKeywords' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Accept: application/vnd.spNegativeKeyword.v3+json' \
--header 'Content-Type: application/vnd.spNegativeKeyword.v3+json' \
--data-raw '{
"negativeKeywords": [
{
"campaignId": "{{campaignId}}",
"matchType": "NEGATIVE_EXACT",
"state": "ENABLED",
"adGroupId": "{{adGroupId}}",
"keywordText": "fake"
}
]
}'
{
"negativeKeywords": {
"error": [],
"success": [
{
"index": 0,
"negativeKeywordId": "124141728948"
}
]
}
}