# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/google_ads/v0/services/keyword_plan_service.proto require 'google/protobuf' require 'google/ads/google_ads/v0/common/keyword_plan_common_pb' require 'google/ads/google_ads/v0/resources/keyword_plan_pb' require 'google/api/annotations_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_message "google.ads.googleads.v0.services.GetKeywordPlanRequest" do optional :resource_name, :string, 1 end add_message "google.ads.googleads.v0.services.MutateKeywordPlansRequest" do optional :customer_id, :string, 1 repeated :operations, :message, 2, "google.ads.googleads.v0.services.KeywordPlanOperation" optional :partial_failure, :bool, 3 optional :validate_only, :bool, 4 end add_message "google.ads.googleads.v0.services.KeywordPlanOperation" do optional :update_mask, :message, 4, "google.protobuf.FieldMask" oneof :operation do optional :create, :message, 1, "google.ads.googleads.v0.resources.KeywordPlan" optional :update, :message, 2, "google.ads.googleads.v0.resources.KeywordPlan" optional :remove, :string, 3 end end add_message "google.ads.googleads.v0.services.MutateKeywordPlansResponse" do optional :partial_failure_error, :message, 3, "google.rpc.Status" repeated :results, :message, 2, "google.ads.googleads.v0.services.MutateKeywordPlansResult" end add_message "google.ads.googleads.v0.services.MutateKeywordPlansResult" do optional :resource_name, :string, 1 end add_message "google.ads.googleads.v0.services.GenerateForecastMetricsRequest" do optional :keyword_plan, :string, 1 end add_message "google.ads.googleads.v0.services.GenerateForecastMetricsResponse" do repeated :campaign_forecasts, :message, 1, "google.ads.googleads.v0.services.KeywordPlanCampaignForecast" repeated :ad_group_forecasts, :message, 2, "google.ads.googleads.v0.services.KeywordPlanAdGroupForecast" repeated :keyword_forecasts, :message, 3, "google.ads.googleads.v0.services.KeywordPlanKeywordForecast" end add_message "google.ads.googleads.v0.services.KeywordPlanCampaignForecast" do optional :keyword_plan_campaign, :message, 1, "google.protobuf.StringValue" optional :campaign_forecast, :message, 2, "google.ads.googleads.v0.services.ForecastMetrics" end add_message "google.ads.googleads.v0.services.KeywordPlanAdGroupForecast" do optional :keyword_plan_ad_group, :message, 1, "google.protobuf.StringValue" optional :ad_group_forecast, :message, 2, "google.ads.googleads.v0.services.ForecastMetrics" end add_message "google.ads.googleads.v0.services.KeywordPlanKeywordForecast" do optional :keyword_plan_ad_group_keyword, :message, 1, "google.protobuf.StringValue" optional :keyword_forecast, :message, 2, "google.ads.googleads.v0.services.ForecastMetrics" end add_message "google.ads.googleads.v0.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.v0.services.GenerateHistoricalMetricsRequest" do optional :keyword_plan, :string, 1 end add_message "google.ads.googleads.v0.services.GenerateHistoricalMetricsResponse" do repeated :metrics, :message, 1, "google.ads.googleads.v0.services.KeywordPlanKeywordHistoricalMetrics" end add_message "google.ads.googleads.v0.services.KeywordPlanKeywordHistoricalMetrics" do optional :search_query, :message, 1, "google.protobuf.StringValue" optional :keyword_metrics, :message, 2, "google.ads.googleads.v0.common.KeywordPlanHistoricalMetrics" end end module Google::Ads::GoogleAds::V0::Services GetKeywordPlanRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.GetKeywordPlanRequest").msgclass MutateKeywordPlansRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.MutateKeywordPlansRequest").msgclass KeywordPlanOperation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.KeywordPlanOperation").msgclass MutateKeywordPlansResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.MutateKeywordPlansResponse").msgclass MutateKeywordPlansResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.MutateKeywordPlansResult").msgclass GenerateForecastMetricsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.GenerateForecastMetricsRequest").msgclass GenerateForecastMetricsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.GenerateForecastMetricsResponse").msgclass KeywordPlanCampaignForecast = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.KeywordPlanCampaignForecast").msgclass KeywordPlanAdGroupForecast = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.KeywordPlanAdGroupForecast").msgclass KeywordPlanKeywordForecast = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.KeywordPlanKeywordForecast").msgclass ForecastMetrics = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.ForecastMetrics").msgclass GenerateHistoricalMetricsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.GenerateHistoricalMetricsRequest").msgclass GenerateHistoricalMetricsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.GenerateHistoricalMetricsResponse").msgclass KeywordPlanKeywordHistoricalMetrics = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.services.KeywordPlanKeywordHistoricalMetrics").msgclass end