module Google module Ads module GoogleAds module Factories module V1 class Services def initialize( service_path:, logging_interceptor:, credentials:, metadata:, exception_transformer: ) @service_path = service_path @logging_interceptor = logging_interceptor @credentials = credentials @metadata = metadata @exception_transformer = exception_transformer end def have_service_path? !@service_path.nil? && !@service_path.empty? end def have_logging_interceptor? @logging_interceptor != nil end def custom_interest require "google/ads/google_ads/v1/services/custom_interest_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomInterestServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def change_status require "google/ads/google_ads/v1/services/change_status_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ChangeStatusServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def remarketing_action require "google/ads/google_ads/v1/services/remarketing_action_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::RemarketingActionServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def keyword_plan_campaign require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def google_ads require "google/ads/google_ads/v1/services/google_ads_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::GoogleAdsServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def dynamic_search_ads_search_term_view require "google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::DynamicSearchAdsSearchTermViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def operating_system_version_constant require "google/ads/google_ads/v1/services/operating_system_version_constant_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::OperatingSystemVersionConstantServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def detail_placement_view require "google/ads/google_ads/v1/services/detail_placement_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::DetailPlacementViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def payments_account require "google/ads/google_ads/v1/services/payments_account_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::PaymentsAccountServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def extension_feed_item require "google/ads/google_ads/v1/services/extension_feed_item_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def feed require "google/ads/google_ads/v1/services/feed_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def conversion_upload require "google/ads/google_ads/v1/services/conversion_upload_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ConversionUploadServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_simulation require "google/ads/google_ads/v1/services/ad_group_simulation_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupSimulationServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def feed_mapping require "google/ads/google_ads/v1/services/feed_mapping_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedMappingServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def keyword_plan require "google/ads/google_ads/v1/services/keyword_plan_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_extension_setting require "google/ads/google_ads/v1/services/campaign_extension_setting_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign require "google/ads/google_ads/v1/services/campaign_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def feed_item require "google/ads/google_ads/v1/services/feed_item_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedItemServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def shared_set require "google/ads/google_ads/v1/services/shared_set_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::SharedSetServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def gender_view require "google/ads/google_ads/v1/services/gender_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::GenderViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_criterion_label require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_audience_view require "google/ads/google_ads/v1/services/ad_group_audience_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupAudienceViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def merchant_center_link require "google/ads/google_ads/v1/services/merchant_center_link_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_feed require "google/ads/google_ads/v1/services/ad_group_feed_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupFeedServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def customer_client require "google/ads/google_ads/v1/services/customer_client_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerClientServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def mobile_device_constant require "google/ads/google_ads/v1/services/mobile_device_constant_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::MobileDeviceConstantServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def carrier_constant require "google/ads/google_ads/v1/services/carrier_constant_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CarrierConstantServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_criterion_simulation require "google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupCriterionSimulationServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def bidding_strategy require "google/ads/google_ads/v1/services/bidding_strategy_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::BiddingStrategyServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def search_term_view require "google/ads/google_ads/v1/services/search_term_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::SearchTermViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def asset require "google/ads/google_ads/v1/services/asset_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AssetServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def mobile_app_category_constant require "google/ads/google_ads/v1/services/mobile_app_category_constant_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::MobileAppCategoryConstantServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_ad require "google/ads/google_ads/v1/services/ad_group_ad_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupAdServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def hotel_performance_view require "google/ads/google_ads/v1/services/hotel_performance_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::HotelPerformanceViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def customer_label require "google/ads/google_ads/v1/services/customer_label_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerLabelServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def keyword_plan_keyword require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def mutate_job require "google/ads/google_ads/v1/services/mutate_job_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::MutateJobServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def operations_client require "google/ads/google_ads/v1/services/mutate_job_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::MutateJobServiceClient::OperationsClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_criterion require "google/ads/google_ads/v1/services/ad_group_criterion_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupCriterionServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def click_view require "google/ads/google_ads/v1/services/click_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ClickViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def google_ads_field require "google/ads/google_ads/v1/services/google_ads_field_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::GoogleAdsFieldServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_bid_modifier require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_label require "google/ads/google_ads/v1/services/campaign_label_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignLabelServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def billing_setup require "google/ads/google_ads/v1/services/billing_setup_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::BillingSetupServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def media_file require "google/ads/google_ads/v1/services/media_file_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::MediaFileServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def label require "google/ads/google_ads/v1/services/label_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::LabelServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def parental_status_view require "google/ads/google_ads/v1/services/parental_status_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ParentalStatusViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def geo_target_constant require "google/ads/google_ads/v1/services/geo_target_constant_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::GeoTargetConstantServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def user_list require "google/ads/google_ads/v1/services/user_list_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::UserListServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def shared_criterion require "google/ads/google_ads/v1/services/shared_criterion_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::SharedCriterionServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def topic_constant require "google/ads/google_ads/v1/services/topic_constant_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::TopicConstantServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def managed_placement_view require "google/ads/google_ads/v1/services/managed_placement_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ManagedPlacementViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_budget require "google/ads/google_ads/v1/services/campaign_budget_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignBudgetServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def customer require "google/ads/google_ads/v1/services/customer_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def keyword_plan_ad_group require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_feed require "google/ads/google_ads/v1/services/campaign_feed_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignFeedServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group require "google/ads/google_ads/v1/services/ad_group_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_audience_view require "google/ads/google_ads/v1/services/campaign_audience_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignAudienceViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def keyword_view require "google/ads/google_ads/v1/services/keyword_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def product_bidding_category_constant require "google/ads/google_ads/v1/services/product_bidding_category_constant_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ProductBiddingCategoryConstantServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def conversion_action require "google/ads/google_ads/v1/services/conversion_action_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ConversionActionServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def video require "google/ads/google_ads/v1/services/video_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::VideoServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def product_group_view require "google/ads/google_ads/v1/services/product_group_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ProductGroupViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def age_range_view require "google/ads/google_ads/v1/services/age_range_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AgeRangeViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_extension_setting require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def shopping_performance_view require "google/ads/google_ads/v1/services/shopping_performance_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ShoppingPerformanceViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def feed_item_target require "google/ads/google_ads/v1/services/feed_item_target_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedItemTargetServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_criterion_simulation require "google/ads/google_ads/v1/services/campaign_criterion_simulation_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignCriterionSimulationServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def paid_organic_search_term_view require "google/ads/google_ads/v1/services/paid_organic_search_term_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::PaidOrganicSearchTermViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_criterion require "google/ads/google_ads/v1/services/campaign_criterion_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignCriterionServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def conversion_adjustment_upload require "google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ConversionAdjustmentUploadServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def domain_category require "google/ads/google_ads/v1/services/domain_category_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::DomainCategoryServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def customer_extension_setting require "google/ads/google_ads/v1/services/customer_extension_setting_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_ad_label require "google/ads/google_ads/v1/services/ad_group_ad_label_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_shared_set require "google/ads/google_ads/v1/services/campaign_shared_set_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignSharedSetServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def account_budget_proposal require "google/ads/google_ads/v1/services/account_budget_proposal_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def display_keyword_view require "google/ads/google_ads/v1/services/display_keyword_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::DisplayKeywordViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def hotel_group_view require "google/ads/google_ads/v1/services/hotel_group_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::HotelGroupViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_schedule_view require "google/ads/google_ads/v1/services/ad_schedule_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdScheduleViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def keyword_plan_idea require "google/ads/google_ads/v1/services/keyword_plan_idea_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanIdeaServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def feed_placeholder_view require "google/ads/google_ads/v1/services/feed_placeholder_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::FeedPlaceholderViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def group_placement_view require "google/ads/google_ads/v1/services/group_placement_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::GroupPlacementViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def user_interest require "google/ads/google_ads/v1/services/user_interest_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::UserInterestServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def location_view require "google/ads/google_ads/v1/services/location_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::LocationViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def expanded_landing_page_view require "google/ads/google_ads/v1/services/expanded_landing_page_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::ExpandedLandingPageViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def customer_feed require "google/ads/google_ads/v1/services/customer_feed_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerFeedServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_parameter require "google/ads/google_ads/v1/services/ad_parameter_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdParameterServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def geographic_view require "google/ads/google_ads/v1/services/geographic_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::GeographicViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def landing_page_view require "google/ads/google_ads/v1/services/landing_page_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::LandingPageViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def customer_client_link require "google/ads/google_ads/v1/services/customer_client_link_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerClientLinkServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def recommendation require "google/ads/google_ads/v1/services/recommendation_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::RecommendationServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def topic_view require "google/ads/google_ads/v1/services/topic_view_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::TopicViewServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def customer_negative_criterion require "google/ads/google_ads/v1/services/customer_negative_criterion_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def language_constant require "google/ads/google_ads/v1/services/language_constant_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::LanguageConstantServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def account_budget require "google/ads/google_ads/v1/services/account_budget_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AccountBudgetServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def ad_group_label require "google/ads/google_ads/v1/services/ad_group_label_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::AdGroupLabelServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def keyword_plan_negative_keyword require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def campaign_bid_modifier require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CampaignBidModifierServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end def customer_manager_link require "google/ads/google_ads/v1/services/customer_manager_link_service_client.rb" cls = Class.new(Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkServiceClient) if have_service_path? cls.const_set("SERVICE_PATH", @service_path) end if have_logging_interceptor? cls.const_set("GRPC_INTERCEPTORS", [@logging_interceptor]) end cls.new( credentials: @credentials, metadata: @metadata, exception_transformer: @exception_transformer, ) end end end end end end end