{
"ads": [
{
"name": "Name of video ad",
"state": "ENABLED",
"adGroupId": "{{adGroupId}}",
"creative": {
"asins": [
"B07R7V6KS8"
],
"videoAssetIds": [
"amzn1.assetlibrary.asset1.xxxxxx"
]
}
}
]
}
curl --location --request POST 'https://www.amazon.com/ap/oa/sb/v4/ads/video' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Amazon-Advertising-API-Scope: {{profileId}}' \
--header 'Accept: application/vnd.sbadresource.v4+json' \
--header 'Content-Type: application/json' \
--data-raw '{
"ads": [
{
"name": "Name of video ad",
"state": "ENABLED",
"adGroupId": "{{adGroupId}}",
"creative": {
"asins": [
"B07R7V6KS8"
],
"videoAssetIds": [
"amzn1.assetlibrary.asset1.xxxxxx"
]
}
}
]
}'
{
"ads": {
"error": [],
"success": [
{
"ad": {
"adGroupId": "233241812140955",
"adId": "193008782828097",
"campaignId": "38535897458758",
"creative": {
"asins": [
"B07R7V6KS8"
],
"videoAssetIds": [
"amzn1.assetlibrary.asset1.xxxxxxxxx:version_v1"
]
},
"extendedData": {
"creationDate": 1678151955357,
"lastUpdateDate": 1678151955627,
"servingStatus": "AD_POLICING_PENDING_REVIEW"
},
"landingPage": {
"pageType": "DETAIL_PAGE",
"url": "https://www.amazon.com/dp/xxxxxxxx"
},
"name": "Test video ad",
"state": "ENABLED"
},
"adId": "193008782828097",
"index": 0
}
]
}
}