curl --location --request PUT 'https://www.amazon.com/ap/oa/sp/productAds' \
--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.spProductAd.v3+json' \
--header 'Content-Type: application/vnd.spProductAd.v3+json' \
--data-raw '{
"productAds": [
{
"adId": "{{adId}}",
"state": "PAUSED"
}
]
}'
{
"productAds": {
"error": [],
"success": [
{
"adId": "182771240295320",
"index": 0,
"productAd": {
"adGroupId": "220500883239512",
"adId": "182771240295320",
"asin": "B087TKYT4X",
"campaignId": "62077673972552",
"extendedData": {
"creationDate": 1660232105944,
"lastUpdateDate": 1660232198949
},
"state": "PAUSED"
}
}
]
}
}