Files
openrtb/adcom1/title_asset.go
T
2018-12-24 18:08:11 +02:00

31 lines
664 B
Go

package adcom
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 int `json:"len,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Optional vendor-specific extensions.
Ext json.RawMessage `json:"ext,omitempty"`
}