Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CCOProductCode ¶ added in v0.3.1
type Classification ¶
type Classification string
const ( DoNotCall Classification = "Do Not Call" Key Classification = "Key" OutOfBusiness Classification = "Out Of Business" Prospect Classification = "Prospect" Secondary Classification = "Secondary" Target Classification = "Target" )
type Customer ¶
type Customer struct { ID string `json:"customerID,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` Credit *Credit `json:"credit,omitempty"` ExternalIDs []string `json:"externalIDs,omitempty"` IsAdvertiser bool `json:"isAdvertiser,omitempty"` Markets []Market `json:"markets,omitempty"` NAICS *NAICS `json:"naics,omitempty"` Name string `json:"name,omitempty"` Number string `json:"number,omitempty"` Taxonomy *CustomerTaxonomy `json:"taxonomy,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
type CustomerTaxonomy ¶ added in v0.3.1
type CustomerTaxonomy struct { CCO *CCOProductCode `json:"cco,omitempty"` IAB *IABTaxonomy `json:"iab,omitempty"` }
type IABTaxonomy ¶ added in v0.3.1
type Market ¶
type Market struct { ID string `json:"marketID,omitempty"` Category Category `json:"category,omitempty"` Classification Classification `json:"classification,omitempty"` Code string `json:"code,omitempty" bson:"code,omitempty"` CreatedAt time.Time `json:"createdAt"` Credit *Credit `json:"credit,omitempty"` ExternalIDs []string `json:"externalIDs,omitempty"` Name string `json:"name"` UpdatedAt time.Time `json:"updatedAt"` }
Click to show internal directories.
Click to hide internal directories.