{
"campaignIdFilter": {
"include": [
"{{campaignId}}"
]
}
}
curl --location --request POST 'https://www.amazon.com/ap/oa/sp/negativeKeywords/list' \
--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 '{
"campaignIdFilter": {
"include": [
"{{campaignId}}"
]
}
}'
{
"negativeKeywords": [
{
"adGroupId": "121849963038619",
"campaignId": "26256301417055",
"keywordId": "5092276756639",
"keywordText": "Toys",
"matchType": "NEGATIVE_EXACT",
"state": "PAUSED"
}
],
"totalResults": 1
}