[
{
"adGroupId": {{adGroupId}},
"expressionType": "manual",
"state": "enabled",
"expression": [
{
"type": "location",
"value": "amzn1.ad-geo.GP-US-10005"
}
]
}
]
curl --location --request POST 'https://www.amazon.com/ap/oa/sd/locations' \
--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 '[
{
"adGroupId": {{adGroupId}},
"expressionType": "manual",
"state": "enabled",
"expression": [
{
"type": "location",
"value": "amzn1.ad-geo.GP-US-10005"
}
]
}
]'
[
{
"code": "SUCCESS",
"locationExpressionId": 303747983880114
}
]