A complex type that contains settings governing when MediaTailor prefetches ads, and which dynamic variables that MediaTailor includes in the request to the ad decision server.
Type: objectProperties: 3Required: 1
Amazon Web ServicesBroadcastingMedia ProcessingMedia
PrefetchRetrieval is a JSON Structure definition published by Amazon MediaTailor, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediatailor/refs/heads/main/json-structure/mediatailor-api-prefetch-retrieval-structure.json",
"name": "PrefetchRetrieval",
"type": "object",
"description": "A complex type that contains settings governing when MediaTailor prefetches ads, and which dynamic variables that MediaTailor includes in the request to the ad decision server.",
"properties": {
"DynamicVariables": {
"allOf": [
{
"$ref": "#/components/schemas/__mapOf__string"
},
{
"description": "<p>The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).</p> <p>You initially configure <a href=\"https://docs.aws.amazon.com/mediatailor/latest/ug/variables.html\">dynamic variables</a> for the ADS URL when you set up your playback configuration. When you specify <code>DynamicVariables</code> for prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.</p>"
}
]
},
"EndTime": {
"allOf": [
{
"$ref": "#/components/schemas/__timestampUnix"
},
{
"description": "The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time."
}
]
},
"StartTime": {
"allOf": [
{
"$ref": "#/components/schemas/__timestampUnix"
},
{
"description": "The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible."
}
]
}
},
"required": [
"EndTime"
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.