Skip to main content

GET Ad Schedule Config

Overview


The following table contains important information about the GET method in regards to receiving the ad schedule configuration by id for the vertical player.

GET Ad Schedule Config
MethodGET
URL or Endpoint/vertical-player/adSchedule/adScheduleId.json
HeadersNot Applicable
ParametersadScheduleId
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeDescription
adScheduleIdYesstringUnique Id of the ad schedule.

Request Body

The request does not contain a request body

Response

{
"type": "{type}",
"isVmap": false,
"enableProgrammability": false,
"vmap": "{vmap}",
"skipAllAds": false,
"VPAIDmode": "{VPAIDmode}",
"adBreaks": [],
"bidding": false,
"bidders": [],
"functions": [],
"enableDemandManager": false,
"demandManager": null,
"frequency": null,
"maxCap": 0,
"initialDelay": null,
"adCycleDelayMs": 0,
"adRetryLimit": 0,
"adCycleRestartMs": 0,
"banner": null,
"overrides": {
"state": false,
"prerollCount": 0,
"cuepoints": []
}
}

The description of the response fields is as follows:

Top-Level Properties

Field NameTypeDescription
typestringType of ad breaks (e.g., "DYNAMIC", "STATIC").
isVmapbooleanWhether the ad schedule uses VMAP format.
enableProgrammabilitybooleanWhether ad programmability is enabled.
vmapstringURL of the VMAP ad schedule.
skipAllAdsbooleanWhether all ads can be skipped.
VPAIDmodestringVPAID rendering mode.
adBreaksarray[object]List of ad break configurations.
biddingbooleanWhether header bidding is enabled.
biddersarray[object]List of header bidding bidder configurations.
functionsarray[object]List of ad macro function configurations.
enableDemandManagerbooleanWhether the demand manager (prebid) is enabled.
demandManagerobjectDemand manager (prebid) configuration.
frequencyobjectAd frequency capping configuration.
maxCapintegerMaximum number of ad impressions per frequency period.
initialDelayobjectInitial delay configuration before the first ad plays.
adCycleDelayMsinteger or nullDelay in milliseconds between ad cycles.
adRetryLimitinteger or nullMaximum number of ad request retries on failure.
adCycleRestartMsinteger or nullTime in milliseconds before an ad cycle restarts.
bannerobjectBanner ad configuration.
overridesobjectPer-video ad overrides configuration.

overrides Properties

Field NameTypeDescription
statebooleanWhether video-level ad overrides are active.
prerollCountintegerThe number of preroll ads to play, overriding the ad schedule default.
cuepointsarray[integer]List of custom midroll ad cue point times in seconds.

If the action is successful, the service sends back an HTTP 200 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed