enum VideoAdTagError.Reason (v202508)

  • VideoAdTagError.Reason describes possible reasons for VideoAdTagError within the LiveStreamEventService.

  • Reasons for VideoAdTagError include missing required fields, incorrect URL type (live vs VOD), invalid host or scheme, invalid ad output format, and duplicate parameters.

  • The valid URL for live traffic should start with https://pubads.g.doubleclick.net/gampad/live/ads.

  • The valid URL for VOD traffic should start with https://pubads.g.doubleclick.net/gampad/ads.

  • Only HTTPS is a supported scheme for the ad tag URL.

Describes reasons for VideoAdTagError.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
MISSING_REQUIRED_FIELDS One or more required fields are not specified in the ad tag.
NO_LIVE_TRAFFIC Ad tag URL is not a live traffic URL. Url should start with: https://pubads.g.doubleclick.net/gampad/live/ads, not https://pubads.g.doubleclick.net/gampad/ads
NO_VOD_TRAFFIC Ad tag URL is not a VOD traffic URL. Url should start with: https://pubads.g.doubleclick.net/gampad/ads , not https://pubads.g.doubleclick.net/gampad/live/ads
INVALID_AD_TAG_HOST URL hostname is not a valid Google Publisher Tag or Freewheel Tag host name.
INVALID_SCHEME Only HTTPS is supported.
INVALID_AD_OUTPUT_FORMAT Invalid ad output format. Settings for VAST and VMAP must be aligned.
DUPLICATE_AD_TAG_PARAMETER The ad tag has a duplicate parameter. Only one is allowed.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.