{
"negativeTargets": [
{
"adGroupId": {{adGroupId}},
"campaignId": {{campaignId}},
"expressions": [
{
"type": "asinSameAs",
"value": "B07YT8NVF9"
}
]
}
]
}
curl --location --request POST '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": [
{
"adGroupId": {{adGroupId}},
"campaignId": {{campaignId}},
"expressions": [
{
"type": "asinSameAs",
"value": "B07YT8NVF9"
}
]
}
]
}'
{
"createTargetSuccessResults": [
{
"targetRequestIndex": 0,
"targetId": 311226698235224
}
],
"createTargetErrorResults": []
}