Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const AdmobReadonlyScope + const AdmobReportScope + type AccountsAdUnitsListCall struct + func (c *AccountsAdUnitsListCall) Context(ctx context.Context) *AccountsAdUnitsListCall + func (c *AccountsAdUnitsListCall) Do(opts ...googleapi.CallOption) (*ListAdUnitsResponse, 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) PageSize(pageSize int64) *AccountsAdUnitsListCall + func (c *AccountsAdUnitsListCall) PageToken(pageToken string) *AccountsAdUnitsListCall + func (c *AccountsAdUnitsListCall) Pages(ctx context.Context, f func(*ListAdUnitsResponse) error) error + type AccountsAdUnitsService struct + func NewAccountsAdUnitsService(s *Service) *AccountsAdUnitsService + func (r *AccountsAdUnitsService) List(parent string) *AccountsAdUnitsListCall + type AccountsAppsListCall struct + func (c *AccountsAppsListCall) Context(ctx context.Context) *AccountsAppsListCall + func (c *AccountsAppsListCall) Do(opts ...googleapi.CallOption) (*ListAppsResponse, error) + func (c *AccountsAppsListCall) Fields(s ...googleapi.Field) *AccountsAppsListCall + func (c *AccountsAppsListCall) Header() http.Header + func (c *AccountsAppsListCall) IfNoneMatch(entityTag string) *AccountsAppsListCall + func (c *AccountsAppsListCall) PageSize(pageSize int64) *AccountsAppsListCall + func (c *AccountsAppsListCall) PageToken(pageToken string) *AccountsAppsListCall + func (c *AccountsAppsListCall) Pages(ctx context.Context, f func(*ListAppsResponse) error) error + type AccountsAppsService struct + func NewAccountsAppsService(s *Service) *AccountsAppsService + func (r *AccountsAppsService) List(parent string) *AccountsAppsListCall + type AccountsGetCall struct + func (c *AccountsGetCall) Context(ctx context.Context) *AccountsGetCall + func (c *AccountsGetCall) Do(opts ...googleapi.CallOption) (*PublisherAccount, 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) (*ListPublisherAccountsResponse, 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) PageSize(pageSize int64) *AccountsListCall + func (c *AccountsListCall) PageToken(pageToken string) *AccountsListCall + func (c *AccountsListCall) Pages(ctx context.Context, f func(*ListPublisherAccountsResponse) error) error + type AccountsMediationReportGenerateCall struct + func (c *AccountsMediationReportGenerateCall) Context(ctx context.Context) *AccountsMediationReportGenerateCall + func (c *AccountsMediationReportGenerateCall) Do(opts ...googleapi.CallOption) (*GenerateMediationReportResponse, error) + func (c *AccountsMediationReportGenerateCall) Fields(s ...googleapi.Field) *AccountsMediationReportGenerateCall + func (c *AccountsMediationReportGenerateCall) Header() http.Header + type AccountsMediationReportService struct + func NewAccountsMediationReportService(s *Service) *AccountsMediationReportService + func (r *AccountsMediationReportService) Generate(parent string, generatemediationreportrequest *GenerateMediationReportRequest) *AccountsMediationReportGenerateCall + type AccountsNetworkReportGenerateCall struct + func (c *AccountsNetworkReportGenerateCall) Context(ctx context.Context) *AccountsNetworkReportGenerateCall + func (c *AccountsNetworkReportGenerateCall) Do(opts ...googleapi.CallOption) (*GenerateNetworkReportResponse, error) + func (c *AccountsNetworkReportGenerateCall) Fields(s ...googleapi.Field) *AccountsNetworkReportGenerateCall + func (c *AccountsNetworkReportGenerateCall) Header() http.Header + type AccountsNetworkReportService struct + func NewAccountsNetworkReportService(s *Service) *AccountsNetworkReportService + func (r *AccountsNetworkReportService) Generate(parent string, generatenetworkreportrequest *GenerateNetworkReportRequest) *AccountsNetworkReportGenerateCall + type AccountsService struct + AdUnits *AccountsAdUnitsService + Apps *AccountsAppsService + MediationReport *AccountsMediationReportService + NetworkReport *AccountsNetworkReportService + func NewAccountsService(s *Service) *AccountsService + func (r *AccountsService) Get(name string) *AccountsGetCall + func (r *AccountsService) List() *AccountsListCall + type AdUnit struct + AdFormat string + AdTypes []string + AdUnitId string + AppId string + DisplayName string + ForceSendFields []string + Name string + NullFields []string + func (s *AdUnit) MarshalJSON() ([]byte, error) + type App struct + AppApprovalState string + AppId string + ForceSendFields []string + LinkedAppInfo *AppLinkedAppInfo + ManualAppInfo *AppManualAppInfo + Name string + NullFields []string + Platform string + func (s *App) MarshalJSON() ([]byte, error) + type AppLinkedAppInfo struct + AppStoreId string + DisplayName string + ForceSendFields []string + NullFields []string + func (s *AppLinkedAppInfo) MarshalJSON() ([]byte, error) + type AppManualAppInfo struct + DisplayName string + ForceSendFields []string + NullFields []string + func (s *AppManualAppInfo) MarshalJSON() ([]byte, error) + type Date struct + Day int64 + ForceSendFields []string + Month int64 + NullFields []string + Year int64 + func (s *Date) MarshalJSON() ([]byte, error) + type DateRange struct + EndDate *Date + ForceSendFields []string + NullFields []string + StartDate *Date + func (s *DateRange) MarshalJSON() ([]byte, error) + type GenerateMediationReportRequest struct + ForceSendFields []string + NullFields []string + ReportSpec *MediationReportSpec + func (s *GenerateMediationReportRequest) MarshalJSON() ([]byte, error) + type GenerateMediationReportResponse struct + Footer *ReportFooter + ForceSendFields []string + Header *ReportHeader + NullFields []string + Row *ReportRow + func (s *GenerateMediationReportResponse) MarshalJSON() ([]byte, error) + type GenerateNetworkReportRequest struct + ForceSendFields []string + NullFields []string + ReportSpec *NetworkReportSpec + func (s *GenerateNetworkReportRequest) MarshalJSON() ([]byte, error) + type GenerateNetworkReportResponse struct + Footer *ReportFooter + ForceSendFields []string + Header *ReportHeader + NullFields []string + Row *ReportRow + func (s *GenerateNetworkReportResponse) MarshalJSON() ([]byte, error) + type ListAdUnitsResponse struct + AdUnits []*AdUnit + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListAdUnitsResponse) MarshalJSON() ([]byte, error) + type ListAppsResponse struct + Apps []*App + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListAppsResponse) MarshalJSON() ([]byte, error) + type ListPublisherAccountsResponse struct + Account []*PublisherAccount + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListPublisherAccountsResponse) MarshalJSON() ([]byte, error) + type LocalizationSettings struct + CurrencyCode string + ForceSendFields []string + LanguageCode string + NullFields []string + func (s *LocalizationSettings) MarshalJSON() ([]byte, error) + type MediationReportSpec struct + DateRange *DateRange + DimensionFilters []*MediationReportSpecDimensionFilter + Dimensions []string + ForceSendFields []string + LocalizationSettings *LocalizationSettings + MaxReportRows int64 + Metrics []string + NullFields []string + SortConditions []*MediationReportSpecSortCondition + TimeZone string + func (s *MediationReportSpec) MarshalJSON() ([]byte, error) + type MediationReportSpecDimensionFilter struct + Dimension string + ForceSendFields []string + MatchesAny *StringList + NullFields []string + func (s *MediationReportSpecDimensionFilter) MarshalJSON() ([]byte, error) + type MediationReportSpecSortCondition struct + Dimension string + ForceSendFields []string + Metric string + NullFields []string + Order string + func (s *MediationReportSpecSortCondition) MarshalJSON() ([]byte, error) + type NetworkReportSpec struct + DateRange *DateRange + DimensionFilters []*NetworkReportSpecDimensionFilter + Dimensions []string + ForceSendFields []string + LocalizationSettings *LocalizationSettings + MaxReportRows int64 + Metrics []string + NullFields []string + SortConditions []*NetworkReportSpecSortCondition + TimeZone string + func (s *NetworkReportSpec) MarshalJSON() ([]byte, error) + type NetworkReportSpecDimensionFilter struct + Dimension string + ForceSendFields []string + MatchesAny *StringList + NullFields []string + func (s *NetworkReportSpecDimensionFilter) MarshalJSON() ([]byte, error) + type NetworkReportSpecSortCondition struct + Dimension string + ForceSendFields []string + Metric string + NullFields []string + Order string + func (s *NetworkReportSpecSortCondition) MarshalJSON() ([]byte, error) + type PublisherAccount struct + CurrencyCode string + ForceSendFields []string + Name string + NullFields []string + PublisherId string + ReportingTimeZone string + func (s *PublisherAccount) MarshalJSON() ([]byte, error) + type ReportFooter struct + ForceSendFields []string + MatchingRowCount int64 + NullFields []string + Warnings []*ReportWarning + func (s *ReportFooter) MarshalJSON() ([]byte, error) + type ReportHeader struct + DateRange *DateRange + ForceSendFields []string + LocalizationSettings *LocalizationSettings + NullFields []string + ReportingTimeZone string + func (s *ReportHeader) MarshalJSON() ([]byte, error) + type ReportRow struct + DimensionValues map[string]ReportRowDimensionValue + ForceSendFields []string + MetricValues map[string]ReportRowMetricValue + NullFields []string + func (s *ReportRow) MarshalJSON() ([]byte, error) + type ReportRowDimensionValue struct + DisplayLabel string + ForceSendFields []string + NullFields []string + Value string + func (s *ReportRowDimensionValue) MarshalJSON() ([]byte, error) + type ReportRowMetricValue struct + DoubleValue float64 + ForceSendFields []string + IntegerValue int64 + MicrosValue int64 + NullFields []string + func (s *ReportRowMetricValue) MarshalJSON() ([]byte, error) + func (s *ReportRowMetricValue) UnmarshalJSON(data []byte) error + type ReportWarning struct + Description string + ForceSendFields []string + NullFields []string + Type string + func (s *ReportWarning) 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 StringList struct + ForceSendFields []string + NullFields []string + Values []string + func (s *StringList) MarshalJSON() ([]byte, error)