type VideoAdTagError (v202411)

  • The LiveStreamEventService provides a way to manage and interact with live stream events.

  • This service defines various error types that can occur when working with live stream events, such as AdBreakMarkupError, AuthenticationError, and InternalApiError.

  • The VideoAdTagError specifically lists errors associated with live stream event ad tags.

  • Common reasons for VideoAdTagError include missing required fields, incorrect URL format for live or VOD traffic, invalid ad tag host, unsupported scheme (only HTTPS is supported), and invalid ad output format.

  • The ApiError inheritance includes fields like fieldPath, fieldPathElements, trigger, and errorString to provide details about the error.

Lists all errors associated with live stream event ad tags.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.

trigger

xsd:string

The data that caused the error.

errorString

xsd:string

A simple string representation of the error and reason.

VideoAdTagError

reason

VideoAdTagError.Reason


Enumerations
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.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.