Files
openrtb/adcom1/network.go
T
2022-05-12 23:33:01 -04:00

44 lines
1.4 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 adcom1
import "encoding/json"
// Network describes the network an ad will be displayed on.
// A Network is defined as the parent entity of the Channel objects entity for the purposes of organizing Channels.
// Examples are companies that own and/or license a collection of content channels (Viacom, Discovery, CBS, WarnerMedia, Turner and others), or studio that creates such content and self-distributes content.
// Name is human-readable field while domain and id can be used for reporting and targeting purposes.
type Network struct {
// Attribute:
// id
// Type:
// string
// Definition:
// A unique identifier assigned by the publisher.
// This may not be a unique identifier across all supply sources.
ID string `json:"id,omitempty"`
// Attribute:
// name
// Type:
// string
// Definition:
// Network the content is on (e.g., a TV network like "ABC").
Name string `json:"name,omitempty"`
// Attribute:
// domain
// Type:
// string
// Definition:
// The primary domain of the network (e.g., “abc.com” in the case of the network ABC).
// It is recommended to include the top private domain (PSL+1) for DSP targeting normalization purposes.
Domain string `json:"domain,omitempty"`
// Attribute:
// ext
// Type:
// object
// Definition:
// Optional vendor-specific extensions.
Ext json.RawMessage `json:"ext,omitempty"`
}