Documentation ¶
Index ¶
- func NewConstructionClassificationClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[ConstructionClassification], error)
- func NewConstructionPlacementClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[ConstructionPlacement], error)
- func NewConstructionTypeClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[ConstructionType], error)
- func NewFrameClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[Frame], error)
- func NewFrameHistoryClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.ChildClient[Measure], error)
- func NewFrameMeasuresClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.ChildClient[Measure], error)
- func NewIlluminationTypeClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[IlluminationType], error)
- func NewLocationTypeClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[LocationType], error)
- func NewMeasuresClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[Measure], error)
- func NewMeasuresStatusClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[MeasuresStatus], error)
- func NewMediaTypeClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[MediaType], error)
- func NewSegmentIDClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[SegmentID], error)
- func NewSegmentNameClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[SegmentName], error)
- type CBSA
- type Construction
- type ConstructionClassification
- type ConstructionPlacement
- type ConstructionType
- type DMA
- type Frame
- type FramesStatus
- type HourlyImpression
- type Illumination
- type IlluminationType
- type Location
- type LocationType
- type Measure
- type MeasuresStatus
- type Media
- type MediaType
- type Operator
- type Place
- type SegmentID
- type SegmentName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConstructionClassificationClient ¶
func NewConstructionClassificationClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[ConstructionClassification], error)
func NewConstructionPlacementClient ¶
func NewConstructionPlacementClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[ConstructionPlacement], error)
func NewConstructionTypeClient ¶
func NewConstructionTypeClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[ConstructionType], error)
func NewFrameClient ¶
func NewFrameHistoryClient ¶
func NewFrameHistoryClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.ChildClient[Measure], error)
func NewFrameMeasuresClient ¶
func NewFrameMeasuresClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.ChildClient[Measure], error)
func NewIlluminationTypeClient ¶
func NewIlluminationTypeClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[IlluminationType], error)
func NewLocationTypeClient ¶
func NewLocationTypeClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[LocationType], error)
func NewMeasuresClient ¶
func NewMeasuresStatusClient ¶
func NewMeasuresStatusClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[MeasuresStatus], error)
func NewMediaTypeClient ¶
func NewSegmentIDClient ¶
func NewSegmentNameClient ¶
func NewSegmentNameClient(ctx context.Context, oauth2 *clientcredentials.Config, overrideSvr ...string) (*clients.Client[SegmentName], error)
Types ¶
type Construction ¶
type ConstructionPlacement ¶
type ConstructionType ¶
type Frame ¶
type Frame struct { Geopath struct { FrameID int `json:"frameID,omitempty"` Created *time.Time `json:"createdAt,omitempty"` SpotIDs *[]int `json:"spotIDs,omitempty"` Updated *time.Time `json:"updatedAt,omitempty"` } `json:"geopath,omitempty"` Construction *Construction `json:"construction,omitempty"` Illumination *Illumination `json:"illumination,omitempty"` IsAudio bool `json:"isAudio,omitempty"` IsDigital bool `json:"isDigital,omitempty"` IsFullMotion bool `json:"isFullMotion,omitempty"` IsInteractive bool `json:"isInteractive,omitempty"` IsPartialMotion bool `json:"isPartialMotion,omitempty"` IsRotating bool `json:"isRotating,omitempty"` Location *Location `json:"location,omitempty"` Media *Media `json:"media,omitempty"` Operator *Operator `json:"operator,omitempty"` }
type FramesStatus ¶
type HourlyImpression ¶
type HourlyImpression struct { Hour0 float32 `json:"0"` Hour1 float32 `json:"1"` Hour2 float32 `json:"2"` Hour3 float32 `json:"3"` Hour4 float32 `json:"4"` Hour5 float32 `json:"5"` Hour6 float32 `json:"6"` Hour7 float32 `json:"7"` Hour8 float32 `json:"8"` Hour9 float32 `json:"9"` Hour10 float32 `json:"10"` Hour11 float32 `json:"11"` Hour12 float32 `json:"12"` Hour13 float32 `json:"13"` Hour14 float32 `json:"14"` Hour15 float32 `json:"15"` Hour16 float32 `json:"16"` Hour17 float32 `json:"17"` Hour18 float32 `json:"18"` Hour19 float32 `json:"19"` Hour20 float32 `json:"20"` Hour21 float32 `json:"21"` Hour22 float32 `json:"22"` Hour23 float32 `json:"23"` }
type Illumination ¶
type IlluminationType ¶
type Location ¶
type Location struct { CBSA *CBSA `json:"cbsa,omitempty"` Coords *[]float32 `json:"coords,omitempty"` County string `json:"county,omitempty"` DMA *DMA `json:"dma,omitempty"` Level int `json:"level,omitempty"` LevelsVisible string `json:"levelsVisible,omitempty"` Orientation float32 `json:"orientation,omitempty"` Places *[]Place `json:"places,omitempty"` PrimaryArtery string `json:"primaryArtery,omitempty"` PrimaryRead string `json:"primaryRead,omitempty"` State string `json:"state,omitempty"` Timezone string `json:"timezone,omitempty"` Type string `json:"type,omitempty"` ZipCode string `json:"zipCode,omitempty"` }
type LocationType ¶
type Measure ¶
type Measure struct { Geopath struct { Created time.Time `json:"createdAt"` FrameID int `json:"frameID"` FrameLength int `json:"frameLength"` FrameShareOfVoice float32 `json:"frameShareOfVoice"` LayoutShareOfVoice float32 `json:"layoutShareOfVoice"` ProductName string `json:"productName"` Updated time.Time `json:"updatedAt"` } `json:"geopath"` Calculated time.Time `json:"calculatedAt"` // time calculated date/time of the spot Frequency struct { Average float32 `json:"average"` // calculated average frequency of the target audience EffectiveAvg float32 `json:"effectiveAvg"` // calculated average frequency of persons reached at least effectiveMin times EffectiveMin int `json:"effectiveMin"` // min frequency to be considered in reach; defaults to 1 } `json:"frequency"` Hourly *struct { Monday HourlyImpression `json:"mon,omitempty"` Tuesday HourlyImpression `json:"tue,omitempty"` Wednesday HourlyImpression `json:"wed,omitempty"` Thursday HourlyImpression `json:"thu,omitempty"` Friday HourlyImpression `json:"fri,omitempty"` Saturday HourlyImpression `json:"sat,omitempty"` Sunday HourlyImpression `json:"sun,omitempty"` } `json:"hourly,omitempty"` Impressions struct { Market float32 `json:"market"` // impressions reaching the geographic market (i.e. Global, DMA or CBSA) Segment float32 `json:"segment"` // impressesions reaching target audience (segment) overall Total float32 `json:"total"` // total impressions } `json:"impressions"` Population struct { Market int `json:"market"` // total population in the geographic market (i.e. Global, DMA or CBSA) Segment int `json:"segment"` // target segment population } `json:"population"` Reach struct { Effective int `json:"effective"` // total target in-market population reached at least eff_freq_min times Total int `json:"total"` // number of people in the geographic market that are reached } `json:"reach"` Segment struct { ID int `json:"id"` Name string `json:"name"` } `json:"segment"` }
type MeasuresStatus ¶
type SegmentName ¶
Click to show internal directories.
Click to hide internal directories.