# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v21/services/geo_target_constant_service.proto

require 'google/protobuf'

require 'google/ads/google_ads/v21/resources/geo_target_constant_pb'
require 'google/api/annotations_pb'
require 'google/api/client_pb'


descriptor_data = "\nCgoogle/ads/googleads/v21/services/geo_target_constant_service.proto\x12!google.ads.googleads.v21.services\x1a<google/ads/googleads/v21/resources/geo_target_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\"\x97\x03\n SuggestGeoTargetConstantsRequest\x12\x13\n\x06locale\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0c\x63ountry_code\x18\x07 \x01(\tH\x02\x88\x01\x01\x12k\n\x0elocation_names\x18\x01 \x01(\x0b\x32Q.google.ads.googleads.v21.services.SuggestGeoTargetConstantsRequest.LocationNamesH\x00\x12\x65\n\x0bgeo_targets\x18\x02 \x01(\x0b\x32N.google.ads.googleads.v21.services.SuggestGeoTargetConstantsRequest.GeoTargetsH\x00\x1a\x1e\n\rLocationNames\x12\r\n\x05names\x18\x02 \x03(\t\x1a*\n\nGeoTargets\x12\x1c\n\x14geo_target_constants\x18\x02 \x03(\tB\x07\n\x05queryB\t\n\x07_localeB\x0f\n\r_country_code\"\x8c\x01\n!SuggestGeoTargetConstantsResponse\x12g\n\x1fgeo_target_constant_suggestions\x18\x01 \x03(\x0b\x32>.google.ads.googleads.v21.services.GeoTargetConstantSuggestion\"\xb5\x02\n\x1bGeoTargetConstantSuggestion\x12\x13\n\x06locale\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05reach\x18\x07 \x01(\x03H\x01\x88\x01\x01\x12\x18\n\x0bsearch_term\x18\x08 \x01(\tH\x02\x88\x01\x01\x12R\n\x13geo_target_constant\x18\x04 \x01(\x0b\x32\x35.google.ads.googleads.v21.resources.GeoTargetConstant\x12Z\n\x1bgeo_target_constant_parents\x18\x05 \x03(\x0b\x32\x35.google.ads.googleads.v21.resources.GeoTargetConstantB\t\n\x07_localeB\x08\n\x06_reachB\x0e\n\x0c_search_term2\xb6\x02\n\x18GeoTargetConstantService\x12\xd2\x01\n\x19SuggestGeoTargetConstants\x12\x43.google.ads.googleads.v21.services.SuggestGeoTargetConstantsRequest\x1a\x44.google.ads.googleads.v21.services.SuggestGeoTargetConstantsResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/v21/geoTargetConstants:suggest:\x01*\x1a\x45\xca\x41\x18googleads.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/adwordsB\x89\x02\n%com.google.ads.googleads.v21.servicesB\x1dGeoTargetConstantServiceProtoP\x01ZIgoogle.golang.org/genproto/googleapis/ads/googleads/v21/services;services\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V21.Services\xca\x02!Google\\Ads\\GoogleAds\\V21\\Services\xea\x02%Google::Ads::GoogleAds::V21::Servicesb\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.ads.googleads.v21.resources.GeoTargetConstant", "google/ads/googleads/v21/resources/geo_target_constant.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Ads
    module GoogleAds
      module V21
        module Services
          SuggestGeoTargetConstantsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.SuggestGeoTargetConstantsRequest").msgclass
          SuggestGeoTargetConstantsRequest::LocationNames = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.SuggestGeoTargetConstantsRequest.LocationNames").msgclass
          SuggestGeoTargetConstantsRequest::GeoTargets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.SuggestGeoTargetConstantsRequest.GeoTargets").msgclass
          SuggestGeoTargetConstantsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.SuggestGeoTargetConstantsResponse").msgclass
          GeoTargetConstantSuggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v21.services.GeoTargetConstantSuggestion").msgclass
        end
      end
    end
  end
end
