forked from prebid/openrtb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
native.go
32 lines (28 loc) · 779 Bytes
/
native.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
package adcom1
import "encoding/json"
// Native object is the root of a structure that defines a native display ad.
type Native struct {
// Attribute:
// link
// Type:
// object
// Definition:
// Default destination link for the native ad overall; used if an asset is activated (e.g., clicked) that doesn't specify it's own destination link.
// Refer to Object: LinkAsset.
Link *LinkAsset `json:"link,omitempty"`
// Attribute:
// asset
// Type:
// object array
// Definition:
// Array of assets that comprise the native ad.
// Refer to Object: Asset.
Asset []Asset `json:"asset,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Optional vendor-specific extensions.
Ext json.RawMessage `json:"ext,omitempty"`
}