genproto: google.golang.org/genproto/googleapis/ads/admob/v1 Index | Files

package admob

import "google.golang.org/genproto/googleapis/ads/admob/v1"

Index

Package Files

admob_api.pb.go admob_resources.pb.go

Variables

var (
    SortOrder_name = map[int32]string{
        0:  "SORT_ORDER_UNSPECIFIED",
        1:  "ASCENDING",
        2:  "DESCENDING",
    }
    SortOrder_value = map[string]int32{
        "SORT_ORDER_UNSPECIFIED": 0,
        "ASCENDING":              1,
        "DESCENDING":             2,
    }
)

Enum value maps for SortOrder.

var (
    NetworkReportSpec_Dimension_name = map[int32]string{
        0:  "DIMENSION_UNSPECIFIED",
        1:  "DATE",
        2:  "MONTH",
        3:  "WEEK",
        4:  "AD_UNIT",
        5:  "APP",
        6:  "AD_TYPE",
        7:  "COUNTRY",
        8:  "FORMAT",
        9:  "PLATFORM",
    }
    NetworkReportSpec_Dimension_value = map[string]int32{
        "DIMENSION_UNSPECIFIED": 0,
        "DATE":                  1,
        "MONTH":                 2,
        "WEEK":                  3,
        "AD_UNIT":               4,
        "APP":                   5,
        "AD_TYPE":               6,
        "COUNTRY":               7,
        "FORMAT":                8,
        "PLATFORM":              9,
    }
)

Enum value maps for NetworkReportSpec_Dimension.

var (
    NetworkReportSpec_Metric_name = map[int32]string{
        0:  "METRIC_UNSPECIFIED",
        1:  "AD_REQUESTS",
        2:  "CLICKS",
        3:  "ESTIMATED_EARNINGS",
        4:  "IMPRESSIONS",
        5:  "IMPRESSION_CTR",
        6:  "IMPRESSION_RPM",
        7:  "MATCHED_REQUESTS",
        8:  "MATCH_RATE",
        9:  "SHOW_RATE",
    }
    NetworkReportSpec_Metric_value = map[string]int32{
        "METRIC_UNSPECIFIED": 0,
        "AD_REQUESTS":        1,
        "CLICKS":             2,
        "ESTIMATED_EARNINGS": 3,
        "IMPRESSIONS":        4,
        "IMPRESSION_CTR":     5,
        "IMPRESSION_RPM":     6,
        "MATCHED_REQUESTS":   7,
        "MATCH_RATE":         8,
        "SHOW_RATE":          9,
    }
)

Enum value maps for NetworkReportSpec_Metric.

var (
    MediationReportSpec_Dimension_name = map[int32]string{
        0:  "DIMENSION_UNSPECIFIED",
        1:  "DATE",
        2:  "MONTH",
        3:  "WEEK",
        4:  "AD_SOURCE",
        5:  "AD_SOURCE_INSTANCE",
        6:  "AD_UNIT",
        7:  "APP",
        11: "MEDIATION_GROUP",
        8:  "COUNTRY",
        9:  "FORMAT",
        10: "PLATFORM",
    }
    MediationReportSpec_Dimension_value = map[string]int32{
        "DIMENSION_UNSPECIFIED": 0,
        "DATE":                  1,
        "MONTH":                 2,
        "WEEK":                  3,
        "AD_SOURCE":             4,
        "AD_SOURCE_INSTANCE":    5,
        "AD_UNIT":               6,
        "APP":                   7,
        "MEDIATION_GROUP":       11,
        "COUNTRY":               8,
        "FORMAT":                9,
        "PLATFORM":              10,
    }
)

Enum value maps for MediationReportSpec_Dimension.

var (
    MediationReportSpec_Metric_name = map[int32]string{
        0:  "METRIC_UNSPECIFIED",
        1:  "AD_REQUESTS",
        2:  "CLICKS",
        3:  "ESTIMATED_EARNINGS",
        4:  "IMPRESSIONS",
        5:  "IMPRESSION_CTR",
        6:  "MATCHED_REQUESTS",
        7:  "MATCH_RATE",
        8:  "OBSERVED_ECPM",
    }
    MediationReportSpec_Metric_value = map[string]int32{
        "METRIC_UNSPECIFIED": 0,
        "AD_REQUESTS":        1,
        "CLICKS":             2,
        "ESTIMATED_EARNINGS": 3,
        "IMPRESSIONS":        4,
        "IMPRESSION_CTR":     5,
        "MATCHED_REQUESTS":   6,
        "MATCH_RATE":         7,
        "OBSERVED_ECPM":      8,
    }
)

Enum value maps for MediationReportSpec_Metric.

var (
    ReportWarning_Type_name = map[int32]string{
        0:  "TYPE_UNSPECIFIED",
        1:  "DATA_BEFORE_ACCOUNT_TIMEZONE_CHANGE",
        2:  "DATA_DELAYED",
        3:  "OTHER",
        4:  "REPORT_CURRENCY_NOT_ACCOUNT_CURRENCY",
    }
    ReportWarning_Type_value = map[string]int32{
        "TYPE_UNSPECIFIED":                     0,
        "DATA_BEFORE_ACCOUNT_TIMEZONE_CHANGE":  1,
        "DATA_DELAYED":                         2,
        "OTHER":                                3,
        "REPORT_CURRENCY_NOT_ACCOUNT_CURRENCY": 4,
    }
)

Enum value maps for ReportWarning_Type.

var File_google_ads_admob_v1_admob_api_proto protoreflect.FileDescriptor
var File_google_ads_admob_v1_admob_resources_proto protoreflect.FileDescriptor

func RegisterAdMobApiServer Uses

func RegisterAdMobApiServer(s *grpc.Server, srv AdMobApiServer)

type AdMobApiClient Uses

type AdMobApiClient interface {
    // Gets information about the specified AdMob publisher account.
    GetPublisherAccount(ctx context.Context, in *GetPublisherAccountRequest, opts ...grpc.CallOption) (*PublisherAccount, error)
    // Lists the AdMob publisher account accessible with the client credential.
    // Currently, all credentials have access to at most one AdMob account.
    ListPublisherAccounts(ctx context.Context, in *ListPublisherAccountsRequest, opts ...grpc.CallOption) (*ListPublisherAccountsResponse, error)
    // Generates an AdMob Network report based on the provided report
    // specification.
    GenerateNetworkReport(ctx context.Context, in *GenerateNetworkReportRequest, opts ...grpc.CallOption) (AdMobApi_GenerateNetworkReportClient, error)
    // Generates an AdMob Mediation report based on the provided report
    // specification.
    GenerateMediationReport(ctx context.Context, in *GenerateMediationReportRequest, opts ...grpc.CallOption) (AdMobApi_GenerateMediationReportClient, error)
}

AdMobApiClient is the client API for AdMobApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAdMobApiClient Uses

func NewAdMobApiClient(cc grpc.ClientConnInterface) AdMobApiClient

type AdMobApiServer Uses

type AdMobApiServer interface {
    // Gets information about the specified AdMob publisher account.
    GetPublisherAccount(context.Context, *GetPublisherAccountRequest) (*PublisherAccount, error)
    // Lists the AdMob publisher account accessible with the client credential.
    // Currently, all credentials have access to at most one AdMob account.
    ListPublisherAccounts(context.Context, *ListPublisherAccountsRequest) (*ListPublisherAccountsResponse, error)
    // Generates an AdMob Network report based on the provided report
    // specification.
    GenerateNetworkReport(*GenerateNetworkReportRequest, AdMobApi_GenerateNetworkReportServer) error
    // Generates an AdMob Mediation report based on the provided report
    // specification.
    GenerateMediationReport(*GenerateMediationReportRequest, AdMobApi_GenerateMediationReportServer) error
}

AdMobApiServer is the server API for AdMobApi service.

type AdMobApi_GenerateMediationReportClient Uses

type AdMobApi_GenerateMediationReportClient interface {
    Recv() (*GenerateMediationReportResponse, error)
    grpc.ClientStream
}

type AdMobApi_GenerateMediationReportServer Uses

type AdMobApi_GenerateMediationReportServer interface {
    Send(*GenerateMediationReportResponse) error
    grpc.ServerStream
}

type AdMobApi_GenerateNetworkReportClient Uses

type AdMobApi_GenerateNetworkReportClient interface {
    Recv() (*GenerateNetworkReportResponse, error)
    grpc.ClientStream
}

type AdMobApi_GenerateNetworkReportServer Uses

type AdMobApi_GenerateNetworkReportServer interface {
    Send(*GenerateNetworkReportResponse) error
    grpc.ServerStream
}

type DateRange Uses

type DateRange struct {

    // Start date of the date range, inclusive. Must be less than or equal to the
    // end date.
    StartDate *date.Date `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
    // End date of the date range, inclusive. Must be greater than or equal to the
    // start date.
    EndDate *date.Date `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
    // contains filtered or unexported fields
}

Specification of a single date range. Both dates are inclusive.

func (*DateRange) Descriptor Uses

func (*DateRange) Descriptor() ([]byte, []int)

Deprecated: Use DateRange.ProtoReflect.Descriptor instead.

func (*DateRange) GetEndDate Uses

func (x *DateRange) GetEndDate() *date.Date

func (*DateRange) GetStartDate Uses

func (x *DateRange) GetStartDate() *date.Date

func (*DateRange) ProtoMessage Uses

func (*DateRange) ProtoMessage()

func (*DateRange) ProtoReflect Uses

