# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v3/services/keyword_plan_service.proto require 'google/protobuf' require 'google/ads/google_ads/v3/common/keyword_plan_common_pb' require 'google/ads/google_ads/v3/resources/keyword_plan_pb' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/wrappers_pb' require 'google/rpc/status_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/ads/googleads/v3/services/keyword_plan_service.proto", :syntax => :proto3) do add_message "google.ads.googleads.v3.services.GetKeywordPlanRequest" do optional :resource_name, :string, 1 end add_message "google.ads.googleads.v3.services.MutateKeywordPlansRequest" do optional :customer_id, :string, 1 repeated :operations, :message, 2, "google.ads.googleads.v3.services.KeywordPlanOperation" optional :partial_failure, :bool, 3 optional :validate_only, :bool, 4 end add_message "google.ads.googleads.v3.services.KeywordPlanOperation" do optional :update_mask, :message, 4, "google.protobuf.FieldMask" oneof :operation do optional :create, :message, 1, "google.ads.googleads.v3.resources.KeywordPlan" optional :update, :message, 2, "google.ads.googleads.v3.resources.KeywordPlan" optional :remove, :string, 3 end end add_message "google.ads.googleads.v3.services.MutateKeywordPlansResponse" do optional :partial_failure_error, :message, 3, "google.rpc.Status" repeated :results, :message, 2, "google.ads.googleads.v3.services.MutateKeywordPlansResult" end add_message "google.ads.googleads.v3.services.MutateKeywordPlansResult" do optional :resource_name, :string, 1 end add_message "google.ads.googleads.v3.services.GenerateForecastMetricsRequest" do optional :keyword_plan, :string, 1 end add_message "google.ads.googleads.v3.services.GenerateForecastMetricsResponse" do repeated :campaign_forecasts, :message, 1, "google.ads.googleads.v3.services.KeywordPlanCampaignForecast" repeated :ad_group_forecasts, :message, 2, "google.ads.googleads.v3.services.KeywordPlanAdGroupForecast" repeated :keyword_forecasts, :message, 3, "google.ads.googleads.v3.services.KeywordPlanKeywordForecast" end add_message "google.ads.googleads.v3.services.KeywordPlanCampaignForecast" do optional :keyword_plan_campaign, :message, 1, "google.protobuf.StringValue" optional :campaign_forecast, :message, 2, "google.ads.googleads.v3.services.ForecastMetrics" end add_message "google.ads.googleads.v3.services.KeywordPlanAdGroupForecast" do optional :keyword_plan_ad_group, :message, 1, "google.protobuf.StringValue" optional :ad_group_forecast, :message, 2, "google.ads.googleads.v3.services.ForecastMetrics" end add_message "google.ads.googleads.v3.services.KeywordPlanKeywordForecast" do optional :keyword_plan_ad_group_keyword, :message, 1, "google.protobuf.StringValue" optional :keyword_forecast, :message, 2, "google.ads.googleads.v3.services.ForecastMetrics" end add_message "google.ads.googleads.v3.services.ForecastMetrics" do optional :impressions, :message, 1, "google.protobuf.DoubleValue" optional :ctr, :message, 2, "google.protobuf.DoubleValue" optional :average_cpc, :message, 3, "google.protobuf.Int64Value" optional :clicks, :message, 5, "google.protobuf.DoubleValue" optional :cost_micros, :message, 6, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v3.services.GenerateHistoricalMetricsRequest" do optional :keyword_plan, :string, 1 end add_message "google.ads.googleads.v3.services.GenerateHistoricalMetricsResponse" do repeated :metrics, :message, 1, "google.ads.googleads.v3.services.KeywordPlanKeywordHistoricalMetrics" end add_message "google.ads.googleads.v3.services.KeywordPlanKeywordHistoricalMetrics" do optional :search_query, :message, 1, "google.protobuf.StringValue" optional :keyword_metrics, :message, 2, "google.ads.googleads.v3.common.KeywordPlanHistoricalMetrics" end end end module Google module Ads module GoogleAds module V3 module Services GetKeywordPlanRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.GetKeywordPlanRequest").msgclass MutateKeywordPlansRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.MutateKeywordPlansRequest").msgclass KeywordPlanOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.KeywordPlanOperation").msgclass MutateKeywordPlansResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.MutateKeywordPlansResponse").msgclass MutateKeywordPlansResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.MutateKeywordPlansResult").msgclass GenerateForecastMetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.GenerateForecastMetricsRequest").msgclass GenerateForecastMetricsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.GenerateForecastMetricsResponse").msgclass KeywordPlanCampaignForecast = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.KeywordPlanCampaignForecast").msgclass KeywordPlanAdGroupForecast = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.KeywordPlanAdGroupForecast").msgclass KeywordPlanKeywordForecast = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.KeywordPlanKeywordForecast").msgclass ForecastMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.ForecastMetrics").msgclass GenerateHistoricalMetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.GenerateHistoricalMetricsRequest").msgclass GenerateHistoricalMetricsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.GenerateHistoricalMetricsResponse").msgclass KeywordPlanKeywordHistoricalMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.KeywordPlanKeywordHistoricalMetrics").msgclass end end end end end