curl --location -g --request PUT 'https://www.amazon.com/ap/oa/amc/instances/{{instanceId}}' \
--header 'Amazon-Advertising-API-ClientId: {{client_id}}' \
--header 'Amazon-Advertising-API-MarketplaceId: {{marketplace_id}}' \
--header 'Amazon-Advertising-API-AdvertiserId: {{advertiser_id}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: text/plain' \
--data-raw '{
"instanceName":"myinstance",
"advertiserName":"Advertiser B"
}'
{
"instance": {
"instanceId": "amcr1aaaa1a",
"instanceName": "myinstance",
"instanceType": "STANDARD",
"customerCanonicalName": "Advertiser B",
"creationStatus": "COMPLETED",
"creationDatetime": "2024-11-20T21:31:46.455292153Z",
"s3BucketName": "my-S3-Bucket",
"awsAccountId": "682015406404",
"entities": [
"NA"
],
"dataUploadAwsAccountId": "811639200769",
"apiEndpoint": null,
"acrCollaboration": null,
"optionalDatasets": [
{
"label": "CASPIAN_DIM_CUTOVER",
"activationTime": "2024-11-20T21:30:12.912Z"
},
{
"label": "CASPIAN_DIM_CUTOVER_CONVERSIONS",
"activationTime": "2024-11-20T21:30:12.912Z"
},
{
"label": "CASPIAN_FACT_CUTOVER",
"activationTime": "2024-11-20T21:30:12.912Z"
},
{
"label": "CASPIAN_ONLY",
"activationTime": "2024-11-20T21:30:12.912Z"
},
{
"label": "CONVERSIONS_EXPOSURE_V3",
"activationTime": "2024-11-20T21:30:12.912Z"
}
],
"advertiserTypes": []
}
}