Documentation
¶
Index ¶
- type Ad
- type AdSystem
- type Companion
- type CompanionAds
- type Creative
- type Creatives
- type CustomClick
- type Extension
- type Extensions
- type Impression
- type InLine
- type Linear
- type MediaFile
- type MediaFiles
- type NonLinear
- type NonLinearAds
- type StaticResource
- type Tracking
- type TrackingEvents
- type VAST
- type VASTAdTagURI
- type VideoClicks
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Companion ¶
type Companion struct {
ID string `xml:"id,attr,omitempty"`
Width int `xml:"width,attr"`
Height int `xml:"height,attr"`
ExpandedWidth int `xml:"expandedWidth,attr,omitempty"`
ExpandedHeight int `xml:"expandedHeight,attr,omitempty"`
ApiFramework string `xml:"apiFramework,attr,omitempty"`
IFrameResource string `xml:"IFrameResource,omitempty"`
HTMLResource string `xml:"HTMLResource,omitempty"`
CompanionClickThrough string `xml:"CompanionClickThrough,omitempty"`
AltText string `xml:"AltText,omitempty"`
AdParameters string `xml:"AdParameters,omitempty"`
StaticResource *StaticResource `xml:"StaticResource,omitempty"`
TrackingEvents *TrackingEvents `xml:"TrackingEvents,omitempty"`
}
type CompanionAds ¶
type CompanionAds struct {
Companion []Companion `xml:"Companion,omitempty"`
}
type Creative ¶
type Creative struct {
ID string `xml:"id,attr,omitempty"`
Sequence int `xml:"sequence,attr,omitempty"`
AdID string `xml:"AdID,attr,omitempty"`
Linear *Linear `xml:"Linear,omitempty"`
CompanionAds *CompanionAds `xml:"CompanionAds,omitempty"`
NonLinearAds *NonLinearAds `xml:"NonLinearAds,omitempty"`
}
type CustomClick ¶
type Extensions ¶
type Extensions struct {
Extension []Extension `xml:"Extension"`
}
type Impression ¶
type InLine ¶
type InLine struct {
AdTitle string `xml:"AdTitle"`
Description string `xml:"Description,omitempty"`
Survey string `xml:"Survey,omitempty"`
Error string `xml:"Error,omitempty"`
AdSystem AdSystem `xml:"AdSystem"`
Impression []Impression `xml:"Impression,omitempty"`
Creatives Creatives `xml:"Creatives"`
Extensions *Extensions `xml:"Extensions,omitempty"`
}
type Linear ¶
type Linear struct {
Duration string `xml:"Duration"`
AdParameters string `xml:"AdParameters,omitempty"`
TrackingEvents *TrackingEvents `xml:"TrackingEvents,omitempty"`
VideoClicks *VideoClicks `xml:"VideoClicks,omitempty"`
MediaFiles MediaFiles `xml:"MediaFiles"`
}
type MediaFile ¶
type MediaFile struct {
ID string `xml:"id,attr,omitempty"`
Delivery string `xml:"delivery,attr"`
Type string `xml:"type,attr"`
Bitrate int `xml:"bitrate,attr,omitempty"`
Width int `xml:"width,attr"`
Height int `xml:"height,attr"`
Scalable bool `xml:"scalable,attr,omitempty"`
MaintainAspectRatio bool `xml:"maintainAspectRatio,attr,omitempty"`
ApiFramework string `xml:"apiFramework,attr,omitempty"`
Data string `xml:",chardata"`
}
type MediaFiles ¶
type MediaFiles struct {
MediaFile []MediaFile `xml:"MediaFile"`
}
type NonLinear ¶
type NonLinear struct {
ID string `xml:"id,attr,omitempty"`
Width int `xml:"width,attr"`
Height int `xml:"height,attr"`
ExpandedWidth int `xml:"expandedWidth,attr,omitempty"`
ExpandedHeight int `xml:"expandedHeight,attr,omitempty"`
Scalable bool `xml:"scalable,attr,omitempty"`
MaintainAspectRatio bool `xml:"maintainAspectRatio,attr,omitempty"`
ApiFramework string `xml:"apiFramework,attr,omitempty"`
IFrameResource string `xml:"IFrameResource,omitempty"`
HTMLResource string `xml:"HTMLResource,omitempty"`
AdParameters string `xml:"AdParameters,omitempty"`
NonLinearClickThrough string `xml:"NonLinearClickThrough,omitempty"`
StaticResource *StaticResource `xml:"StaticResource,omitempty"`
}
type NonLinearAds ¶
type NonLinearAds struct {
NonLinear []NonLinear `xml:"NonLinear,omitempty"`
TrackingEvents *TrackingEvents `xml:"TrackingEvents,omitempty"`
}
type StaticResource ¶
type TrackingEvents ¶
type TrackingEvents struct {
Tracking []Tracking `xml:"Tracking,omitempty"`
}
type VASTAdTagURI ¶
type VASTAdTagURI struct {
CDATA string `xml:",cdata"`
}
type VideoClicks ¶
type VideoClicks struct {
ClickThrough string `xml:"ClickThrough,omitempty"`
ClickTracking []string `xml:"ClickTracking,omitempty"`
CustomClick *CustomClick `xml:"CustomClick,omitempty"`
}
type Wrapper ¶
type Wrapper struct {
VASTAdTagURI VASTAdTagURI `xml:"VASTAdTagURI"`
Error string `xml:"Error,omitempty"`
AdSystem AdSystem `xml:"AdSystem"`
Impression []Impression `xml:"Impression,omitempty"`
Creatives Creatives `xml:"Creatives"`
Extensions *Extensions `xml:"Extensions,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.