Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvertiserIDV1 ¶
type AdvertiserIDV1 struct {
// swagger:allOf advertiserId
DataV1
v1.AdvertiserID
}
AdvertiserIDV1 contains id for an advertiser (e.g google, facebook). swagger:model advertiserId
type CookieV1 ¶
CookieV1 is PDVData implementation for Cookies(according to https://developer.chrome.com/extensions/cookies). swagger:model cookie
type LocationV1 ¶
LocationV1 contains user's geolocation at a time. swagger:model location
type ObjectTypes ¶
type ObjectTypes struct {
AdvertiserID uint16 `json:"advertiserId"`
Cookie uint16 `json:"cookie"`
Location uint16 `json:"location"`
Profile uint16 `json:"profile"`
SearchHistoryV1 uint16 `json:"searchHistory"`
}
ObjectTypes contains count of each pdv type in batch.
type PDVInterface ¶
type PDVInterface interface {
// discriminator: true
// swagger:name version
Version() schema.Version
}
swagger:model PDV
type PDVMeta ¶
type PDVMeta struct {
// ObjectTypes represents how much certain pdv data pdv contains.
ObjectTypes ObjectTypes `json:"object_types"`
Reward uint64 `json:"reward"`
}
PDVMeta contains info about PDV. swagger:model PDVMeta
type PDVV1 ¶
type PDVV1 struct {
// swagger:allOf v1
PDVInterface
PDV []DataV1 `json:"pdv"`
}
PDVV1 is main data object. swagger:model v1
type SearchHistoryV1 ¶
type SearchHistoryV1 struct {
// swagger:allOf searchHistory
DataV1
v1.SearchHistory
}
SearchHistoryV1 contains user's search request. swagger:model searchHistory
Click to show internal directories.
Click to hide internal directories.