Files
openrtb/adcom1/title_asset.go
T
Max Cherry 1efc868257 types: actually, better stick to int64 instead of just int
At least, it's more convenient to use with time std pkg.
Also, API implementations better never rely on machine-dependent types.
2018-12-30 12:42:52 +02:00

31 lines
667 B
Go

package adcom1
import "encoding/json"
// TitleAsset object identifies the native asset as a title asset, which is essentially just a plain text string with specified length.
type TitleAsset struct {
// Attribute:
// text
// Type:
// string; required
// Definition:
// The text content of the text element.
Text string `json:"text,omitempty"`
// Attribute:
// len
// Type:
// integer
// Definition:
// The length of the contents of the text attribute.
Len int64 `json:"len,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Optional vendor-specific extensions.
Ext json.RawMessage `json:"ext,omitempty"`
}