INPUT_OBJECT

AdRequestContext

The context of an upcoming ad request.

link GraphQL Schema definition

1input AdRequestContext {
4
2# The ID generated for the ad Session.
3adSessionID: ID!
7
5# The context of the client at the time the ad is requested.
6clientContext: AdRequestClientContext!
10
8# The commercial break ID of a channel wide midroll.
9commercialID: ID
13
11# The duration of the ad break in seconds.
12duration: Int!
16
14# If the requested ad is a viewer level midroll.
15isVLM: Boolean
19
17# The context of the player at the time the ad is requested.
18playerContext: AdRequestPlayerContext!
22
20# The type of ad request being made.
21rollType: AdrollType!
25
23# The game played on the channel.
24game: String
28
26# The twitch correlator.
27twitchCorrelator: String
31
29# Format of the Ad being requested.
30adFormat: String
32}