curl --location --request PUT 'https://www.amazon.com/ap/oa/sp/targets' \
--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.spTargetingClause.v3+json' \
--header 'Content-Type: application/vnd.spTargetingClause.v3+json' \
--data-raw '{
"targetingClauses": [
{
"targetId": "{{targetId}}",
"bid": 3.25
}
]
}'
{
"targetingClauses": {
"error": [],
"success": [
{
"index": 0,
"targetId": "31667521455534",
"targetingClause": {
"adGroupId": "184667233956202",
"bid": 3.25,
"campaignId": "42586816713082",
"expression": [
{
"type": "QUERY_HIGH_REL_MATCHES"
}
],
"expressionType": "AUTO",
"resolvedExpression": [
{
"type": "QUERY_HIGH_REL_MATCHES"
}
],
"state": "ENABLED",
"targetId": "31667521455534"
}
}
]
}
}