module Google module Ads module GoogleAds module Factories module V17 module Resources # Returns a new instance of accessible_bidding_strategy, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy] the created resource def self.accessible_bidding_strategy require "google/ads/google_ads/v17/resources/accessible_bidding_strategy_pb" res = Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy.new yield res if block_given? res end # Returns a new instance of accessible_bidding_strategy_maximize_conversion_value, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::MaximizeConversionValue] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::MaximizeConversionValue] the created resource def self.accessible_bidding_strategy_maximize_conversion_value require "google/ads/google_ads/v17/resources/accessible_bidding_strategy_pb" res = Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::MaximizeConversionValue.new yield res if block_given? res end # Returns a new instance of accessible_bidding_strategy_maximize_conversions, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::MaximizeConversions] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::MaximizeConversions] the created resource def self.accessible_bidding_strategy_maximize_conversions require "google/ads/google_ads/v17/resources/accessible_bidding_strategy_pb" res = Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::MaximizeConversions.new yield res if block_given? res end # Returns a new instance of accessible_bidding_strategy_target_cpa, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetCpa] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetCpa] the created resource def self.accessible_bidding_strategy_target_cpa require "google/ads/google_ads/v17/resources/accessible_bidding_strategy_pb" res = Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetCpa.new yield res if block_given? res end # Returns a new instance of accessible_bidding_strategy_target_impression_share, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetImpressionShare] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetImpressionShare] the created resource def self.accessible_bidding_strategy_target_impression_share require "google/ads/google_ads/v17/resources/accessible_bidding_strategy_pb" res = Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetImpressionShare.new yield res if block_given? res end # Returns a new instance of accessible_bidding_strategy_target_roas, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetRoas] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetRoas] the created resource def self.accessible_bidding_strategy_target_roas require "google/ads/google_ads/v17/resources/accessible_bidding_strategy_pb" res = Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetRoas.new yield res if block_given? res end # Returns a new instance of accessible_bidding_strategy_target_spend, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetSpend] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetSpend] the created resource def self.accessible_bidding_strategy_target_spend require "google/ads/google_ads/v17/resources/accessible_bidding_strategy_pb" res = Google::Ads::GoogleAds::V17::Resources::AccessibleBiddingStrategy::TargetSpend.new yield res if block_given? res end # Returns a new instance of account_budget, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccountBudget] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccountBudget] the created resource def self.account_budget require "google/ads/google_ads/v17/resources/account_budget_pb" res = Google::Ads::GoogleAds::V17::Resources::AccountBudget.new yield res if block_given? res end # Returns a new instance of pending_account_budget_proposal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccountBudget::PendingAccountBudgetProposal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccountBudget::PendingAccountBudgetProposal] the created resource def self.pending_account_budget_proposal require "google/ads/google_ads/v17/resources/account_budget_pb" res = Google::Ads::GoogleAds::V17::Resources::AccountBudget::PendingAccountBudgetProposal.new yield res if block_given? res end # Returns a new instance of account_budget_proposal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccountBudgetProposal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccountBudgetProposal] the created resource def self.account_budget_proposal require "google/ads/google_ads/v17/resources/account_budget_proposal_pb" res = Google::Ads::GoogleAds::V17::Resources::AccountBudgetProposal.new yield res if block_given? res end # Returns a new instance of account_link, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AccountLink] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AccountLink] the created resource def self.account_link require "google/ads/google_ads/v17/resources/account_link_pb" res = Google::Ads::GoogleAds::V17::Resources::AccountLink.new yield res if block_given? res end # Returns a new instance of third_party_app_analytics_link_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ThirdPartyAppAnalyticsLinkIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ThirdPartyAppAnalyticsLinkIdentifier] the created resource def self.third_party_app_analytics_link_identifier require "google/ads/google_ads/v17/resources/account_link_pb" res = Google::Ads::GoogleAds::V17::Resources::ThirdPartyAppAnalyticsLinkIdentifier.new yield res if block_given? res end # Returns a new instance of asset_usage, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AssetUsage] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AssetUsage] the created resource def self.asset_usage require "google/ads/google_ads/v17/common/asset_usage_pb" res = Google::Ads::GoogleAds::V17::Common::AssetUsage.new yield res if block_given? res end # Returns a new instance of ad_group_ad_asset_combination_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetCombinationView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetCombinationView] the created resource def self.ad_group_ad_asset_combination_view require "google/ads/google_ads/v17/resources/ad_group_ad_asset_combination_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetCombinationView.new yield res if block_given? res end # Returns a new instance of policy_violation_key, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyViolationKey] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyViolationKey] the created resource def self.policy_violation_key require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyViolationKey.new yield res if block_given? res end # Returns a new instance of policy_validation_parameter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyValidationParameter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyValidationParameter] the created resource def self.policy_validation_parameter require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyValidationParameter.new yield res if block_given? res end # Returns a new instance of policy_topic_entry, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicEntry] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicEntry] the created resource def self.policy_topic_entry require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicEntry.new yield res if block_given? res end # Returns a new instance of policy_topic_evidence, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence] the created resource def self.policy_topic_evidence require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence.new yield res if block_given? res end # Returns a new instance of text_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::TextList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::TextList] the created resource def self.text_list require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::TextList.new yield res if block_given? res end # Returns a new instance of website_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::WebsiteList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::WebsiteList] the created resource def self.website_list require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::WebsiteList.new yield res if block_given? res end # Returns a new instance of destination_text_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationTextList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationTextList] the created resource def self.destination_text_list require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationTextList.new yield res if block_given? res end # Returns a new instance of destination_mismatch, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationMismatch] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationMismatch] the created resource def self.destination_mismatch require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationMismatch.new yield res if block_given? res end # Returns a new instance of destination_not_working, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationNotWorking] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationNotWorking] the created resource def self.destination_not_working require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicEvidence::DestinationNotWorking.new yield res if block_given? res end # Returns a new instance of policy_topic_constraint, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint] the created resource def self.policy_topic_constraint require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint.new yield res if block_given? res end # Returns a new instance of country_constraint_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::CountryConstraintList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::CountryConstraintList] the created resource def self.country_constraint_list require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::CountryConstraintList.new yield res if block_given? res end # Returns a new instance of reseller_constraint, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::ResellerConstraint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::ResellerConstraint] the created resource def self.reseller_constraint require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::ResellerConstraint.new yield res if block_given? res end # Returns a new instance of country_constraint, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::CountryConstraint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::CountryConstraint] the created resource def self.country_constraint require "google/ads/google_ads/v17/common/policy_pb" res = Google::Ads::GoogleAds::V17::Common::PolicyTopicConstraint::CountryConstraint.new yield res if block_given? res end # Returns a new instance of ad_group_ad_asset_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetView] the created resource def self.ad_group_ad_asset_view require "google/ads/google_ads/v17/resources/ad_group_ad_asset_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetView.new yield res if block_given? res end # Returns a new instance of ad_group_ad_asset_policy_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetPolicySummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetPolicySummary] the created resource def self.ad_group_ad_asset_policy_summary require "google/ads/google_ads/v17/resources/ad_group_ad_asset_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAdAssetPolicySummary.new yield res if block_given? res end # Returns a new instance of ad_group_ad_label, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAdLabel] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAdLabel] the created resource def self.ad_group_ad_label require "google/ads/google_ads/v17/resources/ad_group_ad_label_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAdLabel.new yield res if block_given? res end # Returns a new instance of ad_asset_policy_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdAssetPolicySummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdAssetPolicySummary] the created resource def self.ad_asset_policy_summary require "google/ads/google_ads/v17/common/asset_policy_pb" res = Google::Ads::GoogleAds::V17::Common::AdAssetPolicySummary.new yield res if block_given? res end # Returns a new instance of asset_link_primary_status_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AssetLinkPrimaryStatusDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AssetLinkPrimaryStatusDetails] the created resource def self.asset_link_primary_status_details require "google/ads/google_ads/v17/common/asset_policy_pb" res = Google::Ads::GoogleAds::V17::Common::AssetLinkPrimaryStatusDetails.new yield res if block_given? res end # Returns a new instance of asset_disapproved, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AssetDisapproved] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AssetDisapproved] the created resource def self.asset_disapproved require "google/ads/google_ads/v17/common/asset_policy_pb" res = Google::Ads::GoogleAds::V17::Common::AssetDisapproved.new yield res if block_given? res end # Returns a new instance of ad_text_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdTextAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdTextAsset] the created resource def self.ad_text_asset require "google/ads/google_ads/v17/common/ad_asset_pb" res = Google::Ads::GoogleAds::V17::Common::AdTextAsset.new yield res if block_given? res end # Returns a new instance of ad_image_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdImageAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdImageAsset] the created resource def self.ad_image_asset require "google/ads/google_ads/v17/common/ad_asset_pb" res = Google::Ads::GoogleAds::V17::Common::AdImageAsset.new yield res if block_given? res end # Returns a new instance of ad_video_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdVideoAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdVideoAsset] the created resource def self.ad_video_asset require "google/ads/google_ads/v17/common/ad_asset_pb" res = Google::Ads::GoogleAds::V17::Common::AdVideoAsset.new yield res if block_given? res end # Returns a new instance of ad_video_asset_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdVideoAssetInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdVideoAssetInfo] the created resource def self.ad_video_asset_info require "google/ads/google_ads/v17/common/ad_asset_pb" res = Google::Ads::GoogleAds::V17::Common::AdVideoAssetInfo.new yield res if block_given? res end # Returns a new instance of ad_video_asset_inventory_preferences, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdVideoAssetInventoryPreferences] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdVideoAssetInventoryPreferences] the created resource def self.ad_video_asset_inventory_preferences require "google/ads/google_ads/v17/common/ad_asset_pb" res = Google::Ads::GoogleAds::V17::Common::AdVideoAssetInventoryPreferences.new yield res if block_given? res end # Returns a new instance of ad_media_bundle_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdMediaBundleAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdMediaBundleAsset] the created resource def self.ad_media_bundle_asset require "google/ads/google_ads/v17/common/ad_asset_pb" res = Google::Ads::GoogleAds::V17::Common::AdMediaBundleAsset.new yield res if block_given? res end # Returns a new instance of ad_demand_gen_carousel_card_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdDemandGenCarouselCardAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdDemandGenCarouselCardAsset] the created resource def self.ad_demand_gen_carousel_card_asset require "google/ads/google_ads/v17/common/ad_asset_pb" res = Google::Ads::GoogleAds::V17::Common::AdDemandGenCarouselCardAsset.new yield res if block_given? res end # Returns a new instance of ad_call_to_action_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdCallToActionAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdCallToActionAsset] the created resource def self.ad_call_to_action_asset require "google/ads/google_ads/v17/common/ad_asset_pb" res = Google::Ads::GoogleAds::V17::Common::AdCallToActionAsset.new yield res if block_given? res end # Returns a new instance of text_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TextAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TextAdInfo] the created resource def self.text_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::TextAdInfo.new yield res if block_given? res end # Returns a new instance of expanded_text_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ExpandedTextAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ExpandedTextAdInfo] the created resource def self.expanded_text_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ExpandedTextAdInfo.new yield res if block_given? res end # Returns a new instance of expanded_dynamic_search_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ExpandedDynamicSearchAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ExpandedDynamicSearchAdInfo] the created resource def self.expanded_dynamic_search_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ExpandedDynamicSearchAdInfo.new yield res if block_given? res end # Returns a new instance of hotel_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelAdInfo] the created resource def self.hotel_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::HotelAdInfo.new yield res if block_given? res end # Returns a new instance of travel_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TravelAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TravelAdInfo] the created resource def self.travel_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::TravelAdInfo.new yield res if block_given? res end # Returns a new instance of shopping_smart_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ShoppingSmartAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ShoppingSmartAdInfo] the created resource def self.shopping_smart_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ShoppingSmartAdInfo.new yield res if block_given? res end # Returns a new instance of shopping_product_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ShoppingProductAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ShoppingProductAdInfo] the created resource def self.shopping_product_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ShoppingProductAdInfo.new yield res if block_given? res end # Returns a new instance of shopping_comparison_listing_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ShoppingComparisonListingAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ShoppingComparisonListingAdInfo] the created resource def self.shopping_comparison_listing_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ShoppingComparisonListingAdInfo.new yield res if block_given? res end # Returns a new instance of image_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ImageAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ImageAdInfo] the created resource def self.image_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ImageAdInfo.new yield res if block_given? res end # Returns a new instance of video_bumper_in_stream_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::VideoBumperInStreamAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::VideoBumperInStreamAdInfo] the created resource def self.video_bumper_in_stream_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::VideoBumperInStreamAdInfo.new yield res if block_given? res end # Returns a new instance of video_non_skippable_in_stream_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::VideoNonSkippableInStreamAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::VideoNonSkippableInStreamAdInfo] the created resource def self.video_non_skippable_in_stream_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::VideoNonSkippableInStreamAdInfo.new yield res if block_given? res end # Returns a new instance of video_true_view_in_stream_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::VideoTrueViewInStreamAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::VideoTrueViewInStreamAdInfo] the created resource def self.video_true_view_in_stream_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::VideoTrueViewInStreamAdInfo.new yield res if block_given? res end # Returns a new instance of video_outstream_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::VideoOutstreamAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::VideoOutstreamAdInfo] the created resource def self.video_outstream_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::VideoOutstreamAdInfo.new yield res if block_given? res end # Returns a new instance of in_feed_video_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::InFeedVideoAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::InFeedVideoAdInfo] the created resource def self.in_feed_video_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::InFeedVideoAdInfo.new yield res if block_given? res end # Returns a new instance of video_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::VideoAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::VideoAdInfo] the created resource def self.video_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::VideoAdInfo.new yield res if block_given? res end # Returns a new instance of video_responsive_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::VideoResponsiveAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::VideoResponsiveAdInfo] the created resource def self.video_responsive_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::VideoResponsiveAdInfo.new yield res if block_given? res end # Returns a new instance of responsive_search_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ResponsiveSearchAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ResponsiveSearchAdInfo] the created resource def self.responsive_search_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ResponsiveSearchAdInfo.new yield res if block_given? res end # Returns a new instance of legacy_responsive_display_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LegacyResponsiveDisplayAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LegacyResponsiveDisplayAdInfo] the created resource def self.legacy_responsive_display_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::LegacyResponsiveDisplayAdInfo.new yield res if block_given? res end # Returns a new instance of app_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AppAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AppAdInfo] the created resource def self.app_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::AppAdInfo.new yield res if block_given? res end # Returns a new instance of app_engagement_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AppEngagementAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AppEngagementAdInfo] the created resource def self.app_engagement_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::AppEngagementAdInfo.new yield res if block_given? res end # Returns a new instance of app_pre_registration_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AppPreRegistrationAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AppPreRegistrationAdInfo] the created resource def self.app_pre_registration_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::AppPreRegistrationAdInfo.new yield res if block_given? res end # Returns a new instance of legacy_app_install_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LegacyAppInstallAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LegacyAppInstallAdInfo] the created resource def self.legacy_app_install_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::LegacyAppInstallAdInfo.new yield res if block_given? res end # Returns a new instance of responsive_display_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ResponsiveDisplayAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ResponsiveDisplayAdInfo] the created resource def self.responsive_display_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ResponsiveDisplayAdInfo.new yield res if block_given? res end # Returns a new instance of local_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LocalAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LocalAdInfo] the created resource def self.local_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::LocalAdInfo.new yield res if block_given? res end # Returns a new instance of display_upload_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DisplayUploadAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DisplayUploadAdInfo] the created resource def self.display_upload_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::DisplayUploadAdInfo.new yield res if block_given? res end # Returns a new instance of responsive_display_ad_control_spec, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ResponsiveDisplayAdControlSpec] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ResponsiveDisplayAdControlSpec] the created resource def self.responsive_display_ad_control_spec require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::ResponsiveDisplayAdControlSpec.new yield res if block_given? res end # Returns a new instance of smart_campaign_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::SmartCampaignAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::SmartCampaignAdInfo] the created resource def self.smart_campaign_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::SmartCampaignAdInfo.new yield res if block_given? res end # Returns a new instance of call_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CallAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CallAdInfo] the created resource def self.call_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::CallAdInfo.new yield res if block_given? res end # Returns a new instance of demand_gen_multi_asset_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DemandGenMultiAssetAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DemandGenMultiAssetAdInfo] the created resource def self.demand_gen_multi_asset_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::DemandGenMultiAssetAdInfo.new yield res if block_given? res end # Returns a new instance of demand_gen_carousel_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DemandGenCarouselAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DemandGenCarouselAdInfo] the created resource def self.demand_gen_carousel_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::DemandGenCarouselAdInfo.new yield res if block_given? res end # Returns a new instance of demand_gen_video_responsive_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DemandGenVideoResponsiveAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DemandGenVideoResponsiveAdInfo] the created resource def self.demand_gen_video_responsive_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::DemandGenVideoResponsiveAdInfo.new yield res if block_given? res end # Returns a new instance of demand_gen_product_ad_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DemandGenProductAdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DemandGenProductAdInfo] the created resource def self.demand_gen_product_ad_info require "google/ads/google_ads/v17/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::DemandGenProductAdInfo.new yield res if block_given? res end # Returns a new instance of custom_parameter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CustomParameter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CustomParameter] the created resource def self.custom_parameter require "google/ads/google_ads/v17/common/custom_parameter_pb" res = Google::Ads::GoogleAds::V17::Common::CustomParameter.new yield res if block_given? res end # Returns a new instance of final_app_url, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::FinalAppUrl] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::FinalAppUrl] the created resource def self.final_app_url require "google/ads/google_ads/v17/common/final_app_url_pb" res = Google::Ads::GoogleAds::V17::Common::FinalAppUrl.new yield res if block_given? res end # Returns a new instance of url_collection, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UrlCollection] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UrlCollection] the created resource def self.url_collection require "google/ads/google_ads/v17/common/url_collection_pb" res = Google::Ads::GoogleAds::V17::Common::UrlCollection.new yield res if block_given? res end # Returns a new instance of ad, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Ad] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Ad] the created resource def self.ad require "google/ads/google_ads/v17/resources/ad_pb" res = Google::Ads::GoogleAds::V17::Resources::Ad.new yield res if block_given? res end # Returns a new instance of ad_group_ad, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAd] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAd] the created resource def self.ad_group_ad require "google/ads/google_ads/v17/resources/ad_group_ad_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAd.new yield res if block_given? res end # Returns a new instance of ad_group_ad_policy_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAdPolicySummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAdPolicySummary] the created resource def self.ad_group_ad_policy_summary require "google/ads/google_ads/v17/resources/ad_group_ad_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAdPolicySummary.new yield res if block_given? res end # Returns a new instance of ad_group_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAsset] the created resource def self.ad_group_asset require "google/ads/google_ads/v17/resources/ad_group_asset_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAsset.new yield res if block_given? res end # Returns a new instance of ad_group_asset_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAssetSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAssetSet] the created resource def self.ad_group_asset_set require "google/ads/google_ads/v17/resources/ad_group_asset_set_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAssetSet.new yield res if block_given? res end # Returns a new instance of ad_group_audience_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupAudienceView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupAudienceView] the created resource def self.ad_group_audience_view require "google/ads/google_ads/v17/resources/ad_group_audience_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupAudienceView.new yield res if block_given? res end # Returns a new instance of keyword_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::KeywordInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::KeywordInfo] the created resource def self.keyword_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::KeywordInfo.new yield res if block_given? res end # Returns a new instance of placement_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PlacementInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PlacementInfo] the created resource def self.placement_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::PlacementInfo.new yield res if block_given? res end # Returns a new instance of negative_keyword_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::NegativeKeywordListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::NegativeKeywordListInfo] the created resource def self.negative_keyword_list_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::NegativeKeywordListInfo.new yield res if block_given? res end # Returns a new instance of mobile_app_category_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MobileAppCategoryInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MobileAppCategoryInfo] the created resource def self.mobile_app_category_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::MobileAppCategoryInfo.new yield res if block_given? res end # Returns a new instance of mobile_application_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MobileApplicationInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MobileApplicationInfo] the created resource def self.mobile_application_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::MobileApplicationInfo.new yield res if block_given? res end # Returns a new instance of location_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LocationInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LocationInfo] the created resource def self.location_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::LocationInfo.new yield res if block_given? res end # Returns a new instance of device_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DeviceInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DeviceInfo] the created resource def self.device_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::DeviceInfo.new yield res if block_given? res end # Returns a new instance of listing_group_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ListingGroupInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ListingGroupInfo] the created resource def self.listing_group_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ListingGroupInfo.new yield res if block_given? res end # Returns a new instance of listing_dimension_path, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ListingDimensionPath] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ListingDimensionPath] the created resource def self.listing_dimension_path require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ListingDimensionPath.new yield res if block_given? res end # Returns a new instance of listing_scope_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ListingScopeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ListingScopeInfo] the created resource def self.listing_scope_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ListingScopeInfo.new yield res if block_given? res end # Returns a new instance of listing_dimension_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ListingDimensionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ListingDimensionInfo] the created resource def self.listing_dimension_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ListingDimensionInfo.new yield res if block_given? res end # Returns a new instance of hotel_id_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelIdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelIdInfo] the created resource def self.hotel_id_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelIdInfo.new yield res if block_given? res end # Returns a new instance of hotel_class_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelClassInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelClassInfo] the created resource def self.hotel_class_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelClassInfo.new yield res if block_given? res end # Returns a new instance of hotel_country_region_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelCountryRegionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelCountryRegionInfo] the created resource def self.hotel_country_region_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelCountryRegionInfo.new yield res if block_given? res end # Returns a new instance of hotel_state_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelStateInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelStateInfo] the created resource def self.hotel_state_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelStateInfo.new yield res if block_given? res end # Returns a new instance of hotel_city_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelCityInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelCityInfo] the created resource def self.hotel_city_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelCityInfo.new yield res if block_given? res end # Returns a new instance of product_category_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductCategoryInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductCategoryInfo] the created resource def self.product_category_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductCategoryInfo.new yield res if block_given? res end # Returns a new instance of product_brand_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductBrandInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductBrandInfo] the created resource def self.product_brand_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductBrandInfo.new yield res if block_given? res end # Returns a new instance of product_channel_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductChannelInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductChannelInfo] the created resource def self.product_channel_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductChannelInfo.new yield res if block_given? res end # Returns a new instance of product_channel_exclusivity_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductChannelExclusivityInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductChannelExclusivityInfo] the created resource def self.product_channel_exclusivity_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductChannelExclusivityInfo.new yield res if block_given? res end # Returns a new instance of product_condition_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductConditionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductConditionInfo] the created resource def self.product_condition_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductConditionInfo.new yield res if block_given? res end # Returns a new instance of product_custom_attribute_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductCustomAttributeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductCustomAttributeInfo] the created resource def self.product_custom_attribute_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductCustomAttributeInfo.new yield res if block_given? res end # Returns a new instance of product_item_id_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductItemIdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductItemIdInfo] the created resource def self.product_item_id_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductItemIdInfo.new yield res if block_given? res end # Returns a new instance of product_type_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductTypeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductTypeInfo] the created resource def self.product_type_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductTypeInfo.new yield res if block_given? res end # Returns a new instance of product_grouping_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductGroupingInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductGroupingInfo] the created resource def self.product_grouping_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductGroupingInfo.new yield res if block_given? res end # Returns a new instance of product_labels_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductLabelsInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductLabelsInfo] the created resource def self.product_labels_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductLabelsInfo.new yield res if block_given? res end # Returns a new instance of product_legacy_condition_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductLegacyConditionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductLegacyConditionInfo] the created resource def self.product_legacy_condition_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductLegacyConditionInfo.new yield res if block_given? res end # Returns a new instance of product_type_full_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProductTypeFullInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProductTypeFullInfo] the created resource def self.product_type_full_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProductTypeFullInfo.new yield res if block_given? res end # Returns a new instance of unknown_listing_dimension_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UnknownListingDimensionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UnknownListingDimensionInfo] the created resource def self.unknown_listing_dimension_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::UnknownListingDimensionInfo.new yield res if block_given? res end # Returns a new instance of hotel_date_selection_type_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelDateSelectionTypeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelDateSelectionTypeInfo] the created resource def self.hotel_date_selection_type_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelDateSelectionTypeInfo.new yield res if block_given? res end # Returns a new instance of hotel_advance_booking_window_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelAdvanceBookingWindowInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelAdvanceBookingWindowInfo] the created resource def self.hotel_advance_booking_window_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelAdvanceBookingWindowInfo.new yield res if block_given? res end # Returns a new instance of hotel_length_of_stay_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelLengthOfStayInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelLengthOfStayInfo] the created resource def self.hotel_length_of_stay_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelLengthOfStayInfo.new yield res if block_given? res end # Returns a new instance of hotel_check_in_date_range_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelCheckInDateRangeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelCheckInDateRangeInfo] the created resource def self.hotel_check_in_date_range_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelCheckInDateRangeInfo.new yield res if block_given? res end # Returns a new instance of hotel_check_in_day_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelCheckInDayInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelCheckInDayInfo] the created resource def self.hotel_check_in_day_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::HotelCheckInDayInfo.new yield res if block_given? res end # Returns a new instance of activity_id_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ActivityIdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ActivityIdInfo] the created resource def self.activity_id_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ActivityIdInfo.new yield res if block_given? res end # Returns a new instance of activity_rating_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ActivityRatingInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ActivityRatingInfo] the created resource def self.activity_rating_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ActivityRatingInfo.new yield res if block_given? res end # Returns a new instance of activity_country_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ActivityCountryInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ActivityCountryInfo] the created resource def self.activity_country_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ActivityCountryInfo.new yield res if block_given? res end # Returns a new instance of activity_state_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ActivityStateInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ActivityStateInfo] the created resource def self.activity_state_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ActivityStateInfo.new yield res if block_given? res end # Returns a new instance of activity_city_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ActivityCityInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ActivityCityInfo] the created resource def self.activity_city_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ActivityCityInfo.new yield res if block_given? res end # Returns a new instance of interaction_type_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::InteractionTypeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::InteractionTypeInfo] the created resource def self.interaction_type_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::InteractionTypeInfo.new yield res if block_given? res end # Returns a new instance of ad_schedule_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AdScheduleInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AdScheduleInfo] the created resource def self.ad_schedule_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::AdScheduleInfo.new yield res if block_given? res end # Returns a new instance of age_range_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AgeRangeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AgeRangeInfo] the created resource def self.age_range_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::AgeRangeInfo.new yield res if block_given? res end # Returns a new instance of gender_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::GenderInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::GenderInfo] the created resource def self.gender_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::GenderInfo.new yield res if block_given? res end # Returns a new instance of income_range_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::IncomeRangeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::IncomeRangeInfo] the created resource def self.income_range_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::IncomeRangeInfo.new yield res if block_given? res end # Returns a new instance of parental_status_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ParentalStatusInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ParentalStatusInfo] the created resource def self.parental_status_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ParentalStatusInfo.new yield res if block_given? res end # Returns a new instance of you_tube_video_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::YouTubeVideoInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::YouTubeVideoInfo] the created resource def self.you_tube_video_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::YouTubeVideoInfo.new yield res if block_given? res end # Returns a new instance of you_tube_channel_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::YouTubeChannelInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::YouTubeChannelInfo] the created resource def self.you_tube_channel_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::YouTubeChannelInfo.new yield res if block_given? res end # Returns a new instance of user_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListInfo] the created resource def self.user_list_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::UserListInfo.new yield res if block_given? res end # Returns a new instance of proximity_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ProximityInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ProximityInfo] the created resource def self.proximity_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ProximityInfo.new yield res if block_given? res end # Returns a new instance of geo_point_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::GeoPointInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::GeoPointInfo] the created resource def self.geo_point_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::GeoPointInfo.new yield res if block_given? res end # Returns a new instance of address_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AddressInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AddressInfo] the created resource def self.address_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::AddressInfo.new yield res if block_given? res end # Returns a new instance of topic_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TopicInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TopicInfo] the created resource def self.topic_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::TopicInfo.new yield res if block_given? res end # Returns a new instance of language_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LanguageInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LanguageInfo] the created resource def self.language_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::LanguageInfo.new yield res if block_given? res end # Returns a new instance of ip_block_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::IpBlockInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::IpBlockInfo] the created resource def self.ip_block_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::IpBlockInfo.new yield res if block_given? res end # Returns a new instance of content_label_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ContentLabelInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ContentLabelInfo] the created resource def self.content_label_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::ContentLabelInfo.new yield res if block_given? res end # Returns a new instance of carrier_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CarrierInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CarrierInfo] the created resource def self.carrier_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::CarrierInfo.new yield res if block_given? res end # Returns a new instance of user_interest_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserInterestInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserInterestInfo] the created resource def self.user_interest_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::UserInterestInfo.new yield res if block_given? res end # Returns a new instance of webpage_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::WebpageInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::WebpageInfo] the created resource def self.webpage_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::WebpageInfo.new yield res if block_given? res end # Returns a new instance of webpage_condition_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::WebpageConditionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::WebpageConditionInfo] the created resource def self.webpage_condition_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::WebpageConditionInfo.new yield res if block_given? res end # Returns a new instance of webpage_sample_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::WebpageSampleInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::WebpageSampleInfo] the created resource def self.webpage_sample_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::WebpageSampleInfo.new yield res if block_given? res end # Returns a new instance of operating_system_version_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::OperatingSystemVersionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::OperatingSystemVersionInfo] the created resource def self.operating_system_version_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::OperatingSystemVersionInfo.new yield res if block_given? res end # Returns a new instance of app_payment_model_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AppPaymentModelInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AppPaymentModelInfo] the created resource def self.app_payment_model_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::AppPaymentModelInfo.new yield res if block_given? res end # Returns a new instance of mobile_device_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MobileDeviceInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MobileDeviceInfo] the created resource def self.mobile_device_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::MobileDeviceInfo.new yield res if block_given? res end # Returns a new instance of custom_affinity_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CustomAffinityInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CustomAffinityInfo] the created resource def self.custom_affinity_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::CustomAffinityInfo.new yield res if block_given? res end # Returns a new instance of custom_intent_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CustomIntentInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CustomIntentInfo] the created resource def self.custom_intent_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::CustomIntentInfo.new yield res if block_given? res end # Returns a new instance of location_group_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LocationGroupInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LocationGroupInfo] the created resource def self.location_group_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::LocationGroupInfo.new yield res if block_given? res end # Returns a new instance of custom_audience_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CustomAudienceInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CustomAudienceInfo] the created resource def self.custom_audience_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::CustomAudienceInfo.new yield res if block_given? res end # Returns a new instance of combined_audience_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CombinedAudienceInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CombinedAudienceInfo] the created resource def self.combined_audience_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::CombinedAudienceInfo.new yield res if block_given? res end # Returns a new instance of audience_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AudienceInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AudienceInfo] the created resource def self.audience_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::AudienceInfo.new yield res if block_given? res end # Returns a new instance of keyword_theme_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::KeywordThemeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::KeywordThemeInfo] the created resource def self.keyword_theme_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::KeywordThemeInfo.new yield res if block_given? res end # Returns a new instance of local_service_id_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LocalServiceIdInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LocalServiceIdInfo] the created resource def self.local_service_id_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::LocalServiceIdInfo.new yield res if block_given? res end # Returns a new instance of search_theme_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::SearchThemeInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::SearchThemeInfo] the created resource def self.search_theme_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::SearchThemeInfo.new yield res if block_given? res end # Returns a new instance of brand_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BrandInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BrandInfo] the created resource def self.brand_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::BrandInfo.new yield res if block_given? res end # Returns a new instance of brand_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BrandListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BrandListInfo] the created resource def self.brand_list_info require "google/ads/google_ads/v17/common/criteria_pb" res = Google::Ads::GoogleAds::V17::Common::BrandListInfo.new yield res if block_given? res end # Returns a new instance of ad_group_bid_modifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupBidModifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupBidModifier] the created resource def self.ad_group_bid_modifier require "google/ads/google_ads/v17/resources/ad_group_bid_modifier_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupBidModifier.new yield res if block_given? res end # Returns a new instance of customizer_value, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CustomizerValue] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CustomizerValue] the created resource def self.customizer_value require "google/ads/google_ads/v17/common/customizer_value_pb" res = Google::Ads::GoogleAds::V17::Common::CustomizerValue.new yield res if block_given? res end # Returns a new instance of ad_group_criterion_customizer, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionCustomizer] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionCustomizer] the created resource def self.ad_group_criterion_customizer require "google/ads/google_ads/v17/resources/ad_group_criterion_customizer_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionCustomizer.new yield res if block_given? res end # Returns a new instance of ad_group_criterion_label, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionLabel] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionLabel] the created resource def self.ad_group_criterion_label require "google/ads/google_ads/v17/resources/ad_group_criterion_label_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionLabel.new yield res if block_given? res end # Returns a new instance of ad_group_criterion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion] the created resource def self.ad_group_criterion require "google/ads/google_ads/v17/resources/ad_group_criterion_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion.new yield res if block_given? res end # Returns a new instance of quality_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion::QualityInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion::QualityInfo] the created resource def self.quality_info require "google/ads/google_ads/v17/resources/ad_group_criterion_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion::QualityInfo.new yield res if block_given? res end # Returns a new instance of position_estimates, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion::PositionEstimates] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion::PositionEstimates] the created resource def self.position_estimates require "google/ads/google_ads/v17/resources/ad_group_criterion_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupCriterion::PositionEstimates.new yield res if block_given? res end # Returns a new instance of cpc_bid_simulation_point_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CpcBidSimulationPointList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CpcBidSimulationPointList] the created resource def self.cpc_bid_simulation_point_list require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::CpcBidSimulationPointList.new yield res if block_given? res end # Returns a new instance of cpv_bid_simulation_point_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CpvBidSimulationPointList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CpvBidSimulationPointList] the created resource def self.cpv_bid_simulation_point_list require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::CpvBidSimulationPointList.new yield res if block_given? res end # Returns a new instance of target_cpa_simulation_point_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetCpaSimulationPointList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetCpaSimulationPointList] the created resource def self.target_cpa_simulation_point_list require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::TargetCpaSimulationPointList.new yield res if block_given? res end # Returns a new instance of target_roas_simulation_point_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetRoasSimulationPointList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetRoasSimulationPointList] the created resource def self.target_roas_simulation_point_list require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::TargetRoasSimulationPointList.new yield res if block_given? res end # Returns a new instance of percent_cpc_bid_simulation_point_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PercentCpcBidSimulationPointList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PercentCpcBidSimulationPointList] the created resource def self.percent_cpc_bid_simulation_point_list require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::PercentCpcBidSimulationPointList.new yield res if block_given? res end # Returns a new instance of budget_simulation_point_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BudgetSimulationPointList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BudgetSimulationPointList] the created resource def self.budget_simulation_point_list require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::BudgetSimulationPointList.new yield res if block_given? res end # Returns a new instance of target_impression_share_simulation_point_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetImpressionShareSimulationPointList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetImpressionShareSimulationPointList] the created resource def self.target_impression_share_simulation_point_list require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::TargetImpressionShareSimulationPointList.new yield res if block_given? res end # Returns a new instance of cpc_bid_simulation_point, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CpcBidSimulationPoint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CpcBidSimulationPoint] the created resource def self.cpc_bid_simulation_point require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::CpcBidSimulationPoint.new yield res if block_given? res end # Returns a new instance of cpv_bid_simulation_point, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CpvBidSimulationPoint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CpvBidSimulationPoint] the created resource def self.cpv_bid_simulation_point require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::CpvBidSimulationPoint.new yield res if block_given? res end # Returns a new instance of target_cpa_simulation_point, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetCpaSimulationPoint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetCpaSimulationPoint] the created resource def self.target_cpa_simulation_point require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::TargetCpaSimulationPoint.new yield res if block_given? res end # Returns a new instance of target_roas_simulation_point, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetRoasSimulationPoint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetRoasSimulationPoint] the created resource def self.target_roas_simulation_point require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::TargetRoasSimulationPoint.new yield res if block_given? res end # Returns a new instance of percent_cpc_bid_simulation_point, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PercentCpcBidSimulationPoint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PercentCpcBidSimulationPoint] the created resource def self.percent_cpc_bid_simulation_point require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::PercentCpcBidSimulationPoint.new yield res if block_given? res end # Returns a new instance of budget_simulation_point, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BudgetSimulationPoint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BudgetSimulationPoint] the created resource def self.budget_simulation_point require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::BudgetSimulationPoint.new yield res if block_given? res end # Returns a new instance of target_impression_share_simulation_point, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetImpressionShareSimulationPoint] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetImpressionShareSimulationPoint] the created resource def self.target_impression_share_simulation_point require "google/ads/google_ads/v17/common/simulation_pb" res = Google::Ads::GoogleAds::V17::Common::TargetImpressionShareSimulationPoint.new yield res if block_given? res end # Returns a new instance of ad_group_criterion_simulation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionSimulation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionSimulation] the created resource def self.ad_group_criterion_simulation require "google/ads/google_ads/v17/resources/ad_group_criterion_simulation_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupCriterionSimulation.new yield res if block_given? res end # Returns a new instance of ad_group_customizer, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupCustomizer] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupCustomizer] the created resource def self.ad_group_customizer require "google/ads/google_ads/v17/resources/ad_group_customizer_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupCustomizer.new yield res if block_given? res end # Returns a new instance of ad_group_extension_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupExtensionSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupExtensionSetting] the created resource def self.ad_group_extension_setting require "google/ads/google_ads/v17/resources/ad_group_extension_setting_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupExtensionSetting.new yield res if block_given? res end # Returns a new instance of matching_function, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MatchingFunction] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MatchingFunction] the created resource def self.matching_function require "google/ads/google_ads/v17/common/matching_function_pb" res = Google::Ads::GoogleAds::V17::Common::MatchingFunction.new yield res if block_given? res end # Returns a new instance of operand, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Operand] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Operand] the created resource def self.operand require "google/ads/google_ads/v17/common/matching_function_pb" res = Google::Ads::GoogleAds::V17::Common::Operand.new yield res if block_given? res end # Returns a new instance of constant_operand, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Operand::ConstantOperand] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Operand::ConstantOperand] the created resource def self.constant_operand require "google/ads/google_ads/v17/common/matching_function_pb" res = Google::Ads::GoogleAds::V17::Common::Operand::ConstantOperand.new yield res if block_given? res end # Returns a new instance of feed_attribute_operand, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Operand::FeedAttributeOperand] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Operand::FeedAttributeOperand] the created resource def self.feed_attribute_operand require "google/ads/google_ads/v17/common/matching_function_pb" res = Google::Ads::GoogleAds::V17::Common::Operand::FeedAttributeOperand.new yield res if block_given? res end # Returns a new instance of function_operand, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Operand::FunctionOperand] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Operand::FunctionOperand] the created resource def self.function_operand require "google/ads/google_ads/v17/common/matching_function_pb" res = Google::Ads::GoogleAds::V17::Common::Operand::FunctionOperand.new yield res if block_given? res end # Returns a new instance of request_context_operand, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Operand::RequestContextOperand] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Operand::RequestContextOperand] the created resource def self.request_context_operand require "google/ads/google_ads/v17/common/matching_function_pb" res = Google::Ads::GoogleAds::V17::Common::Operand::RequestContextOperand.new yield res if block_given? res end # Returns a new instance of ad_group_feed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupFeed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupFeed] the created resource def self.ad_group_feed require "google/ads/google_ads/v17/resources/ad_group_feed_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupFeed.new yield res if block_given? res end # Returns a new instance of ad_group_label, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupLabel] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupLabel] the created resource def self.ad_group_label require "google/ads/google_ads/v17/resources/ad_group_label_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupLabel.new yield res if block_given? res end # Returns a new instance of targeting_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetingSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetingSetting] the created resource def self.targeting_setting require "google/ads/google_ads/v17/common/targeting_setting_pb" res = Google::Ads::GoogleAds::V17::Common::TargetingSetting.new yield res if block_given? res end # Returns a new instance of target_restriction, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetRestriction] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetRestriction] the created resource def self.target_restriction require "google/ads/google_ads/v17/common/targeting_setting_pb" res = Google::Ads::GoogleAds::V17::Common::TargetRestriction.new yield res if block_given? res end # Returns a new instance of ad_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroup] the created resource def self.ad_group require "google/ads/google_ads/v17/resources/ad_group_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroup.new yield res if block_given? res end # Returns a new instance of ad_group_audience_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroup::AudienceSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroup::AudienceSetting] the created resource def self.ad_group_audience_setting require "google/ads/google_ads/v17/resources/ad_group_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroup::AudienceSetting.new yield res if block_given? res end # Returns a new instance of ad_group_simulation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdGroupSimulation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdGroupSimulation] the created resource def self.ad_group_simulation require "google/ads/google_ads/v17/resources/ad_group_simulation_pb" res = Google::Ads::GoogleAds::V17::Resources::AdGroupSimulation.new yield res if block_given? res end # Returns a new instance of ad_parameter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdParameter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdParameter] the created resource def self.ad_parameter require "google/ads/google_ads/v17/resources/ad_parameter_pb" res = Google::Ads::GoogleAds::V17::Resources::AdParameter.new yield res if block_given? res end # Returns a new instance of ad_schedule_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdScheduleView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdScheduleView] the created resource def self.ad_schedule_view require "google/ads/google_ads/v17/resources/ad_schedule_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AdScheduleView.new yield res if block_given? res end # Returns a new instance of age_range_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AgeRangeView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AgeRangeView] the created resource def self.age_range_view require "google/ads/google_ads/v17/resources/age_range_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AgeRangeView.new yield res if block_given? res end # Returns a new instance of android_privacy_shared_key_google_ad_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleAdGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleAdGroup] the created resource def self.android_privacy_shared_key_google_ad_group require "google/ads/google_ads/v17/resources/android_privacy_shared_key_google_ad_group_pb" res = Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleAdGroup.new yield res if block_given? res end # Returns a new instance of android_privacy_shared_key_google_campaign, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleCampaign] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleCampaign] the created resource def self.android_privacy_shared_key_google_campaign require "google/ads/google_ads/v17/resources/android_privacy_shared_key_google_campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleCampaign.new yield res if block_given? res end # Returns a new instance of android_privacy_shared_key_google_network_type, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleNetworkType] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleNetworkType] the created resource def self.android_privacy_shared_key_google_network_type require "google/ads/google_ads/v17/resources/android_privacy_shared_key_google_network_type_pb" res = Google::Ads::GoogleAds::V17::Resources::AndroidPrivacySharedKeyGoogleNetworkType.new yield res if block_given? res end # Returns a new instance of asset_field_type_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetFieldTypeView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetFieldTypeView] the created resource def self.asset_field_type_view require "google/ads/google_ads/v17/resources/asset_field_type_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetFieldTypeView.new yield res if block_given? res end # Returns a new instance of policy_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PolicySummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PolicySummary] the created resource def self.policy_summary require "google/ads/google_ads/v17/common/policy_summary_pb" res = Google::Ads::GoogleAds::V17::Common::PolicySummary.new yield res if block_given? res end # Returns a new instance of asset_group_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetGroupAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetGroupAsset] the created resource def self.asset_group_asset require "google/ads/google_ads/v17/resources/asset_group_asset_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetGroupAsset.new yield res if block_given? res end # Returns a new instance of asset_group_listing_group_filter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetGroupListingGroupFilter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetGroupListingGroupFilter] the created resource def self.asset_group_listing_group_filter require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetGroupListingGroupFilter.new yield res if block_given? res end # Returns a new instance of listing_group_filter_dimension_path, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimensionPath] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimensionPath] the created resource def self.listing_group_filter_dimension_path require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimensionPath.new yield res if block_given? res end # Returns a new instance of listing_group_filter_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension] the created resource def self.listing_group_filter_dimension require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension.new yield res if block_given? res end # Returns a new instance of product_category, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCategory] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCategory] the created resource def self.product_category require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCategory.new yield res if block_given? res end # Returns a new instance of product_brand, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductBrand] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductBrand] the created resource def self.product_brand require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductBrand.new yield res if block_given? res end # Returns a new instance of product_channel, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductChannel] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductChannel] the created resource def self.product_channel require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductChannel.new yield res if block_given? res end # Returns a new instance of product_condition, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCondition] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCondition] the created resource def self.product_condition require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCondition.new yield res if block_given? res end # Returns a new instance of product_custom_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCustomAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCustomAttribute] the created resource def self.product_custom_attribute require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductCustomAttribute.new yield res if block_given? res end # Returns a new instance of product_item_id, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductItemId] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductItemId] the created resource def self.product_item_id require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductItemId.new yield res if block_given? res end # Returns a new instance of product_type, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductType] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductType] the created resource def self.product_type require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::ProductType.new yield res if block_given? res end # Returns a new instance of webpage, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::Webpage] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::Webpage] the created resource def self.webpage require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::Webpage.new yield res if block_given? res end # Returns a new instance of webpage_condition, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::WebpageCondition] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::WebpageCondition] the created resource def self.webpage_condition require "google/ads/google_ads/v17/resources/asset_group_listing_group_filter_pb" res = Google::Ads::GoogleAds::V17::Resources::ListingGroupFilterDimension::WebpageCondition.new yield res if block_given? res end # Returns a new instance of asset_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetGroup] the created resource def self.asset_group require "google/ads/google_ads/v17/resources/asset_group_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetGroup.new yield res if block_given? res end # Returns a new instance of asset_group_product_group_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetGroupProductGroupView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetGroupProductGroupView] the created resource def self.asset_group_product_group_view require "google/ads/google_ads/v17/resources/asset_group_product_group_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetGroupProductGroupView.new yield res if block_given? res end # Returns a new instance of asset_group_signal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetGroupSignal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetGroupSignal] the created resource def self.asset_group_signal require "google/ads/google_ads/v17/resources/asset_group_signal_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetGroupSignal.new yield res if block_given? res end # Returns a new instance of asset_group_top_combination_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetGroupTopCombinationView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetGroupTopCombinationView] the created resource def self.asset_group_top_combination_view require "google/ads/google_ads/v17/resources/asset_group_top_combination_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetGroupTopCombinationView.new yield res if block_given? res end # Returns a new instance of asset_group_asset_combination_data, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetGroupAssetCombinationData] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetGroupAssetCombinationData] the created resource def self.asset_group_asset_combination_data require "google/ads/google_ads/v17/resources/asset_group_top_combination_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetGroupAssetCombinationData.new yield res if block_given? res end # Returns a new instance of money, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Money] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Money] the created resource def self.money require "google/ads/google_ads/v17/common/feed_common_pb" res = Google::Ads::GoogleAds::V17::Common::Money.new yield res if block_given? res end # Returns a new instance of youtube_video_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::YoutubeVideoAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::YoutubeVideoAsset] the created resource def self.youtube_video_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::YoutubeVideoAsset.new yield res if block_given? res end # Returns a new instance of media_bundle_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MediaBundleAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MediaBundleAsset] the created resource def self.media_bundle_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::MediaBundleAsset.new yield res if block_given? res end # Returns a new instance of image_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ImageAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ImageAsset] the created resource def self.image_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::ImageAsset.new yield res if block_given? res end # Returns a new instance of image_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ImageDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ImageDimension] the created resource def self.image_dimension require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::ImageDimension.new yield res if block_given? res end # Returns a new instance of text_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TextAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TextAsset] the created resource def self.text_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::TextAsset.new yield res if block_given? res end # Returns a new instance of lead_form_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LeadFormAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LeadFormAsset] the created resource def self.lead_form_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::LeadFormAsset.new yield res if block_given? res end # Returns a new instance of lead_form_field, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LeadFormField] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LeadFormField] the created resource def self.lead_form_field require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::LeadFormField.new yield res if block_given? res end # Returns a new instance of lead_form_custom_question_field, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LeadFormCustomQuestionField] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LeadFormCustomQuestionField] the created resource def self.lead_form_custom_question_field require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::LeadFormCustomQuestionField.new yield res if block_given? res end # Returns a new instance of lead_form_single_choice_answers, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LeadFormSingleChoiceAnswers] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LeadFormSingleChoiceAnswers] the created resource def self.lead_form_single_choice_answers require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::LeadFormSingleChoiceAnswers.new yield res if block_given? res end # Returns a new instance of lead_form_delivery_method, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LeadFormDeliveryMethod] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LeadFormDeliveryMethod] the created resource def self.lead_form_delivery_method require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::LeadFormDeliveryMethod.new yield res if block_given? res end # Returns a new instance of webhook_delivery, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::WebhookDelivery] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::WebhookDelivery] the created resource def self.webhook_delivery require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::WebhookDelivery.new yield res if block_given? res end # Returns a new instance of book_on_google_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BookOnGoogleAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BookOnGoogleAsset] the created resource def self.book_on_google_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::BookOnGoogleAsset.new yield res if block_given? res end # Returns a new instance of promotion_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PromotionAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PromotionAsset] the created resource def self.promotion_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::PromotionAsset.new yield res if block_given? res end # Returns a new instance of callout_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CalloutAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CalloutAsset] the created resource def self.callout_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::CalloutAsset.new yield res if block_given? res end # Returns a new instance of structured_snippet_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::StructuredSnippetAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::StructuredSnippetAsset] the created resource def self.structured_snippet_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::StructuredSnippetAsset.new yield res if block_given? res end # Returns a new instance of sitelink_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::SitelinkAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::SitelinkAsset] the created resource def self.sitelink_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::SitelinkAsset.new yield res if block_given? res end # Returns a new instance of page_feed_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PageFeedAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PageFeedAsset] the created resource def self.page_feed_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::PageFeedAsset.new yield res if block_given? res end # Returns a new instance of dynamic_education_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicEducationAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicEducationAsset] the created resource def self.dynamic_education_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicEducationAsset.new yield res if block_given? res end # Returns a new instance of mobile_app_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MobileAppAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MobileAppAsset] the created resource def self.mobile_app_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::MobileAppAsset.new yield res if block_given? res end # Returns a new instance of hotel_callout_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelCalloutAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelCalloutAsset] the created resource def self.hotel_callout_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::HotelCalloutAsset.new yield res if block_given? res end # Returns a new instance of call_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CallAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CallAsset] the created resource def self.call_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::CallAsset.new yield res if block_given? res end # Returns a new instance of price_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PriceAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PriceAsset] the created resource def self.price_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::PriceAsset.new yield res if block_given? res end # Returns a new instance of price_offering, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PriceOffering] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PriceOffering] the created resource def self.price_offering require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::PriceOffering.new yield res if block_given? res end # Returns a new instance of call_to_action_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CallToActionAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CallToActionAsset] the created resource def self.call_to_action_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::CallToActionAsset.new yield res if block_given? res end # Returns a new instance of dynamic_real_estate_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicRealEstateAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicRealEstateAsset] the created resource def self.dynamic_real_estate_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicRealEstateAsset.new yield res if block_given? res end # Returns a new instance of dynamic_custom_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicCustomAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicCustomAsset] the created resource def self.dynamic_custom_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicCustomAsset.new yield res if block_given? res end # Returns a new instance of dynamic_hotels_and_rentals_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicHotelsAndRentalsAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicHotelsAndRentalsAsset] the created resource def self.dynamic_hotels_and_rentals_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicHotelsAndRentalsAsset.new yield res if block_given? res end # Returns a new instance of dynamic_flights_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicFlightsAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicFlightsAsset] the created resource def self.dynamic_flights_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicFlightsAsset.new yield res if block_given? res end # Returns a new instance of demand_gen_carousel_card_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DemandGenCarouselCardAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DemandGenCarouselCardAsset] the created resource def self.demand_gen_carousel_card_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DemandGenCarouselCardAsset.new yield res if block_given? res end # Returns a new instance of dynamic_travel_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicTravelAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicTravelAsset] the created resource def self.dynamic_travel_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicTravelAsset.new yield res if block_given? res end # Returns a new instance of dynamic_local_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicLocalAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicLocalAsset] the created resource def self.dynamic_local_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicLocalAsset.new yield res if block_given? res end # Returns a new instance of dynamic_jobs_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicJobsAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicJobsAsset] the created resource def self.dynamic_jobs_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicJobsAsset.new yield res if block_given? res end # Returns a new instance of location_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LocationAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LocationAsset] the created resource def self.location_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::LocationAsset.new yield res if block_given? res end # Returns a new instance of business_profile_location, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BusinessProfileLocation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BusinessProfileLocation] the created resource def self.business_profile_location require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::BusinessProfileLocation.new yield res if block_given? res end # Returns a new instance of hotel_property_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelPropertyAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelPropertyAsset] the created resource def self.hotel_property_asset require "google/ads/google_ads/v17/common/asset_types_pb" res = Google::Ads::GoogleAds::V17::Common::HotelPropertyAsset.new yield res if block_given? res end # Returns a new instance of asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Asset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Asset] the created resource def self.asset require "google/ads/google_ads/v17/resources/asset_pb" res = Google::Ads::GoogleAds::V17::Resources::Asset.new yield res if block_given? res end # Returns a new instance of asset_field_type_policy_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetFieldTypePolicySummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetFieldTypePolicySummary] the created resource def self.asset_field_type_policy_summary require "google/ads/google_ads/v17/resources/asset_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetFieldTypePolicySummary.new yield res if block_given? res end # Returns a new instance of asset_policy_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetPolicySummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetPolicySummary] the created resource def self.asset_policy_summary require "google/ads/google_ads/v17/resources/asset_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetPolicySummary.new yield res if block_given? res end # Returns a new instance of asset_set_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetSetAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetSetAsset] the created resource def self.asset_set_asset require "google/ads/google_ads/v17/resources/asset_set_asset_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetSetAsset.new yield res if block_given? res end # Returns a new instance of location_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LocationSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LocationSet] the created resource def self.location_set require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::LocationSet.new yield res if block_given? res end # Returns a new instance of business_profile_location_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BusinessProfileLocationSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BusinessProfileLocationSet] the created resource def self.business_profile_location_set require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::BusinessProfileLocationSet.new yield res if block_given? res end # Returns a new instance of chain_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ChainSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ChainSet] the created resource def self.chain_set require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::ChainSet.new yield res if block_given? res end # Returns a new instance of chain_filter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ChainFilter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ChainFilter] the created resource def self.chain_filter require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::ChainFilter.new yield res if block_given? res end # Returns a new instance of maps_location_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MapsLocationSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MapsLocationSet] the created resource def self.maps_location_set require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::MapsLocationSet.new yield res if block_given? res end # Returns a new instance of maps_location_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MapsLocationInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MapsLocationInfo] the created resource def self.maps_location_info require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::MapsLocationInfo.new yield res if block_given? res end # Returns a new instance of business_profile_location_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BusinessProfileLocationGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BusinessProfileLocationGroup] the created resource def self.business_profile_location_group require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::BusinessProfileLocationGroup.new yield res if block_given? res end # Returns a new instance of dynamic_business_profile_location_group_filter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicBusinessProfileLocationGroupFilter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicBusinessProfileLocationGroupFilter] the created resource def self.dynamic_business_profile_location_group_filter require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicBusinessProfileLocationGroupFilter.new yield res if block_given? res end # Returns a new instance of business_profile_business_name_filter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BusinessProfileBusinessNameFilter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BusinessProfileBusinessNameFilter] the created resource def self.business_profile_business_name_filter require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::BusinessProfileBusinessNameFilter.new yield res if block_given? res end # Returns a new instance of chain_location_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ChainLocationGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ChainLocationGroup] the created resource def self.chain_location_group require "google/ads/google_ads/v17/common/asset_set_types_pb" res = Google::Ads::GoogleAds::V17::Common::ChainLocationGroup.new yield res if block_given? res end # Returns a new instance of asset_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetSet] the created resource def self.asset_set require "google/ads/google_ads/v17/resources/asset_set_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetSet.new yield res if block_given? res end # Returns a new instance of merchant_center_feed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetSet::MerchantCenterFeed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetSet::MerchantCenterFeed] the created resource def self.merchant_center_feed require "google/ads/google_ads/v17/resources/asset_set_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetSet::MerchantCenterFeed.new yield res if block_given? res end # Returns a new instance of hotel_property_data, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetSet::HotelPropertyData] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetSet::HotelPropertyData] the created resource def self.hotel_property_data require "google/ads/google_ads/v17/resources/asset_set_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetSet::HotelPropertyData.new yield res if block_given? res end # Returns a new instance of asset_set_type_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AssetSetTypeView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AssetSetTypeView] the created resource def self.asset_set_type_view require "google/ads/google_ads/v17/resources/asset_set_type_view_pb" res = Google::Ads::GoogleAds::V17::Resources::AssetSetTypeView.new yield res if block_given? res end # Returns a new instance of audience_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AudienceDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AudienceDimension] the created resource def self.audience_dimension require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::AudienceDimension.new yield res if block_given? res end # Returns a new instance of audience_exclusion_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AudienceExclusionDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AudienceExclusionDimension] the created resource def self.audience_exclusion_dimension require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::AudienceExclusionDimension.new yield res if block_given? res end # Returns a new instance of exclusion_segment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ExclusionSegment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ExclusionSegment] the created resource def self.exclusion_segment require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::ExclusionSegment.new yield res if block_given? res end # Returns a new instance of age_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AgeDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AgeDimension] the created resource def self.age_dimension require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::AgeDimension.new yield res if block_given? res end # Returns a new instance of age_segment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AgeSegment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AgeSegment] the created resource def self.age_segment require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::AgeSegment.new yield res if block_given? res end # Returns a new instance of gender_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::GenderDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::GenderDimension] the created resource def self.gender_dimension require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::GenderDimension.new yield res if block_given? res end # Returns a new instance of household_income_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HouseholdIncomeDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HouseholdIncomeDimension] the created resource def self.household_income_dimension require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::HouseholdIncomeDimension.new yield res if block_given? res end # Returns a new instance of parental_status_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ParentalStatusDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ParentalStatusDimension] the created resource def self.parental_status_dimension require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::ParentalStatusDimension.new yield res if block_given? res end # Returns a new instance of audience_segment_dimension, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AudienceSegmentDimension] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AudienceSegmentDimension] the created resource def self.audience_segment_dimension require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::AudienceSegmentDimension.new yield res if block_given? res end # Returns a new instance of audience_segment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AudienceSegment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AudienceSegment] the created resource def self.audience_segment require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::AudienceSegment.new yield res if block_given? res end # Returns a new instance of user_list_segment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListSegment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListSegment] the created resource def self.user_list_segment require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::UserListSegment.new yield res if block_given? res end # Returns a new instance of user_interest_segment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserInterestSegment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserInterestSegment] the created resource def self.user_interest_segment require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::UserInterestSegment.new yield res if block_given? res end # Returns a new instance of life_event_segment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LifeEventSegment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LifeEventSegment] the created resource def self.life_event_segment require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::LifeEventSegment.new yield res if block_given? res end # Returns a new instance of detailed_demographic_segment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DetailedDemographicSegment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DetailedDemographicSegment] the created resource def self.detailed_demographic_segment require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::DetailedDemographicSegment.new yield res if block_given? res end # Returns a new instance of custom_audience_segment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CustomAudienceSegment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CustomAudienceSegment] the created resource def self.custom_audience_segment require "google/ads/google_ads/v17/common/audiences_pb" res = Google::Ads::GoogleAds::V17::Common::CustomAudienceSegment.new yield res if block_given? res end # Returns a new instance of audience, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Audience] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Audience] the created resource def self.audience require "google/ads/google_ads/v17/resources/audience_pb" res = Google::Ads::GoogleAds::V17::Resources::Audience.new yield res if block_given? res end # Returns a new instance of batch_job, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BatchJob] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BatchJob] the created resource def self.batch_job require "google/ads/google_ads/v17/resources/batch_job_pb" res = Google::Ads::GoogleAds::V17::Resources::BatchJob.new yield res if block_given? res end # Returns a new instance of batch_job_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BatchJob::BatchJobMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BatchJob::BatchJobMetadata] the created resource def self.batch_job_metadata require "google/ads/google_ads/v17/resources/batch_job_pb" res = Google::Ads::GoogleAds::V17::Resources::BatchJob::BatchJobMetadata.new yield res if block_given? res end # Returns a new instance of bidding_data_exclusion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BiddingDataExclusion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BiddingDataExclusion] the created resource def self.bidding_data_exclusion require "google/ads/google_ads/v17/resources/bidding_data_exclusion_pb" res = Google::Ads::GoogleAds::V17::Resources::BiddingDataExclusion.new yield res if block_given? res end # Returns a new instance of bidding_seasonality_adjustment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BiddingSeasonalityAdjustment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BiddingSeasonalityAdjustment] the created resource def self.bidding_seasonality_adjustment require "google/ads/google_ads/v17/resources/bidding_seasonality_adjustment_pb" res = Google::Ads::GoogleAds::V17::Resources::BiddingSeasonalityAdjustment.new yield res if block_given? res end # Returns a new instance of commission, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Commission] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Commission] the created resource def self.commission require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::Commission.new yield res if block_given? res end # Returns a new instance of enhanced_cpc, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::EnhancedCpc] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::EnhancedCpc] the created resource def self.enhanced_cpc require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::EnhancedCpc.new yield res if block_given? res end # Returns a new instance of manual_cpa, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ManualCpa] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ManualCpa] the created resource def self.manual_cpa require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::ManualCpa.new yield res if block_given? res end # Returns a new instance of manual_cpc, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ManualCpc] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ManualCpc] the created resource def self.manual_cpc require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::ManualCpc.new yield res if block_given? res end # Returns a new instance of manual_cpm, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ManualCpm] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ManualCpm] the created resource def self.manual_cpm require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::ManualCpm.new yield res if block_given? res end # Returns a new instance of manual_cpv, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ManualCpv] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ManualCpv] the created resource def self.manual_cpv require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::ManualCpv.new yield res if block_given? res end # Returns a new instance of maximize_conversions, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MaximizeConversions] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MaximizeConversions] the created resource def self.maximize_conversions require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::MaximizeConversions.new yield res if block_given? res end # Returns a new instance of maximize_conversion_value, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MaximizeConversionValue] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MaximizeConversionValue] the created resource def self.maximize_conversion_value require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::MaximizeConversionValue.new yield res if block_given? res end # Returns a new instance of target_cpa, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetCpa] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetCpa] the created resource def self.target_cpa require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::TargetCpa.new yield res if block_given? res end # Returns a new instance of target_cpm, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetCpm] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetCpm] the created resource def self.target_cpm require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::TargetCpm.new yield res if block_given? res end # Returns a new instance of target_cpm_target_frequency_goal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetCpmTargetFrequencyGoal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetCpmTargetFrequencyGoal] the created resource def self.target_cpm_target_frequency_goal require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::TargetCpmTargetFrequencyGoal.new yield res if block_given? res end # Returns a new instance of target_impression_share, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetImpressionShare] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetImpressionShare] the created resource def self.target_impression_share require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::TargetImpressionShare.new yield res if block_given? res end # Returns a new instance of target_roas, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetRoas] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetRoas] the created resource def self.target_roas require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::TargetRoas.new yield res if block_given? res end # Returns a new instance of target_spend, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetSpend] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetSpend] the created resource def self.target_spend require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::TargetSpend.new yield res if block_given? res end # Returns a new instance of percent_cpc, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PercentCpc] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PercentCpc] the created resource def self.percent_cpc require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::PercentCpc.new yield res if block_given? res end # Returns a new instance of fixed_cpm, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::FixedCpm] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::FixedCpm] the created resource def self.fixed_cpm require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::FixedCpm.new yield res if block_given? res end # Returns a new instance of fixed_cpm_target_frequency_goal_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::FixedCpmTargetFrequencyGoalInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::FixedCpmTargetFrequencyGoalInfo] the created resource def self.fixed_cpm_target_frequency_goal_info require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::FixedCpmTargetFrequencyGoalInfo.new yield res if block_given? res end # Returns a new instance of target_cpv, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TargetCpv] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TargetCpv] the created resource def self.target_cpv require "google/ads/google_ads/v17/common/bidding_pb" res = Google::Ads::GoogleAds::V17::Common::TargetCpv.new yield res if block_given? res end # Returns a new instance of bidding_strategy, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BiddingStrategy] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BiddingStrategy] the created resource def self.bidding_strategy require "google/ads/google_ads/v17/resources/bidding_strategy_pb" res = Google::Ads::GoogleAds::V17::Resources::BiddingStrategy.new yield res if block_given? res end # Returns a new instance of bidding_strategy_simulation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BiddingStrategySimulation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BiddingStrategySimulation] the created resource def self.bidding_strategy_simulation require "google/ads/google_ads/v17/resources/bidding_strategy_simulation_pb" res = Google::Ads::GoogleAds::V17::Resources::BiddingStrategySimulation.new yield res if block_given? res end # Returns a new instance of billing_setup, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BillingSetup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BillingSetup] the created resource def self.billing_setup require "google/ads/google_ads/v17/resources/billing_setup_pb" res = Google::Ads::GoogleAds::V17::Resources::BillingSetup.new yield res if block_given? res end # Returns a new instance of payments_account_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BillingSetup::PaymentsAccountInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BillingSetup::PaymentsAccountInfo] the created resource def self.payments_account_info require "google/ads/google_ads/v17/resources/billing_setup_pb" res = Google::Ads::GoogleAds::V17::Resources::BillingSetup::PaymentsAccountInfo.new yield res if block_given? res end # Returns a new instance of call_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CallView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CallView] the created resource def self.call_view require "google/ads/google_ads/v17/resources/call_view_pb" res = Google::Ads::GoogleAds::V17::Resources::CallView.new yield res if block_given? res end # Returns a new instance of campaign_aggregate_asset_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignAggregateAssetView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignAggregateAssetView] the created resource def self.campaign_aggregate_asset_view require "google/ads/google_ads/v17/resources/campaign_aggregate_asset_view_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignAggregateAssetView.new yield res if block_given? res end # Returns a new instance of campaign_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignAsset] the created resource def self.campaign_asset require "google/ads/google_ads/v17/resources/campaign_asset_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignAsset.new yield res if block_given? res end # Returns a new instance of campaign_asset_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignAssetSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignAssetSet] the created resource def self.campaign_asset_set require "google/ads/google_ads/v17/resources/campaign_asset_set_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignAssetSet.new yield res if block_given? res end # Returns a new instance of campaign_audience_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignAudienceView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignAudienceView] the created resource def self.campaign_audience_view require "google/ads/google_ads/v17/resources/campaign_audience_view_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignAudienceView.new yield res if block_given? res end # Returns a new instance of campaign_bid_modifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignBidModifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignBidModifier] the created resource def self.campaign_bid_modifier require "google/ads/google_ads/v17/resources/campaign_bid_modifier_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignBidModifier.new yield res if block_given? res end # Returns a new instance of campaign_budget, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignBudget] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignBudget] the created resource def self.campaign_budget require "google/ads/google_ads/v17/resources/campaign_budget_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignBudget.new yield res if block_given? res end # Returns a new instance of campaign_conversion_goal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignConversionGoal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignConversionGoal] the created resource def self.campaign_conversion_goal require "google/ads/google_ads/v17/resources/campaign_conversion_goal_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignConversionGoal.new yield res if block_given? res end # Returns a new instance of campaign_criterion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignCriterion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignCriterion] the created resource def self.campaign_criterion require "google/ads/google_ads/v17/resources/campaign_criterion_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignCriterion.new yield res if block_given? res end # Returns a new instance of campaign_customizer, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignCustomizer] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignCustomizer] the created resource def self.campaign_customizer require "google/ads/google_ads/v17/resources/campaign_customizer_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignCustomizer.new yield res if block_given? res end # Returns a new instance of campaign_draft, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignDraft] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignDraft] the created resource def self.campaign_draft require "google/ads/google_ads/v17/resources/campaign_draft_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignDraft.new yield res if block_given? res end # Returns a new instance of campaign_extension_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignExtensionSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignExtensionSetting] the created resource def self.campaign_extension_setting require "google/ads/google_ads/v17/resources/campaign_extension_setting_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignExtensionSetting.new yield res if block_given? res end # Returns a new instance of campaign_feed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignFeed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignFeed] the created resource def self.campaign_feed require "google/ads/google_ads/v17/resources/campaign_feed_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignFeed.new yield res if block_given? res end # Returns a new instance of campaign_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignGroup] the created resource def self.campaign_group require "google/ads/google_ads/v17/resources/campaign_group_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignGroup.new yield res if block_given? res end # Returns a new instance of campaign_label, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignLabel] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignLabel] the created resource def self.campaign_label require "google/ads/google_ads/v17/resources/campaign_label_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignLabel.new yield res if block_given? res end # Returns a new instance of lifecycle_goal_value_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LifecycleGoalValueSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LifecycleGoalValueSettings] the created resource def self.lifecycle_goal_value_settings require "google/ads/google_ads/v17/common/lifecycle_goals_pb" res = Google::Ads::GoogleAds::V17::Common::LifecycleGoalValueSettings.new yield res if block_given? res end # Returns a new instance of campaign_lifecycle_goal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignLifecycleGoal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignLifecycleGoal] the created resource def self.campaign_lifecycle_goal require "google/ads/google_ads/v17/resources/campaign_lifecycle_goal_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignLifecycleGoal.new yield res if block_given? res end # Returns a new instance of customer_acquisition_goal_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerAcquisitionGoalSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerAcquisitionGoalSettings] the created resource def self.customer_acquisition_goal_settings require "google/ads/google_ads/v17/resources/campaign_lifecycle_goal_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerAcquisitionGoalSettings.new yield res if block_given? res end # Returns a new instance of frequency_cap_entry, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::FrequencyCapEntry] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::FrequencyCapEntry] the created resource def self.frequency_cap_entry require "google/ads/google_ads/v17/common/frequency_cap_pb" res = Google::Ads::GoogleAds::V17::Common::FrequencyCapEntry.new yield res if block_given? res end # Returns a new instance of frequency_cap_key, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::FrequencyCapKey] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::FrequencyCapKey] the created resource def self.frequency_cap_key require "google/ads/google_ads/v17/common/frequency_cap_pb" res = Google::Ads::GoogleAds::V17::Common::FrequencyCapKey.new yield res if block_given? res end # Returns a new instance of real_time_bidding_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::RealTimeBiddingSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::RealTimeBiddingSetting] the created resource def self.real_time_bidding_setting require "google/ads/google_ads/v17/common/real_time_bidding_setting_pb" res = Google::Ads::GoogleAds::V17::Common::RealTimeBiddingSetting.new yield res if block_given? res end # Returns a new instance of campaign, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign] the created resource def self.campaign require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign.new yield res if block_given? res end # Returns a new instance of performance_max_upgrade, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::PerformanceMaxUpgrade] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::PerformanceMaxUpgrade] the created resource def self.performance_max_upgrade require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::PerformanceMaxUpgrade.new yield res if block_given? res end # Returns a new instance of network_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::NetworkSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::NetworkSettings] the created resource def self.network_settings require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::NetworkSettings.new yield res if block_given? res end # Returns a new instance of hotel_setting_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::HotelSettingInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::HotelSettingInfo] the created resource def self.hotel_setting_info require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::HotelSettingInfo.new yield res if block_given? res end # Returns a new instance of dynamic_search_ads_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::DynamicSearchAdsSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::DynamicSearchAdsSetting] the created resource def self.dynamic_search_ads_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::DynamicSearchAdsSetting.new yield res if block_given? res end # Returns a new instance of shopping_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::ShoppingSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::ShoppingSetting] the created resource def self.shopping_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::ShoppingSetting.new yield res if block_given? res end # Returns a new instance of tracking_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::TrackingSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::TrackingSetting] the created resource def self.tracking_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::TrackingSetting.new yield res if block_given? res end # Returns a new instance of geo_target_type_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::GeoTargetTypeSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::GeoTargetTypeSetting] the created resource def self.geo_target_type_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::GeoTargetTypeSetting.new yield res if block_given? res end # Returns a new instance of local_campaign_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::LocalCampaignSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::LocalCampaignSetting] the created resource def self.local_campaign_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::LocalCampaignSetting.new yield res if block_given? res end # Returns a new instance of app_campaign_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::AppCampaignSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::AppCampaignSetting] the created resource def self.app_campaign_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::AppCampaignSetting.new yield res if block_given? res end # Returns a new instance of vanity_pharma, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::VanityPharma] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::VanityPharma] the created resource def self.vanity_pharma require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::VanityPharma.new yield res if block_given? res end # Returns a new instance of selective_optimization, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::SelectiveOptimization] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::SelectiveOptimization] the created resource def self.selective_optimization require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::SelectiveOptimization.new yield res if block_given? res end # Returns a new instance of optimization_goal_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::OptimizationGoalSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::OptimizationGoalSetting] the created resource def self.optimization_goal_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::OptimizationGoalSetting.new yield res if block_given? res end # Returns a new instance of campaign_audience_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::AudienceSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::AudienceSetting] the created resource def self.campaign_audience_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::AudienceSetting.new yield res if block_given? res end # Returns a new instance of local_services_campaign_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::LocalServicesCampaignSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::LocalServicesCampaignSettings] the created resource def self.local_services_campaign_settings require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::LocalServicesCampaignSettings.new yield res if block_given? res end # Returns a new instance of category_bid, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::CategoryBid] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::CategoryBid] the created resource def self.category_bid require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::CategoryBid.new yield res if block_given? res end # Returns a new instance of travel_campaign_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::TravelCampaignSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::TravelCampaignSettings] the created resource def self.travel_campaign_settings require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::TravelCampaignSettings.new yield res if block_given? res end # Returns a new instance of demand_gen_campaign_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::DemandGenCampaignSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::DemandGenCampaignSettings] the created resource def self.demand_gen_campaign_settings require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::DemandGenCampaignSettings.new yield res if block_given? res end # Returns a new instance of video_campaign_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::VideoCampaignSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::VideoCampaignSettings] the created resource def self.video_campaign_settings require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::VideoCampaignSettings.new yield res if block_given? res end # Returns a new instance of video_ad_inventory_control, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::VideoCampaignSettings::VideoAdInventoryControl] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::VideoCampaignSettings::VideoAdInventoryControl] the created resource def self.video_ad_inventory_control require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::VideoCampaignSettings::VideoAdInventoryControl.new yield res if block_given? res end # Returns a new instance of asset_automation_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Campaign::AssetAutomationSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Campaign::AssetAutomationSetting] the created resource def self.asset_automation_setting require "google/ads/google_ads/v17/resources/campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::Campaign::AssetAutomationSetting.new yield res if block_given? res end # Returns a new instance of campaign_search_term_insight, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignSearchTermInsight] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignSearchTermInsight] the created resource def self.campaign_search_term_insight require "google/ads/google_ads/v17/resources/campaign_search_term_insight_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignSearchTermInsight.new yield res if block_given? res end # Returns a new instance of campaign_shared_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignSharedSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignSharedSet] the created resource def self.campaign_shared_set require "google/ads/google_ads/v17/resources/campaign_shared_set_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignSharedSet.new yield res if block_given? res end # Returns a new instance of campaign_simulation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CampaignSimulation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CampaignSimulation] the created resource def self.campaign_simulation require "google/ads/google_ads/v17/resources/campaign_simulation_pb" res = Google::Ads::GoogleAds::V17::Resources::CampaignSimulation.new yield res if block_given? res end # Returns a new instance of carrier_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CarrierConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CarrierConstant] the created resource def self.carrier_constant require "google/ads/google_ads/v17/resources/carrier_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::CarrierConstant.new yield res if block_given? res end # Returns a new instance of customer_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerAsset] the created resource def self.customer_asset require "google/ads/google_ads/v17/resources/customer_asset_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerAsset.new yield res if block_given? res end # Returns a new instance of feed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Feed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Feed] the created resource def self.feed require "google/ads/google_ads/v17/resources/feed_pb" res = Google::Ads::GoogleAds::V17::Resources::Feed.new yield res if block_given? res end # Returns a new instance of places_location_feed_data, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Feed::PlacesLocationFeedData] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Feed::PlacesLocationFeedData] the created resource def self.places_location_feed_data require "google/ads/google_ads/v17/resources/feed_pb" res = Google::Ads::GoogleAds::V17::Resources::Feed::PlacesLocationFeedData.new yield res if block_given? res end # Returns a new instance of o_auth_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Feed::PlacesLocationFeedData::OAuthInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Feed::PlacesLocationFeedData::OAuthInfo] the created resource def self.o_auth_info require "google/ads/google_ads/v17/resources/feed_pb" res = Google::Ads::GoogleAds::V17::Resources::Feed::PlacesLocationFeedData::OAuthInfo.new yield res if block_given? res end # Returns a new instance of affiliate_location_feed_data, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Feed::AffiliateLocationFeedData] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Feed::AffiliateLocationFeedData] the created resource def self.affiliate_location_feed_data require "google/ads/google_ads/v17/resources/feed_pb" res = Google::Ads::GoogleAds::V17::Resources::Feed::AffiliateLocationFeedData.new yield res if block_given? res end # Returns a new instance of feed_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedAttribute] the created resource def self.feed_attribute require "google/ads/google_ads/v17/resources/feed_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedAttribute.new yield res if block_given? res end # Returns a new instance of feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedItem] the created resource def self.feed_item require "google/ads/google_ads/v17/resources/feed_item_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedItem.new yield res if block_given? res end # Returns a new instance of feed_item_attribute_value, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedItemAttributeValue] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedItemAttributeValue] the created resource def self.feed_item_attribute_value require "google/ads/google_ads/v17/resources/feed_item_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedItemAttributeValue.new yield res if block_given? res end # Returns a new instance of feed_item_placeholder_policy_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedItemPlaceholderPolicyInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedItemPlaceholderPolicyInfo] the created resource def self.feed_item_placeholder_policy_info require "google/ads/google_ads/v17/resources/feed_item_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedItemPlaceholderPolicyInfo.new yield res if block_given? res end # Returns a new instance of feed_item_validation_error, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedItemValidationError] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedItemValidationError] the created resource def self.feed_item_validation_error require "google/ads/google_ads/v17/resources/feed_item_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedItemValidationError.new yield res if block_given? res end # Returns a new instance of change_event, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ChangeEvent] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ChangeEvent] the created resource def self.change_event require "google/ads/google_ads/v17/resources/change_event_pb" res = Google::Ads::GoogleAds::V17::Resources::ChangeEvent.new yield res if block_given? res end # Returns a new instance of changed_resource, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ChangeEvent::ChangedResource] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ChangeEvent::ChangedResource] the created resource def self.changed_resource require "google/ads/google_ads/v17/resources/change_event_pb" res = Google::Ads::GoogleAds::V17::Resources::ChangeEvent::ChangedResource.new yield res if block_given? res end # Returns a new instance of change_status, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ChangeStatus] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ChangeStatus] the created resource def self.change_status require "google/ads/google_ads/v17/resources/change_status_pb" res = Google::Ads::GoogleAds::V17::Resources::ChangeStatus.new yield res if block_given? res end # Returns a new instance of channel_aggregate_asset_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ChannelAggregateAssetView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ChannelAggregateAssetView] the created resource def self.channel_aggregate_asset_view require "google/ads/google_ads/v17/resources/channel_aggregate_asset_view_pb" res = Google::Ads::GoogleAds::V17::Resources::ChannelAggregateAssetView.new yield res if block_given? res end # Returns a new instance of click_location, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ClickLocation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ClickLocation] the created resource def self.click_location require "google/ads/google_ads/v17/common/click_location_pb" res = Google::Ads::GoogleAds::V17::Common::ClickLocation.new yield res if block_given? res end # Returns a new instance of click_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ClickView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ClickView] the created resource def self.click_view require "google/ads/google_ads/v17/resources/click_view_pb" res = Google::Ads::GoogleAds::V17::Resources::ClickView.new yield res if block_given? res end # Returns a new instance of combined_audience, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CombinedAudience] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CombinedAudience] the created resource def self.combined_audience require "google/ads/google_ads/v17/resources/combined_audience_pb" res = Google::Ads::GoogleAds::V17::Resources::CombinedAudience.new yield res if block_given? res end # Returns a new instance of tag_snippet, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TagSnippet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TagSnippet] the created resource def self.tag_snippet require "google/ads/google_ads/v17/common/tag_snippet_pb" res = Google::Ads::GoogleAds::V17::Common::TagSnippet.new yield res if block_given? res end # Returns a new instance of conversion_action, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionAction] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionAction] the created resource def self.conversion_action require "google/ads/google_ads/v17/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionAction.new yield res if block_given? res end # Returns a new instance of attribution_model_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionAction::AttributionModelSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionAction::AttributionModelSettings] the created resource def self.attribution_model_settings require "google/ads/google_ads/v17/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionAction::AttributionModelSettings.new yield res if block_given? res end # Returns a new instance of value_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionAction::ValueSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionAction::ValueSettings] the created resource def self.value_settings require "google/ads/google_ads/v17/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionAction::ValueSettings.new yield res if block_given? res end # Returns a new instance of third_party_app_analytics_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionAction::ThirdPartyAppAnalyticsSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionAction::ThirdPartyAppAnalyticsSettings] the created resource def self.third_party_app_analytics_settings require "google/ads/google_ads/v17/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionAction::ThirdPartyAppAnalyticsSettings.new yield res if block_given? res end # Returns a new instance of firebase_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionAction::FirebaseSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionAction::FirebaseSettings] the created resource def self.firebase_settings require "google/ads/google_ads/v17/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionAction::FirebaseSettings.new yield res if block_given? res end # Returns a new instance of google_analytics4_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionAction::GoogleAnalytics4Settings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionAction::GoogleAnalytics4Settings] the created resource def self.google_analytics4_settings require "google/ads/google_ads/v17/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionAction::GoogleAnalytics4Settings.new yield res if block_given? res end # Returns a new instance of conversion_custom_variable, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionCustomVariable] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionCustomVariable] the created resource def self.conversion_custom_variable require "google/ads/google_ads/v17/resources/conversion_custom_variable_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionCustomVariable.new yield res if block_given? res end # Returns a new instance of conversion_goal_campaign_config, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionGoalCampaignConfig] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionGoalCampaignConfig] the created resource def self.conversion_goal_campaign_config require "google/ads/google_ads/v17/resources/conversion_goal_campaign_config_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionGoalCampaignConfig.new yield res if block_given? res end # Returns a new instance of conversion_value_rule, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule] the created resource def self.conversion_value_rule require "google/ads/google_ads/v17/resources/conversion_value_rule_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionValueRule.new yield res if block_given? res end # Returns a new instance of value_rule_action, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleAction] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleAction] the created resource def self.value_rule_action require "google/ads/google_ads/v17/resources/conversion_value_rule_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleAction.new yield res if block_given? res end # Returns a new instance of value_rule_geo_location_condition, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleGeoLocationCondition] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleGeoLocationCondition] the created resource def self.value_rule_geo_location_condition require "google/ads/google_ads/v17/resources/conversion_value_rule_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleGeoLocationCondition.new yield res if block_given? res end # Returns a new instance of value_rule_device_condition, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleDeviceCondition] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleDeviceCondition] the created resource def self.value_rule_device_condition require "google/ads/google_ads/v17/resources/conversion_value_rule_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleDeviceCondition.new yield res if block_given? res end # Returns a new instance of value_rule_audience_condition, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleAudienceCondition] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleAudienceCondition] the created resource def self.value_rule_audience_condition require "google/ads/google_ads/v17/resources/conversion_value_rule_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionValueRule::ValueRuleAudienceCondition.new yield res if block_given? res end # Returns a new instance of conversion_value_rule_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionValueRuleSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionValueRuleSet] the created resource def self.conversion_value_rule_set require "google/ads/google_ads/v17/resources/conversion_value_rule_set_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionValueRuleSet.new yield res if block_given? res end # Returns a new instance of currency_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CurrencyConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CurrencyConstant] the created resource def self.currency_constant require "google/ads/google_ads/v17/resources/currency_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::CurrencyConstant.new yield res if block_given? res end # Returns a new instance of custom_audience, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomAudience] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomAudience] the created resource def self.custom_audience require "google/ads/google_ads/v17/resources/custom_audience_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomAudience.new yield res if block_given? res end # Returns a new instance of custom_audience_member, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomAudienceMember] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomAudienceMember] the created resource def self.custom_audience_member require "google/ads/google_ads/v17/resources/custom_audience_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomAudienceMember.new yield res if block_given? res end # Returns a new instance of custom_conversion_goal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomConversionGoal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomConversionGoal] the created resource def self.custom_conversion_goal require "google/ads/google_ads/v17/resources/custom_conversion_goal_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomConversionGoal.new yield res if block_given? res end # Returns a new instance of custom_interest, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomInterest] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomInterest] the created resource def self.custom_interest require "google/ads/google_ads/v17/resources/custom_interest_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomInterest.new yield res if block_given? res end # Returns a new instance of custom_interest_member, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomInterestMember] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomInterestMember] the created resource def self.custom_interest_member require "google/ads/google_ads/v17/resources/custom_interest_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomInterestMember.new yield res if block_given? res end # Returns a new instance of customer_asset_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerAssetSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerAssetSet] the created resource def self.customer_asset_set require "google/ads/google_ads/v17/resources/customer_asset_set_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerAssetSet.new yield res if block_given? res end # Returns a new instance of customer_client_link, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerClientLink] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerClientLink] the created resource def self.customer_client_link require "google/ads/google_ads/v17/resources/customer_client_link_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerClientLink.new yield res if block_given? res end # Returns a new instance of customer_client, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerClient] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerClient] the created resource def self.customer_client require "google/ads/google_ads/v17/resources/customer_client_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerClient.new yield res if block_given? res end # Returns a new instance of customer_conversion_goal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerConversionGoal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerConversionGoal] the created resource def self.customer_conversion_goal require "google/ads/google_ads/v17/resources/customer_conversion_goal_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerConversionGoal.new yield res if block_given? res end # Returns a new instance of customer_customizer, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerCustomizer] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerCustomizer] the created resource def self.customer_customizer require "google/ads/google_ads/v17/resources/customer_customizer_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerCustomizer.new yield res if block_given? res end # Returns a new instance of customer_extension_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerExtensionSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerExtensionSetting] the created resource def self.customer_extension_setting require "google/ads/google_ads/v17/resources/customer_extension_setting_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerExtensionSetting.new yield res if block_given? res end # Returns a new instance of customer_feed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerFeed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerFeed] the created resource def self.customer_feed require "google/ads/google_ads/v17/resources/customer_feed_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerFeed.new yield res if block_given? res end # Returns a new instance of customer_label, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerLabel] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerLabel] the created resource def self.customer_label require "google/ads/google_ads/v17/resources/customer_label_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerLabel.new yield res if block_given? res end # Returns a new instance of customer_lifecycle_goal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerLifecycleGoal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerLifecycleGoal] the created resource def self.customer_lifecycle_goal require "google/ads/google_ads/v17/resources/customer_lifecycle_goal_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerLifecycleGoal.new yield res if block_given? res end # Returns a new instance of customer_manager_link, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerManagerLink] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerManagerLink] the created resource def self.customer_manager_link require "google/ads/google_ads/v17/resources/customer_manager_link_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerManagerLink.new yield res if block_given? res end # Returns a new instance of customer_negative_criterion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerNegativeCriterion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerNegativeCriterion] the created resource def self.customer_negative_criterion require "google/ads/google_ads/v17/resources/customer_negative_criterion_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerNegativeCriterion.new yield res if block_given? res end # Returns a new instance of customer, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Customer] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Customer] the created resource def self.customer require "google/ads/google_ads/v17/resources/customer_pb" res = Google::Ads::GoogleAds::V17::Resources::Customer.new yield res if block_given? res end # Returns a new instance of call_reporting_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CallReportingSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CallReportingSetting] the created resource def self.call_reporting_setting require "google/ads/google_ads/v17/resources/customer_pb" res = Google::Ads::GoogleAds::V17::Resources::CallReportingSetting.new yield res if block_given? res end # Returns a new instance of conversion_tracking_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ConversionTrackingSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ConversionTrackingSetting] the created resource def self.conversion_tracking_setting require "google/ads/google_ads/v17/resources/customer_pb" res = Google::Ads::GoogleAds::V17::Resources::ConversionTrackingSetting.new yield res if block_given? res end # Returns a new instance of remarketing_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::RemarketingSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::RemarketingSetting] the created resource def self.remarketing_setting require "google/ads/google_ads/v17/resources/customer_pb" res = Google::Ads::GoogleAds::V17::Resources::RemarketingSetting.new yield res if block_given? res end # Returns a new instance of customer_agreement_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerAgreementSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerAgreementSetting] the created resource def self.customer_agreement_setting require "google/ads/google_ads/v17/resources/customer_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerAgreementSetting.new yield res if block_given? res end # Returns a new instance of local_services_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LocalServicesSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LocalServicesSettings] the created resource def self.local_services_settings require "google/ads/google_ads/v17/resources/customer_pb" res = Google::Ads::GoogleAds::V17::Resources::LocalServicesSettings.new yield res if block_given? res end # Returns a new instance of granular_license_status, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::GranularLicenseStatus] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::GranularLicenseStatus] the created resource def self.granular_license_status require "google/ads/google_ads/v17/resources/customer_pb" res = Google::Ads::GoogleAds::V17::Resources::GranularLicenseStatus.new yield res if block_given? res end # Returns a new instance of granular_insurance_status, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::GranularInsuranceStatus] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::GranularInsuranceStatus] the created resource def self.granular_insurance_status require "google/ads/google_ads/v17/resources/customer_pb" res = Google::Ads::GoogleAds::V17::Resources::GranularInsuranceStatus.new yield res if block_given? res end # Returns a new instance of customer_search_term_insight, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSearchTermInsight] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSearchTermInsight] the created resource def self.customer_search_term_insight require "google/ads/google_ads/v17/resources/customer_search_term_insight_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSearchTermInsight.new yield res if block_given? res end # Returns a new instance of customer_sk_ad_network_conversion_value_schema, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema] the created resource def self.customer_sk_ad_network_conversion_value_schema require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema.new yield res if block_given? res end # Returns a new instance of sk_ad_network_conversion_value_schema, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema] the created resource def self.sk_ad_network_conversion_value_schema require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema.new yield res if block_given? res end # Returns a new instance of fine_grained_conversion_value_mappings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::FineGrainedConversionValueMappings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::FineGrainedConversionValueMappings] the created resource def self.fine_grained_conversion_value_mappings require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::FineGrainedConversionValueMappings.new yield res if block_given? res end # Returns a new instance of postback_mapping, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::PostbackMapping] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::PostbackMapping] the created resource def self.postback_mapping require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::PostbackMapping.new yield res if block_given? res end # Returns a new instance of coarse_grained_conversion_value_mappings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::CoarseGrainedConversionValueMappings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::CoarseGrainedConversionValueMappings] the created resource def self.coarse_grained_conversion_value_mappings require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::CoarseGrainedConversionValueMappings.new yield res if block_given? res end # Returns a new instance of conversion_value_mapping, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::ConversionValueMapping] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::ConversionValueMapping] the created resource def self.conversion_value_mapping require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::ConversionValueMapping.new yield res if block_given? res end # Returns a new instance of event, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event] the created resource def self.event require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event.new yield res if block_given? res end # Returns a new instance of revenue_range, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event::RevenueRange] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event::RevenueRange] the created resource def self.revenue_range require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event::RevenueRange.new yield res if block_given? res end # Returns a new instance of event_occurrence_range, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event::EventOccurrenceRange] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event::EventOccurrenceRange] the created resource def self.event_occurrence_range require "google/ads/google_ads/v17/resources/customer_sk_ad_network_conversion_value_schema_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerSkAdNetworkConversionValueSchema::SkAdNetworkConversionValueSchema::Event::EventOccurrenceRange.new yield res if block_given? res end # Returns a new instance of customer_user_access_invitation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerUserAccessInvitation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerUserAccessInvitation] the created resource def self.customer_user_access_invitation require "google/ads/google_ads/v17/resources/customer_user_access_invitation_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerUserAccessInvitation.new yield res if block_given? res end # Returns a new instance of customer_user_access, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomerUserAccess] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomerUserAccess] the created resource def self.customer_user_access require "google/ads/google_ads/v17/resources/customer_user_access_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomerUserAccess.new yield res if block_given? res end # Returns a new instance of customizer_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomizerAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomizerAttribute] the created resource def self.customizer_attribute require "google/ads/google_ads/v17/resources/customizer_attribute_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomizerAttribute.new yield res if block_given? res end # Returns a new instance of detail_placement_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::DetailPlacementView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::DetailPlacementView] the created resource def self.detail_placement_view require "google/ads/google_ads/v17/resources/detail_placement_view_pb" res = Google::Ads::GoogleAds::V17::Resources::DetailPlacementView.new yield res if block_given? res end # Returns a new instance of criterion_category_availability, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CriterionCategoryAvailability] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CriterionCategoryAvailability] the created resource def self.criterion_category_availability require "google/ads/google_ads/v17/common/criterion_category_availability_pb" res = Google::Ads::GoogleAds::V17::Common::CriterionCategoryAvailability.new yield res if block_given? res end # Returns a new instance of criterion_category_channel_availability, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CriterionCategoryChannelAvailability] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CriterionCategoryChannelAvailability] the created resource def self.criterion_category_channel_availability require "google/ads/google_ads/v17/common/criterion_category_availability_pb" res = Google::Ads::GoogleAds::V17::Common::CriterionCategoryChannelAvailability.new yield res if block_given? res end # Returns a new instance of criterion_category_locale_availability, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CriterionCategoryLocaleAvailability] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CriterionCategoryLocaleAvailability] the created resource def self.criterion_category_locale_availability require "google/ads/google_ads/v17/common/criterion_category_availability_pb" res = Google::Ads::GoogleAds::V17::Common::CriterionCategoryLocaleAvailability.new yield res if block_given? res end # Returns a new instance of detailed_demographic, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::DetailedDemographic] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::DetailedDemographic] the created resource def self.detailed_demographic require "google/ads/google_ads/v17/resources/detailed_demographic_pb" res = Google::Ads::GoogleAds::V17::Resources::DetailedDemographic.new yield res if block_given? res end # Returns a new instance of display_keyword_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::DisplayKeywordView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::DisplayKeywordView] the created resource def self.display_keyword_view require "google/ads/google_ads/v17/resources/display_keyword_view_pb" res = Google::Ads::GoogleAds::V17::Resources::DisplayKeywordView.new yield res if block_given? res end # Returns a new instance of distance_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::DistanceView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::DistanceView] the created resource def self.distance_view require "google/ads/google_ads/v17/resources/distance_view_pb" res = Google::Ads::GoogleAds::V17::Resources::DistanceView.new yield res if block_given? res end # Returns a new instance of domain_category, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::DomainCategory] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::DomainCategory] the created resource def self.domain_category require "google/ads/google_ads/v17/resources/domain_category_pb" res = Google::Ads::GoogleAds::V17::Resources::DomainCategory.new yield res if block_given? res end # Returns a new instance of dynamic_search_ads_search_term_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::DynamicSearchAdsSearchTermView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::DynamicSearchAdsSearchTermView] the created resource def self.dynamic_search_ads_search_term_view require "google/ads/google_ads/v17/resources/dynamic_search_ads_search_term_view_pb" res = Google::Ads::GoogleAds::V17::Resources::DynamicSearchAdsSearchTermView.new yield res if block_given? res end # Returns a new instance of expanded_landing_page_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ExpandedLandingPageView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ExpandedLandingPageView] the created resource def self.expanded_landing_page_view require "google/ads/google_ads/v17/resources/expanded_landing_page_view_pb" res = Google::Ads::GoogleAds::V17::Resources::ExpandedLandingPageView.new yield res if block_given? res end # Returns a new instance of experiment_arm, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ExperimentArm] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ExperimentArm] the created resource def self.experiment_arm require "google/ads/google_ads/v17/resources/experiment_arm_pb" res = Google::Ads::GoogleAds::V17::Resources::ExperimentArm.new yield res if block_given? res end # Returns a new instance of metric_goal, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MetricGoal] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MetricGoal] the created resource def self.metric_goal require "google/ads/google_ads/v17/common/metric_goal_pb" res = Google::Ads::GoogleAds::V17::Common::MetricGoal.new yield res if block_given? res end # Returns a new instance of experiment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Experiment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Experiment] the created resource def self.experiment require "google/ads/google_ads/v17/resources/experiment_pb" res = Google::Ads::GoogleAds::V17::Resources::Experiment.new yield res if block_given? res end # Returns a new instance of app_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AppFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AppFeedItem] the created resource def self.app_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::AppFeedItem.new yield res if block_given? res end # Returns a new instance of call_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CallFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CallFeedItem] the created resource def self.call_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::CallFeedItem.new yield res if block_given? res end # Returns a new instance of callout_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CalloutFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CalloutFeedItem] the created resource def self.callout_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::CalloutFeedItem.new yield res if block_given? res end # Returns a new instance of location_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LocationFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LocationFeedItem] the created resource def self.location_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::LocationFeedItem.new yield res if block_given? res end # Returns a new instance of affiliate_location_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AffiliateLocationFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AffiliateLocationFeedItem] the created resource def self.affiliate_location_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::AffiliateLocationFeedItem.new yield res if block_given? res end # Returns a new instance of text_message_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TextMessageFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TextMessageFeedItem] the created resource def self.text_message_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::TextMessageFeedItem.new yield res if block_given? res end # Returns a new instance of price_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PriceFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PriceFeedItem] the created resource def self.price_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::PriceFeedItem.new yield res if block_given? res end # Returns a new instance of price_offer, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PriceOffer] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PriceOffer] the created resource def self.price_offer require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::PriceOffer.new yield res if block_given? res end # Returns a new instance of promotion_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::PromotionFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::PromotionFeedItem] the created resource def self.promotion_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::PromotionFeedItem.new yield res if block_given? res end # Returns a new instance of structured_snippet_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::StructuredSnippetFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::StructuredSnippetFeedItem] the created resource def self.structured_snippet_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::StructuredSnippetFeedItem.new yield res if block_given? res end # Returns a new instance of sitelink_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::SitelinkFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::SitelinkFeedItem] the created resource def self.sitelink_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::SitelinkFeedItem.new yield res if block_given? res end # Returns a new instance of hotel_callout_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HotelCalloutFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HotelCalloutFeedItem] the created resource def self.hotel_callout_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::HotelCalloutFeedItem.new yield res if block_given? res end # Returns a new instance of image_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ImageFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ImageFeedItem] the created resource def self.image_feed_item require "google/ads/google_ads/v17/common/extensions_pb" res = Google::Ads::GoogleAds::V17::Common::ImageFeedItem.new yield res if block_given? res end # Returns a new instance of extension_feed_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ExtensionFeedItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ExtensionFeedItem] the created resource def self.extension_feed_item require "google/ads/google_ads/v17/resources/extension_feed_item_pb" res = Google::Ads::GoogleAds::V17::Resources::ExtensionFeedItem.new yield res if block_given? res end # Returns a new instance of feed_item_set_link, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedItemSetLink] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedItemSetLink] the created resource def self.feed_item_set_link require "google/ads/google_ads/v17/resources/feed_item_set_link_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedItemSetLink.new yield res if block_given? res end # Returns a new instance of dynamic_location_set_filter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicLocationSetFilter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicLocationSetFilter] the created resource def self.dynamic_location_set_filter require "google/ads/google_ads/v17/common/feed_item_set_filter_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicLocationSetFilter.new yield res if block_given? res end # Returns a new instance of business_name_filter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BusinessNameFilter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BusinessNameFilter] the created resource def self.business_name_filter require "google/ads/google_ads/v17/common/feed_item_set_filter_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::BusinessNameFilter.new yield res if block_given? res end # Returns a new instance of dynamic_affiliate_location_set_filter, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DynamicAffiliateLocationSetFilter] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DynamicAffiliateLocationSetFilter] the created resource def self.dynamic_affiliate_location_set_filter require "google/ads/google_ads/v17/common/feed_item_set_filter_type_infos_pb" res = Google::Ads::GoogleAds::V17::Common::DynamicAffiliateLocationSetFilter.new yield res if block_given? res end # Returns a new instance of feed_item_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedItemSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedItemSet] the created resource def self.feed_item_set require "google/ads/google_ads/v17/resources/feed_item_set_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedItemSet.new yield res if block_given? res end # Returns a new instance of feed_item_target, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedItemTarget] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedItemTarget] the created resource def self.feed_item_target require "google/ads/google_ads/v17/resources/feed_item_target_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedItemTarget.new yield res if block_given? res end # Returns a new instance of feed_mapping, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedMapping] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedMapping] the created resource def self.feed_mapping require "google/ads/google_ads/v17/resources/feed_mapping_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedMapping.new yield res if block_given? res end # Returns a new instance of attribute_field_mapping, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AttributeFieldMapping] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AttributeFieldMapping] the created resource def self.attribute_field_mapping require "google/ads/google_ads/v17/resources/feed_mapping_pb" res = Google::Ads::GoogleAds::V17::Resources::AttributeFieldMapping.new yield res if block_given? res end # Returns a new instance of feed_placeholder_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::FeedPlaceholderView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::FeedPlaceholderView] the created resource def self.feed_placeholder_view require "google/ads/google_ads/v17/resources/feed_placeholder_view_pb" res = Google::Ads::GoogleAds::V17::Resources::FeedPlaceholderView.new yield res if block_given? res end # Returns a new instance of gender_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::GenderView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::GenderView] the created resource def self.gender_view require "google/ads/google_ads/v17/resources/gender_view_pb" res = Google::Ads::GoogleAds::V17::Resources::GenderView.new yield res if block_given? res end # Returns a new instance of geo_target_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::GeoTargetConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::GeoTargetConstant] the created resource def self.geo_target_constant require "google/ads/google_ads/v17/resources/geo_target_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::GeoTargetConstant.new yield res if block_given? res end # Returns a new instance of geographic_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::GeographicView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::GeographicView] the created resource def self.geographic_view require "google/ads/google_ads/v17/resources/geographic_view_pb" res = Google::Ads::GoogleAds::V17::Resources::GeographicView.new yield res if block_given? res end # Returns a new instance of google_ads_field, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::GoogleAdsField] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::GoogleAdsField] the created resource def self.google_ads_field require "google/ads/google_ads/v17/resources/google_ads_field_pb" res = Google::Ads::GoogleAds::V17::Resources::GoogleAdsField.new yield res if block_given? res end # Returns a new instance of group_placement_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::GroupPlacementView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::GroupPlacementView] the created resource def self.group_placement_view require "google/ads/google_ads/v17/resources/group_placement_view_pb" res = Google::Ads::GoogleAds::V17::Resources::GroupPlacementView.new yield res if block_given? res end # Returns a new instance of hotel_group_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::HotelGroupView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::HotelGroupView] the created resource def self.hotel_group_view require "google/ads/google_ads/v17/resources/hotel_group_view_pb" res = Google::Ads::GoogleAds::V17::Resources::HotelGroupView.new yield res if block_given? res end # Returns a new instance of hotel_performance_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::HotelPerformanceView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::HotelPerformanceView] the created resource def self.hotel_performance_view require "google/ads/google_ads/v17/resources/hotel_performance_view_pb" res = Google::Ads::GoogleAds::V17::Resources::HotelPerformanceView.new yield res if block_given? res end # Returns a new instance of hotel_reconciliation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::HotelReconciliation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::HotelReconciliation] the created resource def self.hotel_reconciliation require "google/ads/google_ads/v17/resources/hotel_reconciliation_pb" res = Google::Ads::GoogleAds::V17::Resources::HotelReconciliation.new yield res if block_given? res end # Returns a new instance of income_range_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::IncomeRangeView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::IncomeRangeView] the created resource def self.income_range_view require "google/ads/google_ads/v17/resources/income_range_view_pb" res = Google::Ads::GoogleAds::V17::Resources::IncomeRangeView.new yield res if block_given? res end # Returns a new instance of date_range, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::DateRange] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::DateRange] the created resource def self.date_range require "google/ads/google_ads/v17/common/dates_pb" res = Google::Ads::GoogleAds::V17::Common::DateRange.new yield res if block_given? res end # Returns a new instance of year_month_range, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::YearMonthRange] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::YearMonthRange] the created resource def self.year_month_range require "google/ads/google_ads/v17/common/dates_pb" res = Google::Ads::GoogleAds::V17::Common::YearMonthRange.new yield res if block_given? res end # Returns a new instance of year_month, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::YearMonth] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::YearMonth] the created resource def self.year_month require "google/ads/google_ads/v17/common/dates_pb" res = Google::Ads::GoogleAds::V17::Common::YearMonth.new yield res if block_given? res end # Returns a new instance of invoice, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Invoice] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Invoice] the created resource def self.invoice require "google/ads/google_ads/v17/resources/invoice_pb" res = Google::Ads::GoogleAds::V17::Resources::Invoice.new yield res if block_given? res end # Returns a new instance of account_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Invoice::AccountSummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Invoice::AccountSummary] the created resource def self.account_summary require "google/ads/google_ads/v17/resources/invoice_pb" res = Google::Ads::GoogleAds::V17::Resources::Invoice::AccountSummary.new yield res if block_given? res end # Returns a new instance of account_budget_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Invoice::AccountBudgetSummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Invoice::AccountBudgetSummary] the created resource def self.account_budget_summary require "google/ads/google_ads/v17/resources/invoice_pb" res = Google::Ads::GoogleAds::V17::Resources::Invoice::AccountBudgetSummary.new yield res if block_given? res end # Returns a new instance of invalid_activity_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Invoice::InvalidActivitySummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Invoice::InvalidActivitySummary] the created resource def self.invalid_activity_summary require "google/ads/google_ads/v17/resources/invoice_pb" res = Google::Ads::GoogleAds::V17::Resources::Invoice::InvalidActivitySummary.new yield res if block_given? res end # Returns a new instance of keyword_plan_ad_group_keyword, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordPlanAdGroupKeyword] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordPlanAdGroupKeyword] the created resource def self.keyword_plan_ad_group_keyword require "google/ads/google_ads/v17/resources/keyword_plan_ad_group_keyword_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordPlanAdGroupKeyword.new yield res if block_given? res end # Returns a new instance of keyword_plan_ad_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordPlanAdGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordPlanAdGroup] the created resource def self.keyword_plan_ad_group require "google/ads/google_ads/v17/resources/keyword_plan_ad_group_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordPlanAdGroup.new yield res if block_given? res end # Returns a new instance of keyword_plan_campaign_keyword, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordPlanCampaignKeyword] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordPlanCampaignKeyword] the created resource def self.keyword_plan_campaign_keyword require "google/ads/google_ads/v17/resources/keyword_plan_campaign_keyword_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordPlanCampaignKeyword.new yield res if block_given? res end # Returns a new instance of keyword_plan_campaign, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordPlanCampaign] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordPlanCampaign] the created resource def self.keyword_plan_campaign require "google/ads/google_ads/v17/resources/keyword_plan_campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordPlanCampaign.new yield res if block_given? res end # Returns a new instance of keyword_plan_geo_target, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordPlanGeoTarget] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordPlanGeoTarget] the created resource def self.keyword_plan_geo_target require "google/ads/google_ads/v17/resources/keyword_plan_campaign_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordPlanGeoTarget.new yield res if block_given? res end # Returns a new instance of keyword_plan, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordPlan] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordPlan] the created resource def self.keyword_plan require "google/ads/google_ads/v17/resources/keyword_plan_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordPlan.new yield res if block_given? res end # Returns a new instance of keyword_plan_forecast_period, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordPlanForecastPeriod] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordPlanForecastPeriod] the created resource def self.keyword_plan_forecast_period require "google/ads/google_ads/v17/resources/keyword_plan_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordPlanForecastPeriod.new yield res if block_given? res end # Returns a new instance of keyword_theme_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordThemeConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordThemeConstant] the created resource def self.keyword_theme_constant require "google/ads/google_ads/v17/resources/keyword_theme_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordThemeConstant.new yield res if block_given? res end # Returns a new instance of keyword_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::KeywordView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::KeywordView] the created resource def self.keyword_view require "google/ads/google_ads/v17/resources/keyword_view_pb" res = Google::Ads::GoogleAds::V17::Resources::KeywordView.new yield res if block_given? res end # Returns a new instance of text_label, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TextLabel] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TextLabel] the created resource def self.text_label require "google/ads/google_ads/v17/common/text_label_pb" res = Google::Ads::GoogleAds::V17::Common::TextLabel.new yield res if block_given? res end # Returns a new instance of label, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Label] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Label] the created resource def self.label require "google/ads/google_ads/v17/resources/label_pb" res = Google::Ads::GoogleAds::V17::Resources::Label.new yield res if block_given? res end # Returns a new instance of landing_page_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LandingPageView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LandingPageView] the created resource def self.landing_page_view require "google/ads/google_ads/v17/resources/landing_page_view_pb" res = Google::Ads::GoogleAds::V17::Resources::LandingPageView.new yield res if block_given? res end # Returns a new instance of language_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LanguageConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LanguageConstant] the created resource def self.language_constant require "google/ads/google_ads/v17/resources/language_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::LanguageConstant.new yield res if block_given? res end # Returns a new instance of lead_form_submission_data, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LeadFormSubmissionData] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LeadFormSubmissionData] the created resource def self.lead_form_submission_data require "google/ads/google_ads/v17/resources/lead_form_submission_data_pb" res = Google::Ads::GoogleAds::V17::Resources::LeadFormSubmissionData.new yield res if block_given? res end # Returns a new instance of lead_form_submission_field, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LeadFormSubmissionField] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LeadFormSubmissionField] the created resource def self.lead_form_submission_field require "google/ads/google_ads/v17/resources/lead_form_submission_data_pb" res = Google::Ads::GoogleAds::V17::Resources::LeadFormSubmissionField.new yield res if block_given? res end # Returns a new instance of custom_lead_form_submission_field, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CustomLeadFormSubmissionField] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CustomLeadFormSubmissionField] the created resource def self.custom_lead_form_submission_field require "google/ads/google_ads/v17/resources/lead_form_submission_data_pb" res = Google::Ads::GoogleAds::V17::Resources::CustomLeadFormSubmissionField.new yield res if block_given? res end # Returns a new instance of life_event, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LifeEvent] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LifeEvent] the created resource def self.life_event require "google/ads/google_ads/v17/resources/life_event_pb" res = Google::Ads::GoogleAds::V17::Resources::LifeEvent.new yield res if block_given? res end # Returns a new instance of local_services_employee, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LocalServicesEmployee] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LocalServicesEmployee] the created resource def self.local_services_employee require "google/ads/google_ads/v17/resources/local_services_employee_pb" res = Google::Ads::GoogleAds::V17::Resources::LocalServicesEmployee.new yield res if block_given? res end # Returns a new instance of university_degree, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::UniversityDegree] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::UniversityDegree] the created resource def self.university_degree require "google/ads/google_ads/v17/resources/local_services_employee_pb" res = Google::Ads::GoogleAds::V17::Resources::UniversityDegree.new yield res if block_given? res end # Returns a new instance of residency, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Residency] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Residency] the created resource def self.residency require "google/ads/google_ads/v17/resources/local_services_employee_pb" res = Google::Ads::GoogleAds::V17::Resources::Residency.new yield res if block_given? res end # Returns a new instance of fellowship, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Fellowship] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Fellowship] the created resource def self.fellowship require "google/ads/google_ads/v17/resources/local_services_employee_pb" res = Google::Ads::GoogleAds::V17::Resources::Fellowship.new yield res if block_given? res end # Returns a new instance of local_services_lead_conversation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LocalServicesLeadConversation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LocalServicesLeadConversation] the created resource def self.local_services_lead_conversation require "google/ads/google_ads/v17/resources/local_services_lead_conversation_pb" res = Google::Ads::GoogleAds::V17::Resources::LocalServicesLeadConversation.new yield res if block_given? res end # Returns a new instance of phone_call_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::PhoneCallDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::PhoneCallDetails] the created resource def self.phone_call_details require "google/ads/google_ads/v17/resources/local_services_lead_conversation_pb" res = Google::Ads::GoogleAds::V17::Resources::PhoneCallDetails.new yield res if block_given? res end # Returns a new instance of message_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MessageDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MessageDetails] the created resource def self.message_details require "google/ads/google_ads/v17/resources/local_services_lead_conversation_pb" res = Google::Ads::GoogleAds::V17::Resources::MessageDetails.new yield res if block_given? res end # Returns a new instance of local_services_lead, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LocalServicesLead] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LocalServicesLead] the created resource def self.local_services_lead require "google/ads/google_ads/v17/resources/local_services_lead_pb" res = Google::Ads::GoogleAds::V17::Resources::LocalServicesLead.new yield res if block_given? res end # Returns a new instance of contact_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ContactDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ContactDetails] the created resource def self.contact_details require "google/ads/google_ads/v17/resources/local_services_lead_pb" res = Google::Ads::GoogleAds::V17::Resources::ContactDetails.new yield res if block_given? res end # Returns a new instance of note, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Note] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Note] the created resource def self.note require "google/ads/google_ads/v17/resources/local_services_lead_pb" res = Google::Ads::GoogleAds::V17::Resources::Note.new yield res if block_given? res end # Returns a new instance of credit_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::CreditDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::CreditDetails] the created resource def self.credit_details require "google/ads/google_ads/v17/resources/local_services_lead_pb" res = Google::Ads::GoogleAds::V17::Resources::CreditDetails.new yield res if block_given? res end # Returns a new instance of local_services_document_read_only, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LocalServicesDocumentReadOnly] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LocalServicesDocumentReadOnly] the created resource def self.local_services_document_read_only require "google/ads/google_ads/v17/common/local_services_pb" res = Google::Ads::GoogleAds::V17::Common::LocalServicesDocumentReadOnly.new yield res if block_given? res end # Returns a new instance of local_services_verification_artifact, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LocalServicesVerificationArtifact] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LocalServicesVerificationArtifact] the created resource def self.local_services_verification_artifact require "google/ads/google_ads/v17/resources/local_services_verification_artifact_pb" res = Google::Ads::GoogleAds::V17::Resources::LocalServicesVerificationArtifact.new yield res if block_given? res end # Returns a new instance of background_check_verification_artifact, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BackgroundCheckVerificationArtifact] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BackgroundCheckVerificationArtifact] the created resource def self.background_check_verification_artifact require "google/ads/google_ads/v17/resources/local_services_verification_artifact_pb" res = Google::Ads::GoogleAds::V17::Resources::BackgroundCheckVerificationArtifact.new yield res if block_given? res end # Returns a new instance of insurance_verification_artifact, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::InsuranceVerificationArtifact] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::InsuranceVerificationArtifact] the created resource def self.insurance_verification_artifact require "google/ads/google_ads/v17/resources/local_services_verification_artifact_pb" res = Google::Ads::GoogleAds::V17::Resources::InsuranceVerificationArtifact.new yield res if block_given? res end # Returns a new instance of license_verification_artifact, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LicenseVerificationArtifact] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LicenseVerificationArtifact] the created resource def self.license_verification_artifact require "google/ads/google_ads/v17/resources/local_services_verification_artifact_pb" res = Google::Ads::GoogleAds::V17::Resources::LicenseVerificationArtifact.new yield res if block_given? res end # Returns a new instance of business_registration_check_verification_artifact, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationCheckVerificationArtifact] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationCheckVerificationArtifact] the created resource def self.business_registration_check_verification_artifact require "google/ads/google_ads/v17/resources/local_services_verification_artifact_pb" res = Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationCheckVerificationArtifact.new yield res if block_given? res end # Returns a new instance of business_registration_number, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationNumber] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationNumber] the created resource def self.business_registration_number require "google/ads/google_ads/v17/resources/local_services_verification_artifact_pb" res = Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationNumber.new yield res if block_given? res end # Returns a new instance of business_registration_document, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationDocument] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationDocument] the created resource def self.business_registration_document require "google/ads/google_ads/v17/resources/local_services_verification_artifact_pb" res = Google::Ads::GoogleAds::V17::Resources::BusinessRegistrationDocument.new yield res if block_given? res end # Returns a new instance of location_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::LocationView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::LocationView] the created resource def self.location_view require "google/ads/google_ads/v17/resources/location_view_pb" res = Google::Ads::GoogleAds::V17::Resources::LocationView.new yield res if block_given? res end # Returns a new instance of managed_placement_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ManagedPlacementView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ManagedPlacementView] the created resource def self.managed_placement_view require "google/ads/google_ads/v17/resources/managed_placement_view_pb" res = Google::Ads::GoogleAds::V17::Resources::ManagedPlacementView.new yield res if block_given? res end # Returns a new instance of media_file, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MediaFile] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MediaFile] the created resource def self.media_file require "google/ads/google_ads/v17/resources/media_file_pb" res = Google::Ads::GoogleAds::V17::Resources::MediaFile.new yield res if block_given? res end # Returns a new instance of media_image, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MediaImage] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MediaImage] the created resource def self.media_image require "google/ads/google_ads/v17/resources/media_file_pb" res = Google::Ads::GoogleAds::V17::Resources::MediaImage.new yield res if block_given? res end # Returns a new instance of media_bundle, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MediaBundle] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MediaBundle] the created resource def self.media_bundle require "google/ads/google_ads/v17/resources/media_file_pb" res = Google::Ads::GoogleAds::V17::Resources::MediaBundle.new yield res if block_given? res end # Returns a new instance of media_audio, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MediaAudio] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MediaAudio] the created resource def self.media_audio require "google/ads/google_ads/v17/resources/media_file_pb" res = Google::Ads::GoogleAds::V17::Resources::MediaAudio.new yield res if block_given? res end # Returns a new instance of media_video, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MediaVideo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MediaVideo] the created resource def self.media_video require "google/ads/google_ads/v17/resources/media_file_pb" res = Google::Ads::GoogleAds::V17::Resources::MediaVideo.new yield res if block_given? res end # Returns a new instance of mobile_app_category_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MobileAppCategoryConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MobileAppCategoryConstant] the created resource def self.mobile_app_category_constant require "google/ads/google_ads/v17/resources/mobile_app_category_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::MobileAppCategoryConstant.new yield res if block_given? res end # Returns a new instance of mobile_device_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MobileDeviceConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MobileDeviceConstant] the created resource def self.mobile_device_constant require "google/ads/google_ads/v17/resources/mobile_device_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::MobileDeviceConstant.new yield res if block_given? res end # Returns a new instance of offline_conversion_upload_client_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::OfflineConversionUploadClientSummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::OfflineConversionUploadClientSummary] the created resource def self.offline_conversion_upload_client_summary require "google/ads/google_ads/v17/resources/offline_conversion_upload_client_summary_pb" res = Google::Ads::GoogleAds::V17::Resources::OfflineConversionUploadClientSummary.new yield res if block_given? res end # Returns a new instance of offline_conversion_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::OfflineConversionSummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::OfflineConversionSummary] the created resource def self.offline_conversion_summary require "google/ads/google_ads/v17/resources/offline_conversion_upload_client_summary_pb" res = Google::Ads::GoogleAds::V17::Resources::OfflineConversionSummary.new yield res if block_given? res end # Returns a new instance of offline_conversion_alert, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::OfflineConversionAlert] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::OfflineConversionAlert] the created resource def self.offline_conversion_alert require "google/ads/google_ads/v17/resources/offline_conversion_upload_client_summary_pb" res = Google::Ads::GoogleAds::V17::Resources::OfflineConversionAlert.new yield res if block_given? res end # Returns a new instance of offline_conversion_error, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::OfflineConversionError] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::OfflineConversionError] the created resource def self.offline_conversion_error require "google/ads/google_ads/v17/resources/offline_conversion_upload_client_summary_pb" res = Google::Ads::GoogleAds::V17::Resources::OfflineConversionError.new yield res if block_given? res end # Returns a new instance of offline_conversion_upload_conversion_action_summary, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::OfflineConversionUploadConversionActionSummary] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::OfflineConversionUploadConversionActionSummary] the created resource def self.offline_conversion_upload_conversion_action_summary require "google/ads/google_ads/v17/resources/offline_conversion_upload_conversion_action_summary_pb" res = Google::Ads::GoogleAds::V17::Resources::OfflineConversionUploadConversionActionSummary.new yield res if block_given? res end # Returns a new instance of consent, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Consent] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Consent] the created resource def self.consent require "google/ads/google_ads/v17/common/consent_pb" res = Google::Ads::GoogleAds::V17::Common::Consent.new yield res if block_given? res end # Returns a new instance of offline_user_address_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::OfflineUserAddressInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::OfflineUserAddressInfo] the created resource def self.offline_user_address_info require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::OfflineUserAddressInfo.new yield res if block_given? res end # Returns a new instance of user_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserIdentifier] the created resource def self.user_identifier require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::UserIdentifier.new yield res if block_given? res end # Returns a new instance of transaction_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::TransactionAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::TransactionAttribute] the created resource def self.transaction_attribute require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::TransactionAttribute.new yield res if block_given? res end # Returns a new instance of store_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::StoreAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::StoreAttribute] the created resource def self.store_attribute require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::StoreAttribute.new yield res if block_given? res end # Returns a new instance of item_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ItemAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ItemAttribute] the created resource def self.item_attribute require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::ItemAttribute.new yield res if block_given? res end # Returns a new instance of user_data, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserData] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserData] the created resource def self.user_data require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::UserData.new yield res if block_given? res end # Returns a new instance of user_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserAttribute] the created resource def self.user_attribute require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::UserAttribute.new yield res if block_given? res end # Returns a new instance of event_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::EventAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::EventAttribute] the created resource def self.event_attribute require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::EventAttribute.new yield res if block_given? res end # Returns a new instance of event_item_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::EventItemAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::EventItemAttribute] the created resource def self.event_item_attribute require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::EventItemAttribute.new yield res if block_given? res end # Returns a new instance of shopping_loyalty, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ShoppingLoyalty] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ShoppingLoyalty] the created resource def self.shopping_loyalty require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::ShoppingLoyalty.new yield res if block_given? res end # Returns a new instance of customer_match_user_list_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CustomerMatchUserListMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CustomerMatchUserListMetadata] the created resource def self.customer_match_user_list_metadata require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::CustomerMatchUserListMetadata.new yield res if block_given? res end # Returns a new instance of store_sales_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::StoreSalesMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::StoreSalesMetadata] the created resource def self.store_sales_metadata require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::StoreSalesMetadata.new yield res if block_given? res end # Returns a new instance of store_sales_third_party_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::StoreSalesThirdPartyMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::StoreSalesThirdPartyMetadata] the created resource def self.store_sales_third_party_metadata require "google/ads/google_ads/v17/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V17::Common::StoreSalesThirdPartyMetadata.new yield res if block_given? res end # Returns a new instance of offline_user_data_job, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::OfflineUserDataJob] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::OfflineUserDataJob] the created resource def self.offline_user_data_job require "google/ads/google_ads/v17/resources/offline_user_data_job_pb" res = Google::Ads::GoogleAds::V17::Resources::OfflineUserDataJob.new yield res if block_given? res end # Returns a new instance of offline_user_data_job_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::OfflineUserDataJobMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::OfflineUserDataJobMetadata] the created resource def self.offline_user_data_job_metadata require "google/ads/google_ads/v17/resources/offline_user_data_job_pb" res = Google::Ads::GoogleAds::V17::Resources::OfflineUserDataJobMetadata.new yield res if block_given? res end # Returns a new instance of operating_system_version_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::OperatingSystemVersionConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::OperatingSystemVersionConstant] the created resource def self.operating_system_version_constant require "google/ads/google_ads/v17/resources/operating_system_version_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::OperatingSystemVersionConstant.new yield res if block_given? res end # Returns a new instance of paid_organic_search_term_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::PaidOrganicSearchTermView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::PaidOrganicSearchTermView] the created resource def self.paid_organic_search_term_view require "google/ads/google_ads/v17/resources/paid_organic_search_term_view_pb" res = Google::Ads::GoogleAds::V17::Resources::PaidOrganicSearchTermView.new yield res if block_given? res end # Returns a new instance of parental_status_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ParentalStatusView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ParentalStatusView] the created resource def self.parental_status_view require "google/ads/google_ads/v17/resources/parental_status_view_pb" res = Google::Ads::GoogleAds::V17::Resources::ParentalStatusView.new yield res if block_given? res end # Returns a new instance of payments_account, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::PaymentsAccount] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::PaymentsAccount] the created resource def self.payments_account require "google/ads/google_ads/v17/resources/payments_account_pb" res = Google::Ads::GoogleAds::V17::Resources::PaymentsAccount.new yield res if block_given? res end # Returns a new instance of per_store_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::PerStoreView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::PerStoreView] the created resource def self.per_store_view require "google/ads/google_ads/v17/resources/per_store_view_pb" res = Google::Ads::GoogleAds::V17::Resources::PerStoreView.new yield res if block_given? res end # Returns a new instance of product_category_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ProductCategoryConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ProductCategoryConstant] the created resource def self.product_category_constant require "google/ads/google_ads/v17/resources/product_category_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::ProductCategoryConstant.new yield res if block_given? res end # Returns a new instance of product_category_localization, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ProductCategoryConstant::ProductCategoryLocalization] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ProductCategoryConstant::ProductCategoryLocalization] the created resource def self.product_category_localization require "google/ads/google_ads/v17/resources/product_category_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::ProductCategoryConstant::ProductCategoryLocalization.new yield res if block_given? res end # Returns a new instance of product_group_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ProductGroupView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ProductGroupView] the created resource def self.product_group_view require "google/ads/google_ads/v17/resources/product_group_view_pb" res = Google::Ads::GoogleAds::V17::Resources::ProductGroupView.new yield res if block_given? res end # Returns a new instance of product_link_invitation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ProductLinkInvitation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ProductLinkInvitation] the created resource def self.product_link_invitation require "google/ads/google_ads/v17/resources/product_link_invitation_pb" res = Google::Ads::GoogleAds::V17::Resources::ProductLinkInvitation.new yield res if block_given? res end # Returns a new instance of hotel_center_link_invitation_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::HotelCenterLinkInvitationIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::HotelCenterLinkInvitationIdentifier] the created resource def self.hotel_center_link_invitation_identifier require "google/ads/google_ads/v17/resources/product_link_invitation_pb" res = Google::Ads::GoogleAds::V17::Resources::HotelCenterLinkInvitationIdentifier.new yield res if block_given? res end # Returns a new instance of merchant_center_link_invitation_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MerchantCenterLinkInvitationIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MerchantCenterLinkInvitationIdentifier] the created resource def self.merchant_center_link_invitation_identifier require "google/ads/google_ads/v17/resources/product_link_invitation_pb" res = Google::Ads::GoogleAds::V17::Resources::MerchantCenterLinkInvitationIdentifier.new yield res if block_given? res end # Returns a new instance of advertising_partner_link_invitation_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdvertisingPartnerLinkInvitationIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdvertisingPartnerLinkInvitationIdentifier] the created resource def self.advertising_partner_link_invitation_identifier require "google/ads/google_ads/v17/resources/product_link_invitation_pb" res = Google::Ads::GoogleAds::V17::Resources::AdvertisingPartnerLinkInvitationIdentifier.new yield res if block_given? res end # Returns a new instance of product_link, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ProductLink] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ProductLink] the created resource def self.product_link require "google/ads/google_ads/v17/resources/product_link_pb" res = Google::Ads::GoogleAds::V17::Resources::ProductLink.new yield res if block_given? res end # Returns a new instance of data_partner_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::DataPartnerIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::DataPartnerIdentifier] the created resource def self.data_partner_identifier require "google/ads/google_ads/v17/resources/product_link_pb" res = Google::Ads::GoogleAds::V17::Resources::DataPartnerIdentifier.new yield res if block_given? res end # Returns a new instance of google_ads_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::GoogleAdsIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::GoogleAdsIdentifier] the created resource def self.google_ads_identifier require "google/ads/google_ads/v17/resources/product_link_pb" res = Google::Ads::GoogleAds::V17::Resources::GoogleAdsIdentifier.new yield res if block_given? res end # Returns a new instance of merchant_center_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::MerchantCenterIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::MerchantCenterIdentifier] the created resource def self.merchant_center_identifier require "google/ads/google_ads/v17/resources/product_link_pb" res = Google::Ads::GoogleAds::V17::Resources::MerchantCenterIdentifier.new yield res if block_given? res end # Returns a new instance of advertising_partner_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::AdvertisingPartnerIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::AdvertisingPartnerIdentifier] the created resource def self.advertising_partner_identifier require "google/ads/google_ads/v17/resources/product_link_pb" res = Google::Ads::GoogleAds::V17::Resources::AdvertisingPartnerIdentifier.new yield res if block_given? res end # Returns a new instance of qualifying_question, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::QualifyingQuestion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::QualifyingQuestion] the created resource def self.qualifying_question require "google/ads/google_ads/v17/resources/qualifying_question_pb" res = Google::Ads::GoogleAds::V17::Resources::QualifyingQuestion.new yield res if block_given? res end # Returns a new instance of recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation] the created resource def self.recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation.new yield res if block_given? res end # Returns a new instance of merchant_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::MerchantInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::MerchantInfo] the created resource def self.merchant_info require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::MerchantInfo.new yield res if block_given? res end # Returns a new instance of recommendation_impact, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::RecommendationImpact] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::RecommendationImpact] the created resource def self.recommendation_impact require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::RecommendationImpact.new yield res if block_given? res end # Returns a new instance of recommendation_metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::RecommendationMetrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::RecommendationMetrics] the created resource def self.recommendation_metrics require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::RecommendationMetrics.new yield res if block_given? res end # Returns a new instance of campaign_budget_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudgetRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudgetRecommendation] the created resource def self.campaign_budget_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudgetRecommendation.new yield res if block_given? res end # Returns a new instance of campaign_budget_recommendation_option, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption] the created resource def self.campaign_budget_recommendation_option require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption.new yield res if block_given? res end # Returns a new instance of keyword_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordRecommendation] the created resource def self.keyword_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordRecommendation.new yield res if block_given? res end # Returns a new instance of search_term, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordRecommendation::SearchTerm] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordRecommendation::SearchTerm] the created resource def self.search_term require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordRecommendation::SearchTerm.new yield res if block_given? res end # Returns a new instance of text_ad_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::TextAdRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::TextAdRecommendation] the created resource def self.text_ad_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::TextAdRecommendation.new yield res if block_given? res end # Returns a new instance of target_cpa_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetCpaOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetCpaOptInRecommendation] the created resource def self.target_cpa_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetCpaOptInRecommendation.new yield res if block_given? res end # Returns a new instance of target_cpa_opt_in_recommendation_option, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption] the created resource def self.target_cpa_opt_in_recommendation_option require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption.new yield res if block_given? res end # Returns a new instance of maximize_conversions_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeConversionsOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeConversionsOptInRecommendation] the created resource def self.maximize_conversions_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeConversionsOptInRecommendation.new yield res if block_given? res end # Returns a new instance of enhanced_cpc_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::EnhancedCpcOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::EnhancedCpcOptInRecommendation] the created resource def self.enhanced_cpc_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::EnhancedCpcOptInRecommendation.new yield res if block_given? res end # Returns a new instance of search_partners_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::SearchPartnersOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::SearchPartnersOptInRecommendation] the created resource def self.search_partners_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::SearchPartnersOptInRecommendation.new yield res if block_given? res end # Returns a new instance of maximize_clicks_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeClicksOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeClicksOptInRecommendation] the created resource def self.maximize_clicks_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeClicksOptInRecommendation.new yield res if block_given? res end # Returns a new instance of optimize_ad_rotation_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::OptimizeAdRotationRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::OptimizeAdRotationRecommendation] the created resource def self.optimize_ad_rotation_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::OptimizeAdRotationRecommendation.new yield res if block_given? res end # Returns a new instance of callout_asset_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::CalloutAssetRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::CalloutAssetRecommendation] the created resource def self.callout_asset_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::CalloutAssetRecommendation.new yield res if block_given? res end # Returns a new instance of sitelink_asset_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::SitelinkAssetRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::SitelinkAssetRecommendation] the created resource def self.sitelink_asset_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::SitelinkAssetRecommendation.new yield res if block_given? res end # Returns a new instance of call_asset_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::CallAssetRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::CallAssetRecommendation] the created resource def self.call_asset_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::CallAssetRecommendation.new yield res if block_given? res end # Returns a new instance of keyword_match_type_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordMatchTypeRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordMatchTypeRecommendation] the created resource def self.keyword_match_type_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::KeywordMatchTypeRecommendation.new yield res if block_given? res end # Returns a new instance of move_unused_budget_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::MoveUnusedBudgetRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::MoveUnusedBudgetRecommendation] the created resource def self.move_unused_budget_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::MoveUnusedBudgetRecommendation.new yield res if block_given? res end # Returns a new instance of target_roas_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetRoasOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetRoasOptInRecommendation] the created resource def self.target_roas_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetRoasOptInRecommendation.new yield res if block_given? res end # Returns a new instance of responsive_search_ad_asset_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdAssetRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdAssetRecommendation] the created resource def self.responsive_search_ad_asset_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdAssetRecommendation.new yield res if block_given? res end # Returns a new instance of responsive_search_ad_improve_ad_strength_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdImproveAdStrengthRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdImproveAdStrengthRecommendation] the created resource def self.responsive_search_ad_improve_ad_strength_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdImproveAdStrengthRecommendation.new yield res if block_given? res end # Returns a new instance of responsive_search_ad_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdRecommendation] the created resource def self.responsive_search_ad_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ResponsiveSearchAdRecommendation.new yield res if block_given? res end # Returns a new instance of use_broad_match_keyword_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::UseBroadMatchKeywordRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::UseBroadMatchKeywordRecommendation] the created resource def self.use_broad_match_keyword_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::UseBroadMatchKeywordRecommendation.new yield res if block_given? res end # Returns a new instance of upgrade_smart_shopping_campaign_to_performance_max_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation] the created resource def self.upgrade_smart_shopping_campaign_to_performance_max_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.new yield res if block_given? res end # Returns a new instance of raise_target_cpa_bid_too_low_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::RaiseTargetCpaBidTooLowRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::RaiseTargetCpaBidTooLowRecommendation] the created resource def self.raise_target_cpa_bid_too_low_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::RaiseTargetCpaBidTooLowRecommendation.new yield res if block_given? res end # Returns a new instance of display_expansion_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::DisplayExpansionOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::DisplayExpansionOptInRecommendation] the created resource def self.display_expansion_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::DisplayExpansionOptInRecommendation.new yield res if block_given? res end # Returns a new instance of upgrade_local_campaign_to_performance_max_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::UpgradeLocalCampaignToPerformanceMaxRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::UpgradeLocalCampaignToPerformanceMaxRecommendation] the created resource def self.upgrade_local_campaign_to_performance_max_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::UpgradeLocalCampaignToPerformanceMaxRecommendation.new yield res if block_given? res end # Returns a new instance of forecasting_set_target_roas_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ForecastingSetTargetRoasRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ForecastingSetTargetRoasRecommendation] the created resource def self.forecasting_set_target_roas_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ForecastingSetTargetRoasRecommendation.new yield res if block_given? res end # Returns a new instance of shopping_offer_attribute_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingOfferAttributeRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingOfferAttributeRecommendation] the created resource def self.shopping_offer_attribute_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingOfferAttributeRecommendation.new yield res if block_given? res end # Returns a new instance of shopping_fix_disapproved_products_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingFixDisapprovedProductsRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingFixDisapprovedProductsRecommendation] the created resource def self.shopping_fix_disapproved_products_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingFixDisapprovedProductsRecommendation.new yield res if block_given? res end # Returns a new instance of shopping_target_all_offers_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingTargetAllOffersRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingTargetAllOffersRecommendation] the created resource def self.shopping_target_all_offers_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingTargetAllOffersRecommendation.new yield res if block_given? res end # Returns a new instance of shopping_add_products_to_campaign_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingAddProductsToCampaignRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingAddProductsToCampaignRecommendation] the created resource def self.shopping_add_products_to_campaign_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingAddProductsToCampaignRecommendation.new yield res if block_given? res end # Returns a new instance of shopping_merchant_center_account_suspension_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingMerchantCenterAccountSuspensionRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingMerchantCenterAccountSuspensionRecommendation] the created resource def self.shopping_merchant_center_account_suspension_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingMerchantCenterAccountSuspensionRecommendation.new yield res if block_given? res end # Returns a new instance of shopping_migrate_regular_shopping_campaign_offers_to_performance_max_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation] the created resource def self.shopping_migrate_regular_shopping_campaign_offers_to_performance_max_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.new yield res if block_given? res end # Returns a new instance of target_adjustment_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetAdjustmentInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetAdjustmentInfo] the created resource def self.target_adjustment_info require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::TargetAdjustmentInfo.new yield res if block_given? res end # Returns a new instance of raise_target_cpa_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::RaiseTargetCpaRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::RaiseTargetCpaRecommendation] the created resource def self.raise_target_cpa_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::RaiseTargetCpaRecommendation.new yield res if block_given? res end # Returns a new instance of lower_target_roas_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::LowerTargetRoasRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::LowerTargetRoasRecommendation] the created resource def self.lower_target_roas_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::LowerTargetRoasRecommendation.new yield res if block_given? res end # Returns a new instance of dynamic_image_extension_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::DynamicImageExtensionOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::DynamicImageExtensionOptInRecommendation] the created resource def self.dynamic_image_extension_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::DynamicImageExtensionOptInRecommendation.new yield res if block_given? res end # Returns a new instance of recommendation_campaign_budget, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudget] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudget] the created resource def self.recommendation_campaign_budget require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::CampaignBudget.new yield res if block_given? res end # Returns a new instance of performance_max_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::PerformanceMaxOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::PerformanceMaxOptInRecommendation] the created resource def self.performance_max_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::PerformanceMaxOptInRecommendation.new yield res if block_given? res end # Returns a new instance of improve_performance_max_ad_strength_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ImprovePerformanceMaxAdStrengthRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ImprovePerformanceMaxAdStrengthRecommendation] the created resource def self.improve_performance_max_ad_strength_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ImprovePerformanceMaxAdStrengthRecommendation.new yield res if block_given? res end # Returns a new instance of migrate_dynamic_search_ads_campaign_to_performance_max_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation] the created resource def self.migrate_dynamic_search_ads_campaign_to_performance_max_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.new yield res if block_given? res end # Returns a new instance of forecasting_set_target_cpa_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ForecastingSetTargetCpaRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ForecastingSetTargetCpaRecommendation] the created resource def self.forecasting_set_target_cpa_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ForecastingSetTargetCpaRecommendation.new yield res if block_given? res end # Returns a new instance of maximize_conversion_value_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeConversionValueOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeConversionValueOptInRecommendation] the created resource def self.maximize_conversion_value_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::MaximizeConversionValueOptInRecommendation.new yield res if block_given? res end # Returns a new instance of improve_google_tag_coverage_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ImproveGoogleTagCoverageRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ImproveGoogleTagCoverageRecommendation] the created resource def self.improve_google_tag_coverage_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ImproveGoogleTagCoverageRecommendation.new yield res if block_given? res end # Returns a new instance of performance_max_final_url_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::PerformanceMaxFinalUrlOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::PerformanceMaxFinalUrlOptInRecommendation] the created resource def self.performance_max_final_url_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::PerformanceMaxFinalUrlOptInRecommendation.new yield res if block_given? res end # Returns a new instance of refresh_customer_match_list_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::RefreshCustomerMatchListRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::RefreshCustomerMatchListRecommendation] the created resource def self.refresh_customer_match_list_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::RefreshCustomerMatchListRecommendation.new yield res if block_given? res end # Returns a new instance of account_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::AccountInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::AccountInfo] the created resource def self.account_info require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::AccountInfo.new yield res if block_given? res end # Returns a new instance of custom_audience_opt_in_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::CustomAudienceOptInRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::CustomAudienceOptInRecommendation] the created resource def self.custom_audience_opt_in_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::CustomAudienceOptInRecommendation.new yield res if block_given? res end # Returns a new instance of lead_form_asset_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::LeadFormAssetRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::LeadFormAssetRecommendation] the created resource def self.lead_form_asset_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::LeadFormAssetRecommendation.new yield res if block_given? res end # Returns a new instance of improve_demand_gen_ad_strength_recommendation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Recommendation::ImproveDemandGenAdStrengthRecommendation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Recommendation::ImproveDemandGenAdStrengthRecommendation] the created resource def self.improve_demand_gen_ad_strength_recommendation require "google/ads/google_ads/v17/resources/recommendation_pb" res = Google::Ads::GoogleAds::V17::Resources::Recommendation::ImproveDemandGenAdStrengthRecommendation.new yield res if block_given? res end # Returns a new instance of recommendation_subscription, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::RecommendationSubscription] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::RecommendationSubscription] the created resource def self.recommendation_subscription require "google/ads/google_ads/v17/resources/recommendation_subscription_pb" res = Google::Ads::GoogleAds::V17::Resources::RecommendationSubscription.new yield res if block_given? res end # Returns a new instance of remarketing_action, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::RemarketingAction] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::RemarketingAction] the created resource def self.remarketing_action require "google/ads/google_ads/v17/resources/remarketing_action_pb" res = Google::Ads::GoogleAds::V17::Resources::RemarketingAction.new yield res if block_given? res end # Returns a new instance of search_term_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::SearchTermView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::SearchTermView] the created resource def self.search_term_view require "google/ads/google_ads/v17/resources/search_term_view_pb" res = Google::Ads::GoogleAds::V17::Resources::SearchTermView.new yield res if block_given? res end # Returns a new instance of shared_criterion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::SharedCriterion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::SharedCriterion] the created resource def self.shared_criterion require "google/ads/google_ads/v17/resources/shared_criterion_pb" res = Google::Ads::GoogleAds::V17::Resources::SharedCriterion.new yield res if block_given? res end # Returns a new instance of shared_set, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::SharedSet] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::SharedSet] the created resource def self.shared_set require "google/ads/google_ads/v17/resources/shared_set_pb" res = Google::Ads::GoogleAds::V17::Resources::SharedSet.new yield res if block_given? res end # Returns a new instance of shopping_performance_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ShoppingPerformanceView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ShoppingPerformanceView] the created resource def self.shopping_performance_view require "google/ads/google_ads/v17/resources/shopping_performance_view_pb" res = Google::Ads::GoogleAds::V17::Resources::ShoppingPerformanceView.new yield res if block_given? res end # Returns a new instance of shopping_product, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ShoppingProduct] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ShoppingProduct] the created resource def self.shopping_product require "google/ads/google_ads/v17/resources/shopping_product_pb" res = Google::Ads::GoogleAds::V17::Resources::ShoppingProduct.new yield res if block_given? res end # Returns a new instance of product_issue, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ShoppingProduct::ProductIssue] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ShoppingProduct::ProductIssue] the created resource def self.product_issue require "google/ads/google_ads/v17/resources/shopping_product_pb" res = Google::Ads::GoogleAds::V17::Resources::ShoppingProduct::ProductIssue.new yield res if block_given? res end # Returns a new instance of smart_campaign_search_term_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::SmartCampaignSearchTermView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::SmartCampaignSearchTermView] the created resource def self.smart_campaign_search_term_view require "google/ads/google_ads/v17/resources/smart_campaign_search_term_view_pb" res = Google::Ads::GoogleAds::V17::Resources::SmartCampaignSearchTermView.new yield res if block_given? res end # Returns a new instance of smart_campaign_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting] the created resource def self.smart_campaign_setting require "google/ads/google_ads/v17/resources/smart_campaign_setting_pb" res = Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting.new yield res if block_given? res end # Returns a new instance of phone_number, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting::PhoneNumber] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting::PhoneNumber] the created resource def self.phone_number require "google/ads/google_ads/v17/resources/smart_campaign_setting_pb" res = Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting::PhoneNumber.new yield res if block_given? res end # Returns a new instance of ad_optimized_business_profile_setting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting::AdOptimizedBusinessProfileSetting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting::AdOptimizedBusinessProfileSetting] the created resource def self.ad_optimized_business_profile_setting require "google/ads/google_ads/v17/resources/smart_campaign_setting_pb" res = Google::Ads::GoogleAds::V17::Resources::SmartCampaignSetting::AdOptimizedBusinessProfileSetting.new yield res if block_given? res end # Returns a new instance of third_party_app_analytics_link, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::ThirdPartyAppAnalyticsLink] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::ThirdPartyAppAnalyticsLink] the created resource def self.third_party_app_analytics_link require "google/ads/google_ads/v17/resources/third_party_app_analytics_link_pb" res = Google::Ads::GoogleAds::V17::Resources::ThirdPartyAppAnalyticsLink.new yield res if block_given? res end # Returns a new instance of topic_constant, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::TopicConstant] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::TopicConstant] the created resource def self.topic_constant require "google/ads/google_ads/v17/resources/topic_constant_pb" res = Google::Ads::GoogleAds::V17::Resources::TopicConstant.new yield res if block_given? res end # Returns a new instance of topic_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::TopicView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::TopicView] the created resource def self.topic_view require "google/ads/google_ads/v17/resources/topic_view_pb" res = Google::Ads::GoogleAds::V17::Resources::TopicView.new yield res if block_given? res end # Returns a new instance of travel_activity_group_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::TravelActivityGroupView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::TravelActivityGroupView] the created resource def self.travel_activity_group_view require "google/ads/google_ads/v17/resources/travel_activity_group_view_pb" res = Google::Ads::GoogleAds::V17::Resources::TravelActivityGroupView.new yield res if block_given? res end # Returns a new instance of travel_activity_performance_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::TravelActivityPerformanceView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::TravelActivityPerformanceView] the created resource def self.travel_activity_performance_view require "google/ads/google_ads/v17/resources/travel_activity_performance_view_pb" res = Google::Ads::GoogleAds::V17::Resources::TravelActivityPerformanceView.new yield res if block_given? res end # Returns a new instance of user_interest, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::UserInterest] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::UserInterest] the created resource def self.user_interest require "google/ads/google_ads/v17/resources/user_interest_pb" res = Google::Ads::GoogleAds::V17::Resources::UserInterest.new yield res if block_given? res end # Returns a new instance of user_list_customer_type, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::UserListCustomerType] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::UserListCustomerType] the created resource def self.user_list_customer_type require "google/ads/google_ads/v17/resources/user_list_customer_type_pb" res = Google::Ads::GoogleAds::V17::Resources::UserListCustomerType.new yield res if block_given? res end # Returns a new instance of lookalike_user_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LookalikeUserListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LookalikeUserListInfo] the created resource def self.lookalike_user_list_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::LookalikeUserListInfo.new yield res if block_given? res end # Returns a new instance of similar_user_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::SimilarUserListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::SimilarUserListInfo] the created resource def self.similar_user_list_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::SimilarUserListInfo.new yield res if block_given? res end # Returns a new instance of crm_based_user_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::CrmBasedUserListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::CrmBasedUserListInfo] the created resource def self.crm_based_user_list_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::CrmBasedUserListInfo.new yield res if block_given? res end # Returns a new instance of user_list_rule_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListRuleInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListRuleInfo] the created resource def self.user_list_rule_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::UserListRuleInfo.new yield res if block_given? res end # Returns a new instance of user_list_rule_item_group_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListRuleItemGroupInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListRuleItemGroupInfo] the created resource def self.user_list_rule_item_group_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::UserListRuleItemGroupInfo.new yield res if block_given? res end # Returns a new instance of user_list_rule_item_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListRuleItemInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListRuleItemInfo] the created resource def self.user_list_rule_item_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::UserListRuleItemInfo.new yield res if block_given? res end # Returns a new instance of user_list_date_rule_item_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListDateRuleItemInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListDateRuleItemInfo] the created resource def self.user_list_date_rule_item_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::UserListDateRuleItemInfo.new yield res if block_given? res end # Returns a new instance of user_list_number_rule_item_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListNumberRuleItemInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListNumberRuleItemInfo] the created resource def self.user_list_number_rule_item_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::UserListNumberRuleItemInfo.new yield res if block_given? res end # Returns a new instance of user_list_string_rule_item_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListStringRuleItemInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListStringRuleItemInfo] the created resource def self.user_list_string_rule_item_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::UserListStringRuleItemInfo.new yield res if block_given? res end # Returns a new instance of flexible_rule_operand_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::FlexibleRuleOperandInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::FlexibleRuleOperandInfo] the created resource def self.flexible_rule_operand_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::FlexibleRuleOperandInfo.new yield res if block_given? res end # Returns a new instance of flexible_rule_user_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::FlexibleRuleUserListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::FlexibleRuleUserListInfo] the created resource def self.flexible_rule_user_list_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::FlexibleRuleUserListInfo.new yield res if block_given? res end # Returns a new instance of rule_based_user_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::RuleBasedUserListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::RuleBasedUserListInfo] the created resource def self.rule_based_user_list_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::RuleBasedUserListInfo.new yield res if block_given? res end # Returns a new instance of logical_user_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LogicalUserListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LogicalUserListInfo] the created resource def self.logical_user_list_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::LogicalUserListInfo.new yield res if block_given? res end # Returns a new instance of user_list_logical_rule_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListLogicalRuleInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListLogicalRuleInfo] the created resource def self.user_list_logical_rule_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::UserListLogicalRuleInfo.new yield res if block_given? res end # Returns a new instance of logical_user_list_operand_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::LogicalUserListOperandInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::LogicalUserListOperandInfo] the created resource def self.logical_user_list_operand_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::LogicalUserListOperandInfo.new yield res if block_given? res end # Returns a new instance of basic_user_list_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BasicUserListInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BasicUserListInfo] the created resource def self.basic_user_list_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::BasicUserListInfo.new yield res if block_given? res end # Returns a new instance of user_list_action_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::UserListActionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::UserListActionInfo] the created resource def self.user_list_action_info require "google/ads/google_ads/v17/common/user_lists_pb" res = Google::Ads::GoogleAds::V17::Common::UserListActionInfo.new yield res if block_given? res end # Returns a new instance of user_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::UserList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::UserList] the created resource def self.user_list require "google/ads/google_ads/v17/resources/user_list_pb" res = Google::Ads::GoogleAds::V17::Resources::UserList.new yield res if block_given? res end # Returns a new instance of user_location_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::UserLocationView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::UserLocationView] the created resource def self.user_location_view require "google/ads/google_ads/v17/resources/user_location_view_pb" res = Google::Ads::GoogleAds::V17::Resources::UserLocationView.new yield res if block_given? res end # Returns a new instance of video, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::Video] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::Video] the created resource def self.video require "google/ads/google_ads/v17/resources/video_pb" res = Google::Ads::GoogleAds::V17::Resources::Video.new yield res if block_given? res end # Returns a new instance of webpage_view, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Resources::WebpageView] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Resources::WebpageView] the created resource def self.webpage_view require "google/ads/google_ads/v17/resources/webpage_view_pb" res = Google::Ads::GoogleAds::V17::Resources::WebpageView.new yield res if block_given? res end # Returns a new instance of mutate_account_budget_proposal_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAccountBudgetProposalResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAccountBudgetProposalResult] the created resource def self.mutate_account_budget_proposal_result require "google/ads/google_ads/v17/services/account_budget_proposal_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAccountBudgetProposalResult.new yield res if block_given? res end # Returns a new instance of mutate_account_link_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAccountLinkResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAccountLinkResult] the created resource def self.mutate_account_link_result require "google/ads/google_ads/v17/services/account_link_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAccountLinkResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_ad_label_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupAdLabelResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupAdLabelResult] the created resource def self.mutate_ad_group_ad_label_result require "google/ads/google_ads/v17/services/ad_group_ad_label_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupAdLabelResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_ad_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupAdResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupAdResult] the created resource def self.mutate_ad_group_ad_result require "google/ads/google_ads/v17/services/ad_group_ad_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupAdResult.new yield res if block_given? res end # Returns a new instance of assets_with_field_type, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AssetsWithFieldType] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AssetsWithFieldType] the created resource def self.assets_with_field_type require "google/ads/google_ads/v17/services/ad_group_ad_service_pb" res = Google::Ads::GoogleAds::V17::Services::AssetsWithFieldType.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_asset_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupAssetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupAssetResult] the created resource def self.mutate_ad_group_asset_result require "google/ads/google_ads/v17/services/ad_group_asset_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupAssetResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_asset_set_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupAssetSetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupAssetSetResult] the created resource def self.mutate_ad_group_asset_set_result require "google/ads/google_ads/v17/services/ad_group_asset_set_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupAssetSetResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_bid_modifier_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupBidModifierResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupBidModifierResult] the created resource def self.mutate_ad_group_bid_modifier_result require "google/ads/google_ads/v17/services/ad_group_bid_modifier_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupBidModifierResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_criterion_customizer_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionCustomizerResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionCustomizerResult] the created resource def self.mutate_ad_group_criterion_customizer_result require "google/ads/google_ads/v17/services/ad_group_criterion_customizer_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionCustomizerResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_criterion_label_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionLabelResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionLabelResult] the created resource def self.mutate_ad_group_criterion_label_result require "google/ads/google_ads/v17/services/ad_group_criterion_label_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionLabelResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_criterion_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionResult] the created resource def self.mutate_ad_group_criterion_result require "google/ads/google_ads/v17/services/ad_group_criterion_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupCriterionResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_customizer_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupCustomizerResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupCustomizerResult] the created resource def self.mutate_ad_group_customizer_result require "google/ads/google_ads/v17/services/ad_group_customizer_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupCustomizerResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_extension_setting_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupExtensionSettingResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupExtensionSettingResult] the created resource def self.mutate_ad_group_extension_setting_result require "google/ads/google_ads/v17/services/ad_group_extension_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupExtensionSettingResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_feed_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupFeedResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupFeedResult] the created resource def self.mutate_ad_group_feed_result require "google/ads/google_ads/v17/services/ad_group_feed_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupFeedResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_label_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupLabelResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupLabelResult] the created resource def self.mutate_ad_group_label_result require "google/ads/google_ads/v17/services/ad_group_label_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupLabelResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_group_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdGroupResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdGroupResult] the created resource def self.mutate_ad_group_result require "google/ads/google_ads/v17/services/ad_group_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdGroupResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_parameter_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdParameterResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdParameterResult] the created resource def self.mutate_ad_parameter_result require "google/ads/google_ads/v17/services/ad_parameter_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdParameterResult.new yield res if block_given? res end # Returns a new instance of mutate_ad_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAdResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAdResult] the created resource def self.mutate_ad_result require "google/ads/google_ads/v17/services/ad_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAdResult.new yield res if block_given? res end # Returns a new instance of mutate_asset_group_asset_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAssetGroupAssetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAssetGroupAssetResult] the created resource def self.mutate_asset_group_asset_result require "google/ads/google_ads/v17/services/asset_group_asset_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAssetGroupAssetResult.new yield res if block_given? res end # Returns a new instance of mutate_asset_group_listing_group_filter_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAssetGroupListingGroupFilterResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAssetGroupListingGroupFilterResult] the created resource def self.mutate_asset_group_listing_group_filter_result require "google/ads/google_ads/v17/services/asset_group_listing_group_filter_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAssetGroupListingGroupFilterResult.new yield res if block_given? res end # Returns a new instance of mutate_asset_group_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAssetGroupResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAssetGroupResult] the created resource def self.mutate_asset_group_result require "google/ads/google_ads/v17/services/asset_group_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAssetGroupResult.new yield res if block_given? res end # Returns a new instance of mutate_asset_group_signal_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAssetGroupSignalResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAssetGroupSignalResult] the created resource def self.mutate_asset_group_signal_result require "google/ads/google_ads/v17/services/asset_group_signal_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAssetGroupSignalResult.new yield res if block_given? res end # Returns a new instance of mutate_asset_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAssetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAssetResult] the created resource def self.mutate_asset_result require "google/ads/google_ads/v17/services/asset_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAssetResult.new yield res if block_given? res end # Returns a new instance of mutate_asset_set_asset_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAssetSetAssetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAssetSetAssetResult] the created resource def self.mutate_asset_set_asset_result require "google/ads/google_ads/v17/services/asset_set_asset_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAssetSetAssetResult.new yield res if block_given? res end # Returns a new instance of mutate_asset_set_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAssetSetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAssetSetResult] the created resource def self.mutate_asset_set_result require "google/ads/google_ads/v17/services/asset_set_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAssetSetResult.new yield res if block_given? res end # Returns a new instance of targeting_suggestion_metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::TargetingSuggestionMetrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::TargetingSuggestionMetrics] the created resource def self.targeting_suggestion_metrics require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::TargetingSuggestionMetrics.new yield res if block_given? res end # Returns a new instance of dimension_overlap_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::DimensionOverlapResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::DimensionOverlapResult] the created resource def self.dimension_overlap_result require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::DimensionOverlapResult.new yield res if block_given? res end # Returns a new instance of audience_overlap_item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceOverlapItem] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceOverlapItem] the created resource def self.audience_overlap_item require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceOverlapItem.new yield res if block_given? res end # Returns a new instance of audience_insights_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceInsightsAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceInsightsAttribute] the created resource def self.audience_insights_attribute require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceInsightsAttribute.new yield res if block_given? res end # Returns a new instance of audience_insights_topic, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceInsightsTopic] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceInsightsTopic] the created resource def self.audience_insights_topic require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceInsightsTopic.new yield res if block_given? res end # Returns a new instance of audience_insights_entity, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceInsightsEntity] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceInsightsEntity] the created resource def self.audience_insights_entity require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceInsightsEntity.new yield res if block_given? res end # Returns a new instance of audience_insights_category, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceInsightsCategory] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceInsightsCategory] the created resource def self.audience_insights_category require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceInsightsCategory.new yield res if block_given? res end # Returns a new instance of audience_insights_dynamic_lineup, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceInsightsDynamicLineup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceInsightsDynamicLineup] the created resource def self.audience_insights_dynamic_lineup require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceInsightsDynamicLineup.new yield res if block_given? res end # Returns a new instance of basic_insights_audience, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::BasicInsightsAudience] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::BasicInsightsAudience] the created resource def self.basic_insights_audience require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::BasicInsightsAudience.new yield res if block_given? res end # Returns a new instance of audience_insights_attribute_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceInsightsAttributeMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceInsightsAttributeMetadata] the created resource def self.audience_insights_attribute_metadata require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceInsightsAttributeMetadata.new yield res if block_given? res end # Returns a new instance of you_tube_channel_attribute_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::YouTubeChannelAttributeMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::YouTubeChannelAttributeMetadata] the created resource def self.you_tube_channel_attribute_metadata require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::YouTubeChannelAttributeMetadata.new yield res if block_given? res end # Returns a new instance of dynamic_lineup_attribute_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::DynamicLineupAttributeMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::DynamicLineupAttributeMetadata] the created resource def self.dynamic_lineup_attribute_metadata require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::DynamicLineupAttributeMetadata.new yield res if block_given? res end # Returns a new instance of sample_channel, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::DynamicLineupAttributeMetadata::SampleChannel] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::DynamicLineupAttributeMetadata::SampleChannel] the created resource def self.sample_channel require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::DynamicLineupAttributeMetadata::SampleChannel.new yield res if block_given? res end # Returns a new instance of location_attribute_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::LocationAttributeMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::LocationAttributeMetadata] the created resource def self.location_attribute_metadata require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::LocationAttributeMetadata.new yield res if block_given? res end # Returns a new instance of insights_audience, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::InsightsAudience] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::InsightsAudience] the created resource def self.insights_audience require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::InsightsAudience.new yield res if block_given? res end # Returns a new instance of insights_audience_attribute_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::InsightsAudienceAttributeGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::InsightsAudienceAttributeGroup] the created resource def self.insights_audience_attribute_group require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::InsightsAudienceAttributeGroup.new yield res if block_given? res end # Returns a new instance of audience_composition_section, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceCompositionSection] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceCompositionSection] the created resource def self.audience_composition_section require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceCompositionSection.new yield res if block_given? res end # Returns a new instance of audience_composition_attribute_cluster, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceCompositionAttributeCluster] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceCompositionAttributeCluster] the created resource def self.audience_composition_attribute_cluster require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceCompositionAttributeCluster.new yield res if block_given? res end # Returns a new instance of audience_composition_metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceCompositionMetrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceCompositionMetrics] the created resource def self.audience_composition_metrics require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceCompositionMetrics.new yield res if block_given? res end # Returns a new instance of audience_composition_attribute, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceCompositionAttribute] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceCompositionAttribute] the created resource def self.audience_composition_attribute require "google/ads/google_ads/v17/services/audience_insights_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceCompositionAttribute.new yield res if block_given? res end # Returns a new instance of mutate_audience_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateAudienceResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateAudienceResult] the created resource def self.mutate_audience_result require "google/ads/google_ads/v17/services/audience_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateAudienceResult.new yield res if block_given? res end # Returns a new instance of metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Metrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Metrics] the created resource def self.metrics require "google/ads/google_ads/v17/common/metrics_pb" res = Google::Ads::GoogleAds::V17::Common::Metrics.new yield res if block_given? res end # Returns a new instance of search_volume_range, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::SearchVolumeRange] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::SearchVolumeRange] the created resource def self.search_volume_range require "google/ads/google_ads/v17/common/metrics_pb" res = Google::Ads::GoogleAds::V17::Common::SearchVolumeRange.new yield res if block_given? res end # Returns a new instance of segments, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Segments] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Segments] the created resource def self.segments require "google/ads/google_ads/v17/common/segments_pb" res = Google::Ads::GoogleAds::V17::Common::Segments.new yield res if block_given? res end # Returns a new instance of keyword, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Keyword] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Keyword] the created resource def self.keyword require "google/ads/google_ads/v17/common/segments_pb" res = Google::Ads::GoogleAds::V17::Common::Keyword.new yield res if block_given? res end # Returns a new instance of budget_campaign_association_status, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::BudgetCampaignAssociationStatus] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::BudgetCampaignAssociationStatus] the created resource def self.budget_campaign_association_status require "google/ads/google_ads/v17/common/segments_pb" res = Google::Ads::GoogleAds::V17::Common::BudgetCampaignAssociationStatus.new yield res if block_given? res end # Returns a new instance of asset_interaction_target, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::AssetInteractionTarget] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::AssetInteractionTarget] the created resource def self.asset_interaction_target require "google/ads/google_ads/v17/common/segments_pb" res = Google::Ads::GoogleAds::V17::Common::AssetInteractionTarget.new yield res if block_given? res end # Returns a new instance of sk_ad_network_source_app, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::SkAdNetworkSourceApp] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::SkAdNetworkSourceApp] the created resource def self.sk_ad_network_source_app require "google/ads/google_ads/v17/common/segments_pb" res = Google::Ads::GoogleAds::V17::Common::SkAdNetworkSourceApp.new yield res if block_given? res end # Returns a new instance of mutate_bidding_data_exclusions_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateBiddingDataExclusionsResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateBiddingDataExclusionsResult] the created resource def self.mutate_bidding_data_exclusions_result require "google/ads/google_ads/v17/services/bidding_data_exclusion_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateBiddingDataExclusionsResult.new yield res if block_given? res end # Returns a new instance of mutate_bidding_seasonality_adjustments_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateBiddingSeasonalityAdjustmentsResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateBiddingSeasonalityAdjustmentsResult] the created resource def self.mutate_bidding_seasonality_adjustments_result require "google/ads/google_ads/v17/services/bidding_seasonality_adjustment_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateBiddingSeasonalityAdjustmentsResult.new yield res if block_given? res end # Returns a new instance of mutate_bidding_strategy_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateBiddingStrategyResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateBiddingStrategyResult] the created resource def self.mutate_bidding_strategy_result require "google/ads/google_ads/v17/services/bidding_strategy_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateBiddingStrategyResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_asset_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignAssetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignAssetResult] the created resource def self.mutate_campaign_asset_result require "google/ads/google_ads/v17/services/campaign_asset_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignAssetResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_asset_set_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignAssetSetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignAssetSetResult] the created resource def self.mutate_campaign_asset_set_result require "google/ads/google_ads/v17/services/campaign_asset_set_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignAssetSetResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_bid_modifier_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignBidModifierResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignBidModifierResult] the created resource def self.mutate_campaign_bid_modifier_result require "google/ads/google_ads/v17/services/campaign_bid_modifier_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignBidModifierResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_budget_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignBudgetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignBudgetResult] the created resource def self.mutate_campaign_budget_result require "google/ads/google_ads/v17/services/campaign_budget_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignBudgetResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_conversion_goal_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignConversionGoalResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignConversionGoalResult] the created resource def self.mutate_campaign_conversion_goal_result require "google/ads/google_ads/v17/services/campaign_conversion_goal_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignConversionGoalResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_criterion_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignCriterionResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignCriterionResult] the created resource def self.mutate_campaign_criterion_result require "google/ads/google_ads/v17/services/campaign_criterion_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignCriterionResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_customizer_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignCustomizerResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignCustomizerResult] the created resource def self.mutate_campaign_customizer_result require "google/ads/google_ads/v17/services/campaign_customizer_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignCustomizerResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_draft_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignDraftResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignDraftResult] the created resource def self.mutate_campaign_draft_result require "google/ads/google_ads/v17/services/campaign_draft_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignDraftResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_extension_setting_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignExtensionSettingResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignExtensionSettingResult] the created resource def self.mutate_campaign_extension_setting_result require "google/ads/google_ads/v17/services/campaign_extension_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignExtensionSettingResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_feed_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignFeedResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignFeedResult] the created resource def self.mutate_campaign_feed_result require "google/ads/google_ads/v17/services/campaign_feed_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignFeedResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_group_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignGroupResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignGroupResult] the created resource def self.mutate_campaign_group_result require "google/ads/google_ads/v17/services/campaign_group_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignGroupResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_label_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignLabelResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignLabelResult] the created resource def self.mutate_campaign_label_result require "google/ads/google_ads/v17/services/campaign_label_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignLabelResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignResult] the created resource def self.mutate_campaign_result require "google/ads/google_ads/v17/services/campaign_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignResult.new yield res if block_given? res end # Returns a new instance of mutate_campaign_shared_set_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCampaignSharedSetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCampaignSharedSetResult] the created resource def self.mutate_campaign_shared_set_result require "google/ads/google_ads/v17/services/campaign_shared_set_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCampaignSharedSetResult.new yield res if block_given? res end # Returns a new instance of mutate_conversion_action_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateConversionActionResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateConversionActionResult] the created resource def self.mutate_conversion_action_result require "google/ads/google_ads/v17/services/conversion_action_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateConversionActionResult.new yield res if block_given? res end # Returns a new instance of mutate_conversion_custom_variable_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateConversionCustomVariableResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateConversionCustomVariableResult] the created resource def self.mutate_conversion_custom_variable_result require "google/ads/google_ads/v17/services/conversion_custom_variable_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateConversionCustomVariableResult.new yield res if block_given? res end # Returns a new instance of mutate_conversion_goal_campaign_config_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateConversionGoalCampaignConfigResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateConversionGoalCampaignConfigResult] the created resource def self.mutate_conversion_goal_campaign_config_result require "google/ads/google_ads/v17/services/conversion_goal_campaign_config_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateConversionGoalCampaignConfigResult.new yield res if block_given? res end # Returns a new instance of mutate_conversion_value_rule_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateConversionValueRuleResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateConversionValueRuleResult] the created resource def self.mutate_conversion_value_rule_result require "google/ads/google_ads/v17/services/conversion_value_rule_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateConversionValueRuleResult.new yield res if block_given? res end # Returns a new instance of mutate_conversion_value_rule_set_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateConversionValueRuleSetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateConversionValueRuleSetResult] the created resource def self.mutate_conversion_value_rule_set_result require "google/ads/google_ads/v17/services/conversion_value_rule_set_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateConversionValueRuleSetResult.new yield res if block_given? res end # Returns a new instance of mutate_custom_conversion_goal_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomConversionGoalResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomConversionGoalResult] the created resource def self.mutate_custom_conversion_goal_result require "google/ads/google_ads/v17/services/custom_conversion_goal_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomConversionGoalResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_asset_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerAssetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerAssetResult] the created resource def self.mutate_customer_asset_result require "google/ads/google_ads/v17/services/customer_asset_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerAssetResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_conversion_goal_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerConversionGoalResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerConversionGoalResult] the created resource def self.mutate_customer_conversion_goal_result require "google/ads/google_ads/v17/services/customer_conversion_goal_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerConversionGoalResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_customizer_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerCustomizerResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerCustomizerResult] the created resource def self.mutate_customer_customizer_result require "google/ads/google_ads/v17/services/customer_customizer_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerCustomizerResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_extension_setting_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerExtensionSettingResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerExtensionSettingResult] the created resource def self.mutate_customer_extension_setting_result require "google/ads/google_ads/v17/services/customer_extension_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerExtensionSettingResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_feed_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerFeedResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerFeedResult] the created resource def self.mutate_customer_feed_result require "google/ads/google_ads/v17/services/customer_feed_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerFeedResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_label_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerLabelResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerLabelResult] the created resource def self.mutate_customer_label_result require "google/ads/google_ads/v17/services/customer_label_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerLabelResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_negative_criteria_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerNegativeCriteriaResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerNegativeCriteriaResult] the created resource def self.mutate_customer_negative_criteria_result require "google/ads/google_ads/v17/services/customer_negative_criterion_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerNegativeCriteriaResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerResult] the created resource def self.mutate_customer_result require "google/ads/google_ads/v17/services/customer_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerResult.new yield res if block_given? res end # Returns a new instance of mutate_customizer_attribute_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomizerAttributeResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomizerAttributeResult] the created resource def self.mutate_customizer_attribute_result require "google/ads/google_ads/v17/services/customizer_attribute_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomizerAttributeResult.new yield res if block_given? res end # Returns a new instance of mutate_experiment_arm_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateExperimentArmResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateExperimentArmResult] the created resource def self.mutate_experiment_arm_result require "google/ads/google_ads/v17/services/experiment_arm_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateExperimentArmResult.new yield res if block_given? res end # Returns a new instance of mutate_experiment_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateExperimentResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateExperimentResult] the created resource def self.mutate_experiment_result require "google/ads/google_ads/v17/services/experiment_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateExperimentResult.new yield res if block_given? res end # Returns a new instance of campaign_budget_mapping, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CampaignBudgetMapping] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CampaignBudgetMapping] the created resource def self.campaign_budget_mapping require "google/ads/google_ads/v17/services/experiment_service_pb" res = Google::Ads::GoogleAds::V17::Services::CampaignBudgetMapping.new yield res if block_given? res end # Returns a new instance of schedule_experiment_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ScheduleExperimentMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ScheduleExperimentMetadata] the created resource def self.schedule_experiment_metadata require "google/ads/google_ads/v17/services/experiment_service_pb" res = Google::Ads::GoogleAds::V17::Services::ScheduleExperimentMetadata.new yield res if block_given? res end # Returns a new instance of promote_experiment_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::PromoteExperimentMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::PromoteExperimentMetadata] the created resource def self.promote_experiment_metadata require "google/ads/google_ads/v17/services/experiment_service_pb" res = Google::Ads::GoogleAds::V17::Services::PromoteExperimentMetadata.new yield res if block_given? res end # Returns a new instance of mutate_extension_feed_item_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateExtensionFeedItemResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateExtensionFeedItemResult] the created resource def self.mutate_extension_feed_item_result require "google/ads/google_ads/v17/services/extension_feed_item_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateExtensionFeedItemResult.new yield res if block_given? res end # Returns a new instance of mutate_feed_item_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateFeedItemResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateFeedItemResult] the created resource def self.mutate_feed_item_result require "google/ads/google_ads/v17/services/feed_item_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateFeedItemResult.new yield res if block_given? res end # Returns a new instance of mutate_feed_item_set_link_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateFeedItemSetLinkResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateFeedItemSetLinkResult] the created resource def self.mutate_feed_item_set_link_result require "google/ads/google_ads/v17/services/feed_item_set_link_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateFeedItemSetLinkResult.new yield res if block_given? res end # Returns a new instance of mutate_feed_item_set_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateFeedItemSetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateFeedItemSetResult] the created resource def self.mutate_feed_item_set_result require "google/ads/google_ads/v17/services/feed_item_set_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateFeedItemSetResult.new yield res if block_given? res end # Returns a new instance of mutate_feed_item_target_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateFeedItemTargetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateFeedItemTargetResult] the created resource def self.mutate_feed_item_target_result require "google/ads/google_ads/v17/services/feed_item_target_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateFeedItemTargetResult.new yield res if block_given? res end # Returns a new instance of mutate_feed_mapping_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateFeedMappingResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateFeedMappingResult] the created resource def self.mutate_feed_mapping_result require "google/ads/google_ads/v17/services/feed_mapping_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateFeedMappingResult.new yield res if block_given? res end # Returns a new instance of mutate_feed_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateFeedResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateFeedResult] the created resource def self.mutate_feed_result require "google/ads/google_ads/v17/services/feed_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateFeedResult.new yield res if block_given? res end # Returns a new instance of mutate_keyword_plan_ad_group_keyword_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanAdGroupKeywordResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanAdGroupKeywordResult] the created resource def self.mutate_keyword_plan_ad_group_keyword_result require "google/ads/google_ads/v17/services/keyword_plan_ad_group_keyword_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanAdGroupKeywordResult.new yield res if block_given? res end # Returns a new instance of mutate_keyword_plan_ad_group_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanAdGroupResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanAdGroupResult] the created resource def self.mutate_keyword_plan_ad_group_result require "google/ads/google_ads/v17/services/keyword_plan_ad_group_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanAdGroupResult.new yield res if block_given? res end # Returns a new instance of mutate_keyword_plan_campaign_keyword_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanCampaignKeywordResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanCampaignKeywordResult] the created resource def self.mutate_keyword_plan_campaign_keyword_result require "google/ads/google_ads/v17/services/keyword_plan_campaign_keyword_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanCampaignKeywordResult.new yield res if block_given? res end # Returns a new instance of mutate_keyword_plan_campaign_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanCampaignResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanCampaignResult] the created resource def self.mutate_keyword_plan_campaign_result require "google/ads/google_ads/v17/services/keyword_plan_campaign_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateKeywordPlanCampaignResult.new yield res if block_given? res end # Returns a new instance of mutate_keyword_plans_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlansResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateKeywordPlansResult] the created resource def self.mutate_keyword_plans_result require "google/ads/google_ads/v17/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateKeywordPlansResult.new yield res if block_given? res end # Returns a new instance of mutate_label_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateLabelResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateLabelResult] the created resource def self.mutate_label_result require "google/ads/google_ads/v17/services/label_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateLabelResult.new yield res if block_given? res end # Returns a new instance of mutate_recommendation_subscription_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateRecommendationSubscriptionResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateRecommendationSubscriptionResult] the created resource def self.mutate_recommendation_subscription_result require "google/ads/google_ads/v17/services/recommendation_subscription_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateRecommendationSubscriptionResult.new yield res if block_given? res end # Returns a new instance of mutate_remarketing_action_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateRemarketingActionResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateRemarketingActionResult] the created resource def self.mutate_remarketing_action_result require "google/ads/google_ads/v17/services/remarketing_action_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateRemarketingActionResult.new yield res if block_given? res end # Returns a new instance of mutate_shared_criterion_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateSharedCriterionResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateSharedCriterionResult] the created resource def self.mutate_shared_criterion_result require "google/ads/google_ads/v17/services/shared_criterion_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateSharedCriterionResult.new yield res if block_given? res end # Returns a new instance of mutate_shared_set_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateSharedSetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateSharedSetResult] the created resource def self.mutate_shared_set_result require "google/ads/google_ads/v17/services/shared_set_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateSharedSetResult.new yield res if block_given? res end # Returns a new instance of smart_campaign_not_eligible_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SmartCampaignNotEligibleDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SmartCampaignNotEligibleDetails] the created resource def self.smart_campaign_not_eligible_details require "google/ads/google_ads/v17/services/smart_campaign_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::SmartCampaignNotEligibleDetails.new yield res if block_given? res end # Returns a new instance of smart_campaign_eligible_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SmartCampaignEligibleDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SmartCampaignEligibleDetails] the created resource def self.smart_campaign_eligible_details require "google/ads/google_ads/v17/services/smart_campaign_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::SmartCampaignEligibleDetails.new yield res if block_given? res end # Returns a new instance of smart_campaign_paused_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SmartCampaignPausedDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SmartCampaignPausedDetails] the created resource def self.smart_campaign_paused_details require "google/ads/google_ads/v17/services/smart_campaign_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::SmartCampaignPausedDetails.new yield res if block_given? res end # Returns a new instance of smart_campaign_removed_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SmartCampaignRemovedDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SmartCampaignRemovedDetails] the created resource def self.smart_campaign_removed_details require "google/ads/google_ads/v17/services/smart_campaign_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::SmartCampaignRemovedDetails.new yield res if block_given? res end # Returns a new instance of smart_campaign_ended_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SmartCampaignEndedDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SmartCampaignEndedDetails] the created resource def self.smart_campaign_ended_details require "google/ads/google_ads/v17/services/smart_campaign_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::SmartCampaignEndedDetails.new yield res if block_given? res end # Returns a new instance of mutate_smart_campaign_setting_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateSmartCampaignSettingResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateSmartCampaignSettingResult] the created resource def self.mutate_smart_campaign_setting_result require "google/ads/google_ads/v17/services/smart_campaign_setting_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateSmartCampaignSettingResult.new yield res if block_given? res end # Returns a new instance of mutate_user_list_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateUserListResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateUserListResult] the created resource def self.mutate_user_list_result require "google/ads/google_ads/v17/services/user_list_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateUserListResult.new yield res if block_given? res end # Returns a new instance of google_ads_row, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::GoogleAdsRow] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::GoogleAdsRow] the created resource def self.google_ads_row require "google/ads/google_ads/v17/services/google_ads_service_pb" res = Google::Ads::GoogleAds::V17::Services::GoogleAdsRow.new yield res if block_given? res end # Returns a new instance of mutate_batch_job_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateBatchJobResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateBatchJobResult] the created resource def self.mutate_batch_job_result require "google/ads/google_ads/v17/services/batch_job_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateBatchJobResult.new yield res if block_given? res end # Returns a new instance of batch_job_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::BatchJobResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::BatchJobResult] the created resource def self.batch_job_result require "google/ads/google_ads/v17/services/batch_job_service_pb" res = Google::Ads::GoogleAds::V17::Services::BatchJobResult.new yield res if block_given? res end # Returns a new instance of mutate_billing_setup_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateBillingSetupResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateBillingSetupResult] the created resource def self.mutate_billing_setup_result require "google/ads/google_ads/v17/services/billing_setup_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateBillingSetupResult.new yield res if block_given? res end # Returns a new instance of brand_suggestion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::BrandSuggestion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::BrandSuggestion] the created resource def self.brand_suggestion require "google/ads/google_ads/v17/services/brand_suggestion_service_pb" res = Google::Ads::GoogleAds::V17::Services::BrandSuggestion.new yield res if block_given? res end # Returns a new instance of configure_campaign_lifecycle_goals_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ConfigureCampaignLifecycleGoalsResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ConfigureCampaignLifecycleGoalsResult] the created resource def self.configure_campaign_lifecycle_goals_result require "google/ads/google_ads/v17/services/campaign_lifecycle_goal_service_pb" res = Google::Ads::GoogleAds::V17::Services::ConfigureCampaignLifecycleGoalsResult.new yield res if block_given? res end # Returns a new instance of conversion_adjustment, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ConversionAdjustment] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ConversionAdjustment] the created resource def self.conversion_adjustment require "google/ads/google_ads/v17/services/conversion_adjustment_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::ConversionAdjustment.new yield res if block_given? res end # Returns a new instance of restatement_value, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::RestatementValue] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::RestatementValue] the created resource def self.restatement_value require "google/ads/google_ads/v17/services/conversion_adjustment_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::RestatementValue.new yield res if block_given? res end # Returns a new instance of gclid_date_time_pair, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::GclidDateTimePair] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::GclidDateTimePair] the created resource def self.gclid_date_time_pair require "google/ads/google_ads/v17/services/conversion_adjustment_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::GclidDateTimePair.new yield res if block_given? res end # Returns a new instance of conversion_adjustment_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ConversionAdjustmentResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ConversionAdjustmentResult] the created resource def self.conversion_adjustment_result require "google/ads/google_ads/v17/services/conversion_adjustment_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::ConversionAdjustmentResult.new yield res if block_given? res end # Returns a new instance of click_conversion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ClickConversion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ClickConversion] the created resource def self.click_conversion require "google/ads/google_ads/v17/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::ClickConversion.new yield res if block_given? res end # Returns a new instance of call_conversion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CallConversion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CallConversion] the created resource def self.call_conversion require "google/ads/google_ads/v17/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::CallConversion.new yield res if block_given? res end # Returns a new instance of external_attribution_data, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ExternalAttributionData] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ExternalAttributionData] the created resource def self.external_attribution_data require "google/ads/google_ads/v17/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::ExternalAttributionData.new yield res if block_given? res end # Returns a new instance of click_conversion_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ClickConversionResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ClickConversionResult] the created resource def self.click_conversion_result require "google/ads/google_ads/v17/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::ClickConversionResult.new yield res if block_given? res end # Returns a new instance of call_conversion_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CallConversionResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CallConversionResult] the created resource def self.call_conversion_result require "google/ads/google_ads/v17/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::CallConversionResult.new yield res if block_given? res end # Returns a new instance of custom_variable, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CustomVariable] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CustomVariable] the created resource def self.custom_variable require "google/ads/google_ads/v17/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::CustomVariable.new yield res if block_given? res end # Returns a new instance of cart_data, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CartData] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CartData] the created resource def self.cart_data require "google/ads/google_ads/v17/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::CartData.new yield res if block_given? res end # Returns a new instance of item, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CartData::Item] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CartData::Item] the created resource def self.item require "google/ads/google_ads/v17/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V17::Services::CartData::Item.new yield res if block_given? res end # Returns a new instance of mutate_custom_audience_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomAudienceResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomAudienceResult] the created resource def self.mutate_custom_audience_result require "google/ads/google_ads/v17/services/custom_audience_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomAudienceResult.new yield res if block_given? res end # Returns a new instance of mutate_custom_interest_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomInterestResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomInterestResult] the created resource def self.mutate_custom_interest_result require "google/ads/google_ads/v17/services/custom_interest_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomInterestResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_asset_set_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerAssetSetResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerAssetSetResult] the created resource def self.mutate_customer_asset_set_result require "google/ads/google_ads/v17/services/customer_asset_set_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerAssetSetResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_client_link_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerClientLinkResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerClientLinkResult] the created resource def self.mutate_customer_client_link_result require "google/ads/google_ads/v17/services/customer_client_link_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerClientLinkResult.new yield res if block_given? res end # Returns a new instance of configure_customer_lifecycle_goals_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ConfigureCustomerLifecycleGoalsResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ConfigureCustomerLifecycleGoalsResult] the created resource def self.configure_customer_lifecycle_goals_result require "google/ads/google_ads/v17/services/customer_lifecycle_goal_service_pb" res = Google::Ads::GoogleAds::V17::Services::ConfigureCustomerLifecycleGoalsResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_manager_link_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerManagerLinkResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerManagerLinkResult] the created resource def self.mutate_customer_manager_link_result require "google/ads/google_ads/v17/services/customer_manager_link_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerManagerLinkResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_sk_ad_network_conversion_value_schema_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerSkAdNetworkConversionValueSchemaResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerSkAdNetworkConversionValueSchemaResult] the created resource def self.mutate_customer_sk_ad_network_conversion_value_schema_result require "google/ads/google_ads/v17/services/customer_sk_ad_network_conversion_value_schema_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerSkAdNetworkConversionValueSchemaResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_user_access_invitation_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerUserAccessInvitationResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerUserAccessInvitationResult] the created resource def self.mutate_customer_user_access_invitation_result require "google/ads/google_ads/v17/services/customer_user_access_invitation_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerUserAccessInvitationResult.new yield res if block_given? res end # Returns a new instance of mutate_customer_user_access_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateCustomerUserAccessResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateCustomerUserAccessResult] the created resource def self.mutate_customer_user_access_result require "google/ads/google_ads/v17/services/customer_user_access_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateCustomerUserAccessResult.new yield res if block_given? res end # Returns a new instance of location_names, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SuggestGeoTargetConstantsRequest::LocationNames] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SuggestGeoTargetConstantsRequest::LocationNames] the created resource def self.location_names require "google/ads/google_ads/v17/services/geo_target_constant_service_pb" res = Google::Ads::GoogleAds::V17::Services::SuggestGeoTargetConstantsRequest::LocationNames.new yield res if block_given? res end # Returns a new instance of geo_targets, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SuggestGeoTargetConstantsRequest::GeoTargets] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SuggestGeoTargetConstantsRequest::GeoTargets] the created resource def self.geo_targets require "google/ads/google_ads/v17/services/geo_target_constant_service_pb" res = Google::Ads::GoogleAds::V17::Services::SuggestGeoTargetConstantsRequest::GeoTargets.new yield res if block_given? res end # Returns a new instance of geo_target_constant_suggestion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::GeoTargetConstantSuggestion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::GeoTargetConstantSuggestion] the created resource def self.geo_target_constant_suggestion require "google/ads/google_ads/v17/services/geo_target_constant_service_pb" res = Google::Ads::GoogleAds::V17::Services::GeoTargetConstantSuggestion.new yield res if block_given? res end # Returns a new instance of identity_verification, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::IdentityVerification] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::IdentityVerification] the created resource def self.identity_verification require "google/ads/google_ads/v17/services/identity_verification_service_pb" res = Google::Ads::GoogleAds::V17::Services::IdentityVerification.new yield res if block_given? res end # Returns a new instance of identity_verification_progress, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::IdentityVerificationProgress] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::IdentityVerificationProgress] the created resource def self.identity_verification_progress require "google/ads/google_ads/v17/services/identity_verification_service_pb" res = Google::Ads::GoogleAds::V17::Services::IdentityVerificationProgress.new yield res if block_given? res end # Returns a new instance of identity_verification_requirement, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::IdentityVerificationRequirement] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::IdentityVerificationRequirement] the created resource def self.identity_verification_requirement require "google/ads/google_ads/v17/services/identity_verification_service_pb" res = Google::Ads::GoogleAds::V17::Services::IdentityVerificationRequirement.new yield res if block_given? res end # Returns a new instance of keyword_plan_historical_metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::KeywordPlanHistoricalMetrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::KeywordPlanHistoricalMetrics] the created resource def self.keyword_plan_historical_metrics require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::KeywordPlanHistoricalMetrics.new yield res if block_given? res end # Returns a new instance of historical_metrics_options, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::HistoricalMetricsOptions] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::HistoricalMetricsOptions] the created resource def self.historical_metrics_options require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::HistoricalMetricsOptions.new yield res if block_given? res end # Returns a new instance of monthly_search_volume, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::MonthlySearchVolume] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::MonthlySearchVolume] the created resource def self.monthly_search_volume require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::MonthlySearchVolume.new yield res if block_given? res end # Returns a new instance of keyword_plan_aggregate_metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::KeywordPlanAggregateMetrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::KeywordPlanAggregateMetrics] the created resource def self.keyword_plan_aggregate_metrics require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::KeywordPlanAggregateMetrics.new yield res if block_given? res end # Returns a new instance of keyword_plan_aggregate_metric_results, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::KeywordPlanAggregateMetricResults] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::KeywordPlanAggregateMetricResults] the created resource def self.keyword_plan_aggregate_metric_results require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::KeywordPlanAggregateMetricResults.new yield res if block_given? res end # Returns a new instance of keyword_plan_device_searches, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::KeywordPlanDeviceSearches] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::KeywordPlanDeviceSearches] the created resource def self.keyword_plan_device_searches require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::KeywordPlanDeviceSearches.new yield res if block_given? res end # Returns a new instance of keyword_annotations, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::KeywordAnnotations] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::KeywordAnnotations] the created resource def self.keyword_annotations require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::KeywordAnnotations.new yield res if block_given? res end # Returns a new instance of keyword_concept, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::KeywordConcept] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::KeywordConcept] the created resource def self.keyword_concept require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::KeywordConcept.new yield res if block_given? res end # Returns a new instance of concept_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::ConceptGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::ConceptGroup] the created resource def self.concept_group require "google/ads/google_ads/v17/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V17::Common::ConceptGroup.new yield res if block_given? res end # Returns a new instance of keyword_and_url_seed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::KeywordAndUrlSeed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::KeywordAndUrlSeed] the created resource def self.keyword_and_url_seed require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::KeywordAndUrlSeed.new yield res if block_given? res end # Returns a new instance of keyword_seed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::KeywordSeed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::KeywordSeed] the created resource def self.keyword_seed require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::KeywordSeed.new yield res if block_given? res end # Returns a new instance of site_seed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SiteSeed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SiteSeed] the created resource def self.site_seed require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::SiteSeed.new yield res if block_given? res end # Returns a new instance of url_seed, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::UrlSeed] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::UrlSeed] the created resource def self.url_seed require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::UrlSeed.new yield res if block_given? res end # Returns a new instance of generate_keyword_idea_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::GenerateKeywordIdeaResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::GenerateKeywordIdeaResult] the created resource def self.generate_keyword_idea_result require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::GenerateKeywordIdeaResult.new yield res if block_given? res end # Returns a new instance of generate_keyword_historical_metrics_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::GenerateKeywordHistoricalMetricsResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::GenerateKeywordHistoricalMetricsResult] the created resource def self.generate_keyword_historical_metrics_result require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::GenerateKeywordHistoricalMetricsResult.new yield res if block_given? res end # Returns a new instance of ad_group_keyword_suggestion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AdGroupKeywordSuggestion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AdGroupKeywordSuggestion] the created resource def self.ad_group_keyword_suggestion require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::AdGroupKeywordSuggestion.new yield res if block_given? res end # Returns a new instance of unusable_ad_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::UnusableAdGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::UnusableAdGroup] the created resource def self.unusable_ad_group require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::UnusableAdGroup.new yield res if block_given? res end # Returns a new instance of campaign_to_forecast, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CampaignToForecast] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CampaignToForecast] the created resource def self.campaign_to_forecast require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::CampaignToForecast.new yield res if block_given? res end # Returns a new instance of campaign_bidding_strategy, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CampaignToForecast::CampaignBiddingStrategy] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CampaignToForecast::CampaignBiddingStrategy] the created resource def self.campaign_bidding_strategy require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::CampaignToForecast::CampaignBiddingStrategy.new yield res if block_given? res end # Returns a new instance of forecast_ad_group, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ForecastAdGroup] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ForecastAdGroup] the created resource def self.forecast_ad_group require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::ForecastAdGroup.new yield res if block_given? res end # Returns a new instance of biddable_keyword, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::BiddableKeyword] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::BiddableKeyword] the created resource def self.biddable_keyword require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::BiddableKeyword.new yield res if block_given? res end # Returns a new instance of criterion_bid_modifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CriterionBidModifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CriterionBidModifier] the created resource def self.criterion_bid_modifier require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::CriterionBidModifier.new yield res if block_given? res end # Returns a new instance of manual_cpc_bidding_strategy, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ManualCpcBiddingStrategy] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ManualCpcBiddingStrategy] the created resource def self.manual_cpc_bidding_strategy require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::ManualCpcBiddingStrategy.new yield res if block_given? res end # Returns a new instance of maximize_clicks_bidding_strategy, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MaximizeClicksBiddingStrategy] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MaximizeClicksBiddingStrategy] the created resource def self.maximize_clicks_bidding_strategy require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::MaximizeClicksBiddingStrategy.new yield res if block_given? res end # Returns a new instance of maximize_conversions_bidding_strategy, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MaximizeConversionsBiddingStrategy] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MaximizeConversionsBiddingStrategy] the created resource def self.maximize_conversions_bidding_strategy require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::MaximizeConversionsBiddingStrategy.new yield res if block_given? res end # Returns a new instance of keyword_forecast_metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::KeywordForecastMetrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::KeywordForecastMetrics] the created resource def self.keyword_forecast_metrics require "google/ads/google_ads/v17/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V17::Services::KeywordForecastMetrics.new yield res if block_given? res end # Returns a new instance of conversation, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::Conversation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::Conversation] the created resource def self.conversation require "google/ads/google_ads/v17/services/local_services_lead_service_pb" res = Google::Ads::GoogleAds::V17::Services::Conversation.new yield res if block_given? res end # Returns a new instance of conversation_or_error, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ConversationOrError] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ConversationOrError] the created resource def self.conversation_or_error require "google/ads/google_ads/v17/services/local_services_lead_service_pb" res = Google::Ads::GoogleAds::V17::Services::ConversationOrError.new yield res if block_given? res end # Returns a new instance of plannable_location, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::PlannableLocation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::PlannableLocation] the created resource def self.plannable_location require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::PlannableLocation.new yield res if block_given? res end # Returns a new instance of product_metadata, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ProductMetadata] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ProductMetadata] the created resource def self.product_metadata require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::ProductMetadata.new yield res if block_given? res end # Returns a new instance of plannable_targeting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::PlannableTargeting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::PlannableTargeting] the created resource def self.plannable_targeting require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::PlannableTargeting.new yield res if block_given? res end # Returns a new instance of effective_frequency_limit, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::EffectiveFrequencyLimit] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::EffectiveFrequencyLimit] the created resource def self.effective_frequency_limit require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::EffectiveFrequencyLimit.new yield res if block_given? res end # Returns a new instance of frequency_cap, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::FrequencyCap] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::FrequencyCap] the created resource def self.frequency_cap require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::FrequencyCap.new yield res if block_given? res end # Returns a new instance of targeting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::Targeting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::Targeting] the created resource def self.targeting require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::Targeting.new yield res if block_given? res end # Returns a new instance of campaign_duration, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::CampaignDuration] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::CampaignDuration] the created resource def self.campaign_duration require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::CampaignDuration.new yield res if block_given? res end # Returns a new instance of planned_product, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::PlannedProduct] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::PlannedProduct] the created resource def self.planned_product require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::PlannedProduct.new yield res if block_given? res end # Returns a new instance of reach_curve, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ReachCurve] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ReachCurve] the created resource def self.reach_curve require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::ReachCurve.new yield res if block_given? res end # Returns a new instance of reach_forecast, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ReachForecast] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ReachForecast] the created resource def self.reach_forecast require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::ReachForecast.new yield res if block_given? res end # Returns a new instance of forecast, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::Forecast] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::Forecast] the created resource def self.forecast require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::Forecast.new yield res if block_given? res end # Returns a new instance of planned_product_reach_forecast, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::PlannedProductReachForecast] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::PlannedProductReachForecast] the created resource def self.planned_product_reach_forecast require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::PlannedProductReachForecast.new yield res if block_given? res end # Returns a new instance of planned_product_forecast, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::PlannedProductForecast] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::PlannedProductForecast] the created resource def self.planned_product_forecast require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::PlannedProductForecast.new yield res if block_given? res end # Returns a new instance of on_target_audience_metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::OnTargetAudienceMetrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::OnTargetAudienceMetrics] the created resource def self.on_target_audience_metrics require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::OnTargetAudienceMetrics.new yield res if block_given? res end # Returns a new instance of effective_frequency_breakdown, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::EffectiveFrequencyBreakdown] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::EffectiveFrequencyBreakdown] the created resource def self.effective_frequency_breakdown require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::EffectiveFrequencyBreakdown.new yield res if block_given? res end # Returns a new instance of forecast_metric_options, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ForecastMetricOptions] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ForecastMetricOptions] the created resource def self.forecast_metric_options require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::ForecastMetricOptions.new yield res if block_given? res end # Returns a new instance of audience_targeting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AudienceTargeting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AudienceTargeting] the created resource def self.audience_targeting require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::AudienceTargeting.new yield res if block_given? res end # Returns a new instance of advanced_product_targeting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AdvancedProductTargeting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AdvancedProductTargeting] the created resource def self.advanced_product_targeting require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::AdvancedProductTargeting.new yield res if block_given? res end # Returns a new instance of you_tube_select_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::YouTubeSelectSettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::YouTubeSelectSettings] the created resource def self.you_tube_select_settings require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::YouTubeSelectSettings.new yield res if block_given? res end # Returns a new instance of you_tube_select_line_up, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::YouTubeSelectLineUp] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::YouTubeSelectLineUp] the created resource def self.you_tube_select_line_up require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::YouTubeSelectLineUp.new yield res if block_given? res end # Returns a new instance of surface_targeting_combinations, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SurfaceTargetingCombinations] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SurfaceTargetingCombinations] the created resource def self.surface_targeting_combinations require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::SurfaceTargetingCombinations.new yield res if block_given? res end # Returns a new instance of surface_targeting, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SurfaceTargeting] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SurfaceTargeting] the created resource def self.surface_targeting require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::SurfaceTargeting.new yield res if block_given? res end # Returns a new instance of target_frequency_settings, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::TargetFrequencySettings] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::TargetFrequencySettings] the created resource def self.target_frequency_settings require "google/ads/google_ads/v17/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V17::Services::TargetFrequencySettings.new yield res if block_given? res end # Returns a new instance of campaign_budget_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CampaignBudgetParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CampaignBudgetParameters] the created resource def self.campaign_budget_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CampaignBudgetParameters.new yield res if block_given? res end # Returns a new instance of forecasting_set_target_roas_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ForecastingSetTargetRoasParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ForecastingSetTargetRoasParameters] the created resource def self.forecasting_set_target_roas_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ForecastingSetTargetRoasParameters.new yield res if block_given? res end # Returns a new instance of text_ad_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TextAdParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TextAdParameters] the created resource def self.text_ad_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TextAdParameters.new yield res if block_given? res end # Returns a new instance of keyword_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::KeywordParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::KeywordParameters] the created resource def self.keyword_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::KeywordParameters.new yield res if block_given? res end # Returns a new instance of target_cpa_opt_in_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TargetCpaOptInParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TargetCpaOptInParameters] the created resource def self.target_cpa_opt_in_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TargetCpaOptInParameters.new yield res if block_given? res end # Returns a new instance of target_roas_opt_in_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TargetRoasOptInParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TargetRoasOptInParameters] the created resource def self.target_roas_opt_in_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::TargetRoasOptInParameters.new yield res if block_given? res end # Returns a new instance of callout_extension_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CalloutExtensionParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CalloutExtensionParameters] the created resource def self.callout_extension_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CalloutExtensionParameters.new yield res if block_given? res end # Returns a new instance of call_extension_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CallExtensionParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CallExtensionParameters] the created resource def self.call_extension_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CallExtensionParameters.new yield res if block_given? res end # Returns a new instance of sitelink_extension_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::SitelinkExtensionParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::SitelinkExtensionParameters] the created resource def self.sitelink_extension_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::SitelinkExtensionParameters.new yield res if block_given? res end # Returns a new instance of callout_asset_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CalloutAssetParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CalloutAssetParameters] the created resource def self.callout_asset_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CalloutAssetParameters.new yield res if block_given? res end # Returns a new instance of call_asset_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CallAssetParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CallAssetParameters] the created resource def self.call_asset_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::CallAssetParameters.new yield res if block_given? res end # Returns a new instance of sitelink_asset_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::SitelinkAssetParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::SitelinkAssetParameters] the created resource def self.sitelink_asset_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::SitelinkAssetParameters.new yield res if block_given? res end # Returns a new instance of raise_target_cpa_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::RaiseTargetCpaParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::RaiseTargetCpaParameters] the created resource def self.raise_target_cpa_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::RaiseTargetCpaParameters.new yield res if block_given? res end # Returns a new instance of lower_target_roas_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::LowerTargetRoasParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::LowerTargetRoasParameters] the created resource def self.lower_target_roas_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::LowerTargetRoasParameters.new yield res if block_given? res end # Returns a new instance of ad_asset_apply_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::AdAssetApplyParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::AdAssetApplyParameters] the created resource def self.ad_asset_apply_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::AdAssetApplyParameters.new yield res if block_given? res end # Returns a new instance of move_unused_budget_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::MoveUnusedBudgetParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::MoveUnusedBudgetParameters] the created resource def self.move_unused_budget_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::MoveUnusedBudgetParameters.new yield res if block_given? res end # Returns a new instance of responsive_search_ad_asset_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdAssetParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdAssetParameters] the created resource def self.responsive_search_ad_asset_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdAssetParameters.new yield res if block_given? res end # Returns a new instance of responsive_search_ad_improve_ad_strength_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdImproveAdStrengthParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdImproveAdStrengthParameters] the created resource def self.responsive_search_ad_improve_ad_strength_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdImproveAdStrengthParameters.new yield res if block_given? res end # Returns a new instance of responsive_search_ad_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdParameters] the created resource def self.responsive_search_ad_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ResponsiveSearchAdParameters.new yield res if block_given? res end # Returns a new instance of raise_target_cpa_bid_too_low_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::RaiseTargetCpaBidTooLowParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::RaiseTargetCpaBidTooLowParameters] the created resource def self.raise_target_cpa_bid_too_low_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::RaiseTargetCpaBidTooLowParameters.new yield res if block_given? res end # Returns a new instance of use_broad_match_keyword_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::UseBroadMatchKeywordParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::UseBroadMatchKeywordParameters] the created resource def self.use_broad_match_keyword_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::UseBroadMatchKeywordParameters.new yield res if block_given? res end # Returns a new instance of forecasting_set_target_cpa_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ForecastingSetTargetCpaParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ForecastingSetTargetCpaParameters] the created resource def self.forecasting_set_target_cpa_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::ForecastingSetTargetCpaParameters.new yield res if block_given? res end # Returns a new instance of lead_form_asset_parameters, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::LeadFormAssetParameters] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::LeadFormAssetParameters] the created resource def self.lead_form_asset_parameters require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationOperation::LeadFormAssetParameters.new yield res if block_given? res end # Returns a new instance of apply_recommendation_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ApplyRecommendationResult] the created resource def self.apply_recommendation_result require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::ApplyRecommendationResult.new yield res if block_given? res end # Returns a new instance of dismiss_recommendation_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::DismissRecommendationResponse::DismissRecommendationResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::DismissRecommendationResponse::DismissRecommendationResult] the created resource def self.dismiss_recommendation_result require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::DismissRecommendationResponse::DismissRecommendationResult.new yield res if block_given? res end # Returns a new instance of bidding_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::BiddingInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::BiddingInfo] the created resource def self.bidding_info require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::BiddingInfo.new yield res if block_given? res end # Returns a new instance of ad_group_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::AdGroupInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::AdGroupInfo] the created resource def self.ad_group_info require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::AdGroupInfo.new yield res if block_given? res end # Returns a new instance of seed_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::SeedInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::SeedInfo] the created resource def self.seed_info require "google/ads/google_ads/v17/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V17::Services::GenerateRecommendationsRequest::SeedInfo.new yield res if block_given? res end # Returns a new instance of shareable_preview, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ShareablePreview] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ShareablePreview] the created resource def self.shareable_preview require "google/ads/google_ads/v17/services/shareable_preview_service_pb" res = Google::Ads::GoogleAds::V17::Services::ShareablePreview.new yield res if block_given? res end # Returns a new instance of asset_group_identifier, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::AssetGroupIdentifier] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::AssetGroupIdentifier] the created resource def self.asset_group_identifier require "google/ads/google_ads/v17/services/shareable_preview_service_pb" res = Google::Ads::GoogleAds::V17::Services::AssetGroupIdentifier.new yield res if block_given? res end # Returns a new instance of shareable_preview_or_error, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ShareablePreviewOrError] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ShareablePreviewOrError] the created resource def self.shareable_preview_or_error require "google/ads/google_ads/v17/services/shareable_preview_service_pb" res = Google::Ads::GoogleAds::V17::Services::ShareablePreviewOrError.new yield res if block_given? res end # Returns a new instance of shareable_preview_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::ShareablePreviewResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::ShareablePreviewResult] the created resource def self.shareable_preview_result require "google/ads/google_ads/v17/services/shareable_preview_service_pb" res = Google::Ads::GoogleAds::V17::Services::ShareablePreviewResult.new yield res if block_given? res end # Returns a new instance of smart_campaign_suggestion_info, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo] the created resource def self.smart_campaign_suggestion_info require "google/ads/google_ads/v17/services/smart_campaign_suggest_service_pb" res = Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo.new yield res if block_given? res end # Returns a new instance of location_list, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo::LocationList] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo::LocationList] the created resource def self.location_list require "google/ads/google_ads/v17/services/smart_campaign_suggest_service_pb" res = Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo::LocationList.new yield res if block_given? res end # Returns a new instance of business_context, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo::BusinessContext] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo::BusinessContext] the created resource def self.business_context require "google/ads/google_ads/v17/services/smart_campaign_suggest_service_pb" res = Google::Ads::GoogleAds::V17::Services::SmartCampaignSuggestionInfo::BusinessContext.new yield res if block_given? res end # Returns a new instance of suggest_smart_campaign_budget_options_response_metrics, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SuggestSmartCampaignBudgetOptionsResponse::Metrics] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SuggestSmartCampaignBudgetOptionsResponse::Metrics] the created resource def self.suggest_smart_campaign_budget_options_response_metrics require "google/ads/google_ads/v17/services/smart_campaign_suggest_service_pb" res = Google::Ads::GoogleAds::V17::Services::SuggestSmartCampaignBudgetOptionsResponse::Metrics.new yield res if block_given? res end # Returns a new instance of budget_option, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SuggestSmartCampaignBudgetOptionsResponse::BudgetOption] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SuggestSmartCampaignBudgetOptionsResponse::BudgetOption] the created resource def self.budget_option require "google/ads/google_ads/v17/services/smart_campaign_suggest_service_pb" res = Google::Ads::GoogleAds::V17::Services::SuggestSmartCampaignBudgetOptionsResponse::BudgetOption.new yield res if block_given? res end # Returns a new instance of keyword_theme, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::SuggestKeywordThemesResponse::KeywordTheme] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::SuggestKeywordThemesResponse::KeywordTheme] the created resource def self.keyword_theme require "google/ads/google_ads/v17/services/smart_campaign_suggest_service_pb" res = Google::Ads::GoogleAds::V17::Services::SuggestKeywordThemesResponse::KeywordTheme.new yield res if block_given? res end # Returns a new instance of hotel_asset_suggestion, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::HotelAssetSuggestion] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::HotelAssetSuggestion] the created resource def self.hotel_asset_suggestion require "google/ads/google_ads/v17/services/travel_asset_suggestion_service_pb" res = Google::Ads::GoogleAds::V17::Services::HotelAssetSuggestion.new yield res if block_given? res end # Returns a new instance of hotel_text_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::HotelTextAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::HotelTextAsset] the created resource def self.hotel_text_asset require "google/ads/google_ads/v17/services/travel_asset_suggestion_service_pb" res = Google::Ads::GoogleAds::V17::Services::HotelTextAsset.new yield res if block_given? res end # Returns a new instance of hotel_image_asset, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::HotelImageAsset] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::HotelImageAsset] the created resource def self.hotel_image_asset require "google/ads/google_ads/v17/services/travel_asset_suggestion_service_pb" res = Google::Ads::GoogleAds::V17::Services::HotelImageAsset.new yield res if block_given? res end # Returns a new instance of mutate_user_list_customer_type_result, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Services::MutateUserListCustomerTypeResult] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Services::MutateUserListCustomerTypeResult] the created resource def self.mutate_user_list_customer_type_result require "google/ads/google_ads/v17/services/user_list_customer_type_service_pb" res = Google::Ads::GoogleAds::V17::Services::MutateUserListCustomerTypeResult.new yield res if block_given? res end # Returns a new instance of value, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Common::Value] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Common::Value] the created resource def self.value require "google/ads/google_ads/v17/common/value_pb" res = Google::Ads::GoogleAds::V17::Common::Value.new yield res if block_given? res end # Returns a new instance of google_ads_failure, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::GoogleAdsFailure] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::GoogleAdsFailure] the created resource def self.google_ads_failure require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::GoogleAdsFailure.new yield res if block_given? res end # Returns a new instance of google_ads_error, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::GoogleAdsError] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::GoogleAdsError] the created resource def self.google_ads_error require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::GoogleAdsError.new yield res if block_given? res end # Returns a new instance of error_code, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::ErrorCode] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::ErrorCode] the created resource def self.error_code require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::ErrorCode.new yield res if block_given? res end # Returns a new instance of error_location, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::ErrorLocation] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::ErrorLocation] the created resource def self.error_location require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::ErrorLocation.new yield res if block_given? res end # Returns a new instance of field_path_element, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::ErrorLocation::FieldPathElement] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::ErrorLocation::FieldPathElement] the created resource def self.field_path_element require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::ErrorLocation::FieldPathElement.new yield res if block_given? res end # Returns a new instance of error_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::ErrorDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::ErrorDetails] the created resource def self.error_details require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::ErrorDetails.new yield res if block_given? res end # Returns a new instance of policy_violation_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::PolicyViolationDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::PolicyViolationDetails] the created resource def self.policy_violation_details require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::PolicyViolationDetails.new yield res if block_given? res end # Returns a new instance of policy_finding_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::PolicyFindingDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::PolicyFindingDetails] the created resource def self.policy_finding_details require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::PolicyFindingDetails.new yield res if block_given? res end # Returns a new instance of quota_error_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::QuotaErrorDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::QuotaErrorDetails] the created resource def self.quota_error_details require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::QuotaErrorDetails.new yield res if block_given? res end # Returns a new instance of resource_count_details, optionally # yielding it to a passed block so that attributes can be set on it. # # @yield [Google::Ads::GoogleAds::V17::Errors::ResourceCountDetails] the new instance that will be returned so attributes # can be set # @return [Google::Ads::GoogleAds::V17::Errors::ResourceCountDetails] the created resource def self.resource_count_details require "google/ads/google_ads/v17/errors/errors_pb" res = Google::Ads::GoogleAds::V17::Errors::ResourceCountDetails.new yield res if block_given? res end end end end end end end