-
Notifications
You must be signed in to change notification settings - Fork 26
/
video.go
67 lines (59 loc) · 1.6 KB
/
video.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package adcom1
import "encoding/json"
// Video object provides additional detail about an ad specifically for video ads.
type Video struct {
// Attribute:
// mime
// Type:
// string array
// Definition:
// Mime type(s) of the ad creative(s) (e.g., “video/mp4”).
MIME []string `json:"mime,omitempty"`
// Attribute:
// api
// Type:
// integer array
// Definition:
// API required by the ad if applicable.
// Refer to List: API Frameworks.
API []APIFramework `json:"api,omitempty"`
// Attribute:
// ctype
// Type:
// integer
// Definition:
// Subtype of video creative.
// Refer to List: Creative Subtypes - Audio/Video.
CType MediaCreativeSubtype `json:"ctype,omitempty"`
// Attribute:
// dur
// Type:
// integer
// Definition:
// Duration of the video creative in seconds.
Dur int64 `json:"dur,omitempty"`
// Attribute:
// adm
// Type:
// string
// Definition:
// Video markup (e.g., VAST).
// Note that including both adm and curl is not recommended.
AdM string `json:"adm,omitempty"`
// Attribute:
// curl
// Type:
// string
// Definition:
// Optional means of retrieving markup by reference; a URL that returns video markup (e.g., VAST).
// If this ad is matched to a Placement specification, the Placement.curlx attribute indicates if this markup retrieval option is supported.
// Note that including both adm and curl is not recommended.
CURL string `json:"curl,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Optional vendor-specific extensions.
Ext json.RawMessage `json:"ext,omitempty"`
}