# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v15/services/recommendation_service.proto require 'google/protobuf' require 'google/ads/google_ads/v15/common/extensions_pb' require 'google/ads/google_ads/v15/enums/keyword_match_type_pb' require 'google/ads/google_ads/v15/resources/ad_pb' require 'google/ads/google_ads/v15/resources/asset_pb' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/rpc/status_pb' descriptor_data = "\n>google/ads/googleads/v15/services/recommendation_service.proto\x12!google.ads.googleads.v15.services\x1a\x30google/ads/googleads/v15/common/extensions.proto\x1a\x37google/ads/googleads/v15/enums/keyword_match_type.proto\x1a+google/ads/googleads/v15/resources/ad.proto\x1a.google/ads/googleads/v15/resources/asset.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"\xa9\x01\n\x1a\x41pplyRecommendationRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12X\n\noperations\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v15.services.ApplyRecommendationOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\"\xff,\n\x1c\x41pplyRecommendationOperation\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xfa\x41)\n\'googleads.googleapis.com/Recommendation\x12s\n\x0f\x63\x61mpaign_budget\x18\x02 \x01(\x0b\x32X.google.ads.googleads.v15.services.ApplyRecommendationOperation.CampaignBudgetParametersH\x00\x12\x63\n\x07text_ad\x18\x03 \x01(\x0b\x32P.google.ads.googleads.v15.services.ApplyRecommendationOperation.TextAdParametersH\x00\x12\x64\n\x07keyword\x18\x04 \x01(\x0b\x32Q.google.ads.googleads.v15.services.ApplyRecommendationOperation.KeywordParametersH\x00\x12u\n\x11target_cpa_opt_in\x18\x05 \x01(\x0b\x32X.google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetCpaOptInParametersH\x00\x12w\n\x12target_roas_opt_in\x18\n \x01(\x0b\x32Y.google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetRoasOptInParametersH\x00\x12w\n\x11\x63\x61llout_extension\x18\x06 \x01(\x0b\x32Z.google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutExtensionParametersH\x00\x12q\n\x0e\x63\x61ll_extension\x18\x07 \x01(\x0b\x32W.google.ads.googleads.v15.services.ApplyRecommendationOperation.CallExtensionParametersH\x00\x12y\n\x12sitelink_extension\x18\x08 \x01(\x0b\x32[.google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkExtensionParametersH\x00\x12x\n\x12move_unused_budget\x18\t \x01(\x0b\x32Z.google.ads.googleads.v15.services.ApplyRecommendationOperation.MoveUnusedBudgetParametersH\x00\x12|\n\x14responsive_search_ad\x18\x0b \x01(\x0b\x32\\.google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdParametersH\x00\x12\x81\x01\n\x17use_broad_match_keyword\x18\x0c \x01(\x0b\x32^.google.ads.googleads.v15.services.ApplyRecommendationOperation.UseBroadMatchKeywordParametersH\x00\x12\x87\x01\n\x1aresponsive_search_ad_asset\x18\r \x01(\x0b\x32\x61.google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdAssetParametersH\x00\x12\xa1\x01\n(responsive_search_ad_improve_ad_strength\x18\x0e \x01(\x0b\x32m.google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdImproveAdStrengthParametersH\x00\x12\x89\x01\n\x1craise_target_cpa_bid_too_low\x18\x0f \x01(\x0b\x32\x61.google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaBidTooLowParametersH\x00\x12\x89\x01\n\x1b\x66orecasting_set_target_roas\x18\x10 \x01(\x0b\x32\x62.google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetRoasParametersH\x00\x12o\n\rcallout_asset\x18\x11 \x01(\x0b\x32V.google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutAssetParametersH\x00\x12i\n\ncall_asset\x18\x12 \x01(\x0b\x32S.google.ads.googleads.v15.services.ApplyRecommendationOperation.CallAssetParametersH\x00\x12q\n\x0esitelink_asset\x18\x13 \x01(\x0b\x32W.google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkAssetParametersH\x00\x12t\n\x10raise_target_cpa\x18\x14 \x01(\x0b\x32X.google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaParametersH\x00\x12v\n\x11lower_target_roas\x18\x15 \x01(\x0b\x32Y.google.ads.googleads.v15.services.ApplyRecommendationOperation.LowerTargetRoasParametersH\x00\x12\x87\x01\n\x1a\x66orecasting_set_target_cpa\x18\x16 \x01(\x0b\x32\x61.google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetCpaParametersH\x00\x12{\n\x0eset_target_cpa\x18\x17 \x01(\x0b\x32\x61.google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetCpaParametersH\x00\x12}\n\x0fset_target_roas\x18\x18 \x01(\x0b\x32\x62.google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetRoasParametersH\x00\x1a^\n\x18\x43\x61mpaignBudgetParameters\x12%\n\x18new_budget_amount_micros\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x1b\n\x19_new_budget_amount_micros\x1a\x9c\x01\n\"ForecastingSetTargetRoasParameters\x12\x18\n\x0btarget_roas\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12*\n\x1d\x63\x61mpaign_budget_amount_micros\x18\x02 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_target_roasB \n\x1e_campaign_budget_amount_micros\x1a\x46\n\x10TextAdParameters\x12\x32\n\x02\x61\x64\x18\x01 \x01(\x0b\x32&.google.ads.googleads.v15.resources.Ad\x1a\xc2\x01\n\x11KeywordParameters\x12\x15\n\x08\x61\x64_group\x18\x04 \x01(\tH\x00\x88\x01\x01\x12Y\n\nmatch_type\x18\x02 \x01(\x0e\x32\x45.google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType\x12\x1b\n\x0e\x63pc_bid_micros\x18\x05 \x01(\x03H\x01\x88\x01\x01\x42\x0b\n\t_ad_groupB\x11\n\x0f_cpc_bid_micros\x1a\xa6\x01\n\x18TargetCpaOptInParameters\x12\x1e\n\x11target_cpa_micros\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12.\n!new_campaign_budget_amount_micros\x18\x04 \x01(\x03H\x01\x88\x01\x01\x42\x14\n\x12_target_cpa_microsB$\n\"_new_campaign_budget_amount_micros\x1a\x9b\x01\n\x19TargetRoasOptInParameters\x12\x18\n\x0btarget_roas\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12.\n!new_campaign_budget_amount_micros\x18\x02 \x01(\x03H\x01\x88\x01\x01\x42\x0e\n\x0c_target_roasB$\n\"_new_campaign_budget_amount_micros\x1aj\n\x1a\x43\x61lloutExtensionParameters\x12L\n\x12\x63\x61llout_extensions\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v15.common.CalloutFeedItem\x1a\x61\n\x17\x43\x61llExtensionParameters\x12\x46\n\x0f\x63\x61ll_extensions\x18\x01 \x03(\x0b\x32-.google.ads.googleads.v15.common.CallFeedItem\x1am\n\x1bSitelinkExtensionParameters\x12N\n\x13sitelink_extensions\x18\x01 \x03(\x0b\x32\x31.google.ads.googleads.v15.common.SitelinkFeedItem\x1a\x98\x01\n\x16\x43\x61lloutAssetParameters\x12~\n\x19\x61\x64_asset_apply_parameters\x18\x01 \x01(\x0b\x32V.google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParametersB\x03\xe0\x41\x02\x1a\x95\x01\n\x13\x43\x61llAssetParameters\x12~\n\x19\x61\x64_asset_apply_parameters\x18\x01 \x01(\x0b\x32V.google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParametersB\x03\xe0\x41\x02\x1a\x99\x01\n\x17SitelinkAssetParameters\x12~\n\x19\x61\x64_asset_apply_parameters\x18\x01 \x01(\x0b\x32V.google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParametersB\x03\xe0\x41\x02\x1a>\n\x18RaiseTargetCpaParameters\x12\"\n\x15target_cpa_multiplier\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x1a@\n\x19LowerTargetRoasParameters\x12#\n\x16target_roas_multiplier\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x1a\xaf\x02\n\x16\x41\x64\x41ssetApplyParameters\x12=\n\nnew_assets\x18\x01 \x03(\x0b\x32).google.ads.googleads.v15.resources.Asset\x12\x17\n\x0f\x65xisting_assets\x18\x02 \x03(\t\x12u\n\x05scope\x18\x03 \x01(\x0e\x32\x61.google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScopeB\x03\xe0\x41\x02\"F\n\nApplyScope\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x43USTOMER\x10\x02\x12\x0c\n\x08\x43\x41MPAIGN\x10\x03\x1aZ\n\x1aMoveUnusedBudgetParameters\x12\"\n\x15\x62udget_micros_to_move\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x18\n\x16_budget_micros_to_move\x1a_\n!ResponsiveSearchAdAssetParameters\x12:\n\nupdated_ad\x18\x01 \x01(\x0b\x32&.google.ads.googleads.v15.resources.Ad\x1ak\n-ResponsiveSearchAdImproveAdStrengthParameters\x12:\n\nupdated_ad\x18\x01 \x01(\x0b\x32&.google.ads.googleads.v15.resources.Ad\x1aW\n\x1cResponsiveSearchAdParameters\x12\x37\n\x02\x61\x64\x18\x01 \x01(\x0b\x32&.google.ads.googleads.v15.resources.AdB\x03\xe0\x41\x02\x1a\x43\n!RaiseTargetCpaBidTooLowParameters\x12\x1e\n\x11target_multiplier\x18\x01 \x01(\x01\x42\x03\xe0\x41\x02\x1a\x64\n\x1eUseBroadMatchKeywordParameters\x12%\n\x18new_budget_amount_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x42\x1b\n\x19_new_budget_amount_micros\x1a\xa7\x01\n!ForecastingSetTargetCpaParameters\x12\x1e\n\x11target_cpa_micros\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12*\n\x1d\x63\x61mpaign_budget_amount_micros\x18\x02 \x01(\x03H\x01\x88\x01\x01\x42\x14\n\x12_target_cpa_microsB \n\x1e_campaign_budget_amount_microsB\x12\n\x10\x61pply_parameters\"\x9f\x01\n\x1b\x41pplyRecommendationResponse\x12M\n\x07results\x18\x01 \x03(\x0b\x32<.google.ads.googleads.v15.services.ApplyRecommendationResult\x12\x31\n\x15partial_failure_error\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"`\n\x19\x41pplyRecommendationResult\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xfa\x41)\n\'googleads.googleapis.com/Recommendation\"\x83\x02\n\x1c\x44ismissRecommendationRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12w\n\noperations\x18\x03 \x03(\x0b\x32^.google.ads.googleads.v15.services.DismissRecommendationRequest.DismissRecommendationOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x02 \x01(\x08\x1a\x37\n\x1e\x44ismissRecommendationOperation\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xf7\x01\n\x1d\x44ismissRecommendationResponse\x12m\n\x07results\x18\x01 \x03(\x0b\x32\\.google.ads.googleads.v15.services.DismissRecommendationResponse.DismissRecommendationResult\x12\x31\n\x15partial_failure_error\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x1a\x34\n\x1b\x44ismissRecommendationResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc8\x04\n\x15RecommendationService\x12\xee\x01\n\x13\x41pplyRecommendation\x12=.google.ads.googleads.v15.services.ApplyRecommendationRequest\x1a>.google.ads.googleads.v15.services.ApplyRecommendationResponse\"X\x82\xd3\xe4\x93\x02\x39\"4/v15/customers/{customer_id=*}/recommendations:apply:\x01*\xda\x41\x16\x63ustomer_id,operations\x12\xf6\x01\n\x15\x44ismissRecommendation\x12?.google.ads.googleads.v15.services.DismissRecommendationRequest\x1a@.google.ads.googleads.v15.services.DismissRecommendationResponse\"Z\x82\xd3\xe4\x93\x02;\"6/v15/customers/{customer_id=*}/recommendations:dismiss:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x45\xca\x41\x18googleads.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/adwordsB\x86\x02\n%com.google.ads.googleads.v15.servicesB\x1aRecommendationServiceProtoP\x01ZIgoogle.golang.org/genproto/googleapis/ads/googleads/v15/services;services\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V15.Services\xca\x02!Google\\Ads\\GoogleAds\\V15\\Services\xea\x02%Google::Ads::GoogleAds::V15::Servicesb\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # 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.v15.resources.Ad", "google/ads/googleads/v15/resources/ad.proto"], ["google.ads.googleads.v15.common.CalloutFeedItem", "google/ads/googleads/v15/common/extensions.proto"], ["google.ads.googleads.v15.resources.Asset", "google/ads/googleads/v15/resources/asset.proto"], ["google.rpc.Status", "google/rpc/status.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 V15 module Services ApplyRecommendationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationRequest").msgclass ApplyRecommendationOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation").msgclass ApplyRecommendationOperation::CampaignBudgetParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.CampaignBudgetParameters").msgclass ApplyRecommendationOperation::ForecastingSetTargetRoasParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetRoasParameters").msgclass ApplyRecommendationOperation::TextAdParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.TextAdParameters").msgclass ApplyRecommendationOperation::KeywordParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.KeywordParameters").msgclass ApplyRecommendationOperation::TargetCpaOptInParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetCpaOptInParameters").msgclass ApplyRecommendationOperation::TargetRoasOptInParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetRoasOptInParameters").msgclass ApplyRecommendationOperation::CalloutExtensionParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutExtensionParameters").msgclass ApplyRecommendationOperation::CallExtensionParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.CallExtensionParameters").msgclass ApplyRecommendationOperation::SitelinkExtensionParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkExtensionParameters").msgclass ApplyRecommendationOperation::CalloutAssetParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutAssetParameters").msgclass ApplyRecommendationOperation::CallAssetParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.CallAssetParameters").msgclass ApplyRecommendationOperation::SitelinkAssetParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkAssetParameters").msgclass ApplyRecommendationOperation::RaiseTargetCpaParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaParameters").msgclass ApplyRecommendationOperation::LowerTargetRoasParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.LowerTargetRoasParameters").msgclass ApplyRecommendationOperation::AdAssetApplyParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters").msgclass ApplyRecommendationOperation::AdAssetApplyParameters::ApplyScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScope").enummodule ApplyRecommendationOperation::MoveUnusedBudgetParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters").msgclass ApplyRecommendationOperation::ResponsiveSearchAdAssetParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdAssetParameters").msgclass ApplyRecommendationOperation::ResponsiveSearchAdImproveAdStrengthParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdImproveAdStrengthParameters").msgclass ApplyRecommendationOperation::ResponsiveSearchAdParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdParameters").msgclass ApplyRecommendationOperation::RaiseTargetCpaBidTooLowParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaBidTooLowParameters").msgclass ApplyRecommendationOperation::UseBroadMatchKeywordParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.UseBroadMatchKeywordParameters").msgclass ApplyRecommendationOperation::ForecastingSetTargetCpaParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetCpaParameters").msgclass ApplyRecommendationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationResponse").msgclass ApplyRecommendationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.ApplyRecommendationResult").msgclass DismissRecommendationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.DismissRecommendationRequest").msgclass DismissRecommendationRequest::DismissRecommendationOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.DismissRecommendationRequest.DismissRecommendationOperation").msgclass DismissRecommendationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.DismissRecommendationResponse").msgclass DismissRecommendationResponse::DismissRecommendationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v15.services.DismissRecommendationResponse.DismissRecommendationResult").msgclass end end end end end