Assets
Register an Asset to an advertiser
Places an Asset in one advertiser's provider-side library. Not a provider — an organization has several advertisers, and the bytes land in exactly one of them.
Returns immediately with a running Registration; poll GET /assets/{id} for its state. Video can take several minutes to process at the provider, which is normal rather than a failure.
A Registration that is running or ready refuses a second one for the same pair. A failed one starts again: send this request, and AdCrunch replaces it.
post/assets/{id}/registrations
Request
- Base URL: https://api.adcrunch.dev
- URL: https://api.adcrunch.dev/assets/{id}/registrations
- Auth: HTTP bearer
Path parameters
idstring required
The stored Asset to place.
Request body
Example request
{
"advertiserId": "acc_1203456789012345"
}Response
The Registration, at running. providerIdentifier is null until the provider has the bytes — read the Asset to see it settle.
Example response
{
"advertiserId": "acc_1203456789012345",
"assetId": "ast_7c1e9a",
"createdAt": 1790000121000,
"deletedAt": null,
"failureCode": null,
"failureReason": null,
"id": "reg_4b81d2",
"organizationId": "org_3a7f10",
"provider": "meta",
"providerIdentifier": null,
"status": "running",
"updatedAt": null,
"uploadSessionId": null,
"workflowId": "reg_4b81d2"
}Changes
No recorded changes to this operation across all 1 revision of this API.