123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- syntax = "proto3";
- package google.ads.googleads.v10.services;
- import "google/ads/googleads/v10/resources/geo_target_constant.proto";
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- option csharp_namespace = "Google.Ads.GoogleAds.V10.Services";
- option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v10/services;services";
- option java_multiple_files = true;
- option java_outer_classname = "GeoTargetConstantServiceProto";
- option java_package = "com.google.ads.googleads.v10.services";
- option objc_class_prefix = "GAA";
- option php_namespace = "Google\\Ads\\GoogleAds\\V10\\Services";
- option ruby_package = "Google::Ads::GoogleAds::V10::Services";
- service GeoTargetConstantService {
- option (google.api.default_host) = "googleads.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords";
-
-
-
-
-
-
-
-
-
-
- rpc SuggestGeoTargetConstants(SuggestGeoTargetConstantsRequest) returns (SuggestGeoTargetConstantsResponse) {
- option (google.api.http) = {
- post: "/v10/geoTargetConstants:suggest"
- body: "*"
- };
- }
- }
- message SuggestGeoTargetConstantsRequest {
-
- message LocationNames {
-
- repeated string names = 2;
- }
-
- message GeoTargets {
-
- repeated string geo_target_constants = 2;
- }
-
-
-
- optional string locale = 6;
-
- optional string country_code = 7;
-
- oneof query {
-
- LocationNames location_names = 1;
-
- GeoTargets geo_targets = 2;
- }
- }
- message SuggestGeoTargetConstantsResponse {
-
- repeated GeoTargetConstantSuggestion geo_target_constant_suggestions = 1;
- }
- message GeoTargetConstantSuggestion {
-
-
-
-
- optional string locale = 6;
-
-
- optional int64 reach = 7;
-
-
- optional string search_term = 8;
-
- google.ads.googleads.v10.resources.GeoTargetConstant geo_target_constant = 4;
-
- repeated google.ads.googleads.v10.resources.GeoTargetConstant geo_target_constant_parents = 5;
- }
|