# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v16/common/keyword_plan_common.proto require 'google/protobuf' require 'google/ads/google_ads/v16/common/dates_pb' require 'google/ads/google_ads/v16/enums/device_pb' require 'google/ads/google_ads/v16/enums/keyword_plan_aggregate_metric_type_pb' require 'google/ads/google_ads/v16/enums/keyword_plan_competition_level_pb' require 'google/ads/google_ads/v16/enums/keyword_plan_concept_group_type_pb' require 'google/ads/google_ads/v16/enums/month_of_year_pb' descriptor_data = "\n9google/ads/googleads/v16/common/keyword_plan_common.proto\x12\x1fgoogle.ads.googleads.v16.common\x1a+google/ads/googleads/v16/common/dates.proto\x1a+google/ads/googleads/v16/enums/device.proto\x1aGgoogle/ads/googleads/v16/enums/keyword_plan_aggregate_metric_type.proto\x1a\x43google/ads/googleads/v16/enums/keyword_plan_competition_level.proto\x1a\x44google/ads/googleads/v16/enums/keyword_plan_concept_group_type.proto\x1a\x32google/ads/googleads/v16/enums/month_of_year.proto\"\xa2\x04\n\x1cKeywordPlanHistoricalMetrics\x12!\n\x14\x61vg_monthly_searches\x18\x07 \x01(\x03H\x00\x88\x01\x01\x12T\n\x16monthly_search_volumes\x18\x06 \x03(\x0b\x32\x34.google.ads.googleads.v16.common.MonthlySearchVolume\x12p\n\x0b\x63ompetition\x18\x02 \x01(\x0e\x32[.google.ads.googleads.v16.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel\x12\x1e\n\x11\x63ompetition_index\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12\'\n\x1alow_top_of_page_bid_micros\x18\t \x01(\x03H\x02\x88\x01\x01\x12(\n\x1bhigh_top_of_page_bid_micros\x18\n \x01(\x03H\x03\x88\x01\x01\x12\x1f\n\x12\x61verage_cpc_micros\x18\x0b \x01(\x03H\x04\x88\x01\x01\x42\x17\n\x15_avg_monthly_searchesB\x14\n\x12_competition_indexB\x1d\n\x1b_low_top_of_page_bid_microsB\x1e\n\x1c_high_top_of_page_bid_microsB\x15\n\x13_average_cpc_micros\"\x9c\x01\n\x18HistoricalMetricsOptions\x12N\n\x10year_month_range\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v16.common.YearMonthRangeH\x00\x88\x01\x01\x12\x1b\n\x13include_average_cpc\x18\x02 \x01(\x08\x42\x13\n\x11_year_month_range\"\xb1\x01\n\x13MonthlySearchVolume\x12\x11\n\x04year\x18\x04 \x01(\x03H\x00\x88\x01\x01\x12J\n\x05month\x18\x02 \x01(\x0e\x32;.google.ads.googleads.v16.enums.MonthOfYearEnum.MonthOfYear\x12\x1d\n\x10monthly_searches\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x07\n\x05_yearB\x13\n\x11_monthly_searches\"\xa1\x01\n\x1bKeywordPlanAggregateMetrics\x12\x81\x01\n\x16\x61ggregate_metric_types\x18\x01 \x03(\x0e\x32\x61.google.ads.googleads.v16.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType\"x\n!KeywordPlanAggregateMetricResults\x12S\n\x0f\x64\x65vice_searches\x18\x01 \x03(\x0b\x32:.google.ads.googleads.v16.common.KeywordPlanDeviceSearches\"\x8a\x01\n\x19KeywordPlanDeviceSearches\x12\x41\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x31.google.ads.googleads.v16.enums.DeviceEnum.Device\x12\x19\n\x0csearch_count\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x0f\n\r_search_count\"W\n\x12KeywordAnnotations\x12\x41\n\x08\x63oncepts\x18\x01 \x03(\x0b\x32/.google.ads.googleads.v16.common.KeywordConcept\"d\n\x0eKeywordConcept\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\rconcept_group\x18\x02 \x01(\x0b\x32-.google.ads.googleads.v16.common.ConceptGroup\"\x87\x01\n\x0c\x43onceptGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12i\n\x04type\x18\x02 \x01(\x0e\x32[.google.ads.googleads.v16.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupTypeB\xf6\x01\n#com.google.ads.googleads.v16.commonB\x16KeywordPlanCommonProtoP\x01ZEgoogle.golang.org/genproto/googleapis/ads/googleads/v16/common;common\xa2\x02\x03GAA\xaa\x02\x1fGoogle.Ads.GoogleAds.V16.Common\xca\x02\x1fGoogle\\Ads\\GoogleAds\\V16\\Common\xea\x02#Google::Ads::GoogleAds::V16::Commonb\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.v16.common.YearMonthRange", "google/ads/googleads/v16/common/dates.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 V16 module Common KeywordPlanHistoricalMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.KeywordPlanHistoricalMetrics").msgclass HistoricalMetricsOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.HistoricalMetricsOptions").msgclass MonthlySearchVolume = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.MonthlySearchVolume").msgclass KeywordPlanAggregateMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.KeywordPlanAggregateMetrics").msgclass KeywordPlanAggregateMetricResults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.KeywordPlanAggregateMetricResults").msgclass KeywordPlanDeviceSearches = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.KeywordPlanDeviceSearches").msgclass KeywordAnnotations = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.KeywordAnnotations").msgclass KeywordConcept = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.KeywordConcept").msgclass ConceptGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v16.common.ConceptGroup").msgclass end end end end end