Versions in this module Expand all Collapse all v1 v1.0.0 Apr 29, 2021 Changes in this version + type Ad struct + ID string + InLine *InLine + Sequence int + Wrapper *Wrapper + type AdParameters struct + Parameters string + XMLEncoded bool + type AdSystem struct + Name string + Version string + type CDATAString struct + CDATA string + type Companion struct + APIFramework string + AdParameters *AdParameters + AdSlotID string + AltText string + AssetHeight int + AssetWidth int + CompanionClickThrough *CDATAString + CompanionClickTracking []CDATAString + ExpandedHeight int + ExpandedWidth int + HTMLResource *HTMLResource + Height int + ID string + IFrameResource *CDATAString + StaticResource *StaticResource + TrackingEvents []Tracking + Width int + type CompanionAds struct + Companions []Companion + Required string + type CompanionAdsWrapper struct + Companions []CompanionWrapper + Required string + type CompanionWrapper struct + APIFramework string + AdParameters *AdParameters + AdSlotID string + AltText string + AssetHeight int + AssetWidth int + CompanionClickThrough CDATAString + CompanionClickTracking []CDATAString + ExpandedHeight int + ExpandedWidth int + HTMLResource *HTMLResource + Height int + ID string + IFrameResource *CDATAString + StaticResource *StaticResource + TrackingEvents []Tracking + Width int + type Creative struct + APIFramework string + AdID string + CompanionAds *CompanionAds + CreativeExtensions *[]Extension + ID string + Linear *Linear + NonLinearAds *NonLinearAds + Sequence int + UniversalAdID *UniversalAdID + type CreativeWrapper struct + AdID string + CompanionAds *CompanionAdsWrapper + ID string + Linear *LinearWrapper + NonLinearAds *NonLinearAdsWrapper + Sequence int + type Duration time.Duration + func (dur *Duration) UnmarshalText(data []byte) (err error) + func (dur Duration) MarshalText() ([]byte, error) + type Extension struct + CustomTracking []Tracking + Data []byte + Type string + func (e *Extension) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) error + func (e Extension) MarshalXML(enc *xml.Encoder, start xml.StartElement) error + type HTMLResource struct + HTML string + XMLEncoded bool + type Icon struct + APIFramework string + Duration Duration + HTMLResource *HTMLResource + Height int + IFrameResource *CDATAString + IconClickThrough CDATAString + IconClickTrackings []CDATAString + Offset Offset + Program string + StaticResource *StaticResource + Width int + XPosition string + YPosition string + type Icons struct + Icon []Icon + XMLName xml.Name + type Impression struct + ID string + URI string + type InLine struct + AdSystem *AdSystem + AdTitle CDATAString + Advertiser string + Creatives []Creative + Description CDATAString + Errors []CDATAString + Extensions *[]Extension + Impressions []Impression + Pricing *Pricing + Survey CDATAString + type Linear struct + AdParameters *AdParameters + Duration Duration + Icons *Icons + MediaFiles []MediaFile + SkipOffset *Offset + TrackingEvents []Tracking + VideoClicks *VideoClicks + type LinearWrapper struct + Icons *Icons + TrackingEvents []Tracking + VideoClicks *VideoClicks + type MediaFile struct + APIFramework string + Bitrate int + Codec string + Delivery string + Height int + ID string + MaintainAspectRatio bool + MaxBitrate int + MinBitrate int + Scalable bool + Type string + URI string + Width int + type NonLinear struct + APIFramework string + AdParameters *AdParameters + ExpandedHeight int + ExpandedWidth int + HTMLResource *HTMLResource + Height int + ID string + IFrameResource *CDATAString + MaintainAspectRatio bool + MinSuggestedDuration *Duration + NonLinearClickThrough CDATAString + NonLinearClickTracking []CDATAString + Scalable bool + StaticResource *StaticResource + Width int + type NonLinearAds struct + NonLinears []NonLinear + TrackingEvents []Tracking + type NonLinearAdsWrapper struct + NonLinears []NonLinearWrapper + TrackingEvents []Tracking + type NonLinearWrapper struct + APIFramework string + ExpandedHeight int + ExpandedWidth int + Height int + ID string + MaintainAspectRatio bool + MinSuggestedDuration *Duration + NonLinearClickTracking []CDATAString + Scalable bool + TrackingEvents []Tracking + Width int + type Offset struct + Duration *Duration + Percent float32 + func (o *Offset) UnmarshalText(data []byte) error + func (o Offset) MarshalText() ([]byte, error) + type Pricing struct + Currency string + Model string + Value string + type StaticResource struct + CreativeType string + URI string + type Tracking struct + Event string + Offset *Offset + URI string + type UniversalAdID struct + ID string + IDRegistry string + IDValue string + type VAST struct + Ads []Ad + Errors []CDATAString + Version string + type VideoClick struct + ID string + URI string + type VideoClicks struct + ClickThroughs []VideoClick + ClickTrackings []VideoClick + CustomClicks []VideoClick + type Wrapper struct + AdSystem *AdSystem + AllowMultipleAds *bool + Creatives []CreativeWrapper + Errors []CDATAString + Extensions []Extension + FallbackOnNoAd *bool + FollowAdditionalWrappers *bool + Impressions []Impression + VASTAdTagURI CDATAString