mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 14:06:38 +03:00
31 lines
664 B
Go
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"`
|
|
}
|