A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.
Type: objectProperties: 3Required: 1
BroadcastingMedia ProcessingMedia
PrefetchConsumption 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-consumption-structure.json",
"name": "PrefetchConsumption",
"type": "object",
"description": "A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.",
"properties": {
"AvailMatchingCriteria": {
"allOf": [
{
"$ref": "#/components/schemas/__listOfAvailMatchingCriteria"
},
{
"description": "If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as <code>scte.event_id</code>, set the avail matching criteria."
}
]
},
"EndTime": {
"allOf": [
{
"$ref": "#/components/schemas/__timestampUnix"
},
{
"description": "The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call <code>DeletePrefetchSchedule</code>."
}
]
},
"StartTime": {
"allOf": [
{
"$ref": "#/components/schemas/__timestampUnix"
},
{
"description": "The time when prefetched ads are considered for use in an ad break. If you don't specify <code>StartTime</code>, the prefetched ads are available after MediaTailor retrives them from the ad decision server."
}
]
}
},
"required": [
"EndTime"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and
Terms.