func (x *DateRange) ProtoReflect() protoreflect.Message

func (*DateRange) Reset Uses

func (x *DateRange) Reset()

func (*DateRange) String Uses

func (x *DateRange) String() string

type GenerateMediationReportRequest Uses

type GenerateMediationReportRequest struct {

    // Resource name of the account to generate the report for.
    // Example: accounts/pub-9876543210987654
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Network report specification.
    ReportSpec *MediationReportSpec `protobuf:"bytes,2,opt,name=report_spec,json=reportSpec,proto3" json:"report_spec,omitempty"`
    // contains filtered or unexported fields
}

Request to generate an AdMob Mediation report.

func (*GenerateMediationReportRequest) Descriptor Uses

func (*GenerateMediationReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateMediationReportRequest.ProtoReflect.Descriptor instead.

func (*GenerateMediationReportRequest) GetParent Uses

func (x *GenerateMediationReportRequest) GetParent() string

func (*GenerateMediationReportRequest) GetReportSpec Uses

func (x *GenerateMediationReportRequest) GetReportSpec() *MediationReportSpec

func (*GenerateMediationReportRequest) ProtoMessage Uses

func (*GenerateMediationReportRequest) ProtoMessage()

func (*GenerateMediationReportRequest) ProtoReflect Uses

func (x *GenerateMediationReportRequest) ProtoReflect() protoreflect.Message

func (*GenerateMediationReportRequest) Reset Uses

func (x *GenerateMediationReportRequest) Reset()

func (*GenerateMediationReportRequest) String Uses

func (x *GenerateMediationReportRequest) String() string

type GenerateMediationReportResponse Uses

type GenerateMediationReportResponse struct {

    // Each stream response message contains one type of payload.
    //
    // Types that are assignable to Payload:
    //	*GenerateMediationReportResponse_Header
    //	*GenerateMediationReportResponse_Row
    //	*GenerateMediationReportResponse_Footer
    Payload isGenerateMediationReportResponse_Payload `protobuf_oneof:"payload"`
    // contains filtered or unexported fields
}

The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message.

For example:

[{
  "header": {
    "date_range": {
      "start_date": {"year": 2018, "month": 9, "day": 1},
      "end_date": {"year": 2018, "month": 9, "day": 1}
    },
    "localization_settings": {
      "currency_code": "USD",
      "language_code": "en-US"
    }
  }
},
{
  "row": {
    "dimension_values": {
      "DATE": {"value": "20180918"},
      "APP": {
        "value": "ca-app-pub-8123415297019784~1001342552",
         "display_label": "My app name!"
      }
    },
    "metric_values": {
      "ESTIMATED_EARNINGS": {"decimal_value": "1324746"}
    }
  }
},
{
  "footer": {"matching_row_count": 1}
}]

func (*GenerateMediationReportResponse) Descriptor Uses

func (*GenerateMediationReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateMediationReportResponse.ProtoReflect.Descriptor instead.

func (*GenerateMediationReportResponse) GetFooter Uses

func (x *GenerateMediationReportResponse) GetFooter() *ReportFooter

func (*GenerateMediationReportResponse) GetHeader Uses

func (x *GenerateMediationReportResponse) GetHeader() *ReportHeader

func (*GenerateMediationReportResponse) GetPayload Uses

func (m *GenerateMediationReportResponse) GetPayload() isGenerateMediationReportResponse_Payload

func (*GenerateMediationReportResponse) GetRow Uses

func (x *GenerateMediationReportResponse) GetRow() *ReportRow

func (*GenerateMediationReportResponse) ProtoMessage Uses

func (*GenerateMediationReportResponse) ProtoMessage()

func (*GenerateMediationReportResponse) ProtoReflect Uses

func (x *GenerateMediationReportResponse) ProtoReflect() protoreflect.Message

func (*GenerateMediationReportResponse) Reset Uses

func (x *GenerateMediationReportResponse) Reset()

func (*GenerateMediationReportResponse) String Uses

func (x *GenerateMediationReportResponse) String() string
type GenerateMediationReportResponse_Footer struct {
    // Additional information about the generated report, such as warnings about
    // the data.
    Footer *ReportFooter `protobuf:"bytes,3,opt,name=footer,proto3,oneof"`
}

type GenerateMediationReportResponse_Header Uses

type GenerateMediationReportResponse_Header struct {
    // Report generation settings that describes the report contents, such as
    // the report date range and localization settings.
    Header *ReportHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}

type GenerateMediationReportResponse_Row Uses

type GenerateMediationReportResponse_Row struct {
    // Actual report data.
    Row *ReportRow `protobuf:"bytes,2,opt,name=row,proto3,oneof"`
}

type GenerateNetworkReportRequest Uses

type GenerateNetworkReportRequest struct {

    // Resource name of the account to generate the report for.
    // Example: accounts/pub-9876543210987654
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Network report specification.
    ReportSpec *NetworkReportSpec `protobuf:"bytes,2,opt,name=report_spec,json=reportSpec,proto3" json:"report_spec,omitempty"`
    // contains filtered or unexported fields
}

Request to generate an AdMob Network report.

func (*GenerateNetworkReportRequest) Descriptor Uses

func (*GenerateNetworkReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateNetworkReportRequest.ProtoReflect.Descriptor instead.

func (*GenerateNetworkReportRequest) GetParent Uses

func (x *GenerateNetworkReportRequest) GetParent() string

func (*GenerateNetworkReportRequest) GetReportSpec Uses

func (x *GenerateNetworkReportRequest) GetReportSpec() *NetworkReportSpec

func (*GenerateNetworkReportRequest) ProtoMessage Uses

func (*GenerateNetworkReportRequest) ProtoMessage()

func (*GenerateNetworkReportRequest) ProtoReflect Uses

func (x *GenerateNetworkReportRequest) ProtoReflect() protoreflect.Message

func (*GenerateNetworkReportRequest) Reset Uses

func (x *GenerateNetworkReportRequest) Reset()

func (*GenerateNetworkReportRequest) String Uses

func (x *GenerateNetworkReportRequest) String() string

type GenerateNetworkReportResponse Uses

type GenerateNetworkReportResponse struct {

    // Each stream response message contains one type of payload.
    //
    // Types that are assignable to Payload:
    //	*GenerateNetworkReportResponse_Header
    //	*GenerateNetworkReportResponse_Row
    //	*GenerateNetworkReportResponse_Footer
    Payload isGenerateNetworkReportResponse_Payload `protobuf_oneof:"payload"`
    // contains filtered or unexported fields
}

The streaming response for the AdMob Network report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message.

For example:

[{
  "header": {
    "dateRange": {
      "startDate": {"year": 2018, "month": 9, "day": 1},
      "endDate": {"year": 2018, "month": 9, "day": 1}
    },
    "localizationSettings": {
      "currencyCode": "USD",
      "languageCode": "en-US"
    }
  }
},
{
  "row": {
    "dimensionValues": {
      "DATE": {"value": "20180918"},
      "APP": {
        "value": "ca-app-pub-8123415297019784~1001342552",
         displayLabel: "My app name!"
      }
    },
    "metricValues": {
      "ESTIMATED_EARNINGS": {"microsValue": 6500000}
    }
  }
},
{
  "footer": {"matchingRowCount": 1}
}]

func (*GenerateNetworkReportResponse) Descriptor Uses

func (*GenerateNetworkReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateNetworkReportResponse.ProtoReflect.Descriptor instead.

func (*GenerateNetworkReportResponse) GetFooter Uses

func (x *GenerateNetworkReportResponse) GetFooter() *ReportFooter

func (*GenerateNetworkReportResponse) GetHeader Uses

func (x *GenerateNetworkReportResponse) GetHeader() *ReportHeader

func (*GenerateNetworkReportResponse) GetPayload Uses

func (m *GenerateNetworkReportResponse) GetPayload() isGenerateNetworkReportResponse_Payload

func (*GenerateNetworkReportResponse) GetRow Uses

func (x *GenerateNetworkReportResponse) GetRow() *ReportRow

func (*GenerateNetworkReportResponse) ProtoMessage Uses

func (*GenerateNetworkReportResponse) ProtoMessage()

func (*GenerateNetworkReportResponse) ProtoReflect Uses

func (x *GenerateNetworkReportResponse) ProtoReflect() protoreflect.Message

func (*GenerateNetworkReportResponse) Reset Uses

func (x *GenerateNetworkReportResponse) Reset()

func (*GenerateNetworkReportResponse) String Uses

func (x *GenerateNetworkReportResponse) String() string
type GenerateNetworkReportResponse_Footer struct {
    // Additional information about the generated report, such as warnings about
    // the data.
    Footer *ReportFooter `protobuf:"bytes,3,opt,name=footer,proto3,oneof"`
}

type GenerateNetworkReportResponse_Header Uses

type GenerateNetworkReportResponse_Header struct {
    // Report generation settings that describes the report contents, such as
    // the report date range and localization settings.
    Header *ReportHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}

type GenerateNetworkReportResponse_Row Uses

type GenerateNetworkReportResponse_Row struct {
    // Actual report data.
    Row *ReportRow `protobuf:"bytes,2,opt,name=row,proto3,oneof"`
}

type GetPublisherAccountRequest Uses

type GetPublisherAccountRequest struct {

    // Resource name of the publisher account to retrieve.
    // Example: accounts/pub-9876543210987654
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request to retrieve the specified publisher account.

func (*GetPublisherAccountRequest) Descriptor Uses

func (*GetPublisherAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPublisherAccountRequest.ProtoReflect.Descriptor instead.

func (*GetPublisherAccountRequest) GetName Uses

func (x *GetPublisherAccountRequest) GetName() string

func (*GetPublisherAccountRequest) ProtoMessage Uses

func (*GetPublisherAccountRequest) ProtoMessage()

func (*GetPublisherAccountRequest) ProtoReflect Uses

func (x *GetPublisherAccountRequest) ProtoReflect() protoreflect.Message

func (*GetPublisherAccountRequest) Reset Uses

func (x *GetPublisherAccountRequest) Reset()

func (*GetPublisherAccountRequest) String Uses

func (x *GetPublisherAccountRequest) String() string

type ListPublisherAccountsRequest Uses

type ListPublisherAccountsRequest struct {

    // Maximum number of accounts to return.
    PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // The value returned by the last `ListPublisherAccountsResponse`; indicates
    // that this is a continuation of a prior `ListPublisherAccounts` call, and
    // that the system should return the next page of data.
    PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request to retrieve the AdMob publisher account accessible with the client credential. Currently all credentials have access to at most 1 account.

func (*ListPublisherAccountsRequest) Descriptor Uses

func (*ListPublisherAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPublisherAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListPublisherAccountsRequest) GetPageSize Uses

func (x *ListPublisherAccountsRequest) GetPageSize() int32

func (*ListPublisherAccountsRequest) GetPageToken Uses

func (x *ListPublisherAccountsRequest) GetPageToken() string

func (*ListPublisherAccountsRequest) ProtoMessage Uses

func (*ListPublisherAccountsRequest) ProtoMessage()

func (*ListPublisherAccountsRequest) ProtoReflect Uses

func (x *ListPublisherAccountsRequest) ProtoReflect() protoreflect.Message

func (*ListPublisherAccountsRequest) Reset Uses

func (x *ListPublisherAccountsRequest) Reset()

func (*ListPublisherAccountsRequest) String Uses

func (x *ListPublisherAccountsRequest) String() string

type ListPublisherAccountsResponse Uses

type ListPublisherAccountsResponse struct {

    // Publisher that the client credentials can access.
    Account []*PublisherAccount `protobuf:"bytes,1,rep,name=account,proto3" json:"account,omitempty"`
    // If not empty, indicates that there might be more accounts for the request;
    // you must pass this value in a new `ListPublisherAccountsRequest`.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the publisher account list request.

func (*ListPublisherAccountsResponse) Descriptor Uses

func (*ListPublisherAccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPublisherAccountsResponse.ProtoReflect.Descriptor instead.

func (*ListPublisherAccountsResponse) GetAccount Uses

func (x *ListPublisherAccountsResponse) GetAccount() []*PublisherAccount

func (*ListPublisherAccountsResponse) GetNextPageToken Uses

func (x *ListPublisherAccountsResponse) GetNextPageToken() string

func (*ListPublisherAccountsResponse) ProtoMessage Uses

func (*ListPublisherAccountsResponse) ProtoMessage()

func (*ListPublisherAccountsResponse) ProtoReflect Uses

func (x *ListPublisherAccountsResponse) ProtoReflect() protoreflect.Message

func (*ListPublisherAccountsResponse) Reset Uses

func (x *ListPublisherAccountsResponse) Reset()

func (*ListPublisherAccountsResponse) String Uses

func (x *ListPublisherAccountsResponse) String() string

type LocalizationSettings Uses

type LocalizationSettings struct {

    // Currency code of the earning related metrics, which is the 3-letter code
    // defined in ISO 4217. The daily average rate is used for the currency
    // conversion. Defaults to the account currency code if unspecified.
    CurrencyCode string `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
    // Language used for any localized text, such as some dimension value display
    // labels. The language tag defined in the IETF BCP47. Defaults to 'en-US' if
    // unspecified.
    LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

Localization settings for reports, such as currency and language. It affects how metrics are calculated.

func (*LocalizationSettings) Descriptor Uses

func (*LocalizationSettings) Descriptor() ([]byte, []int)

Deprecated: Use LocalizationSettings.ProtoReflect.Descriptor instead.

func (*LocalizationSettings) GetCurrencyCode Uses

func (x *LocalizationSettings) GetCurrencyCode() string

func (*LocalizationSettings) GetLanguageCode Uses

func (x *LocalizationSettings) GetLanguageCode() string

func (*LocalizationSettings) ProtoMessage Uses

func (*LocalizationSettings) ProtoMessage()

func (*LocalizationSettings) ProtoReflect Uses

func (x *LocalizationSettings) ProtoReflect() protoreflect.Message

func (*LocalizationSettings) Reset Uses

func (x *LocalizationSettings) Reset()

func (*LocalizationSettings) String Uses

func (x *LocalizationSettings) String() string

type MediationReportSpec Uses

type MediationReportSpec struct {

    // The date range for which the report is generated.
    DateRange *DateRange `protobuf:"bytes,1,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"`
    // List of dimensions of the report. The value combination of these dimensions
    // determines the row of the report. If no dimensions are specified, the
    // report returns a single row of requested metrics for the entire account.
    Dimensions []MediationReportSpec_Dimension `protobuf:"varint,2,rep,packed,name=dimensions,proto3,enum=google.ads.admob.v1.MediationReportSpec_Dimension" json:"dimensions,omitempty"`
    // List of metrics of the report. A report must specify at least one metric.
    Metrics []MediationReportSpec_Metric `protobuf:"varint,3,rep,packed,name=metrics,proto3,enum=google.ads.admob.v1.MediationReportSpec_Metric" json:"metrics,omitempty"`
    // Describes which report rows to match based on their dimension values.
    DimensionFilters []*MediationReportSpec_DimensionFilter `protobuf:"bytes,4,rep,name=dimension_filters,json=dimensionFilters,proto3" json:"dimension_filters,omitempty"`
    // Describes the sorting of report rows. The order of the condition in the
    // list defines its precedence; the earlier the condition, the higher its
    // precedence. If no sort conditions are specified, the row ordering is
    // undefined.
    SortConditions []*MediationReportSpec_SortCondition `protobuf:"bytes,5,rep,name=sort_conditions,json=sortConditions,proto3" json:"sort_conditions,omitempty"`
    // Localization settings of the report.
    LocalizationSettings *LocalizationSettings `protobuf:"bytes,6,opt,name=localization_settings,json=localizationSettings,proto3" json:"localization_settings,omitempty"`
    // Maximum number of report data rows to return. If the value is not set, the
    // API returns as many rows as possible, up to 100000. Acceptable values are
    // 1-100000, inclusive. Any other values are treated as 100000.
    MaxReportRows int32 `protobuf:"varint,7,opt,name=max_report_rows,json=maxReportRows,proto3" json:"max_report_rows,omitempty"`
    // A report time zone. Accepts an IANA TZ name values, such as
    // "America/Los_Angeles."  If no time zone is defined, the account default
    // takes effect. Check default value by the get account action.
    //
    // **Warning:** The "America/Los_Angeles" is the only supported value at
    // the moment.
    TimeZone string `protobuf:"bytes,8,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
    // contains filtered or unexported fields
}

The specification for generating an AdMob Mediation report. For example, the specification to get observed ECPM sliced by ad source and app for the 'US' and 'CN' countries can look like the following example:

{
  "date_range": {
    "start_date": {"year": 2018, "month": 9, "day": 1},
    "end_date": {"year": 2018, "month": 9, "day": 30}
  },
  "dimensions": ["AD_SOURCE", "APP", "COUNTRY"],
  "metrics": ["OBSERVED_ECPM"],
  "dimension_filters": [
    {
      "dimension": "COUNTRY",
      "matches_any": {"values": [{"value": "US", "value": "CN"}]}
    }
  ],
  "sort_conditions": [
    {"dimension":"APP", order: "ASCENDING"}
  ],
  "localization_settings": {
    "currency_code": "USD",
    "language_code": "en-US"
  }
}

For a better understanding, you can treat the preceding specification like the following pseudo SQL:

SELECT AD_SOURCE, APP, COUNTRY, OBSERVED_ECPM
FROM MEDIATION_REPORT
WHERE DATE >= '2018-09-01' AND DATE <= '2018-09-30'
    AND COUNTRY IN ('US', 'CN')
GROUP BY AD_SOURCE, APP, COUNTRY
ORDER BY APP ASC;

func (*MediationReportSpec) Descriptor Uses

func (*MediationReportSpec) Descriptor() ([]byte, []int)

Deprecated: Use MediationReportSpec.ProtoReflect.Descriptor instead.

func (*MediationReportSpec) GetDateRange Uses

func (x *MediationReportSpec) GetDateRange() *DateRange

func (*MediationReportSpec) GetDimensionFilters Uses

func (x *MediationReportSpec) GetDimensionFilters() []*MediationReportSpec_DimensionFilter

func (*MediationReportSpec) GetDimensions Uses

func (x *MediationReportSpec) GetDimensions() []MediationReportSpec_Dimension

func (*MediationReportSpec) GetLocalizationSettings Uses

func (x *MediationReportSpec) GetLocalizationSettings() *LocalizationSettings

func (*MediationReportSpec) GetMaxReportRows Uses

func (x *MediationReportSpec) GetMaxReportRows() int32

func (*MediationReportSpec) GetMetrics Uses

func (x *MediationReportSpec) GetMetrics() []MediationReportSpec_Metric

func (*MediationReportSpec) GetSortConditions Uses

func (x *MediationReportSpec) GetSortConditions() []*MediationReportSpec_SortCondition

func (*MediationReportSpec) GetTimeZone Uses

func (x *MediationReportSpec) GetTimeZone() string

func (*MediationReportSpec) ProtoMessage Uses

func (*MediationReportSpec) ProtoMessage()

func (*MediationReportSpec) ProtoReflect Uses

func (x *MediationReportSpec) ProtoReflect() protoreflect.Message

func (*MediationReportSpec) Reset Uses

func (x *MediationReportSpec) Reset()

func (*MediationReportSpec) String Uses

func (x *MediationReportSpec) String() string

type MediationReportSpec_Dimension Uses

type MediationReportSpec_Dimension int32

The dimensions of the mediation report. Dimensions are data attributes to break down or refine the quantitative measurements (metrics) by certain attributes, such as the ad format or the platform an ad was viewed on.

const (
    // Default value for an unset field. Do not use.
    MediationReportSpec_DIMENSION_UNSPECIFIED MediationReportSpec_Dimension = 0
    // A date in the YYYY-MM-DD format (for example, "2018-12-21"). Requests can
    // specify at most one time dimension.
    MediationReportSpec_DATE MediationReportSpec_Dimension = 1
    // A month in the YYYY-MM format (for example, "2018-12"). Requests can
    // specify at most one time dimension.
    MediationReportSpec_MONTH MediationReportSpec_Dimension = 2
    // The date of the first day of a week in the YYYY-MM-DD format
    // (for example, "2018-12-21"). Requests can specify at most one time
    // dimension.
    MediationReportSpec_WEEK MediationReportSpec_Dimension = 3
    // The unique ID of the ad source (for example, "5450213213286189855" and
    // "AdMob Network" as label value).
    MediationReportSpec_AD_SOURCE MediationReportSpec_Dimension = 4
    // The unique ID of the ad source instance (for example,
    // "ca-app-pub-1234#5678" and "AdMob (default)" as label value).
    //
    // **Warning:** The dimension is incompatible with
    // [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS) and
    // [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.
    MediationReportSpec_AD_SOURCE_INSTANCE MediationReportSpec_Dimension = 5
    // The unique ID of the ad unit (for example, "ca-app-pub-1234/8790").
    // If AD_UNIT dimension is specified, then APP is included automatically.
    MediationReportSpec_AD_UNIT MediationReportSpec_Dimension = 6
    // The unique ID of the mobile application (for example,
    // "ca-app-pub-1234~1234").
    MediationReportSpec_APP MediationReportSpec_Dimension = 7
    // The unique ID of the mediation group (for example,
    // "ca-app-pub-1234:mg:1234" and "AdMob (default)" as label value).
    //
    // **Warning:** The dimension is incompatible with
    // [ESTIMATED_EARNINGS](#Metric.ENUM_VALUES.ESTIMATED_EARNINGS) and
    // [OBSERVED_ECPM](#Metric.ENUM_VALUES.OBSERVED_ECPM) metrics.
    MediationReportSpec_MEDIATION_GROUP MediationReportSpec_Dimension = 11
    // CLDR country code of the place where the ad views/clicks occur (for
    // example, "US" or "FR"). This is a geography dimension.
    MediationReportSpec_COUNTRY MediationReportSpec_Dimension = 8
    // Format of the ad unit (for example, "banner", "native"), an ad delivery
    // dimension.
    MediationReportSpec_FORMAT MediationReportSpec_Dimension = 9
    // Mobile OS platform of the app (for example, "Android" or "iOS").
    MediationReportSpec_PLATFORM MediationReportSpec_Dimension = 10
)

func (MediationReportSpec_Dimension) Descriptor Uses

func (MediationReportSpec_Dimension) Descriptor() protoreflect.EnumDescriptor

func (MediationReportSpec_Dimension) Enum Uses

func (x MediationReportSpec_Dimension) Enum() *MediationReportSpec_Dimension

func (MediationReportSpec_Dimension) EnumDescriptor Uses

func (MediationReportSpec_Dimension) EnumDescriptor() ([]byte, []int)

Deprecated: Use MediationReportSpec_Dimension.Descriptor instead.

func (MediationReportSpec_Dimension) Number Uses

func (x MediationReportSpec_Dimension) Number() protoreflect.EnumNumber

func (MediationReportSpec_Dimension) String Uses

func (x MediationReportSpec_Dimension) String() string

func (MediationReportSpec_Dimension) Type Uses

func (MediationReportSpec_Dimension) Type() protoreflect.EnumType

type MediationReportSpec_DimensionFilter Uses

type MediationReportSpec_DimensionFilter struct {

    // Applies the filter criterion to the specified dimension.
    Dimension MediationReportSpec_Dimension `protobuf:"varint,1,opt,name=dimension,proto3,enum=google.ads.admob.v1.MediationReportSpec_Dimension" json:"dimension,omitempty"`
    // Filter operator to be applied.
    //
    // Types that are assignable to Operator:
    //	*MediationReportSpec_DimensionFilter_MatchesAny
    Operator isMediationReportSpec_DimensionFilter_Operator `protobuf_oneof:"operator"`
    // contains filtered or unexported fields
}

Describes which report rows to match based on their dimension values.

func (*MediationReportSpec_DimensionFilter) Descriptor Uses

func (*MediationReportSpec_DimensionFilter) Descriptor() ([]byte, []int)

Deprecated: Use MediationReportSpec_DimensionFilter.ProtoReflect.Descriptor instead.

func (*MediationReportSpec_DimensionFilter) GetDimension Uses

func (x *MediationReportSpec_DimensionFilter) GetDimension() MediationReportSpec_Dimension

func (*MediationReportSpec_DimensionFilter) GetMatchesAny Uses

func (x *MediationReportSpec_DimensionFilter) GetMatchesAny() *StringList

func (*MediationReportSpec_DimensionFilter) GetOperator Uses

func (m *MediationReportSpec_DimensionFilter) GetOperator() isMediationReportSpec_DimensionFilter_Operator

func (*MediationReportSpec_DimensionFilter) ProtoMessage Uses

func (*MediationReportSpec_DimensionFilter) ProtoMessage()

func (*MediationReportSpec_DimensionFilter) ProtoReflect Uses

func (x *MediationReportSpec_DimensionFilter) ProtoReflect() protoreflect.Message

func (*MediationReportSpec_DimensionFilter) Reset Uses

func (x *MediationReportSpec_DimensionFilter) Reset()

func (*MediationReportSpec_DimensionFilter) String Uses

func (x *MediationReportSpec_DimensionFilter) String() string

type MediationReportSpec_DimensionFilter_MatchesAny Uses

type MediationReportSpec_DimensionFilter_MatchesAny struct {
    // Matches a row if its value for the specified dimension is in one of the
    // values specified in this condition.
    MatchesAny *StringList `protobuf:"bytes,2,opt,name=matches_any,json=matchesAny,proto3,oneof"`
}

type MediationReportSpec_Metric Uses

type MediationReportSpec_Metric int32

The metrics of the mediation report. Metrics are quantitative measurements indicating how the publisher business is performing. They are aggregated from the individual ad events and grouped by the report dimensions. The metric value is either integer, or decimal (without rounding).

const (
    // Default value for an unset field. Do not use.
    MediationReportSpec_METRIC_UNSPECIFIED MediationReportSpec_Metric = 0
    // The number of requests. The value is an integer.
    MediationReportSpec_AD_REQUESTS MediationReportSpec_Metric = 1
    // The number of times a user clicks an ad. The value is an integer.
    MediationReportSpec_CLICKS MediationReportSpec_Metric = 2
    // The estimated earnings of the AdMob publisher. The currency unit (USD,
    // EUR, or other) of the earning metrics are determined by the localization
    // setting for currency. The amount is in micros. For example, $6.50 would
    // be represented as 6500000.
    //
    // **Warning:** The metric is incompatible with
    // [AD_SOURCE_INSTANCE](#Dimension.ENUM_VALUES.AD_SOURCE_INSTANCE) and
    // [MEDIATION_GROUP](#Dimension.ENUM_VALUES.MEDIATION_GROUP) dimensions.
    MediationReportSpec_ESTIMATED_EARNINGS MediationReportSpec_Metric = 3
    // The total number of ads shown to users. The value is an integer.
    MediationReportSpec_IMPRESSIONS MediationReportSpec_Metric = 4
    // The ratio of clicks over impressions. The value is a double precision
    // (approximate) decimal value.
    MediationReportSpec_IMPRESSION_CTR MediationReportSpec_Metric = 5
    // The number of times ads are returned in response to a request. The value
    // is an integer.
    MediationReportSpec_MATCHED_REQUESTS MediationReportSpec_Metric = 6
    // The ratio of matched ad requests over the total ad requests. The value is
    // a double precision (approximate) decimal value.
    MediationReportSpec_MATCH_RATE MediationReportSpec_Metric = 7
    // The third-party ad network's estimated average eCPM. The currency unit
    // (USD, EUR, or other) of the earning metrics are determined by the
    // localization setting for currency. The amount is in micros. For example,
    // $2.30 would be represented as 2300000.
    //
    // **Warning:** The metric is incompatible with
    // [AD_SOURCE_INSTANCE](#Dimension.ENUM_VALUES.AD_SOURCE_INSTANCE) and
    // [MEDIATION_GROUP](#Dimension.ENUM_VALUES.MEDIATION_GROUP) dimensions.
    MediationReportSpec_OBSERVED_ECPM MediationReportSpec_Metric = 8
)

func (MediationReportSpec_Metric) Descriptor Uses

func (MediationReportSpec_Metric) Descriptor() protoreflect.EnumDescriptor

func (MediationReportSpec_Metric) Enum Uses

func (x MediationReportSpec_Metric) Enum() *MediationReportSpec_Metric

func (MediationReportSpec_Metric) EnumDescriptor Uses

func (MediationReportSpec_Metric) EnumDescriptor() ([]byte, []int)

Deprecated: Use MediationReportSpec_Metric.Descriptor instead.

func (MediationReportSpec_Metric) Number Uses

func (x MediationReportSpec_Metric) Number() protoreflect.EnumNumber

func (MediationReportSpec_Metric) String Uses

func (x MediationReportSpec_Metric) String() string

func (MediationReportSpec_Metric) Type Uses

func (MediationReportSpec_Metric) Type() protoreflect.EnumType

type MediationReportSpec_SortCondition Uses

type MediationReportSpec_SortCondition struct {

    // Identifies which values to sort on.
    //
    // Types that are assignable to SortOn:
    //	*MediationReportSpec_SortCondition_Dimension
    //	*MediationReportSpec_SortCondition_Metric
    SortOn isMediationReportSpec_SortCondition_SortOn `protobuf_oneof:"sort_on"`
    // Sorting order of the dimension or metric.
    Order SortOrder `protobuf:"varint,3,opt,name=order,proto3,enum=google.ads.admob.v1.SortOrder" json:"order,omitempty"`
    // contains filtered or unexported fields
}

Sorting direction to be applied on a dimension or a metric.

func (*MediationReportSpec_SortCondition) Descriptor Uses

func (*MediationReportSpec_SortCondition) Descriptor() ([]byte, []int)

Deprecated: Use MediationReportSpec_SortCondition.ProtoReflect.Descriptor instead.

func (*MediationReportSpec_SortCondition) GetDimension Uses

func (x *MediationReportSpec_SortCondition) GetDimension() MediationReportSpec_Dimension

func (*MediationReportSpec_SortCondition) GetMetric Uses

func (x *MediationReportSpec_SortCondition) GetMetric() MediationReportSpec_Metric

func (*MediationReportSpec_SortCondition) GetOrder Uses

func (x *MediationReportSpec_SortCondition) GetOrder() SortOrder

func (*MediationReportSpec_SortCondition) GetSortOn Uses

func (m *MediationReportSpec_SortCondition) GetSortOn() isMediationReportSpec_SortCondition_SortOn

func (*MediationReportSpec_SortCondition) ProtoMessage Uses

func (*MediationReportSpec_SortCondition) ProtoMessage()

func (*MediationReportSpec_SortCondition) ProtoReflect Uses

func (x *MediationReportSpec_SortCondition) ProtoReflect() protoreflect.Message

func (*MediationReportSpec_SortCondition) Reset Uses

func (x *MediationReportSpec_SortCondition) Reset()

func (*MediationReportSpec_SortCondition) String Uses

func (x *MediationReportSpec_SortCondition) String() string

type MediationReportSpec_SortCondition_Dimension Uses

type MediationReportSpec_SortCondition_Dimension struct {
    // Sort by the specified dimension.
    Dimension MediationReportSpec_Dimension `protobuf:"varint,1,opt,name=dimension,proto3,enum=google.ads.admob.v1.MediationReportSpec_Dimension,oneof"`
}

type MediationReportSpec_SortCondition_Metric Uses

type MediationReportSpec_SortCondition_Metric struct {
    // Sort by the specified metric.
    Metric MediationReportSpec_Metric `protobuf:"varint,2,opt,name=metric,proto3,enum=google.ads.admob.v1.MediationReportSpec_Metric,oneof"`
}

type NetworkReportSpec Uses

type NetworkReportSpec struct {

    // The date range for which the report is generated.
    DateRange *DateRange `protobuf:"bytes,1,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"`
    // List of dimensions of the report. The value combination of these dimensions
    // determines the row of the report. If no dimensions are specified, the
    // report returns a single row of requested metrics for the entire account.
    Dimensions []NetworkReportSpec_Dimension `protobuf:"varint,2,rep,packed,name=dimensions,proto3,enum=google.ads.admob.v1.NetworkReportSpec_Dimension" json:"dimensions,omitempty"`
    // List of metrics of the report. A report must specify at least one metric.
    Metrics []NetworkReportSpec_Metric `protobuf:"varint,3,rep,packed,name=metrics,proto3,enum=google.ads.admob.v1.NetworkReportSpec_Metric" json:"metrics,omitempty"`
    // Describes which report rows to match based on their dimension values.
    DimensionFilters []*NetworkReportSpec_DimensionFilter `protobuf:"bytes,4,rep,name=dimension_filters,json=dimensionFilters,proto3" json:"dimension_filters,omitempty"`
    // Describes the sorting of report rows. The order of the condition in the
    // list defines its precedence; the earlier the condition, the higher its
    // precedence. If no sort conditions are specified, the row ordering is
    // undefined.
    SortConditions []*NetworkReportSpec_SortCondition `protobuf:"bytes,5,rep,name=sort_conditions,json=sortConditions,proto3" json:"sort_conditions,omitempty"`
    // Localization settings of the report.
    LocalizationSettings *LocalizationSettings `protobuf:"bytes,6,opt,name=localization_settings,json=localizationSettings,proto3" json:"localization_settings,omitempty"`
    // Maximum number of report data rows to return. If the value is not set, the
    // API returns as many rows as possible, up to 100000. Acceptable values are
    // 1-100000, inclusive. Any other values are treated as 100000.
    MaxReportRows int32 `protobuf:"varint,7,opt,name=max_report_rows,json=maxReportRows,proto3" json:"max_report_rows,omitempty"`
    // A report time zone. Accepts an IANA TZ name values, such as
    // "America/Los_Angeles."  If no time zone is defined, the account default
    // takes effect. Check default value by the get account action.
    //
    // **Warning:** The "America/Los_Angeles" is the only supported value at
    // the moment.
    TimeZone string `protobuf:"bytes,8,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
    // contains filtered or unexported fields
}

The specification for generating an AdMob Network report. For example, the specification to get clicks and estimated earnings for only the 'US' and 'CN' countries can look like the following example:

{
  'date_range': {
    'start_date': {'year': 2018, 'month': 9, 'day': 1},
    'end_date': {'year': 2018, 'month': 9, 'day': 30}
  },
  'dimensions': ['DATE', 'APP', 'COUNTRY'],
  'metrics': ['CLICKS', 'ESTIMATED_EARNINGS'],
  'dimension_filters': [
    {
      'dimension': 'COUNTRY',
      'matches_any': {'values': [{'value': 'US', 'value': 'CN'}]}
    }
  ],
  'sort_conditions': [
    {'dimension':'APP', order: 'ASCENDING'},
    {'metric':'CLICKS', order: 'DESCENDING'}
  ],
  'localization_settings': {
    'currency_code': 'USD',
    'language_code': 'en-US'
  }
}

For a better understanding, you can treat the preceding specification like the following pseudo SQL:

SELECT DATE, APP, COUNTRY, CLICKS, ESTIMATED_EARNINGS
FROM NETWORK_REPORT
WHERE DATE >= '2018-09-01' AND DATE <= '2018-09-30'
    AND COUNTRY IN ('US', 'CN')
GROUP BY DATE, APP, COUNTRY
ORDER BY APP ASC, CLICKS DESC;

func (*NetworkReportSpec) Descriptor Uses

func (*NetworkReportSpec) Descriptor() ([]byte, []int)

Deprecated: Use NetworkReportSpec.ProtoReflect.Descriptor instead.

func (*NetworkReportSpec) GetDateRange Uses

func (x *NetworkReportSpec) GetDateRange() *DateRange

func (*NetworkReportSpec) GetDimensionFilters Uses

func (x *NetworkReportSpec) GetDimensionFilters() []*NetworkReportSpec_DimensionFilter

func (*NetworkReportSpec) GetDimensions Uses

func (x *NetworkReportSpec) GetDimensions() []NetworkReportSpec_Dimension

func (*NetworkReportSpec) GetLocalizationSettings Uses

func (x *NetworkReportSpec) GetLocalizationSettings() *LocalizationSettings

func (*NetworkReportSpec) GetMaxReportRows Uses

func (x *NetworkReportSpec) GetMaxReportRows() int32

func (*NetworkReportSpec) GetMetrics Uses

func (x *NetworkReportSpec) GetMetrics() []NetworkReportSpec_Metric

func (*NetworkReportSpec) GetSortConditions Uses

func (x *NetworkReportSpec) GetSortConditions() []*NetworkReportSpec_SortCondition

func (*NetworkReportSpec) GetTimeZone Uses

func (x *NetworkReportSpec) GetTimeZone() string

func (*NetworkReportSpec) ProtoMessage Uses

func (*NetworkReportSpec) ProtoMessage()

func (*NetworkReportSpec) ProtoReflect Uses

func (x *NetworkReportSpec) ProtoReflect() protoreflect.Message

func (*NetworkReportSpec) Reset Uses

func (x *NetworkReportSpec) Reset()

func (*NetworkReportSpec) String Uses

func (x *NetworkReportSpec) String() string

type NetworkReportSpec_Dimension Uses

type NetworkReportSpec_Dimension int32

The dimensions of the network report. Dimensions are data attributes to break down or refine the quantitative measurements (metrics) by certain attributes, such as the ad format or the platform an ad was viewed on.

const (
    // Default value for an unset field. Do not use.
    NetworkReportSpec_DIMENSION_UNSPECIFIED NetworkReportSpec_Dimension = 0
    // A date in the YYYY-MM-DD format (for example, "2018-12-21"). Requests can
    // specify at most one time dimension.
    NetworkReportSpec_DATE NetworkReportSpec_Dimension = 1
    // A month in the YYYY-MM format (for example, "2018-12"). Requests can
    // specify at most one time dimension.
    NetworkReportSpec_MONTH NetworkReportSpec_Dimension = 2
    // The date of the first day of a week in the YYYY-MM-DD format
    // (for example, "2018-12-21"). Requests can specify at most one time
    // dimension.
    NetworkReportSpec_WEEK NetworkReportSpec_Dimension = 3
    // The unique ID of the ad unit (for example, "ca-app-pub-1234/1234").
    // If AD_UNIT dimension is specified, then APP is included automatically.
    NetworkReportSpec_AD_UNIT NetworkReportSpec_Dimension = 4
    // The unique ID of the mobile application (for example,
    // "ca-app-pub-1234~1234").
    NetworkReportSpec_APP NetworkReportSpec_Dimension = 5
    // Type of the ad (for example, "text" or "image"), an ad delivery
    // dimension.
    //
    // **Warning:** The dimension is incompatible with
    // [AD_REQUESTS](#Metric.ENUM_VALUES.AD_REQUESTS),
    // [MATCH_RATE](#Metric.ENUM_VALUES.MATCH_RATE) and
    // [IMPRESSION_RPM](#Metric.ENUM_VALUES.IMPRESSION_RPM) metrics.
    NetworkReportSpec_AD_TYPE NetworkReportSpec_Dimension = 6
    // CLDR country code of the place where the ad views/clicks occur (for
    // example, "US" or "FR"). This is a geography dimension.
    NetworkReportSpec_COUNTRY NetworkReportSpec_Dimension = 7
    // Format of the ad unit (for example, "banner", "native"), an ad delivery
    // dimension.
    NetworkReportSpec_FORMAT NetworkReportSpec_Dimension = 8
    // Mobile OS platform of the app (for example, "Android" or "iOS").
    NetworkReportSpec_PLATFORM NetworkReportSpec_Dimension = 9
)

func (NetworkReportSpec_Dimension) Descriptor Uses

func (NetworkReportSpec_Dimension) Descriptor() protoreflect.EnumDescriptor

func (NetworkReportSpec_Dimension) Enum Uses

func (x NetworkReportSpec_Dimension) Enum() *NetworkReportSpec_Dimension

func (NetworkReportSpec_Dimension) EnumDescriptor Uses

func (NetworkReportSpec_Dimension) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkReportSpec_Dimension.Descriptor instead.

func (NetworkReportSpec_Dimension) Number Uses

func (x NetworkReportSpec_Dimension) Number() protoreflect.EnumNumber

func (NetworkReportSpec_Dimension) String Uses

func (x NetworkReportSpec_Dimension) String() string

func (NetworkReportSpec_Dimension) Type Uses

func (NetworkReportSpec_Dimension) Type() protoreflect.EnumType

type NetworkReportSpec_DimensionFilter Uses

type NetworkReportSpec_DimensionFilter struct {

    // Applies the filter criterion to the specified dimension.
    Dimension NetworkReportSpec_Dimension `protobuf:"varint,1,opt,name=dimension,proto3,enum=google.ads.admob.v1.NetworkReportSpec_Dimension" json:"dimension,omitempty"`
    // Filter operator to be applied.
    //
    // Types that are assignable to Operator:
    //	*NetworkReportSpec_DimensionFilter_MatchesAny
    Operator isNetworkReportSpec_DimensionFilter_Operator `protobuf_oneof:"operator"`
    // contains filtered or unexported fields
}

Describes which report rows to match based on their dimension values.

func (*NetworkReportSpec_DimensionFilter) Descriptor Uses

func (*NetworkReportSpec_DimensionFilter) Descriptor() ([]byte, []int)

Deprecated: Use NetworkReportSpec_DimensionFilter.ProtoReflect.Descriptor instead.

func (*NetworkReportSpec_DimensionFilter) GetDimension Uses

func (x *NetworkReportSpec_DimensionFilter) GetDimension() NetworkReportSpec_Dimension

func (*NetworkReportSpec_DimensionFilter) GetMatchesAny Uses

func (x *NetworkReportSpec_DimensionFilter) GetMatchesAny() *StringList

func (*NetworkReportSpec_DimensionFilter) GetOperator Uses

func (m *NetworkReportSpec_DimensionFilter) GetOperator() isNetworkReportSpec_DimensionFilter_Operator

func (*NetworkReportSpec_DimensionFilter) ProtoMessage Uses

func (*NetworkReportSpec_DimensionFilter) ProtoMessage()

func (*NetworkReportSpec_DimensionFilter) ProtoReflect Uses

func (x *NetworkReportSpec_DimensionFilter) ProtoReflect() protoreflect.Message

func (*NetworkReportSpec_DimensionFilter) Reset Uses

func (x *NetworkReportSpec_DimensionFilter) Reset()

func (*NetworkReportSpec_DimensionFilter) String Uses

func (x *NetworkReportSpec_DimensionFilter) String() string

type NetworkReportSpec_DimensionFilter_MatchesAny Uses

type NetworkReportSpec_DimensionFilter_MatchesAny struct {
    // Matches a row if its value for the specified dimension is in one of the
    // values specified in this condition.
    MatchesAny *StringList `protobuf:"bytes,2,opt,name=matches_any,json=matchesAny,proto3,oneof"`
}

type NetworkReportSpec_Metric Uses

type NetworkReportSpec_Metric int32

The metrics of the network report. Metrics are quantitative measurements indicating how the publisher business is performing. They are aggregated from the individual ad events and grouped by the report dimensions. The metric value is either integer, or decimal (without rounding).

const (
    // Default value for an unset field. Do not use.
    NetworkReportSpec_METRIC_UNSPECIFIED NetworkReportSpec_Metric = 0
    // The number of ad requests. The value is an integer.
    //
    // **Warning:** The metric is incompatible with
    // [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.
    NetworkReportSpec_AD_REQUESTS NetworkReportSpec_Metric = 1
    // The number of times a user clicks an ad. The value is an integer.
    NetworkReportSpec_CLICKS NetworkReportSpec_Metric = 2
    // The estimated earnings of the AdMob publisher. The currency unit (USD,
    // EUR, or other) of the earning metrics are determined by the localization
    // setting for currency. The amount is in micros. For example, $6.50 would
    // be represented as 6500000.
    NetworkReportSpec_ESTIMATED_EARNINGS NetworkReportSpec_Metric = 3
    // The total number of ads shown to users. The value is an integer.
    NetworkReportSpec_IMPRESSIONS NetworkReportSpec_Metric = 4
    // The ratio of clicks over impressions. The value is a double precision
    // (approximate) decimal value.
    NetworkReportSpec_IMPRESSION_CTR NetworkReportSpec_Metric = 5
    // The estimated earnings per thousand ad impressions. The value is in
    // micros. For example, $1.03 would be represented as 1030000.
    //
    // **Warning:** The metric is incompatible with
    // [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.
    NetworkReportSpec_IMPRESSION_RPM NetworkReportSpec_Metric = 6
    // The number of times ads are returned in response to a request. The value
    // is an integer.
    NetworkReportSpec_MATCHED_REQUESTS NetworkReportSpec_Metric = 7
    // The ratio of matched ad requests over the total ad requests. The value is
    // a double precision (approximate) decimal value.
    //
    // **Warning:** The metric is incompatible with
    // [AD_TYPE](#Dimension.ENUM_VALUES.AD_TYPE) dimension.
    NetworkReportSpec_MATCH_RATE NetworkReportSpec_Metric = 8
    // The ratio of ads that are displayed over ads that are returned, defined
    // as impressions / matched requests. The value is a double precision
    // (approximate) decimal value.
    NetworkReportSpec_SHOW_RATE NetworkReportSpec_Metric = 9
)

func (NetworkReportSpec_Metric) Descriptor Uses

func (NetworkReportSpec_Metric) Descriptor() protoreflect.EnumDescriptor

func (NetworkReportSpec_Metric) Enum Uses

func (x NetworkReportSpec_Metric) Enum() *NetworkReportSpec_Metric

func (NetworkReportSpec_Metric) EnumDescriptor Uses

func (NetworkReportSpec_Metric) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkReportSpec_Metric.Descriptor instead.

func (NetworkReportSpec_Metric) Number Uses

func (x NetworkReportSpec_Metric) Number() protoreflect.EnumNumber

func (NetworkReportSpec_Metric) String Uses

func (x NetworkReportSpec_Metric) String() string

func (NetworkReportSpec_Metric) Type Uses

func (NetworkReportSpec_Metric) Type() protoreflect.EnumType

type NetworkReportSpec_SortCondition Uses

type NetworkReportSpec_SortCondition struct {

    // Identifies which values to sort on.
    //
    // Types that are assignable to SortOn:
    //	*NetworkReportSpec_SortCondition_Dimension
    //	*NetworkReportSpec_SortCondition_Metric
    SortOn isNetworkReportSpec_SortCondition_SortOn `protobuf_oneof:"sort_on"`
    // Sorting order of the dimension or metric.
    Order SortOrder `protobuf:"varint,3,opt,name=order,proto3,enum=google.ads.admob.v1.SortOrder" json:"order,omitempty"`
    // contains filtered or unexported fields
}

Sorting direction to be applied on a dimension or a metric.

func (*NetworkReportSpec_SortCondition) Descriptor Uses

func (*NetworkReportSpec_SortCondition) Descriptor() ([]byte, []int)

Deprecated: Use NetworkReportSpec_SortCondition.ProtoReflect.Descriptor instead.

func (*NetworkReportSpec_SortCondition) GetDimension Uses

func (x *NetworkReportSpec_SortCondition) GetDimension() NetworkReportSpec_Dimension

func (*NetworkReportSpec_SortCondition) GetMetric Uses

func (x *NetworkReportSpec_SortCondition) GetMetric() NetworkReportSpec_Metric

func (*NetworkReportSpec_SortCondition) GetOrder Uses

func (x *NetworkReportSpec_SortCondition) GetOrder() SortOrder

func (*NetworkReportSpec_SortCondition) GetSortOn Uses

func (m *NetworkReportSpec_SortCondition) GetSortOn() isNetworkReportSpec_SortCondition_SortOn

func (*NetworkReportSpec_SortCondition) ProtoMessage Uses

func (*NetworkReportSpec_SortCondition) ProtoMessage()

func (*NetworkReportSpec_SortCondition) ProtoReflect Uses

func (x *NetworkReportSpec_SortCondition) ProtoReflect() protoreflect.Message

func (*NetworkReportSpec_SortCondition) Reset Uses

func (x *NetworkReportSpec_SortCondition) Reset()

func (*NetworkReportSpec_SortCondition) String Uses

func (x *NetworkReportSpec_SortCondition) String() string

type NetworkReportSpec_SortCondition_Dimension Uses

type NetworkReportSpec_SortCondition_Dimension struct {
    // Sort by the specified dimension.
    Dimension NetworkReportSpec_Dimension `protobuf:"varint,1,opt,name=dimension,proto3,enum=google.ads.admob.v1.NetworkReportSpec_Dimension,oneof"`
}

type NetworkReportSpec_SortCondition_Metric Uses

type NetworkReportSpec_SortCondition_Metric struct {
    // Sort by the specified metric.
    Metric NetworkReportSpec_Metric `protobuf:"varint,2,opt,name=metric,proto3,enum=google.ads.admob.v1.NetworkReportSpec_Metric,oneof"`
}

type PublisherAccount Uses

type PublisherAccount struct {

    // Resource name of this account.
    // Format is accounts/{publisher_id}.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The unique ID by which this publisher account can be identified
    // in the API requests (for example, pub-1234567890).
    PublisherId string `protobuf:"bytes,2,opt,name=publisher_id,json=publisherId,proto3" json:"publisher_id,omitempty"`
    // The time zone that is used in reports that are generated for this account.
    // The value is a time-zone ID as specified by the CLDR project,
    // for example, "America/Los_Angeles".
    ReportingTimeZone string `protobuf:"bytes,3,opt,name=reporting_time_zone,json=reportingTimeZone,proto3" json:"reporting_time_zone,omitempty"`
    // Currency code of the earning-related metrics, which is the 3-letter code
    // defined in ISO 4217. The daily average rate is used for the currency
    // conversion.
    CurrencyCode string `protobuf:"bytes,4,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
    // contains filtered or unexported fields
}

A publisher account contains information relevant to the use of this API, such as the time zone used for the reports.

func (*PublisherAccount) Descriptor Uses

func (*PublisherAccount) Descriptor() ([]byte, []int)

Deprecated: Use PublisherAccount.ProtoReflect.Descriptor instead.

func (*PublisherAccount) GetCurrencyCode Uses

func (x *PublisherAccount) GetCurrencyCode() string

func (*PublisherAccount) GetName Uses

func (x *PublisherAccount) GetName() string

func (*PublisherAccount) GetPublisherId Uses

func (x *PublisherAccount) GetPublisherId() string

func (*PublisherAccount) GetReportingTimeZone Uses

func (x *PublisherAccount) GetReportingTimeZone() string

func (*PublisherAccount) ProtoMessage Uses

func (*PublisherAccount) ProtoMessage()

func (*PublisherAccount) ProtoReflect Uses

func (x *PublisherAccount) ProtoReflect() protoreflect.Message

func (*PublisherAccount) Reset Uses

func (x *PublisherAccount) Reset()

func (*PublisherAccount) String Uses

func (x *PublisherAccount) String() string

type ReportFooter Uses

type ReportFooter struct {

    // Warnings associated with generation of the report.
    Warnings []*ReportWarning `protobuf:"bytes,1,rep,name=warnings,proto3" json:"warnings,omitempty"`
    // Total number of rows that did match the request.
    MatchingRowCount int64 `protobuf:"varint,2,opt,name=matching_row_count,json=matchingRowCount,proto3" json:"matching_row_count,omitempty"`
    // contains filtered or unexported fields
}

Groups data available after report generation, for example, warnings and row counts. Always sent as the last message in the stream response.

func (*ReportFooter) Descriptor Uses

func (*ReportFooter) Descriptor() ([]byte, []int)

Deprecated: Use ReportFooter.ProtoReflect.Descriptor instead.

func (*ReportFooter) GetMatchingRowCount Uses

func (x *ReportFooter) GetMatchingRowCount() int64

func (*ReportFooter) GetWarnings Uses

func (x *ReportFooter) GetWarnings() []*ReportWarning

func (*ReportFooter) ProtoMessage Uses

func (*ReportFooter) ProtoMessage()

func (*ReportFooter) ProtoReflect Uses

func (x *ReportFooter) ProtoReflect() protoreflect.Message

func (*ReportFooter) Reset Uses

func (x *ReportFooter) Reset()

func (*ReportFooter) String Uses

func (x *ReportFooter) String() string

type ReportHeader Uses

type ReportHeader struct {

    // The date range for which the report is generated. This is identical to the
    // range specified in the report request.
    DateRange *DateRange `protobuf:"bytes,1,opt,name=date_range,json=dateRange,proto3" json:"date_range,omitempty"`
    // Localization settings of the report. This is identical to the settings
    // in the report request.
    LocalizationSettings *LocalizationSettings `protobuf:"bytes,2,opt,name=localization_settings,json=localizationSettings,proto3" json:"localization_settings,omitempty"`
    // The report time zone. The value is a time-zone ID as specified by the CLDR
    // project, for example, "America/Los_Angeles".
    ReportingTimeZone string `protobuf:"bytes,3,opt,name=reporting_time_zone,json=reportingTimeZone,proto3" json:"reporting_time_zone,omitempty"`
    // contains filtered or unexported fields
}

Groups data helps to treat the generated report. Always sent as a first message in the stream response.

func (*ReportHeader) Descriptor Uses

func (*ReportHeader) Descriptor() ([]byte, []int)

Deprecated: Use ReportHeader.ProtoReflect.Descriptor instead.

func (*ReportHeader) GetDateRange Uses

func (x *ReportHeader) GetDateRange() *DateRange

func (*ReportHeader) GetLocalizationSettings Uses

func (x *ReportHeader) GetLocalizationSettings() *LocalizationSettings

func (*ReportHeader) GetReportingTimeZone Uses

func (x *ReportHeader) GetReportingTimeZone() string

func (*ReportHeader) ProtoMessage Uses

func (*ReportHeader) ProtoMessage()

func (*ReportHeader) ProtoReflect Uses

func (x *ReportHeader) ProtoReflect() protoreflect.Message

func (*ReportHeader) Reset Uses

func (x *ReportHeader) Reset()

func (*ReportHeader) String Uses

func (x *ReportHeader) String() string

type ReportRow Uses

type ReportRow struct {

    // Map of dimension values in a row, with keys as enum name of the dimensions.
    DimensionValues map[string]*ReportRow_DimensionValue `protobuf:"bytes,1,rep,name=dimension_values,json=dimensionValues,proto3" json:"dimension_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Map of metric values in a row, with keys as enum name of the metrics. If
    // a metric being requested has no value returned, the map will not include
    // it.
    MetricValues map[string]*ReportRow_MetricValue `protobuf:"bytes,2,rep,name=metric_values,json=metricValues,proto3" json:"metric_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // contains filtered or unexported fields
}

A row of the returning report.

func (*ReportRow) Descriptor Uses

func (*ReportRow) Descriptor() ([]byte, []int)

Deprecated: Use ReportRow.ProtoReflect.Descriptor instead.

func (*ReportRow) GetDimensionValues Uses

func (x *ReportRow) GetDimensionValues() map[string]*ReportRow_DimensionValue

func (*ReportRow) GetMetricValues Uses

func (x *ReportRow) GetMetricValues() map[string]*ReportRow_MetricValue

func (*ReportRow) ProtoMessage Uses

func (*ReportRow) ProtoMessage()

func (*ReportRow) ProtoReflect Uses

func (x *ReportRow) ProtoReflect() protoreflect.Message

func (*ReportRow) Reset Uses

func (x *ReportRow) Reset()

func (*ReportRow) String Uses

func (x *ReportRow) String() string

type ReportRow_DimensionValue Uses

type ReportRow_DimensionValue struct {

    // Dimension value in the format specified in the report's spec Dimension
    // enum.
    Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    // The localized string representation of the value. If unspecified, the
    // display label should be derived from the value.
    DisplayLabel string `protobuf:"bytes,2,opt,name=display_label,json=displayLabel,proto3" json:"display_label,omitempty"`
    // contains filtered or unexported fields
}

Representation of a dimension value.

func (*ReportRow_DimensionValue) Descriptor Uses

func (*ReportRow_DimensionValue) Descriptor() ([]byte, []int)

Deprecated: Use ReportRow_DimensionValue.ProtoReflect.Descriptor instead.

func (*ReportRow_DimensionValue) GetDisplayLabel Uses

func (x *ReportRow_DimensionValue) GetDisplayLabel() string

func (*ReportRow_DimensionValue) GetValue Uses

func (x *ReportRow_DimensionValue) GetValue() string

func (*ReportRow_DimensionValue) ProtoMessage Uses

func (*ReportRow_DimensionValue) ProtoMessage()

func (*ReportRow_DimensionValue) ProtoReflect Uses

func (x *ReportRow_DimensionValue) ProtoReflect() protoreflect.Message

func (*ReportRow_DimensionValue) Reset Uses

func (x *ReportRow_DimensionValue) Reset()

func (*ReportRow_DimensionValue) String Uses

func (x *ReportRow_DimensionValue) String() string

type ReportRow_MetricValue Uses

type ReportRow_MetricValue struct {

    // Metric value in the format specified in the report's spec Metric enum
    // name.
    //
    // Types that are assignable to Value:
    //	*ReportRow_MetricValue_IntegerValue
    //	*ReportRow_MetricValue_DoubleValue
    //	*ReportRow_MetricValue_MicrosValue
    Value isReportRow_MetricValue_Value `protobuf_oneof:"value"`
    // contains filtered or unexported fields
}

Representation of a metric value.

func (*ReportRow_MetricValue) Descriptor Uses

func (*ReportRow_MetricValue) Descriptor() ([]byte, []int)

Deprecated: Use ReportRow_MetricValue.ProtoReflect.Descriptor instead.

func (*ReportRow_MetricValue) GetDoubleValue Uses

func (x *ReportRow_MetricValue) GetDoubleValue() float64

func (*ReportRow_MetricValue) GetIntegerValue Uses

func (x *ReportRow_MetricValue) GetIntegerValue() int64

func (*ReportRow_MetricValue) GetMicrosValue Uses

func (x *ReportRow_MetricValue) GetMicrosValue() int64

func (*ReportRow_MetricValue) GetValue Uses

func (m *ReportRow_MetricValue) GetValue() isReportRow_MetricValue_Value

func (*ReportRow_MetricValue) ProtoMessage Uses

func (*ReportRow_MetricValue) ProtoMessage()

func (*ReportRow_MetricValue) ProtoReflect Uses

func (x *ReportRow_MetricValue) ProtoReflect() protoreflect.Message

func (*ReportRow_MetricValue) Reset Uses

func (x *ReportRow_MetricValue) Reset()

func (*ReportRow_MetricValue) String Uses

func (x *ReportRow_MetricValue) String() string

type ReportRow_MetricValue_DoubleValue Uses

type ReportRow_MetricValue_DoubleValue struct {
    // Double precision (approximate) decimal values. Rates are from 0 to 1.
    DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type ReportRow_MetricValue_IntegerValue Uses

type ReportRow_MetricValue_IntegerValue struct {
    // Metric integer value.
    IntegerValue int64 `protobuf:"varint,1,opt,name=integer_value,json=integerValue,proto3,oneof"`
}

type ReportRow_MetricValue_MicrosValue Uses

type ReportRow_MetricValue_MicrosValue struct {
    // Amount in micros. One million is equivalent to one unit. Currency value
    // is in the unit (USD, EUR or other) specified by the request.
    // For example, $6.50 whould be represented as 6500000 micros.
    MicrosValue int64 `protobuf:"varint,3,opt,name=micros_value,json=microsValue,proto3,oneof"`
}

type ReportWarning Uses

type ReportWarning struct {

    // Type of the warning.
    Type ReportWarning_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.ads.admob.v1.ReportWarning_Type" json:"type,omitempty"`
    // Describes the details of the warning message, in English.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // contains filtered or unexported fields
}

Warnings associated with generation of the report.

func (*ReportWarning) Descriptor Uses

func (*ReportWarning) Descriptor() ([]byte, []int)

Deprecated: Use ReportWarning.ProtoReflect.Descriptor instead.

func (*ReportWarning) GetDescription Uses

func (x *ReportWarning) GetDescription() string

func (*ReportWarning) GetType Uses

func (x *ReportWarning) GetType() ReportWarning_Type

func (*ReportWarning) ProtoMessage Uses

func (*ReportWarning) ProtoMessage()

func (*ReportWarning) ProtoReflect Uses

func (x *ReportWarning) ProtoReflect() protoreflect.Message

func (*ReportWarning) Reset Uses

func (x *ReportWarning) Reset()

func (*ReportWarning) String Uses

func (x *ReportWarning) String() string

type ReportWarning_Type Uses

type ReportWarning_Type int32

Warning type.

const (
    // Default value for an unset field. Do not use.
    ReportWarning_TYPE_UNSPECIFIED ReportWarning_Type = 0
    // Some data in this report is aggregated based on a time zone different
    // from the requested time zone. This could happen if a local time-zone
    // report has the start time before the last time this time zone changed.
    // The description field will contain the date of the last time zone
    // change.
    ReportWarning_DATA_BEFORE_ACCOUNT_TIMEZONE_CHANGE ReportWarning_Type = 1
    // There is an unusual delay in processing the source data for the
    // requested date range. The report results might be less up to date than
    // usual. AdMob is aware of the issue and is actively working to resolve
    // it.
    ReportWarning_DATA_DELAYED ReportWarning_Type = 2
    // Warnings that are exposed without a specific type. Useful when new
    // warning types are added but the API is not changed yet.
    ReportWarning_OTHER ReportWarning_Type = 3
    // The currency being requested is not the account currency. The earning
    // metrics will be based on the requested currency, and thus not a good
    // estimation of the final payment anymore, due to the currency rate
    // fluctuation.
    ReportWarning_REPORT_CURRENCY_NOT_ACCOUNT_CURRENCY ReportWarning_Type = 4
)

func (ReportWarning_Type) Descriptor Uses

func (ReportWarning_Type) Descriptor() protoreflect.EnumDescriptor

func (ReportWarning_Type) Enum Uses

func (x ReportWarning_Type) Enum() *ReportWarning_Type

func (ReportWarning_Type) EnumDescriptor Uses

func (ReportWarning_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReportWarning_Type.Descriptor instead.

func (ReportWarning_Type) Number Uses

func (x ReportWarning_Type) Number() protoreflect.EnumNumber

func (ReportWarning_Type) String Uses

func (x ReportWarning_Type) String() string

func (ReportWarning_Type) Type Uses

func (ReportWarning_Type) Type() protoreflect.EnumType

type SortOrder Uses

type SortOrder int32

The sorting order.

const (
    // Default value for an unset field. Do not use.
    SortOrder_SORT_ORDER_UNSPECIFIED SortOrder = 0
    // Sort dimension value or metric value in ascending order.
    SortOrder_ASCENDING SortOrder = 1
    // Sort dimension value or metric value in descending order.
    SortOrder_DESCENDING SortOrder = 2
)

func (SortOrder) Descriptor Uses

func (SortOrder) Descriptor() protoreflect.EnumDescriptor

func (SortOrder) Enum Uses

func (x SortOrder) Enum() *SortOrder

func (SortOrder) EnumDescriptor Uses

func (SortOrder) EnumDescriptor() ([]byte, []int)

Deprecated: Use SortOrder.Descriptor instead.

func (SortOrder) Number Uses

func (x SortOrder) Number() protoreflect.EnumNumber

func (SortOrder) String Uses

func (x SortOrder) String() string

func (SortOrder) Type Uses

func (SortOrder) Type() protoreflect.EnumType

type StringList Uses

type StringList struct {

    // The string values.
    Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
    // contains filtered or unexported fields
}

List of string values.

func (*StringList) Descriptor Uses

func (*StringList) Descriptor() ([]byte, []int)

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetValues Uses

func (x *StringList) GetValues() []string

func (*StringList) ProtoMessage Uses

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect Uses

func (x *StringList) ProtoReflect() protoreflect.Message

func (*StringList) Reset Uses

func (x *StringList) Reset()

func (*StringList) String Uses

func (x *StringList) String() string

type UnimplementedAdMobApiServer Uses

type UnimplementedAdMobApiServer struct {
}

UnimplementedAdMobApiServer can be embedded to have forward compatible implementations.

func (*UnimplementedAdMobApiServer) GenerateMediationReport Uses

func (*UnimplementedAdMobApiServer) GenerateMediationReport(*GenerateMediationReportRequest, AdMobApi_GenerateMediationReportServer) error

func (*UnimplementedAdMobApiServer) GenerateNetworkReport Uses

func (*UnimplementedAdMobApiServer) GenerateNetworkReport(*GenerateNetworkReportRequest, AdMobApi_GenerateNetworkReportServer) error

func (*UnimplementedAdMobApiServer) GetPublisherAccount Uses

func (*UnimplementedAdMobApiServer) GetPublisherAccount(context.Context, *GetPublisherAccountRequest) (*PublisherAccount, error)

func (*UnimplementedAdMobApiServer) ListPublisherAccounts Uses

func (*UnimplementedAdMobApiServer) ListPublisherAccounts(context.Context, *ListPublisherAccountsRequest) (*ListPublisherAccountsResponse, error)

Package admob imports 11 packages (graph). Updated 2020-08-13. Refresh now. Tools for package owners.