Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.VideoPosition Class Reference

Represents a targetable position within a video. A video ad can be targeted to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index. More...

Properties

VideoPositionType positionType [get, set]
 The type of video position (pre-roll, mid-roll, or post-roll). More...
 
bool positionTypeSpecified [get, set]
 
int midrollIndex [get, set]
 The index of the mid-roll to target. Only valid if the positionType is VideoPositionType::MIDROLL, otherwise this field will be ignored. More...
 
bool midrollIndexSpecified [get, set]
 

Detailed Description

Represents a targetable position within a video. A video ad can be targeted to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index.

Property Documentation

int Google.Api.Ads.AdManager.v202311.VideoPosition.midrollIndex
getset

The index of the mid-roll to target. Only valid if the positionType is VideoPositionType::MIDROLL, otherwise this field will be ignored.

bool Google.Api.Ads.AdManager.v202311.VideoPosition.midrollIndexSpecified
getset

true, if a value is specified for midrollIndex, false otherwise.

VideoPositionType Google.Api.Ads.AdManager.v202311.VideoPosition.positionType
getset

The type of video position (pre-roll, mid-roll, or post-roll).

bool Google.Api.Ads.AdManager.v202311.VideoPosition.positionTypeSpecified
getset

true, if a value is specified for positionType, false otherwise.


The documentation for this class was generated from the following file: