mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 14:06:38 +03:00
52 lines
1.1 KiB
Go
52 lines
1.1 KiB
Go
package openrtb
|
||
|
||
import "encoding/json"
|
||
|
||
// 3.2.15 Object: Publisher
|
||
//
|
||
// This object describes the publisher of the media in which the ad will be displayed.
|
||
// The publisher is typically the seller in an OpenRTB transaction.
|
||
type Publisher struct {
|
||
|
||
// Attribute:
|
||
// id
|
||
// Type:
|
||
// string
|
||
// Description:
|
||
// Exchange-specific publisher ID.
|
||
ID string `json:"id,omitempty"`
|
||
|
||
// Attribute:
|
||
// name
|
||
// Type:
|
||
// string
|
||
// Description:
|
||
// Publisher name (may be aliased at the publisher’s request).
|
||
Name string `json:"name,omitempty"`
|
||
|
||
// Attribute:
|
||
// cat
|
||
// Type:
|
||
// string array
|
||
// Description:
|
||
// Array of IAB content categories that describe the publisher.
|
||
// Refer to List 5.1.
|
||
Cat []string `json:"cat,omitempty"`
|
||
|
||
// Attribute:
|
||
// domain
|
||
// Type:
|
||
// string
|
||
// Description:
|
||
// Highest level domain of the publisher (e.g., “publisher.com”).
|
||
Domain string `json:"domain,omitempty"`
|
||
|
||
// Attribute:
|
||
// ext
|
||
// Type:
|
||
// object
|
||
// Description:
|
||
// Placeholder for exchange-specific extensions to OpenRTB.
|
||
Ext json.RawMessage `json:"ext,omitempty"`
|
||
}
|