mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 14:06:38 +03:00
1efc868257
At least, it's more convenient to use with time std pkg. Also, API implementations better never rely on machine-dependent types.
31 lines
667 B
Go
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"`
|
|
}
|