Files
openrtb/publisher.go
T

52 lines
1.1 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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 publishers 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"`
}