Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const AdsensehostScope + type Account struct + ForceSendFields []string + Id string + Kind string + Name string + NullFields []string + Status string + func (s *Account) MarshalJSON() ([]byte, error) + type Accounts struct + Etag string + ForceSendFields []string + Items []*Account + Kind string + NullFields []string + func (s *Accounts) MarshalJSON() ([]byte, error) + type AccountsAdclientsGetCall struct + func (c *AccountsAdclientsGetCall) Context(ctx context.Context) *AccountsAdclientsGetCall + func (c *AccountsAdclientsGetCall) Do(opts ...googleapi.CallOption) (*AdClient, error) + func (c *AccountsAdclientsGetCall) Fields(s ...googleapi.Field) *AccountsAdclientsGetCall + func (c *AccountsAdclientsGetCall) Header() http.Header + func (c *AccountsAdclientsGetCall) IfNoneMatch(entityTag string) *AccountsAdclientsGetCall + 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) Get(accountId string, adClientId string) *AccountsAdclientsGetCall + func (r *AccountsAdclientsService) List(accountId string) *AccountsAdclientsListCall + type AccountsAdunitsDeleteCall struct + func (c *AccountsAdunitsDeleteCall) Context(ctx context.Context) *AccountsAdunitsDeleteCall + func (c *AccountsAdunitsDeleteCall) Do(opts ...googleapi.CallOption) (*AdUnit, error) + func (c *AccountsAdunitsDeleteCall) Fields(s ...googleapi.Field) *AccountsAdunitsDeleteCall + func (c *AccountsAdunitsDeleteCall) Header() http.Header + type AccountsAdunitsGetAdCodeCall struct + func (c *AccountsAdunitsGetAdCodeCall) Context(ctx context.Context) *AccountsAdunitsGetAdCodeCall + func (c *AccountsAdunitsGetAdCodeCall) Do(opts ...googleapi.CallOption) (*AdCode, error) + func (c *AccountsAdunitsGetAdCodeCall) Fields(s ...googleapi.Field) *AccountsAdunitsGetAdCodeCall + func (c *AccountsAdunitsGetAdCodeCall) Header() http.Header + func (c *AccountsAdunitsGetAdCodeCall) HostCustomChannelId(hostCustomChannelId ...string) *AccountsAdunitsGetAdCodeCall + func (c *AccountsAdunitsGetAdCodeCall) IfNoneMatch(entityTag string) *AccountsAdunitsGetAdCodeCall + type AccountsAdunitsGetCall struct + func (c *AccountsAdunitsGetCall) Context(ctx context.Context) *AccountsAdunitsGetCall + func (c *AccountsAdunitsGetCall) Do(opts ...googleapi.CallOption) (*AdUnit, error) + func (c *AccountsAdunitsGetCall) Fields(s ...googleapi.Field) *AccountsAdunitsGetCall + func (c *AccountsAdunitsGetCall) Header() http.Header + func (c *AccountsAdunitsGetCall) IfNoneMatch(entityTag string) *AccountsAdunitsGetCall + type AccountsAdunitsInsertCall struct + func (c *AccountsAdunitsInsertCall) Context(ctx context.Context) *AccountsAdunitsInsertCall + func (c *AccountsAdunitsInsertCall) Do(opts ...googleapi.CallOption) (*AdUnit, error) + func (c *AccountsAdunitsInsertCall) Fields(s ...googleapi.Field) *AccountsAdunitsInsertCall + func (c *AccountsAdunitsInsertCall) Header() http.Header + type AccountsAdunitsListCall struct + func (c *AccountsAdunitsListCall) Context(ctx context.Context) *AccountsAdunitsListCall + func (c *AccountsAdunitsListCall) Do(opts ...googleapi.CallOption) (*AdUnits, error) + func (c *AccountsAdunitsListCall) Fields(s ...googleapi.Field) *AccountsAdunitsListCall + func (c *AccountsAdunitsListCall) Header() http.Header + func (c *AccountsAdunitsListCall) IfNoneMatch(entityTag string) *AccountsAdunitsListCall + func (c *AccountsAdunitsListCall) IncludeInactive(includeInactive bool) *AccountsAdunitsListCall + func (c *AccountsAdunitsListCall) MaxResults(maxResults int64) *AccountsAdunitsListCall + func (c *AccountsAdunitsListCall) PageToken(pageToken string) *AccountsAdunitsListCall + func (c *AccountsAdunitsListCall) Pages(ctx context.Context, f func(*AdUnits) error) error + type AccountsAdunitsPatchCall struct + func (c *AccountsAdunitsPatchCall) Context(ctx context.Context) *AccountsAdunitsPatchCall + func (c *AccountsAdunitsPatchCall) Do(opts ...googleapi.CallOption) (*AdUnit, error) + func (c *AccountsAdunitsPatchCall) Fields(s ...googleapi.Field) *AccountsAdunitsPatchCall + func (c *AccountsAdunitsPatchCall) Header() http.Header + type AccountsAdunitsService struct + func NewAccountsAdunitsService(s *Service) *AccountsAdunitsService + func (r *AccountsAdunitsService) Delete(accountId string, adClientId string, adUnitId string) *AccountsAdunitsDeleteCall + func (r *AccountsAdunitsService) Get(accountId string, adClientId string, adUnitId string) *AccountsAdunitsGetCall + func (r *AccountsAdunitsService) GetAdCode(accountId string, adClientId string, adUnitId string) *AccountsAdunitsGetAdCodeCall + func (r *AccountsAdunitsService) Insert(accountId string, adClientId string, adunit *AdUnit) *AccountsAdunitsInsertCall + func (r *AccountsAdunitsService) List(accountId string, adClientId string) *AccountsAdunitsListCall + func (r *AccountsAdunitsService) Patch(accountId string, adClientId string, adUnitId string, adunit *AdUnit) *AccountsAdunitsPatchCall + func (r *AccountsAdunitsService) Update(accountId string, adClientId string, adunit *AdUnit) *AccountsAdunitsUpdateCall + type AccountsAdunitsUpdateCall struct + func (c *AccountsAdunitsUpdateCall) Context(ctx context.Context) *AccountsAdunitsUpdateCall + func (c *AccountsAdunitsUpdateCall) Do(opts ...googleapi.CallOption) (*AdUnit, error) + func (c *AccountsAdunitsUpdateCall) Fields(s ...googleapi.Field) *AccountsAdunitsUpdateCall + func (c *AccountsAdunitsUpdateCall) Header() http.Header + 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 + 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) 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 AccountsReportsService struct + func NewAccountsReportsService(s *Service) *AccountsReportsService + func (r *AccountsReportsService) Generate(accountId string, startDate string, endDate string) *AccountsReportsGenerateCall + type AccountsService struct + Adclients *AccountsAdclientsService + Adunits *AccountsAdunitsService + Reports *AccountsReportsService + func NewAccountsService(s *Service) *AccountsService + func (r *AccountsService) Get(accountId string) *AccountsGetCall + func (r *AccountsService) List(filterAdClientId []string) *AccountsListCall + 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 AdCode struct + AdCode string + ForceSendFields []string + Kind string + NullFields []string + func (s *AdCode) MarshalJSON() ([]byte, error) + type AdStyle struct + Colors *AdStyleColors + Corners string + Font *AdStyleFont + ForceSendFields []string + Kind string + NullFields []string + func (s *AdStyle) MarshalJSON() ([]byte, error) + type AdStyleColors struct + Background string + Border string + ForceSendFields []string + NullFields []string + Text string + Title string + Url string + func (s *AdStyleColors) MarshalJSON() ([]byte, error) + type AdStyleFont struct + Family string + ForceSendFields []string + NullFields []string + Size string + func (s *AdStyleFont) MarshalJSON() ([]byte, error) + type AdUnit struct + Code string + ContentAdsSettings *AdUnitContentAdsSettings + CustomStyle *AdStyle + ForceSendFields []string + Id string + Kind string + MobileContentAdsSettings *AdUnitMobileContentAdsSettings + Name string + NullFields []string + Status string + func (s *AdUnit) MarshalJSON() ([]byte, error) + type AdUnitContentAdsSettings struct + BackupOption *AdUnitContentAdsSettingsBackupOption + ForceSendFields []string + NullFields []string + Size string + Type string + func (s *AdUnitContentAdsSettings) MarshalJSON() ([]byte, error) + type AdUnitContentAdsSettingsBackupOption struct + Color string + ForceSendFields []string + NullFields []string + Type string + Url string + func (s *AdUnitContentAdsSettingsBackupOption) MarshalJSON() ([]byte, error) + type AdUnitMobileContentAdsSettings struct + ForceSendFields []string + MarkupLanguage string + NullFields []string + ScriptingLanguage string + Size string + Type string + func (s *AdUnitMobileContentAdsSettings) MarshalJSON() ([]byte, error) + type AdUnits struct + Etag string + ForceSendFields []string + Items []*AdUnit + Kind string + NextPageToken string + NullFields []string + func (s *AdUnits) MarshalJSON() ([]byte, error) + type AdclientsGetCall struct + func (c *AdclientsGetCall) Context(ctx context.Context) *AdclientsGetCall + func (c *AdclientsGetCall) Do(opts ...googleapi.CallOption) (*AdClient, error) + func (c *AdclientsGetCall) Fields(s ...googleapi.Field) *AdclientsGetCall + func (c *AdclientsGetCall) Header() http.Header + func (c *AdclientsGetCall) IfNoneMatch(entityTag string) *AdclientsGetCall + type AdclientsListCall struct + func (c *AdclientsListCall) Context(ctx context.Context) *AdclientsListCall + func (c *AdclientsListCall) Do(opts ...googleapi.CallOption) (*AdClients, error) + func (c *AdclientsListCall) Fields(s ...googleapi.Field) *AdclientsListCall + func (c *AdclientsListCall) Header() http.Header + func (c *AdclientsListCall) IfNoneMatch(entityTag string) *AdclientsListCall + func (c *AdclientsListCall) MaxResults(maxResults int64) *AdclientsListCall + func (c *AdclientsListCall) PageToken(pageToken string) *AdclientsListCall + func (c *AdclientsListCall) Pages(ctx context.Context, f func(*AdClients) error) error + type AdclientsService struct + func NewAdclientsService(s *Service) *AdclientsService + func (r *AdclientsService) Get(adClientId string) *AdclientsGetCall + func (r *AdclientsService) List() *AdclientsListCall + type AssociationSession struct + AccountId string + ForceSendFields []string + Id string + Kind string + NullFields []string + ProductCodes []string + RedirectUrl string + Status string + UserLocale string + WebsiteLocale string + WebsiteUrl string + func (s *AssociationSession) MarshalJSON() ([]byte, error) + type AssociationsessionsService struct + func NewAssociationsessionsService(s *Service) *AssociationsessionsService + func (r *AssociationsessionsService) Start(productCode []string, websiteUrl string) *AssociationsessionsStartCall + func (r *AssociationsessionsService) Verify(token string) *AssociationsessionsVerifyCall + type AssociationsessionsStartCall struct + func (c *AssociationsessionsStartCall) CallbackUrl(callbackUrl string) *AssociationsessionsStartCall + func (c *AssociationsessionsStartCall) Context(ctx context.Context) *AssociationsessionsStartCall + func (c *AssociationsessionsStartCall) Do(opts ...googleapi.CallOption) (*AssociationSession, error) + func (c *AssociationsessionsStartCall) Fields(s ...googleapi.Field) *AssociationsessionsStartCall + func (c *AssociationsessionsStartCall) Header() http.Header + func (c *AssociationsessionsStartCall) IfNoneMatch(entityTag string) *AssociationsessionsStartCall + func (c *AssociationsessionsStartCall) UserLocale(userLocale string) *AssociationsessionsStartCall + func (c *AssociationsessionsStartCall) WebsiteLocale(websiteLocale string) *AssociationsessionsStartCall + type AssociationsessionsVerifyCall struct + func (c *AssociationsessionsVerifyCall) Context(ctx context.Context) *AssociationsessionsVerifyCall + func (c *AssociationsessionsVerifyCall) Do(opts ...googleapi.CallOption) (*AssociationSession, error) + func (c *AssociationsessionsVerifyCall) Fields(s ...googleapi.Field) *AssociationsessionsVerifyCall + func (c *AssociationsessionsVerifyCall) Header() http.Header + func (c *AssociationsessionsVerifyCall) IfNoneMatch(entityTag string) *AssociationsessionsVerifyCall + type CustomChannel struct + Code string + ForceSendFields []string + Id string + Kind string + Name string + NullFields []string + func (s *CustomChannel) 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 CustomchannelsDeleteCall struct + func (c *CustomchannelsDeleteCall) Context(ctx context.Context) *CustomchannelsDeleteCall + func (c *CustomchannelsDeleteCall) Do(opts ...googleapi.CallOption) (*CustomChannel, error) + func (c *CustomchannelsDeleteCall) Fields(s ...googleapi.Field) *CustomchannelsDeleteCall + func (c *CustomchannelsDeleteCall) Header() http.Header + type CustomchannelsGetCall struct + func (c *CustomchannelsGetCall) Context(ctx context.Context) *CustomchannelsGetCall + func (c *CustomchannelsGetCall) Do(opts ...googleapi.CallOption) (*CustomChannel, error) + func (c *CustomchannelsGetCall) Fields(s ...googleapi.Field) *CustomchannelsGetCall + func (c *CustomchannelsGetCall) Header() http.Header + func (c *CustomchannelsGetCall) IfNoneMatch(entityTag string) *CustomchannelsGetCall + type CustomchannelsInsertCall struct + func (c *CustomchannelsInsertCall) Context(ctx context.Context) *CustomchannelsInsertCall + func (c *CustomchannelsInsertCall) Do(opts ...googleapi.CallOption) (*CustomChannel, error) + func (c *CustomchannelsInsertCall) Fields(s ...googleapi.Field) *CustomchannelsInsertCall + func (c *CustomchannelsInsertCall) Header() http.Header + type CustomchannelsListCall struct + func (c *CustomchannelsListCall) Context(ctx context.Context) *CustomchannelsListCall + func (c *CustomchannelsListCall) Do(opts ...googleapi.CallOption) (*CustomChannels, error) + func (c *CustomchannelsListCall) Fields(s ...googleapi.Field) *CustomchannelsListCall + func (c *CustomchannelsListCall) Header() http.Header + func (c *CustomchannelsListCall) IfNoneMatch(entityTag string) *CustomchannelsListCall + func (c *CustomchannelsListCall) MaxResults(maxResults int64) *CustomchannelsListCall + func (c *CustomchannelsListCall) PageToken(pageToken string) *CustomchannelsListCall + func (c *CustomchannelsListCall) Pages(ctx context.Context, f func(*CustomChannels) error) error + type CustomchannelsPatchCall struct + func (c *CustomchannelsPatchCall) Context(ctx context.Context) *CustomchannelsPatchCall + func (c *CustomchannelsPatchCall) Do(opts ...googleapi.CallOption) (*CustomChannel, error) + func (c *CustomchannelsPatchCall) Fields(s ...googleapi.Field) *CustomchannelsPatchCall + func (c *CustomchannelsPatchCall) Header() http.Header + type CustomchannelsService struct + func NewCustomchannelsService(s *Service) *CustomchannelsService + func (r *CustomchannelsService) Delete(adClientId string, customChannelId string) *CustomchannelsDeleteCall + func (r *CustomchannelsService) Get(adClientId string, customChannelId string) *CustomchannelsGetCall + func (r *CustomchannelsService) Insert(adClientId string, customchannel *CustomChannel) *CustomchannelsInsertCall + func (r *CustomchannelsService) List(adClientId string) *CustomchannelsListCall + func (r *CustomchannelsService) Patch(adClientId string, customChannelId string, customchannel *CustomChannel) *CustomchannelsPatchCall + func (r *CustomchannelsService) Update(adClientId string, customchannel *CustomChannel) *CustomchannelsUpdateCall + type CustomchannelsUpdateCall struct + func (c *CustomchannelsUpdateCall) Context(ctx context.Context) *CustomchannelsUpdateCall + func (c *CustomchannelsUpdateCall) Do(opts ...googleapi.CallOption) (*CustomChannel, error) + func (c *CustomchannelsUpdateCall) Fields(s ...googleapi.Field) *CustomchannelsUpdateCall + func (c *CustomchannelsUpdateCall) Header() http.Header + 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 ReportsGenerateCall struct + func (c *ReportsGenerateCall) Context(ctx context.Context) *ReportsGenerateCall + func (c *ReportsGenerateCall) Dimension(dimension ...string) *ReportsGenerateCall + func (c *ReportsGenerateCall) Do(opts ...googleapi.CallOption) (*Report, error) + func (c *ReportsGenerateCall) Fields(s ...googleapi.Field) *ReportsGenerateCall + func (c *ReportsGenerateCall) Filter(filter ...string) *ReportsGenerateCall + func (c *ReportsGenerateCall) Header() http.Header + func (c *ReportsGenerateCall) IfNoneMatch(entityTag string) *ReportsGenerateCall + func (c *ReportsGenerateCall) Locale(locale string) *ReportsGenerateCall + func (c *ReportsGenerateCall) MaxResults(maxResults int64) *ReportsGenerateCall + func (c *ReportsGenerateCall) Metric(metric ...string) *ReportsGenerateCall + func (c *ReportsGenerateCall) Sort(sort ...string) *ReportsGenerateCall + func (c *ReportsGenerateCall) StartIndex(startIndex int64) *ReportsGenerateCall + type ReportsService struct + func NewReportsService(s *Service) *ReportsService + func (r *ReportsService) Generate(startDate string, endDate string) *ReportsGenerateCall + type Service struct + Accounts *AccountsService + Adclients *AdclientsService + Associationsessions *AssociationsessionsService + BasePath string + Customchannels *CustomchannelsService + Reports *ReportsService + Urlchannels *UrlchannelsService + 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) + type UrlchannelsDeleteCall struct + func (c *UrlchannelsDeleteCall) Context(ctx context.Context) *UrlchannelsDeleteCall + func (c *UrlchannelsDeleteCall) Do(opts ...googleapi.CallOption) (*UrlChannel, error) + func (c *UrlchannelsDeleteCall) Fields(s ...googleapi.Field) *UrlchannelsDeleteCall + func (c *UrlchannelsDeleteCall) Header() http.Header + type UrlchannelsInsertCall struct + func (c *UrlchannelsInsertCall) Context(ctx context.Context) *UrlchannelsInsertCall + func (c *UrlchannelsInsertCall) Do(opts ...googleapi.CallOption) (*UrlChannel, error) + func (c *UrlchannelsInsertCall) Fields(s ...googleapi.Field) *UrlchannelsInsertCall + func (c *UrlchannelsInsertCall) Header() http.Header + type UrlchannelsListCall struct + func (c *UrlchannelsListCall) Context(ctx context.Context) *UrlchannelsListCall + func (c *UrlchannelsListCall) Do(opts ...googleapi.CallOption) (*UrlChannels, error) + func (c *UrlchannelsListCall) Fields(s ...googleapi.Field) *UrlchannelsListCall + func (c *UrlchannelsListCall) Header() http.Header + func (c *UrlchannelsListCall) IfNoneMatch(entityTag string) *UrlchannelsListCall + func (c *UrlchannelsListCall) MaxResults(maxResults int64) *UrlchannelsListCall + func (c *UrlchannelsListCall) PageToken(pageToken string) *UrlchannelsListCall + func (c *UrlchannelsListCall) Pages(ctx context.Context, f func(*UrlChannels) error) error + type UrlchannelsService struct + func NewUrlchannelsService(s *Service) *UrlchannelsService + func (r *UrlchannelsService) Delete(adClientId string, urlChannelId string) *UrlchannelsDeleteCall + func (r *UrlchannelsService) Insert(adClientId string, urlchannel *UrlChannel) *UrlchannelsInsertCall + func (r *UrlchannelsService) List(adClientId string) *UrlchannelsListCall