GET
method on Profiles resource to list profiles associated with the access token passed in the HTTP Authorization header.curl --location --request POST 'https://www.amazon.com/ap/oa/sd/creatives' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: text/plain' \
--data-raw '[
{
"adGroupId": {{adGroupId}},
"properties": {
"headline": "Test_Headline",
"brandLogo": {
"assetId": "amzn1.assetlibrary.asset1.b5a289e461ea715400e0b91948fdb074",
"assetVersion": "version_v1",
"croppingCoordinates": {
"top": 0,
"left": 0,
"width": 600,
"height": 100
}
},
"contentType": "CUSTOM_IMAGE",
"rectCustomImage": {
"assetId": "amzn1.assetlibrary.asset1.2521ca7dcfdeb3f98bca7447d64ae797",
"assetVersion": "version_v1",
"croppingCoordinates": {
"top": 0,
"left": 0,
"width": 1200,
"height": 628
}
},
"squareCustomImage": {
"assetId": "amzn1.assetlibrary.asset1.2521ca7dcfdeb3f98bca7447d64ae797",
"assetVersion": "version_v1",
"croppingCoordinates": {
"top": 0,
"left": 0,
"width": 628,
"height": 628
}
}
}
}
]'
[
{
"creativeId": 873112658567083590,
"code": "SUCCESS"
}
]