{
"negativeKeywordIdFilter": {
"include": [
"{{negativeKeywordId}}"
]
}
}
curl --location --request POST 'https://www.amazon.com/ap/oa/sp/negativeKeywords/delete' \
--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 '{
"negativeKeywordIdFilter": {
"include": [
"{{negativeKeywordId}}"
]
}
}'
{
"negativeKeywords": {
"error": [],
"success": [
{
"index": 0,
"negativeKeywordId": "124141728948"
}
]
}
}