curl --location --request PUT 'https://www.amazon.com/ap/oa/sp/campaignNegativeTargets' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Prefer: return=representation' \
--header 'Accept: application/vnd.spCampaignNegativeTargetingClause.v3+json' \
--header 'Content-Type: application/vnd.spCampaignNegativeTargetingClause.v3+json' \
--data-raw '{
"campaignNegativeTargetingClauses": [
{
"targetId": "{{targetId}}",
"state": "PAUSED"
}
]
}'
{
"campaignNegativeTargetingClauses": {
"error": [],
"success": [
{
"campaignNegativeTargetingClauseId": "91183015695412",
"campaignNegativeTargetingClauses": {
"campaignId": "276748589410145",
"expression": [
{
"type": "ASIN_SAME_AS",
"value": "B00HVWSQG0"
}
],
"resolvedExpression": [
{
"type": "ASIN_SAME_AS",
"value": "B00HVWSQG0"
}
],
"state": "PAUSED",
"targetId": "91183015695412"
},
"index": 0
}
]
}
}