forked from prebid/openrtb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
link_asset.go
39 lines (34 loc) · 1012 Bytes
/
link_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
37
38
39
package adcom1
import "encoding/json"
// LinkAsset object identifies the native asset as a link asset and is used to define navigation for call-to-action or other activations (i.e., clicks)
// A link asset can be independent or associated with the overall native ad (i.e., a default for all assets).
type LinkAsset struct {
// Attribute:
// url
// Type:
// string; required
// Definition:
// Landing URL of the clickable link.
URL string `json:"url,omitempty"`
// Attribute:
// urlfb
// Type:
// string
// Definition:
// Fallback URL for deep-link to be used if the URL specified in url is not supported by the device.
URLFB string `json:"urlfb,omitempty"`
// Attribute:
// trkr
// Type:
// string array
// Definition:
// List of third-party tracker URLs to be fired on click.
Trkr []string `json:"trkr,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Optional vendor-specific extensions.
Ext json.RawMessage `json:"ext,omitempty"`
}