curl --request POST \
--url https://api.apostra.com/api/v2/buyer/creatives/adopt-managed-audio-source \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"source_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_id": "<string>",
"storefront_id": "<string>",
"name": "<string>"
}
'import requests
url = "https://api.apostra.com/api/v2/buyer/creatives/adopt-managed-audio-source"
payload = {
"source_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_id": "<string>",
"storefront_id": "<string>",
"name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
source_uid: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
advertiser_id: '<string>',
storefront_id: '<string>',
name: '<string>'
})
};
fetch('https://api.apostra.com/api/v2/buyer/creatives/adopt-managed-audio-source', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"creative_id": "<string>",
"source_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"publication_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"delivery_url": "<string>",
"name": "<string>",
"created": true,
"campaign_id": "<string>"
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Adopt a managed audio source into a creative
Adopt a promoted managed audio source into an audio-hosted creative manifest. The bounded hosted HTTPS URL is issued server-side, so the caller names a source rather than a URL. The operation requires both the managed-audio account capability and bounded delivery-origin gate to be explicitly enabled; this change enables neither. It optionally records a non-delivery campaign association; it does not assign a media buy or call a destination.
curl --request POST \
--url https://api.apostra.com/api/v2/buyer/creatives/adopt-managed-audio-source \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"source_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_id": "<string>",
"storefront_id": "<string>",
"name": "<string>"
}
'import requests
url = "https://api.apostra.com/api/v2/buyer/creatives/adopt-managed-audio-source"
payload = {
"source_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"advertiser_id": "<string>",
"storefront_id": "<string>",
"name": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
source_uid: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
advertiser_id: '<string>',
storefront_id: '<string>',
name: '<string>'
})
};
fetch('https://api.apostra.com/api/v2/buyer/creatives/adopt-managed-audio-source', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"creative_id": "<string>",
"source_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"publication_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"delivery_url": "<string>",
"name": "<string>",
"created": true,
"campaign_id": "<string>"
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Body
Create or adopt a Creative Manifest from a promoted managed audio source.
Attach the creative to this campaign in the same call. This confirms campaign attachment only — the campaign's live media-buy packages are synced to sellers in the background, and that sync is not part of what the response confirms. Omit to leave the creative advertiser-scoped.
1 - 64Response
Adopt a managed audio source into a creative
Result of adopting a managed audio source into a creative.
True only when this call created the creative. False means an existing adoption for this source was returned. Either way, a 2xx response with a requested campaign_id means the creative is attached to that campaign — not that sellers have accepted it into their media-buy packages, which sync in the background and are not confirmed here. Attachment is idempotent, so a retry finishes an attachment an earlier call left undone.