{
"negativeTargets": [
{
"targetId": {{negativeTargetId}},
"adGroupId": {{adGroupId}},
"state": "enabled"
}
]
}
curl --location --request PUT 'https://www.amazon.com/ap/oa/sb/negativeTargets' \
--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 '{
"negativeTargets": [
{
"targetId": {{negativeTargetId}},
"adGroupId": {{adGroupId}},
"state": "enabled"
}
]
}'
{
"updateTargetSuccessResults": [
{
"targetRequestIndex": 0,
"targetId": 449521285013368
}
],
"updateTargetErrorResults": []
}