[
{
"name": "test-adgroup-1",
"campaignId": {{campaignId}},
"defaultBid": 1,
"bidOptimization": "clicks",
"state": "enabled",
"creativeType": "IMAGE"
}
]
curl --location --request POST 'https://www.amazon.com/ap/oa/sd/adGroups' \
--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 '[
{
"name": "test-adgroup-1",
"campaignId": {{campaignId}},
"defaultBid": 1,
"bidOptimization": "clicks",
"state": "enabled",
"creativeType": "IMAGE"
}
]'
[
{
"code": "SUCCESS",
"adGroupId": 510480088424692
}
]