post https://api.neuronsinc.com/predict/v2/videos/capture/vast
Expected request payload
The request body must be populated with the video characteristics:
- vast_url: The URL of the VAST XML file. Must be compliant with the industry specification.
- render_url: A URL for a page where the VAST-based ad is rendered and can be captured.
- device: This is an optional parameter. By default is
desktop
, however, for mobile-only ads, please specify it asmobile
.
{
"vast_url": "string",
"render_url": "string",
"device": "desktop"
}
Example of a successful response
The response contains two properties:
- The media_id: serves as an identifier for the video media (to be used on any operation for the video)
{
"media_id": "0d1aeafa-d360-47c2-afaf-c6149281c202"
}