mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 14:06:38 +03:00
66 lines
1.6 KiB
Go
66 lines
1.6 KiB
Go
package openrtb2
|
|
|
|
import "encoding/json"
|
|
|
|
// 3.2.17 Object: Producer
|
|
//
|
|
// This object defines the producer of the content in which the ad will be shown.
|
|
// This is particularly useful when the content is syndicated and may be distributed through different publishers and thus when the producer and publisher are not necessarily the same entity.
|
|
type Producer struct {
|
|
|
|
// Attribute:
|
|
// id
|
|
// Type:
|
|
// string
|
|
// Description:
|
|
// Content producer or originator ID. Useful if content is
|
|
// syndicated and may be posted on a site using embed tags.
|
|
ID string `json:"id,omitempty"`
|
|
|
|
// Attribute:
|
|
// name
|
|
// Type:
|
|
// string
|
|
// Description:
|
|
// Content producer or originator name (e.g., “Warner Bros”).
|
|
Name string `json:"name,omitempty"`
|
|
|
|
// Attribute:
|
|
// cattax
|
|
// Type:
|
|
// integer
|
|
// Description:
|
|
// The taxonomy in use. Refer to the AdCOM 1.0 list List: Category
|
|
// Taxonomies for values.
|
|
CatTax int64 `json:"cattax,omitempty"`
|
|
|
|
// Attribute:
|
|
// cat
|
|
// Type:
|
|
// string array
|
|
// Description:
|
|
// Array of IAB content categories that describe the content
|
|
// producer.
|
|
// The taxonomy to be used is defined by the cattax field. If no
|
|
// cattax field is supplied IAB Content Category Taxonomy 1.0 is
|
|
// assumed.
|
|
Cat []string `json:"cat,omitempty"`
|
|
|
|
// Attribute:
|
|
// domain
|
|
// Type:
|
|
// string
|
|
// Description:
|
|
// Highest level domain of the content producer (e.g.,
|
|
// “producer.com”).
|
|
Domain string `json:"domain,omitempty"`
|
|
|
|
// Attribute:
|
|
// ext
|
|
// Type:
|
|
// object
|
|
// Description:
|
|
// Placeholder for exchange-specific extensions to OpenRTB.
|
|
Ext json.RawMessage `json:"ext,omitempty"`
|
|
}
|