123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610 |
- syntax = "proto3";
- package google.ads.admob.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/type/date.proto";
- option go_package = "google.golang.org/genproto/googleapis/ads/admob/v1;admob";
- option java_outer_classname = "AdMobResourcesProto";
- option java_package = "com.google.ads.admob.v1";
- enum SortOrder {
-
- SORT_ORDER_UNSPECIFIED = 0;
-
- ASCENDING = 1;
-
- DESCENDING = 2;
- }
- message PublisherAccount {
- option (google.api.resource) = {
- type: "admob.googleapis.com/PublisherAccount"
- pattern: "accounts/{publisher}"
- };
-
-
- string name = 1;
-
-
- string publisher_id = 2;
-
-
-
- string reporting_time_zone = 3;
-
-
-
- string currency_code = 4;
- }
- message NetworkReportSpec {
-
- message DimensionFilter {
-
- oneof operator {
-
-
- StringList matches_any = 2;
- }
-
- Dimension dimension = 1;
- }
-
- message SortCondition {
-
- oneof sort_on {
-
- Dimension dimension = 1;
-
- Metric metric = 2;
- }
-
- SortOrder order = 3;
- }
-
-
-
- enum Dimension {
-
- DIMENSION_UNSPECIFIED = 0;
-
-
- DATE = 1;
-
-
- MONTH = 2;
-
-
-
- WEEK = 3;
-
-
- AD_UNIT = 4;
-
-
- APP = 5;
-
-
-
-
-
-
-
- AD_TYPE = 6;
-
-
- COUNTRY = 7;
-
-
- FORMAT = 8;
-
- PLATFORM = 9;
- }
-
-
-
-
- enum Metric {
-
- 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;
- }
-
- DateRange date_range = 1;
-
-
-
- repeated Dimension dimensions = 2;
-
- repeated Metric metrics = 3;
-
- repeated DimensionFilter dimension_filters = 4;
-
-
-
-
- repeated SortCondition sort_conditions = 5;
-
- LocalizationSettings localization_settings = 6;
-
-
-
- int32 max_report_rows = 7;
-
-
-
-
-
-
- string time_zone = 8;
- }
- message MediationReportSpec {
-
- message DimensionFilter {
-
- oneof operator {
-
-
- StringList matches_any = 2;
- }
-
- Dimension dimension = 1;
- }
-
- message SortCondition {
-
- oneof sort_on {
-
- Dimension dimension = 1;
-
- Metric metric = 2;
- }
-
- SortOrder order = 3;
- }
-
-
-
- enum Dimension {
-
- 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 Metric {
-
- 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;
- }
-
- DateRange date_range = 1;
-
-
-
- repeated Dimension dimensions = 2;
-
- repeated Metric metrics = 3;
-
- repeated DimensionFilter dimension_filters = 4;
-
-
-
-
- repeated SortCondition sort_conditions = 5;
-
- LocalizationSettings localization_settings = 6;
-
-
-
- int32 max_report_rows = 7;
-
-
-
-
-
-
- string time_zone = 8;
- }
- message ReportRow {
-
- message DimensionValue {
-
-
- string value = 1;
-
-
- string display_label = 2;
- }
-
- message MetricValue {
-
-
- oneof value {
-
- int64 integer_value = 1;
-
- double double_value = 2;
-
-
-
- int64 micros_value = 3;
- }
- }
-
- map<string, DimensionValue> dimension_values = 1;
-
-
-
- map<string, MetricValue> metric_values = 2;
- }
- message ReportWarning {
-
- enum Type {
-
- TYPE_UNSPECIFIED = 0;
-
-
-
-
-
- DATA_BEFORE_ACCOUNT_TIMEZONE_CHANGE = 1;
-
-
-
-
- DATA_DELAYED = 2;
-
-
- OTHER = 3;
-
-
-
-
- REPORT_CURRENCY_NOT_ACCOUNT_CURRENCY = 4;
- }
-
- Type type = 1;
-
- string description = 2;
- }
- message ReportHeader {
-
-
- DateRange date_range = 1;
-
-
- LocalizationSettings localization_settings = 2;
-
-
- string reporting_time_zone = 3;
- }
- message ReportFooter {
-
- repeated ReportWarning warnings = 1;
-
-
-
-
- int64 matching_row_count = 2;
- }
- message DateRange {
-
-
- google.type.Date start_date = 1;
-
-
- google.type.Date end_date = 2;
- }
- message LocalizationSettings {
-
-
-
- string currency_code = 1;
-
-
-
- string language_code = 2;
- }
- message StringList {
-
- repeated string values = 1;
- }
|