forked from prebid/openrtb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
video_asset.go
36 lines (32 loc) · 1.01 KB
/
video_asset.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package adcom1
import "encoding/json"
// VideoAsset object identifies the native asset as a video asset.
// Video markup (e.g., VAST) must be either included or referenced.
type VideoAsset struct {
// Attribute:
// adm
// Type:
// string; required *
// Definition:
// Video markup (e.g., VAST document) for the asset.
// * Exactly one of adm and curl is required.
// Including both is not recommended.
AdM string `json:"adm,omitempty"`
// Attribute:
// curl
// Type:
// string; required *
// Definition:
// A URL that returns the video markup (e.g., VAST document) for the asset.
// If this ad is matched to a placement specification, the Placement.curlx attribute indicates if this markup retrieval option is supported.
// * Exactly one of adm and curl is required.
// Including both is not recommended.
CURL string `json:"curl,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Optional vendor-specific extensions.
Ext json.RawMessage `json:"ext,omitempty"`
}