Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const AdexchangeBuyerScope + type Account struct + BidderLocation []*AccountBidderLocation + CookieMatchingNid string + CookieMatchingUrl string + ForceSendFields []string + Id int64 + Kind string + MaximumActiveCreatives int64 + MaximumTotalQps int64 + NullFields []string + NumberActiveCreatives int64 + func (s *Account) MarshalJSON() ([]byte, error) + type AccountBidderLocation struct + ForceSendFields []string + MaximumQps int64 + NullFields []string + Region string + Url string + func (s *AccountBidderLocation) MarshalJSON() ([]byte, error) + type AccountsGetCall struct + func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall + func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*Account, error) + func (c *AccountsGetCall) Fields(s ...googleapi.Field) *AccountsGetCall + func (c *AccountsGetCall) Header() http.Header + func (c *AccountsGetCall) IfNoneMatch(entityTag string) *AccountsGetCall + type AccountsList struct + ForceSendFields []string + Items []*Account + Kind string + NullFields []string + func (s *AccountsList) MarshalJSON() ([]byte, error) + type AccountsListCall struct + func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall + func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*AccountsList, error) + func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall + func (c *AccountsListCall) Header() http.Header + func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall + type AccountsPatchCall struct + func (c *AccountsPatchCall) Context(ctx context.Context) *AccountsPatchCall + func (c *AccountsPatchCall) Do(opts ...googleapi.CallOption) (*Account, error) + func (c *AccountsPatchCall) Fields(s ...googleapi.Field) *AccountsPatchCall + func (c *AccountsPatchCall) Header() http.Header + type AccountsService struct + func NewAccountsService(s *Service) *AccountsService + func (r *AccountsService) Get(id int64) *AccountsGetCall + func (r *AccountsService) List() *AccountsListCall + func (r *AccountsService) Patch(id int64, account *Account) *AccountsPatchCall + func (r *AccountsService) Update(id int64, account *Account) *AccountsUpdateCall + type AccountsUpdateCall struct + func (c *AccountsUpdateCall) Context(ctx context.Context) *AccountsUpdateCall + func (c *AccountsUpdateCall) Do(opts ...googleapi.CallOption) (*Account, error) + func (c *AccountsUpdateCall) Fields(s ...googleapi.Field) *AccountsUpdateCall + func (c *AccountsUpdateCall) Header() http.Header + type BillingInfo struct + AccountId int64 + AccountName string + BillingId []string + ForceSendFields []string + Kind string + NullFields []string + func (s *BillingInfo) MarshalJSON() ([]byte, error) + type BillingInfoGetCall struct + func (c *BillingInfoGetCall) Context(ctx context.Context) *BillingInfoGetCall + func (c *BillingInfoGetCall) Do(opts ...googleapi.CallOption) (*BillingInfo, error) + func (c *BillingInfoGetCall) Fields(s ...googleapi.Field) *BillingInfoGetCall + func (c *BillingInfoGetCall) Header() http.Header + func (c *BillingInfoGetCall) IfNoneMatch(entityTag string) *BillingInfoGetCall + type BillingInfoList struct + ForceSendFields []string + Items []*BillingInfo + Kind string + NullFields []string + func (s *BillingInfoList) MarshalJSON() ([]byte, error) + type BillingInfoListCall struct + func (c *BillingInfoListCall) Context(ctx context.Context) *BillingInfoListCall + func (c *BillingInfoListCall) Do(opts ...googleapi.CallOption) (*BillingInfoList, error) + func (c *BillingInfoListCall) Fields(s ...googleapi.Field) *BillingInfoListCall + func (c *BillingInfoListCall) Header() http.Header + func (c *BillingInfoListCall) IfNoneMatch(entityTag string) *BillingInfoListCall + type BillingInfoService struct + func NewBillingInfoService(s *Service) *BillingInfoService + func (r *BillingInfoService) Get(accountId int64) *BillingInfoGetCall + func (r *BillingInfoService) List() *BillingInfoListCall + type Budget struct + AccountId int64 + BillingId int64 + BudgetAmount int64 + CurrencyCode string + ForceSendFields []string + Id string + Kind string + NullFields []string + func (s *Budget) MarshalJSON() ([]byte, error) + type BudgetGetCall struct + func (c *BudgetGetCall) Context(ctx context.Context) *BudgetGetCall + func (c *BudgetGetCall) Do(opts ...googleapi.CallOption) (*Budget, error) + func (c *BudgetGetCall) Fields(s ...googleapi.Field) *BudgetGetCall + func (c *BudgetGetCall) Header() http.Header + func (c *BudgetGetCall) IfNoneMatch(entityTag string) *BudgetGetCall + type BudgetPatchCall struct + func (c *BudgetPatchCall) Context(ctx context.Context) *BudgetPatchCall + func (c *BudgetPatchCall) Do(opts ...googleapi.CallOption) (*Budget, error) + func (c *BudgetPatchCall) Fields(s ...googleapi.Field) *BudgetPatchCall + func (c *BudgetPatchCall) Header() http.Header + type BudgetService struct + func NewBudgetService(s *Service) *BudgetService + func (r *BudgetService) Get(accountId int64, billingId int64) *BudgetGetCall + func (r *BudgetService) Patch(accountId int64, billingId int64, budget *Budget) *BudgetPatchCall + func (r *BudgetService) Update(accountId int64, billingId int64, budget *Budget) *BudgetUpdateCall + type BudgetUpdateCall struct + func (c *BudgetUpdateCall) Context(ctx context.Context) *BudgetUpdateCall + func (c *BudgetUpdateCall) Do(opts ...googleapi.CallOption) (*Budget, error) + func (c *BudgetUpdateCall) Fields(s ...googleapi.Field) *BudgetUpdateCall + func (c *BudgetUpdateCall) Header() http.Header + type Creative struct + AccountId int64 + AdTechnologyProviders *CreativeAdTechnologyProviders + AdvertiserId googleapi.Int64s + AdvertiserName string + AgencyId int64 + ApiUploadTimestamp string + Attribute []int64 + BuyerCreativeId string + ClickThroughUrl []string + Corrections []*CreativeCorrections + DisapprovalReasons []*CreativeDisapprovalReasons + FilteringReasons *CreativeFilteringReasons + ForceSendFields []string + HTMLSnippet string + Height int64 + ImpressionTrackingUrl []string + Kind string + NativeAd *CreativeNativeAd + NullFields []string + ProductCategories []int64 + RestrictedCategories []int64 + SensitiveCategories []int64 + Status string + VendorType []int64 + Version int64 + VideoURL string + Width int64 + func (s *Creative) MarshalJSON() ([]byte, error) + type CreativeAdTechnologyProviders struct + DetectedProviderIds googleapi.Int64s + ForceSendFields []string + HasUnidentifiedProvider bool + NullFields []string + func (s *CreativeAdTechnologyProviders) MarshalJSON() ([]byte, error) + type CreativeCorrections struct + Details []string + ForceSendFields []string + NullFields []string + Reason string + func (s *CreativeCorrections) MarshalJSON() ([]byte, error) + type CreativeDisapprovalReasons struct + Details []string + ForceSendFields []string + NullFields []string + Reason string + func (s *CreativeDisapprovalReasons) MarshalJSON() ([]byte, error) + type CreativeFilteringReasons struct + Date string + ForceSendFields []string + NullFields []string + Reasons []*CreativeFilteringReasonsReasons + func (s *CreativeFilteringReasons) MarshalJSON() ([]byte, error) + type CreativeFilteringReasonsReasons struct + FilteringCount int64 + FilteringStatus int64 + ForceSendFields []string + NullFields []string + func (s *CreativeFilteringReasonsReasons) MarshalJSON() ([]byte, error) + type CreativeNativeAd struct + Advertiser string + AppIcon *CreativeNativeAdAppIcon + Body string + CallToAction string + ClickTrackingUrl string + ForceSendFields []string + Headline string + Image *CreativeNativeAdImage + ImpressionTrackingUrl []string + Logo *CreativeNativeAdLogo + NullFields []string + Price string + StarRating float64 + func (s *CreativeNativeAd) MarshalJSON() ([]byte, error) + func (s *CreativeNativeAd) UnmarshalJSON(data []byte) error + type CreativeNativeAdAppIcon struct + ForceSendFields []string + Height int64 + NullFields []string + Url string + Width int64 + func (s *CreativeNativeAdAppIcon) MarshalJSON() ([]byte, error) + type CreativeNativeAdImage struct + ForceSendFields []string + Height int64 + NullFields []string + Url string + Width int64 + func (s *CreativeNativeAdImage) MarshalJSON() ([]byte, error) + type CreativeNativeAdLogo struct + ForceSendFields []string + Height int64 + NullFields []string + Url string + Width int64 + func (s *CreativeNativeAdLogo) MarshalJSON() ([]byte, error) + type CreativesGetCall struct + func (c *CreativesGetCall) Context(ctx context.Context) *CreativesGetCall + func (c *CreativesGetCall) Do(opts ...googleapi.CallOption) (*Creative, error) + func (c *CreativesGetCall) Fields(s ...googleapi.Field) *CreativesGetCall + func (c *CreativesGetCall) Header() http.Header + func (c *CreativesGetCall) IfNoneMatch(entityTag string) *CreativesGetCall + type CreativesInsertCall struct + func (c *CreativesInsertCall) Context(ctx context.Context) *CreativesInsertCall + func (c *CreativesInsertCall) Do(opts ...googleapi.CallOption) (*Creative, error) + func (c *CreativesInsertCall) Fields(s ...googleapi.Field) *CreativesInsertCall + func (c *CreativesInsertCall) Header() http.Header + type CreativesList struct + ForceSendFields []string + Items []*Creative + Kind string + NextPageToken string + NullFields []string + func (s *CreativesList) MarshalJSON() ([]byte, error) + type CreativesListCall struct + func (c *CreativesListCall) AccountId(accountId ...int64) *CreativesListCall + func (c *CreativesListCall) BuyerCreativeId(buyerCreativeId ...string) *CreativesListCall + func (c *CreativesListCall) Context(ctx context.Context) *CreativesListCall + func (c *CreativesListCall) Do(opts ...googleapi.CallOption) (*CreativesList, error) + func (c *CreativesListCall) Fields(s ...googleapi.Field) *CreativesListCall + func (c *CreativesListCall) Header() http.Header + func (c *CreativesListCall) IfNoneMatch(entityTag string) *CreativesListCall + func (c *CreativesListCall) MaxResults(maxResults int64) *CreativesListCall + func (c *CreativesListCall) PageToken(pageToken string) *CreativesListCall + func (c *CreativesListCall) Pages(ctx context.Context, f func(*CreativesList) error) error + func (c *CreativesListCall) StatusFilter(statusFilter string) *CreativesListCall + type CreativesService struct + func NewCreativesService(s *Service) *CreativesService + func (r *CreativesService) Get(accountId int64, buyerCreativeId string) *CreativesGetCall + func (r *CreativesService) Insert(creative *Creative) *CreativesInsertCall + func (r *CreativesService) List() *CreativesListCall + type DirectDeal struct + AccountId int64 + Advertiser string + AllowsAlcohol bool + BuyerAccountId int64 + CurrencyCode string + DealTier string + EndTime int64 + FixedCpm int64 + ForceSendFields []string + Id int64 + Kind string + Name string + NullFields []string + PrivateExchangeMinCpm int64 + PublisherBlocksOverriden bool + SellerNetwork string + StartTime int64 + func (s *DirectDeal) MarshalJSON() ([]byte, error) + type DirectDealsGetCall struct + func (c *DirectDealsGetCall) Context(ctx context.Context) *DirectDealsGetCall + func (c *DirectDealsGetCall) Do(opts ...googleapi.CallOption) (*DirectDeal, error) + func (c *DirectDealsGetCall) Fields(s ...googleapi.Field) *DirectDealsGetCall + func (c *DirectDealsGetCall) Header() http.Header + func (c *DirectDealsGetCall) IfNoneMatch(entityTag string) *DirectDealsGetCall + type DirectDealsList struct + DirectDeals []*DirectDeal + ForceSendFields []string + Kind string + NullFields []string + func (s *DirectDealsList) MarshalJSON() ([]byte, error) + type DirectDealsListCall struct + func (c *DirectDealsListCall) Context(ctx context.Context) *DirectDealsListCall + func (c *DirectDealsListCall) Do(opts ...googleapi.CallOption) (*DirectDealsList, error) + func (c *DirectDealsListCall) Fields(s ...googleapi.Field) *DirectDealsListCall + func (c *DirectDealsListCall) Header() http.Header + func (c *DirectDealsListCall) IfNoneMatch(entityTag string) *DirectDealsListCall + type DirectDealsService struct + func NewDirectDealsService(s *Service) *DirectDealsService + func (r *DirectDealsService) Get(id int64) *DirectDealsGetCall + func (r *DirectDealsService) List() *DirectDealsListCall + type PerformanceReport struct + BidRate float64 + BidRequestRate float64 + CalloutStatusRate []interface{} + CookieMatcherStatusRate []interface{} + CreativeStatusRate []interface{} + FilteredBidRate float64 + ForceSendFields []string + HostedMatchStatusRate []interface{} + InventoryMatchRate float64 + Kind string + Latency50thPercentile float64 + Latency85thPercentile float64 + Latency95thPercentile float64 + NoQuotaInRegion float64 + NullFields []string + OutOfQuota float64 + PixelMatchRequests float64 + PixelMatchResponses float64 + QuotaConfiguredLimit float64 + QuotaThrottledLimit float64 + Region string + SuccessfulRequestRate float64 + Timestamp int64 + UnsuccessfulRequestRate float64 + func (s *PerformanceReport) MarshalJSON() ([]byte, error) + func (s *PerformanceReport) UnmarshalJSON(data []byte) error + type PerformanceReportList struct + ForceSendFields []string + Kind string + NullFields []string + PerformanceReport []*PerformanceReport + func (s *PerformanceReportList) MarshalJSON() ([]byte, error) + type PerformanceReportListCall struct + func (c *PerformanceReportListCall) Context(ctx context.Context) *PerformanceReportListCall + func (c *PerformanceReportListCall) Do(opts ...googleapi.CallOption) (*PerformanceReportList, error) + func (c *PerformanceReportListCall) Fields(s ...googleapi.Field) *PerformanceReportListCall + func (c *PerformanceReportListCall) Header() http.Header + func (c *PerformanceReportListCall) IfNoneMatch(entityTag string) *PerformanceReportListCall + func (c *PerformanceReportListCall) MaxResults(maxResults int64) *PerformanceReportListCall + func (c *PerformanceReportListCall) PageToken(pageToken string) *PerformanceReportListCall + type PerformanceReportService struct + func NewPerformanceReportService(s *Service) *PerformanceReportService + func (r *PerformanceReportService) List(accountId int64, endDateTime string, startDateTime string) *PerformanceReportListCall + type PretargetingConfig struct + BillingId int64 + ConfigId int64 + ConfigName string + CreativeType []string + Dimensions []*PretargetingConfigDimensions + ExcludedContentLabels googleapi.Int64s + ExcludedGeoCriteriaIds googleapi.Int64s + ExcludedPlacements []*PretargetingConfigExcludedPlacements + ExcludedUserLists googleapi.Int64s + ExcludedVerticals googleapi.Int64s + ForceSendFields []string + GeoCriteriaIds googleapi.Int64s + IsActive bool + Kind string + Languages []string + MaximumQps int64 + MobileCarriers googleapi.Int64s + MobileDevices googleapi.Int64s + MobileOperatingSystemVersions googleapi.Int64s + NullFields []string + Placements []*PretargetingConfigPlacements + Platforms []string + SupportedCreativeAttributes googleapi.Int64s + UserLists googleapi.Int64s + VendorTypes googleapi.Int64s + Verticals googleapi.Int64s + func (s *PretargetingConfig) MarshalJSON() ([]byte, error) + type PretargetingConfigDeleteCall struct + func (c *PretargetingConfigDeleteCall) Context(ctx context.Context) *PretargetingConfigDeleteCall + func (c *PretargetingConfigDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *PretargetingConfigDeleteCall) Fields(s ...googleapi.Field) *PretargetingConfigDeleteCall + func (c *PretargetingConfigDeleteCall) Header() http.Header + type PretargetingConfigDimensions struct + ForceSendFields []string + Height int64 + NullFields []string + Width int64 + func (s *PretargetingConfigDimensions) MarshalJSON() ([]byte, error) + type PretargetingConfigExcludedPlacements struct + ForceSendFields []string + NullFields []string + Token string + Type string + func (s *PretargetingConfigExcludedPlacements) MarshalJSON() ([]byte, error) + type PretargetingConfigGetCall struct + func (c *PretargetingConfigGetCall) Context(ctx context.Context) *PretargetingConfigGetCall + func (c *PretargetingConfigGetCall) Do(opts ...googleapi.CallOption) (*PretargetingConfig, error) + func (c *PretargetingConfigGetCall) Fields(s ...googleapi.Field) *PretargetingConfigGetCall + func (c *PretargetingConfigGetCall) Header() http.Header + func (c *PretargetingConfigGetCall) IfNoneMatch(entityTag string) *PretargetingConfigGetCall + type PretargetingConfigInsertCall struct + func (c *PretargetingConfigInsertCall) Context(ctx context.Context) *PretargetingConfigInsertCall + func (c *PretargetingConfigInsertCall) Do(opts ...googleapi.CallOption) (*PretargetingConfig, error) + func (c *PretargetingConfigInsertCall) Fields(s ...googleapi.Field) *PretargetingConfigInsertCall + func (c *PretargetingConfigInsertCall) Header() http.Header + type PretargetingConfigList struct + ForceSendFields []string + Items []*PretargetingConfig + Kind string + NullFields []string + func (s *PretargetingConfigList) MarshalJSON() ([]byte, error) + type PretargetingConfigListCall struct + func (c *PretargetingConfigListCall) Context(ctx context.Context) *PretargetingConfigListCall + func (c *PretargetingConfigListCall) Do(opts ...googleapi.CallOption) (*PretargetingConfigList, error) + func (c *PretargetingConfigListCall) Fields(s ...googleapi.Field) *PretargetingConfigListCall + func (c *PretargetingConfigListCall) Header() http.Header + func (c *PretargetingConfigListCall) IfNoneMatch(entityTag string) *PretargetingConfigListCall + type PretargetingConfigPatchCall struct + func (c *PretargetingConfigPatchCall) Context(ctx context.Context) *PretargetingConfigPatchCall + func (c *PretargetingConfigPatchCall) Do(opts ...googleapi.CallOption) (*PretargetingConfig, error) + func (c *PretargetingConfigPatchCall) Fields(s ...googleapi.Field) *PretargetingConfigPatchCall + func (c *PretargetingConfigPatchCall) Header() http.Header + type PretargetingConfigPlacements struct + ForceSendFields []string + NullFields []string + Token string + Type string + func (s *PretargetingConfigPlacements) MarshalJSON() ([]byte, error) + type PretargetingConfigService struct + func NewPretargetingConfigService(s *Service) *PretargetingConfigService + func (r *PretargetingConfigService) Delete(accountId int64, configId int64) *PretargetingConfigDeleteCall + func (r *PretargetingConfigService) Get(accountId int64, configId int64) *PretargetingConfigGetCall + func (r *PretargetingConfigService) Insert(accountId int64, pretargetingconfig *PretargetingConfig) *PretargetingConfigInsertCall + func (r *PretargetingConfigService) List(accountId int64) *PretargetingConfigListCall + func (r *PretargetingConfigService) Patch(accountId int64, configId int64, pretargetingconfig *PretargetingConfig) *PretargetingConfigPatchCall + func (r *PretargetingConfigService) Update(accountId int64, configId int64, pretargetingconfig *PretargetingConfig) *PretargetingConfigUpdateCall + type PretargetingConfigUpdateCall struct + func (c *PretargetingConfigUpdateCall) Context(ctx context.Context) *PretargetingConfigUpdateCall + func (c *PretargetingConfigUpdateCall) Do(opts ...googleapi.CallOption) (*PretargetingConfig, error) + func (c *PretargetingConfigUpdateCall) Fields(s ...googleapi.Field) *PretargetingConfigUpdateCall + func (c *PretargetingConfigUpdateCall) Header() http.Header + type Service struct + Accounts *AccountsService + BasePath string + BillingInfo *BillingInfoService + Budget *BudgetService + Creatives *CreativesService + DirectDeals *DirectDealsService + PerformanceReport *PerformanceReportService + PretargetingConfig *PretargetingConfigService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)