Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const AdexchangeSellerReadonlyScope + const AdexchangeSellerScope + type Account struct + ForceSendFields []string + Id string + Kind string + Name string + NullFields []string + func (s *Account) MarshalJSON() ([]byte, error) + type Accounts struct + Etag string + ForceSendFields []string + Items []*Account + Kind string + NextPageToken string + NullFields []string + func (s *Accounts) MarshalJSON() ([]byte, error) + type AccountsAdclientsListCall struct + func (c *AccountsAdclientsListCall) Context(ctx context.Context) *AccountsAdclientsListCall + func (c *AccountsAdclientsListCall) Do(opts ...googleapi.CallOption) (*AdClients, error) + func (c *AccountsAdclientsListCall) Fields(s ...googleapi.Field) *AccountsAdclientsListCall + func (c *AccountsAdclientsListCall) Header() http.Header + func (c *AccountsAdclientsListCall) IfNoneMatch(entityTag string) *AccountsAdclientsListCall + func (c *AccountsAdclientsListCall) MaxResults(maxResults int64) *AccountsAdclientsListCall + func (c *AccountsAdclientsListCall) PageToken(pageToken string) *AccountsAdclientsListCall + func (c *AccountsAdclientsListCall) Pages(ctx context.Context, f func(*AdClients) error) error + type AccountsAdclientsService struct + func NewAccountsAdclientsService(s *Service) *AccountsAdclientsService + func (r *AccountsAdclientsService) List(accountId string) *AccountsAdclientsListCall + type AccountsAlertsListCall struct + func (c *AccountsAlertsListCall) Context(ctx context.Context) *AccountsAlertsListCall + func (c *AccountsAlertsListCall) Do(opts ...googleapi.CallOption) (*Alerts, error) + func (c *AccountsAlertsListCall) Fields(s ...googleapi.Field) *AccountsAlertsListCall + func (c *AccountsAlertsListCall) Header() http.Header + func (c *AccountsAlertsListCall) IfNoneMatch(entityTag string) *AccountsAlertsListCall + func (c *AccountsAlertsListCall) Locale(locale string) *AccountsAlertsListCall + type AccountsAlertsService struct + func NewAccountsAlertsService(s *Service) *AccountsAlertsService + func (r *AccountsAlertsService) List(accountId string) *AccountsAlertsListCall + type AccountsCustomchannelsGetCall struct + func (c *AccountsCustomchannelsGetCall) Context(ctx context.Context) *AccountsCustomchannelsGetCall + func (c *AccountsCustomchannelsGetCall) Do(opts ...googleapi.CallOption) (*CustomChannel, error) + func (c *AccountsCustomchannelsGetCall) Fields(s ...googleapi.Field) *AccountsCustomchannelsGetCall + func (c *AccountsCustomchannelsGetCall) Header() http.Header + func (c *AccountsCustomchannelsGetCall) IfNoneMatch(entityTag string) *AccountsCustomchannelsGetCall + type AccountsCustomchannelsListCall struct + func (c *AccountsCustomchannelsListCall) Context(ctx context.Context) *AccountsCustomchannelsListCall + func (c *AccountsCustomchannelsListCall) Do(opts ...googleapi.CallOption) (*CustomChannels, error) + func (c *AccountsCustomchannelsListCall) Fields(s ...googleapi.Field) *AccountsCustomchannelsListCall + func (c *AccountsCustomchannelsListCall) Header() http.Header + func (c *AccountsCustomchannelsListCall) IfNoneMatch(entityTag string) *AccountsCustomchannelsListCall + func (c *AccountsCustomchannelsListCall) MaxResults(maxResults int64) *AccountsCustomchannelsListCall + func (c *AccountsCustomchannelsListCall) PageToken(pageToken string) *AccountsCustomchannelsListCall + func (c *AccountsCustomchannelsListCall) Pages(ctx context.Context, f func(*CustomChannels) error) error + type AccountsCustomchannelsService struct + func NewAccountsCustomchannelsService(s *Service) *AccountsCustomchannelsService + func (r *AccountsCustomchannelsService) Get(accountId string, adClientId string, customChannelId string) *AccountsCustomchannelsGetCall + func (r *AccountsCustomchannelsService) List(accountId string, adClientId string) *AccountsCustomchannelsListCall + 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 AccountsListCall struct + func (c *AccountsListCall) Context(ctx context.Context) *AccountsListCall + func (c *AccountsListCall) Do(opts ...googleapi.CallOption) (*Accounts, error) + func (c *AccountsListCall) Fields(s ...googleapi.Field) *AccountsListCall + func (c *AccountsListCall) Header() http.Header + func (c *AccountsListCall) IfNoneMatch(entityTag string) *AccountsListCall + func (c *AccountsListCall) MaxResults(maxResults int64) *AccountsListCall + func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall + func (c *AccountsListCall) Pages(ctx context.Context, f func(*Accounts) error) error + type AccountsMetadataDimensionsListCall struct + func (c *AccountsMetadataDimensionsListCall) Context(ctx context.Context) *AccountsMetadataDimensionsListCall + func (c *AccountsMetadataDimensionsListCall) Do(opts ...googleapi.CallOption) (*Metadata, error) + func (c *AccountsMetadataDimensionsListCall) Fields(s ...googleapi.Field) *AccountsMetadataDimensionsListCall + func (c *AccountsMetadataDimensionsListCall) Header() http.Header + func (c *AccountsMetadataDimensionsListCall) IfNoneMatch(entityTag string) *AccountsMetadataDimensionsListCall + type AccountsMetadataDimensionsService struct + func NewAccountsMetadataDimensionsService(s *Service) *AccountsMetadataDimensionsService + func (r *AccountsMetadataDimensionsService) List(accountId string) *AccountsMetadataDimensionsListCall + type AccountsMetadataMetricsListCall struct + func (c *AccountsMetadataMetricsListCall) Context(ctx context.Context) *AccountsMetadataMetricsListCall + func (c *AccountsMetadataMetricsListCall) Do(opts ...googleapi.CallOption) (*Metadata, error) + func (c *AccountsMetadataMetricsListCall) Fields(s ...googleapi.Field) *AccountsMetadataMetricsListCall + func (c *AccountsMetadataMetricsListCall) Header() http.Header + func (c *AccountsMetadataMetricsListCall) IfNoneMatch(entityTag string) *AccountsMetadataMetricsListCall + type AccountsMetadataMetricsService struct + func NewAccountsMetadataMetricsService(s *Service) *AccountsMetadataMetricsService + func (r *AccountsMetadataMetricsService) List(accountId string) *AccountsMetadataMetricsListCall + type AccountsMetadataService struct + Dimensions *AccountsMetadataDimensionsService + Metrics *AccountsMetadataMetricsService + func NewAccountsMetadataService(s *Service) *AccountsMetadataService + type AccountsPreferreddealsGetCall struct + func (c *AccountsPreferreddealsGetCall) Context(ctx context.Context) *AccountsPreferreddealsGetCall + func (c *AccountsPreferreddealsGetCall) Do(opts ...googleapi.CallOption) (*PreferredDeal, error) + func (c *AccountsPreferreddealsGetCall) Fields(s ...googleapi.Field) *AccountsPreferreddealsGetCall + func (c *AccountsPreferreddealsGetCall) Header() http.Header + func (c *AccountsPreferreddealsGetCall) IfNoneMatch(entityTag string) *AccountsPreferreddealsGetCall + type AccountsPreferreddealsListCall struct + func (c *AccountsPreferreddealsListCall) Context(ctx context.Context) *AccountsPreferreddealsListCall + func (c *AccountsPreferreddealsListCall) Do(opts ...googleapi.CallOption) (*PreferredDeals, error) + func (c *AccountsPreferreddealsListCall) Fields(s ...googleapi.Field) *AccountsPreferreddealsListCall + func (c *AccountsPreferreddealsListCall) Header() http.Header + func (c *AccountsPreferreddealsListCall) IfNoneMatch(entityTag string) *AccountsPreferreddealsListCall + type AccountsPreferreddealsService struct + func NewAccountsPreferreddealsService(s *Service) *AccountsPreferreddealsService + func (r *AccountsPreferreddealsService) Get(accountId string, dealId string) *AccountsPreferreddealsGetCall + func (r *AccountsPreferreddealsService) List(accountId string) *AccountsPreferreddealsListCall + type AccountsReportsGenerateCall struct + func (c *AccountsReportsGenerateCall) Context(ctx context.Context) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) Dimension(dimension ...string) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) Do(opts ...googleapi.CallOption) (*Report, error) + func (c *AccountsReportsGenerateCall) Download(opts ...googleapi.CallOption) (*http.Response, error) + func (c *AccountsReportsGenerateCall) Fields(s ...googleapi.Field) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) Filter(filter ...string) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) Header() http.Header + func (c *AccountsReportsGenerateCall) IfNoneMatch(entityTag string) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) Locale(locale string) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) MaxResults(maxResults int64) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) Metric(metric ...string) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) Sort(sort ...string) *AccountsReportsGenerateCall + func (c *AccountsReportsGenerateCall) StartIndex(startIndex int64) *AccountsReportsGenerateCall + type AccountsReportsSavedGenerateCall struct + func (c *AccountsReportsSavedGenerateCall) Context(ctx context.Context) *AccountsReportsSavedGenerateCall + func (c *AccountsReportsSavedGenerateCall) Do(opts ...googleapi.CallOption) (*Report, error) + func (c *AccountsReportsSavedGenerateCall) Fields(s ...googleapi.Field) *AccountsReportsSavedGenerateCall + func (c *AccountsReportsSavedGenerateCall) Header() http.Header + func (c *AccountsReportsSavedGenerateCall) IfNoneMatch(entityTag string) *AccountsReportsSavedGenerateCall + func (c *AccountsReportsSavedGenerateCall) Locale(locale string) *AccountsReportsSavedGenerateCall + func (c *AccountsReportsSavedGenerateCall) MaxResults(maxResults int64) *AccountsReportsSavedGenerateCall + func (c *AccountsReportsSavedGenerateCall) StartIndex(startIndex int64) *AccountsReportsSavedGenerateCall + type AccountsReportsSavedListCall struct + func (c *AccountsReportsSavedListCall) Context(ctx context.Context) *AccountsReportsSavedListCall + func (c *AccountsReportsSavedListCall) Do(opts ...googleapi.CallOption) (*SavedReports, error) + func (c *AccountsReportsSavedListCall) Fields(s ...googleapi.Field) *AccountsReportsSavedListCall + func (c *AccountsReportsSavedListCall) Header() http.Header + func (c *AccountsReportsSavedListCall) IfNoneMatch(entityTag string) *AccountsReportsSavedListCall + func (c *AccountsReportsSavedListCall) MaxResults(maxResults int64) *AccountsReportsSavedListCall + func (c *AccountsReportsSavedListCall) PageToken(pageToken string) *AccountsReportsSavedListCall + func (c *AccountsReportsSavedListCall) Pages(ctx context.Context, f func(*SavedReports) error) error + type AccountsReportsSavedService struct + func NewAccountsReportsSavedService(s *Service) *AccountsReportsSavedService + func (r *AccountsReportsSavedService) Generate(accountId string, savedReportId string) *AccountsReportsSavedGenerateCall + func (r *AccountsReportsSavedService) List(accountId string) *AccountsReportsSavedListCall + type AccountsReportsService struct + Saved *AccountsReportsSavedService + func NewAccountsReportsService(s *Service) *AccountsReportsService + func (r *AccountsReportsService) Generate(accountId string, startDate string, endDate string) *AccountsReportsGenerateCall + type AccountsService struct + Adclients *AccountsAdclientsService + Alerts *AccountsAlertsService + Customchannels *AccountsCustomchannelsService + Metadata *AccountsMetadataService + Preferreddeals *AccountsPreferreddealsService + Reports *AccountsReportsService + Urlchannels *AccountsUrlchannelsService + func NewAccountsService(s *Service) *AccountsService + func (r *AccountsService) Get(accountId string) *AccountsGetCall + func (r *AccountsService) List() *AccountsListCall + type AccountsUrlchannelsListCall struct + func (c *AccountsUrlchannelsListCall) Context(ctx context.Context) *AccountsUrlchannelsListCall + func (c *AccountsUrlchannelsListCall) Do(opts ...googleapi.CallOption) (*UrlChannels, error) + func (c *AccountsUrlchannelsListCall) Fields(s ...googleapi.Field) *AccountsUrlchannelsListCall + func (c *AccountsUrlchannelsListCall) Header() http.Header + func (c *AccountsUrlchannelsListCall) IfNoneMatch(entityTag string) *AccountsUrlchannelsListCall + func (c *AccountsUrlchannelsListCall) MaxResults(maxResults int64) *AccountsUrlchannelsListCall + func (c *AccountsUrlchannelsListCall) PageToken(pageToken string) *AccountsUrlchannelsListCall + func (c *AccountsUrlchannelsListCall) Pages(ctx context.Context, f func(*UrlChannels) error) error + type AccountsUrlchannelsService struct + func NewAccountsUrlchannelsService(s *Service) *AccountsUrlchannelsService + func (r *AccountsUrlchannelsService) List(accountId string, adClientId string) *AccountsUrlchannelsListCall + type AdClient struct + ArcOptIn bool + ForceSendFields []string + Id string + Kind string + NullFields []string + ProductCode string + SupportsReporting bool + func (s *AdClient) MarshalJSON() ([]byte, error) + type AdClients struct + Etag string + ForceSendFields []string + Items []*AdClient + Kind string + NextPageToken string + NullFields []string + func (s *AdClients) MarshalJSON() ([]byte, error) + type Alert struct + ForceSendFields []string + Id string + Kind string + Message string + NullFields []string + Severity string + Type string + func (s *Alert) MarshalJSON() ([]byte, error) + type Alerts struct + ForceSendFields []string + Items []*Alert + Kind string + NullFields []string + func (s *Alerts) MarshalJSON() ([]byte, error) + type CustomChannel struct + Code string + ForceSendFields []string + Id string + Kind string + Name string + NullFields []string + TargetingInfo *CustomChannelTargetingInfo + func (s *CustomChannel) MarshalJSON() ([]byte, error) + type CustomChannelTargetingInfo struct + AdsAppearOn string + Description string + ForceSendFields []string + Location string + NullFields []string + SiteLanguage string + func (s *CustomChannelTargetingInfo) MarshalJSON() ([]byte, error) + type CustomChannels struct + Etag string + ForceSendFields []string + Items []*CustomChannel + Kind string + NextPageToken string + NullFields []string + func (s *CustomChannels) MarshalJSON() ([]byte, error) + type Metadata struct + ForceSendFields []string + Items []*ReportingMetadataEntry + Kind string + NullFields []string + func (s *Metadata) MarshalJSON() ([]byte, error) + type PreferredDeal struct + AdvertiserName string + BuyerNetworkName string + CurrencyCode string + EndTime uint64 + FixedCpm int64 + ForceSendFields []string + Id int64 + Kind string + NullFields []string + StartTime uint64 + func (s *PreferredDeal) MarshalJSON() ([]byte, error) + type PreferredDeals struct + ForceSendFields []string + Items []*PreferredDeal + Kind string + NullFields []string + func (s *PreferredDeals) MarshalJSON() ([]byte, error) + type Report struct + Averages []string + ForceSendFields []string + Headers []*ReportHeaders + Kind string + NullFields []string + Rows [][]string + TotalMatchedRows int64 + Totals []string + Warnings []string + func (s *Report) MarshalJSON() ([]byte, error) + type ReportHeaders struct + Currency string + ForceSendFields []string + Name string + NullFields []string + Type string + func (s *ReportHeaders) MarshalJSON() ([]byte, error) + type ReportingMetadataEntry struct + CompatibleDimensions []string + CompatibleMetrics []string + ForceSendFields []string + Id string + Kind string + NullFields []string + RequiredDimensions []string + RequiredMetrics []string + SupportedProducts []string + func (s *ReportingMetadataEntry) MarshalJSON() ([]byte, error) + type SavedReport struct + ForceSendFields []string + Id string + Kind string + Name string + NullFields []string + func (s *SavedReport) MarshalJSON() ([]byte, error) + type SavedReports struct + Etag string + ForceSendFields []string + Items []*SavedReport + Kind string + NextPageToken string + NullFields []string + func (s *SavedReports) MarshalJSON() ([]byte, error) + type Service struct + Accounts *AccountsService + BasePath string + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type UrlChannel struct + ForceSendFields []string + Id string + Kind string + NullFields []string + UrlPattern string + func (s *UrlChannel) MarshalJSON() ([]byte, error) + type UrlChannels struct + Etag string + ForceSendFields []string + Items []*UrlChannel + Kind string + NextPageToken string + NullFields []string + func (s *UrlChannels) MarshalJSON() ([]byte, error)