lib/google/ads/google_ads/factories/v2/resources.rb in google-ads-googleads-3.0.1 vs lib/google/ads/google_ads/factories/v2/resources.rb in google-ads-googleads-3.1.0
- old
+ new
@@ -2,192 +2,413 @@
module Ads
module GoogleAds
module Factories
module V2
module Resources
- # Returns a new instance of DateRange, optionally
+ # Returns a new instance of AdParameter, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::DateRange] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdParameter] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::DateRange] the created resource
- def self.date_range
- require "google/ads/google_ads/v2/common/dates_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::DateRange.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdParameter] the created resource
+ def self.ad_parameter
+ require "google/ads/google_ads/v2/resources/ad_parameter_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdParameter.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordPlan, optionally
+ # Returns a new instance of KeywordPlanAdGroup, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlan] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlan] the created resource
- def self.keyword_plan
- require "google/ads/google_ads/v2/resources/keyword_plan_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::KeywordPlan.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup] the created resource
+ def self.keyword_plan_ad_group
+ require "google/ads/google_ads/v2/resources/keyword_plan_ad_group_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordPlanForecastPeriod, optionally
+ # Returns a new instance of MediaFile, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanForecastPeriod] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MediaFile] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanForecastPeriod] the created resource
- def self.keyword_plan_forecast_period
- require "google/ads/google_ads/v2/resources/keyword_plan_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanForecastPeriod.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MediaFile] the created resource
+ def self.media_file
+ require "google/ads/google_ads/v2/resources/media_file_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MediaFile.new
yield res if block_given?
res
end
- # Returns a new instance of DomainCategory, optionally
+ # Returns a new instance of MediaImage, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::DomainCategory] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MediaImage] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::DomainCategory] the created resource
- def self.domain_category
- require "google/ads/google_ads/v2/resources/domain_category_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::DomainCategory.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MediaImage] the created resource
+ def self.media_image
+ require "google/ads/google_ads/v2/resources/media_file_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MediaImage.new
yield res if block_given?
res
end
- # Returns a new instance of ClickLocation, optionally
+ # Returns a new instance of MediaBundle, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ClickLocation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MediaBundle] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ClickLocation] the created resource
- def self.click_location
- require "google/ads/google_ads/v2/common/click_location_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ClickLocation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MediaBundle] the created resource
+ def self.media_bundle
+ require "google/ads/google_ads/v2/resources/media_file_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MediaBundle.new
yield res if block_given?
res
end
- # Returns a new instance of ClickView, optionally
+ # Returns a new instance of MediaAudio, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ClickView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MediaAudio] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ClickView] the created resource
- def self.click_view
- require "google/ads/google_ads/v2/resources/click_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ClickView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MediaAudio] the created resource
+ def self.media_audio
+ require "google/ads/google_ads/v2/resources/media_file_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MediaAudio.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupExtensionSetting, optionally
+ # Returns a new instance of MediaVideo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupExtensionSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MediaVideo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupExtensionSetting] the created resource
- def self.ad_group_extension_setting
- require "google/ads/google_ads/v2/resources/ad_group_extension_setting_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupExtensionSetting.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MediaVideo] the created resource
+ def self.media_video
+ require "google/ads/google_ads/v2/resources/media_file_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MediaVideo.new
yield res if block_given?
res
end
- # Returns a new instance of AccountBudgetProposal, optionally
+ # Returns a new instance of KeywordPlanKeyword, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AccountBudgetProposal] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AccountBudgetProposal] the created resource
- def self.account_budget_proposal
- require "google/ads/google_ads/v2/resources/account_budget_proposal_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AccountBudgetProposal.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword] the created resource
+ def self.keyword_plan_keyword
+ require "google/ads/google_ads/v2/resources/keyword_plan_keyword_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword.new
yield res if block_given?
res
end
- # Returns a new instance of ManagedPlacementView, optionally
+ # Returns a new instance of AdGroupCriterionLabel, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ManagedPlacementView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionLabel] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ManagedPlacementView] the created resource
- def self.managed_placement_view
- require "google/ads/google_ads/v2/resources/managed_placement_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ManagedPlacementView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionLabel] the created resource
+ def self.ad_group_criterion_label
+ require "google/ads/google_ads/v2/resources/ad_group_criterion_label_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionLabel.new
yield res if block_given?
res
end
- # Returns a new instance of CustomParameter, optionally
+ # Returns a new instance of AdScheduleView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CustomParameter] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdScheduleView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CustomParameter] the created resource
- def self.custom_parameter
- require "google/ads/google_ads/v2/common/custom_parameter_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CustomParameter.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdScheduleView] the created resource
+ def self.ad_schedule_view
+ require "google/ads/google_ads/v2/resources/ad_schedule_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdScheduleView.new
yield res if block_given?
res
end
- # Returns a new instance of ExplorerAutoOptimizerSetting, optionally
+ # Returns a new instance of TagSnippet, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ExplorerAutoOptimizerSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TagSnippet] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ExplorerAutoOptimizerSetting] the created resource
- def self.explorer_auto_optimizer_setting
- require "google/ads/google_ads/v2/common/explorer_auto_optimizer_setting_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ExplorerAutoOptimizerSetting.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TagSnippet] the created resource
+ def self.tag_snippet
+ require "google/ads/google_ads/v2/common/tag_snippet_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TagSnippet.new
yield res if block_given?
res
end
- # Returns a new instance of TargetingSetting, optionally
+ # Returns a new instance of ConversionAction, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetingSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ConversionAction] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetingSetting] the created resource
- def self.targeting_setting
- require "google/ads/google_ads/v2/common/targeting_setting_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetingSetting.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::ConversionAction] the created resource
+ def self.conversion_action
+ require "google/ads/google_ads/v2/resources/conversion_action_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ConversionAction.new
yield res if block_given?
res
end
- # Returns a new instance of TargetRestriction, optionally
+ # Returns a new instance of AttributionModelSettings, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetRestriction] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ConversionAction::AttributionModelSettings] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetRestriction] the created resource
- def self.target_restriction
- require "google/ads/google_ads/v2/common/targeting_setting_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetRestriction.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::ConversionAction::AttributionModelSettings] the created resource
+ def self.attribution_model_settings
+ require "google/ads/google_ads/v2/resources/conversion_action_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ConversionAction::AttributionModelSettings.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroup, optionally
+ # Returns a new instance of ValueSettings, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroup] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ConversionAction::ValueSettings] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroup] the created resource
- def self.ad_group
- require "google/ads/google_ads/v2/resources/ad_group_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroup.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::ConversionAction::ValueSettings] the created resource
+ def self.value_settings
+ require "google/ads/google_ads/v2/resources/conversion_action_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ConversionAction::ValueSettings.new
yield res if block_given?
res
end
+ # Returns a new instance of GeoTargetConstant, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::GeoTargetConstant] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::GeoTargetConstant] the created resource
+ def self.geo_target_constant
+ require "google/ads/google_ads/v2/resources/geo_target_constant_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::GeoTargetConstant.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ShoppingPerformanceView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ShoppingPerformanceView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::ShoppingPerformanceView] the created resource
+ def self.shopping_performance_view
+ require "google/ads/google_ads/v2/resources/shopping_performance_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ShoppingPerformanceView.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of MobileAppCategoryConstant, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MobileAppCategoryConstant] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::MobileAppCategoryConstant] the created resource
+ def self.mobile_app_category_constant
+ require "google/ads/google_ads/v2/resources/mobile_app_category_constant_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MobileAppCategoryConstant.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of GoogleAdsField, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::GoogleAdsField] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::GoogleAdsField] the created resource
+ def self.google_ads_field
+ require "google/ads/google_ads/v2/resources/google_ads_field_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::GoogleAdsField.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of MatchingFunction, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::MatchingFunction] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::MatchingFunction] the created resource
+ def self.matching_function
+ require "google/ads/google_ads/v2/common/matching_function_pb.rb"
+ res = Google::Ads::GoogleAds::V2::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::V2::Common::Operand] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::Operand] the created resource
+ def self.operand
+ require "google/ads/google_ads/v2/common/matching_function_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::Operand.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ConstantOperand, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::Operand::ConstantOperand] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::Operand::ConstantOperand] the created resource
+ def self.constant_operand
+ require "google/ads/google_ads/v2/common/matching_function_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::Operand::ConstantOperand.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of FeedAttributeOperand, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::Operand::FeedAttributeOperand] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::Operand::FeedAttributeOperand] the created resource
+ def self.feed_attribute_operand
+ require "google/ads/google_ads/v2/common/matching_function_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::Operand::FeedAttributeOperand.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of FunctionOperand, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::Operand::FunctionOperand] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::Operand::FunctionOperand] the created resource
+ def self.function_operand
+ require "google/ads/google_ads/v2/common/matching_function_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::Operand::FunctionOperand.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of RequestContextOperand, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::Operand::RequestContextOperand] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::Operand::RequestContextOperand] the created resource
+ def self.request_context_operand
+ require "google/ads/google_ads/v2/common/matching_function_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::Operand::RequestContextOperand.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AdGroupFeed, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupFeed] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupFeed] the created resource
+ def self.ad_group_feed
+ require "google/ads/google_ads/v2/resources/ad_group_feed_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupFeed.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of PaidOrganicSearchTermView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::PaidOrganicSearchTermView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::PaidOrganicSearchTermView] the created resource
+ def self.paid_organic_search_term_view
+ require "google/ads/google_ads/v2/resources/paid_organic_search_term_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::PaidOrganicSearchTermView.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of DynamicSearchAdsSearchTermView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::DynamicSearchAdsSearchTermView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::DynamicSearchAdsSearchTermView] the created resource
+ def self.dynamic_search_ads_search_term_view
+ require "google/ads/google_ads/v2/resources/dynamic_search_ads_search_term_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::DynamicSearchAdsSearchTermView.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of GenderView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::GenderView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::GenderView] the created resource
+ def self.gender_view
+ require "google/ads/google_ads/v2/resources/gender_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::GenderView.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of CampaignLabel, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignLabel] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignLabel] the created resource
+ def self.campaign_label
+ require "google/ads/google_ads/v2/resources/campaign_label_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignLabel.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ProductBiddingCategoryConstant, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ProductBiddingCategoryConstant] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::ProductBiddingCategoryConstant] the created resource
+ def self.product_bidding_category_constant
+ require "google/ads/google_ads/v2/resources/product_bidding_category_constant_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ProductBiddingCategoryConstant.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ParentalStatusView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ParentalStatusView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::ParentalStatusView] the created resource
+ def self.parental_status_view
+ require "google/ads/google_ads/v2/resources/parental_status_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ParentalStatusView.new
+ yield res if block_given?
+ res
+ end
+
# Returns a new instance of PolicyViolationKey, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Common::PolicyViolationKey] the new instance that will be returned so attributes
# can be set
@@ -353,179 +574,699 @@
res = Google::Ads::GoogleAds::V2::Common::PolicyTopicConstraint::CountryConstraint.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupAdAssetView, optionally
+ # Returns a new instance of AdTextAsset, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::AdTextAsset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetView] the created resource
- def self.ad_group_ad_asset_view
- require "google/ads/google_ads/v2/resources/ad_group_ad_asset_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::AdTextAsset] the created resource
+ def self.ad_text_asset
+ require "google/ads/google_ads/v2/common/ad_asset_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::AdTextAsset.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupAdAssetPolicySummary, optionally
+ # Returns a new instance of AdImageAsset, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetPolicySummary] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::AdImageAsset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetPolicySummary] the created resource
- def self.ad_group_ad_asset_policy_summary
- require "google/ads/google_ads/v2/resources/ad_group_ad_asset_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetPolicySummary.new
+ # @return [Google::Ads::GoogleAds::V2::Common::AdImageAsset] the created resource
+ def self.ad_image_asset
+ require "google/ads/google_ads/v2/common/ad_asset_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::AdImageAsset.new
yield res if block_given?
res
end
- # Returns a new instance of LandingPageView, optionally
+ # Returns a new instance of AdVideoAsset, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::LandingPageView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::AdVideoAsset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::LandingPageView] the created resource
- def self.landing_page_view
- require "google/ads/google_ads/v2/resources/landing_page_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::LandingPageView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::AdVideoAsset] the created resource
+ def self.ad_video_asset
+ require "google/ads/google_ads/v2/common/ad_asset_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::AdVideoAsset.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordPlanKeyword, optionally
+ # Returns a new instance of AdMediaBundleAsset, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::AdMediaBundleAsset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword] the created resource
- def self.keyword_plan_keyword
- require "google/ads/google_ads/v2/resources/keyword_plan_keyword_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanKeyword.new
+ # @return [Google::Ads::GoogleAds::V2::Common::AdMediaBundleAsset] the created resource
+ def self.ad_media_bundle_asset
+ require "google/ads/google_ads/v2/common/ad_asset_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::AdMediaBundleAsset.new
yield res if block_given?
res
end
- # Returns a new instance of BidModifierSimulationPointList, optionally
+ # Returns a new instance of TextAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPointList] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TextAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPointList] the created resource
- def self.bid_modifier_simulation_point_list
- require "google/ads/google_ads/v2/common/simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPointList.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TextAdInfo] the created resource
+ def self.text_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TextAdInfo.new
yield res if block_given?
res
end
- # Returns a new instance of CpcBidSimulationPointList, optionally
+ # Returns a new instance of ExpandedTextAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPointList] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ExpandedTextAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPointList] the created resource
- def self.cpc_bid_simulation_point_list
- require "google/ads/google_ads/v2/common/simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPointList.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ExpandedTextAdInfo] the created resource
+ def self.expanded_text_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ExpandedTextAdInfo.new
yield res if block_given?
res
end
- # Returns a new instance of CpvBidSimulationPointList, optionally
+ # Returns a new instance of CallOnlyAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPointList] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CallOnlyAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPointList] the created resource
- def self.cpv_bid_simulation_point_list
- require "google/ads/google_ads/v2/common/simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPointList.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CallOnlyAdInfo] the created resource
+ def self.call_only_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CallOnlyAdInfo.new
yield res if block_given?
res
end
- # Returns a new instance of TargetCpaSimulationPointList, optionally
+ # Returns a new instance of ExpandedDynamicSearchAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPointList] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ExpandedDynamicSearchAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPointList] the created resource
- def self.target_cpa_simulation_point_list
- require "google/ads/google_ads/v2/common/simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPointList.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ExpandedDynamicSearchAdInfo] the created resource
+ def self.expanded_dynamic_search_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ExpandedDynamicSearchAdInfo.new
yield res if block_given?
res
end
- # Returns a new instance of BidModifierSimulationPoint, optionally
+ # Returns a new instance of HotelAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPoint] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::HotelAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPoint] the created resource
- def self.bid_modifier_simulation_point
- require "google/ads/google_ads/v2/common/simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPoint.new
+ # @return [Google::Ads::GoogleAds::V2::Common::HotelAdInfo] the created resource
+ def self.hotel_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::HotelAdInfo.new
yield res if block_given?
res
end
- # Returns a new instance of CpcBidSimulationPoint, optionally
+ # Returns a new instance of ShoppingSmartAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPoint] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ShoppingSmartAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPoint] the created resource
- def self.cpc_bid_simulation_point
- require "google/ads/google_ads/v2/common/simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPoint.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ShoppingSmartAdInfo] the created resource
+ def self.shopping_smart_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ShoppingSmartAdInfo.new
yield res if block_given?
res
end
- # Returns a new instance of CpvBidSimulationPoint, optionally
+ # Returns a new instance of ShoppingProductAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPoint] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ShoppingProductAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPoint] the created resource
- def self.cpv_bid_simulation_point
- require "google/ads/google_ads/v2/common/simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPoint.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ShoppingProductAdInfo] the created resource
+ def self.shopping_product_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ShoppingProductAdInfo.new
yield res if block_given?
res
end
- # Returns a new instance of TargetCpaSimulationPoint, optionally
+ # Returns a new instance of ShoppingComparisonListingAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPoint] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ShoppingComparisonListingAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPoint] the created resource
- def self.target_cpa_simulation_point
- require "google/ads/google_ads/v2/common/simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPoint.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ShoppingComparisonListingAdInfo] the created resource
+ def self.shopping_comparison_listing_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ShoppingComparisonListingAdInfo.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupCriterionSimulation, optionally
+ # Returns a new instance of GmailAdInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionSimulation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::GmailAdInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionSimulation] the created resource
- def self.ad_group_criterion_simulation
- require "google/ads/google_ads/v2/resources/ad_group_criterion_simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionSimulation.new
+ # @return [Google::Ads::GoogleAds::V2::Common::GmailAdInfo] the created resource
+ def self.gmail_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::GmailAdInfo.new
yield res if block_given?
res
end
+ # Returns a new instance of GmailTeaser, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::GmailTeaser] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::GmailTeaser] the created resource
+ def self.gmail_teaser
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::GmailTeaser.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of DisplayCallToAction, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::DisplayCallToAction] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::DisplayCallToAction] the created resource
+ def self.display_call_to_action
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::DisplayCallToAction.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ProductImage, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::ProductImage] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::ProductImage] the created resource
+ def self.product_image
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ProductImage.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ProductVideo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::ProductVideo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::ProductVideo] the created resource
+ def self.product_video
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ProductVideo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ImageAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::ImageAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::ImageAdInfo] the created resource
+ def self.image_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ImageAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of VideoBumperInStreamAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::VideoBumperInStreamAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::VideoBumperInStreamAdInfo] the created resource
+ def self.video_bumper_in_stream_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::VideoBumperInStreamAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of VideoNonSkippableInStreamAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::VideoNonSkippableInStreamAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::VideoNonSkippableInStreamAdInfo] the created resource
+ def self.video_non_skippable_in_stream_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::VideoNonSkippableInStreamAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of VideoTrueViewInStreamAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::VideoTrueViewInStreamAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::VideoTrueViewInStreamAdInfo] the created resource
+ def self.video_true_view_in_stream_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::VideoTrueViewInStreamAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of VideoOutstreamAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::VideoOutstreamAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::VideoOutstreamAdInfo] the created resource
+ def self.video_outstream_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::VideoOutstreamAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of VideoAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::VideoAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::VideoAdInfo] the created resource
+ def self.video_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::VideoAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ResponsiveSearchAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::ResponsiveSearchAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::ResponsiveSearchAdInfo] the created resource
+ def self.responsive_search_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ResponsiveSearchAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of LegacyResponsiveDisplayAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::LegacyResponsiveDisplayAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::LegacyResponsiveDisplayAdInfo] the created resource
+ def self.legacy_responsive_display_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::LegacyResponsiveDisplayAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AppAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::AppAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::AppAdInfo] the created resource
+ def self.app_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::AppAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AppEngagementAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::AppEngagementAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::AppEngagementAdInfo] the created resource
+ def self.app_engagement_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::AppEngagementAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of LegacyAppInstallAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::LegacyAppInstallAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::LegacyAppInstallAdInfo] the created resource
+ def self.legacy_app_install_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::LegacyAppInstallAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ResponsiveDisplayAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::ResponsiveDisplayAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::ResponsiveDisplayAdInfo] the created resource
+ def self.responsive_display_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ResponsiveDisplayAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of DisplayUploadAdInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::DisplayUploadAdInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::DisplayUploadAdInfo] the created resource
+ def self.display_upload_ad_info
+ require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::DisplayUploadAdInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of CustomParameter, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::CustomParameter] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::CustomParameter] the created resource
+ def self.custom_parameter
+ require "google/ads/google_ads/v2/common/custom_parameter_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CustomParameter.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of FinalAppUrl, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::FinalAppUrl] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::FinalAppUrl] the created resource
+ def self.final_app_url
+ require "google/ads/google_ads/v2/common/final_app_url_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::FinalAppUrl.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of UrlCollection, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Common::UrlCollection] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Common::UrlCollection] the created resource
+ def self.url_collection
+ require "google/ads/google_ads/v2/common/url_collection_pb.rb"
+ res = Google::Ads::GoogleAds::V2::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::V2::Resources::Ad] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::Ad] the created resource
+ def self.ad
+ require "google/ads/google_ads/v2/resources/ad_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Ad.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AdGroupAd, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAd] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAd] the created resource
+ def self.ad_group_ad
+ require "google/ads/google_ads/v2/resources/ad_group_ad_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupAd.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AdGroupAdPolicySummary, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAdPolicySummary] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAdPolicySummary] the created resource
+ def self.ad_group_ad_policy_summary
+ require "google/ads/google_ads/v2/resources/ad_group_ad_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupAdPolicySummary.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ChangeStatus, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ChangeStatus] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::ChangeStatus] the created resource
+ def self.change_status
+ require "google/ads/google_ads/v2/resources/change_status_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ChangeStatus.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of FeedMapping, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::FeedMapping] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::FeedMapping] the created resource
+ def self.feed_mapping
+ require "google/ads/google_ads/v2/resources/feed_mapping_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::FeedMapping.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AttributeFieldMapping, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AttributeFieldMapping] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::AttributeFieldMapping] the created resource
+ def self.attribute_field_mapping
+ require "google/ads/google_ads/v2/resources/feed_mapping_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AttributeFieldMapping.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of BillingSetup, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::BillingSetup] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::BillingSetup] the created resource
+ def self.billing_setup
+ require "google/ads/google_ads/v2/resources/billing_setup_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::BillingSetup.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of PaymentsAccountInfo, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::BillingSetup::PaymentsAccountInfo] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::BillingSetup::PaymentsAccountInfo] the created resource
+ def self.payments_account_info
+ require "google/ads/google_ads/v2/resources/billing_setup_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::BillingSetup::PaymentsAccountInfo.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of HotelGroupView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::HotelGroupView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::HotelGroupView] the created resource
+ def self.hotel_group_view
+ require "google/ads/google_ads/v2/resources/hotel_group_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::HotelGroupView.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of DistanceView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::DistanceView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::DistanceView] the created resource
+ def self.distance_view
+ require "google/ads/google_ads/v2/resources/distance_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::DistanceView.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AdGroupAudienceView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAudienceView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAudienceView] the created resource
+ def self.ad_group_audience_view
+ require "google/ads/google_ads/v2/resources/ad_group_audience_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupAudienceView.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::V2::Resources::Customer] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::Customer] the created resource
+ def self.customer
+ require "google/ads/google_ads/v2/resources/customer_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Customer.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of CallReportingSetting, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CallReportingSetting] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::CallReportingSetting] the created resource
+ def self.call_reporting_setting
+ require "google/ads/google_ads/v2/resources/customer_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CallReportingSetting.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of ConversionTrackingSetting, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ConversionTrackingSetting] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::ConversionTrackingSetting] the created resource
+ def self.conversion_tracking_setting
+ require "google/ads/google_ads/v2/resources/customer_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ConversionTrackingSetting.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of RemarketingSetting, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::RemarketingSetting] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::RemarketingSetting] the created resource
+ def self.remarketing_setting
+ require "google/ads/google_ads/v2/resources/customer_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::RemarketingSetting.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of CampaignBudget, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignBudget] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignBudget] the created resource
+ def self.campaign_budget
+ require "google/ads/google_ads/v2/resources/campaign_budget_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignBudget.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of CampaignFeed, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignFeed] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignFeed] the created resource
+ def self.campaign_feed
+ require "google/ads/google_ads/v2/resources/campaign_feed_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignFeed.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of CustomerLabel, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerLabel] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomerLabel] the created resource
+ def self.customer_label
+ require "google/ads/google_ads/v2/resources/customer_label_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomerLabel.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of PaymentsAccount, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::PaymentsAccount] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::PaymentsAccount] the created resource
+ def self.payments_account
+ require "google/ads/google_ads/v2/resources/payments_account_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::PaymentsAccount.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AdGroupLabel, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupLabel] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupLabel] the created resource
+ def self.ad_group_label
+ require "google/ads/google_ads/v2/resources/ad_group_label_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupLabel.new
+ yield res if block_given?
+ res
+ end
+
# Returns a new instance of KeywordInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Common::KeywordInfo] the new instance that will be returned so attributes
# can be set
@@ -1224,1440 +1965,1518 @@
res = Google::Ads::GoogleAds::V2::Common::LocationGroupInfo.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupBidModifier, optionally
+ # 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::V2::Resources::AdGroupBidModifier] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::Money] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier] the created resource
- def self.ad_group_bid_modifier
- require "google/ads/google_ads/v2/resources/ad_group_bid_modifier_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier.new
+ # @return [Google::Ads::GoogleAds::V2::Common::Money] the created resource
+ def self.money
+ require "google/ads/google_ads/v2/common/feed_common_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::Money.new
yield res if block_given?
res
end
- # Returns a new instance of Customer, optionally
+ # Returns a new instance of AppFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Customer] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::AppFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Customer] the created resource
- def self.customer
- require "google/ads/google_ads/v2/resources/customer_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Customer.new
+ # @return [Google::Ads::GoogleAds::V2::Common::AppFeedItem] the created resource
+ def self.app_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::AppFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of CallReportingSetting, optionally
+ # Returns a new instance of CallFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CallReportingSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CallFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CallReportingSetting] the created resource
- def self.call_reporting_setting
- require "google/ads/google_ads/v2/resources/customer_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CallReportingSetting.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CallFeedItem] the created resource
+ def self.call_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CallFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of ConversionTrackingSetting, optionally
+ # Returns a new instance of CalloutFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ConversionTrackingSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CalloutFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ConversionTrackingSetting] the created resource
- def self.conversion_tracking_setting
- require "google/ads/google_ads/v2/resources/customer_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ConversionTrackingSetting.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CalloutFeedItem] the created resource
+ def self.callout_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CalloutFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of RemarketingSetting, optionally
+ # Returns a new instance of LocationFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::RemarketingSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::LocationFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::RemarketingSetting] the created resource
- def self.remarketing_setting
- require "google/ads/google_ads/v2/resources/customer_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::RemarketingSetting.new
+ # @return [Google::Ads::GoogleAds::V2::Common::LocationFeedItem] the created resource
+ def self.location_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::LocationFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of TextLabel, optionally
+ # Returns a new instance of AffiliateLocationFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TextLabel] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::AffiliateLocationFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TextLabel] the created resource
- def self.text_label
- require "google/ads/google_ads/v2/common/text_label_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TextLabel.new
+ # @return [Google::Ads::GoogleAds::V2::Common::AffiliateLocationFeedItem] the created resource
+ def self.affiliate_location_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::AffiliateLocationFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of Label, optionally
+ # Returns a new instance of TextMessageFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Label] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TextMessageFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Label] the created resource
- def self.label
- require "google/ads/google_ads/v2/resources/label_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Label.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TextMessageFeedItem] the created resource
+ def self.text_message_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TextMessageFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupAudienceView, optionally
+ # Returns a new instance of PriceFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAudienceView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::PriceFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAudienceView] the created resource
- def self.ad_group_audience_view
- require "google/ads/google_ads/v2/resources/ad_group_audience_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupAudienceView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::PriceFeedItem] the created resource
+ def self.price_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::PriceFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of SearchTermView, optionally
+ # Returns a new instance of PriceOffer, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::SearchTermView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::PriceOffer] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::SearchTermView] the created resource
- def self.search_term_view
- require "google/ads/google_ads/v2/resources/search_term_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::SearchTermView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::PriceOffer] the created resource
+ def self.price_offer
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::PriceOffer.new
yield res if block_given?
res
end
- # Returns a new instance of DistanceView, optionally
+ # Returns a new instance of PromotionFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::DistanceView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::PromotionFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::DistanceView] the created resource
- def self.distance_view
- require "google/ads/google_ads/v2/resources/distance_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::DistanceView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::PromotionFeedItem] the created resource
+ def self.promotion_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::PromotionFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignBudget, optionally
+ # Returns a new instance of StructuredSnippetFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignBudget] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::StructuredSnippetFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignBudget] the created resource
- def self.campaign_budget
- require "google/ads/google_ads/v2/resources/campaign_budget_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignBudget.new
+ # @return [Google::Ads::GoogleAds::V2::Common::StructuredSnippetFeedItem] the created resource
+ def self.structured_snippet_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::StructuredSnippetFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of MerchantCenterLink, optionally
+ # Returns a new instance of SitelinkFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::SitelinkFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink] the created resource
- def self.merchant_center_link
- require "google/ads/google_ads/v2/resources/merchant_center_link_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink.new
+ # @return [Google::Ads::GoogleAds::V2::Common::SitelinkFeedItem] the created resource
+ def self.sitelink_feed_item
+ require "google/ads/google_ads/v2/common/extensions_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::SitelinkFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupSimulation, optionally
+ # 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::V2::Resources::AdGroupSimulation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupSimulation] the created resource
- def self.ad_group_simulation
- require "google/ads/google_ads/v2/resources/ad_group_simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupSimulation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation] the created resource
+ def self.recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation.new
yield res if block_given?
res
end
- # Returns a new instance of PaymentsAccount, optionally
+ # Returns a new instance of RecommendationImpact, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::PaymentsAccount] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationImpact] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::PaymentsAccount] the created resource
- def self.payments_account
- require "google/ads/google_ads/v2/resources/payments_account_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::PaymentsAccount.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationImpact] the created resource
+ def self.recommendation_impact
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationImpact.new
yield res if block_given?
res
end
- # Returns a new instance of TagSnippet, optionally
+ # Returns a new instance of RecommendationMetrics, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TagSnippet] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationMetrics] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TagSnippet] the created resource
- def self.tag_snippet
- require "google/ads/google_ads/v2/common/tag_snippet_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TagSnippet.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationMetrics] the created resource
+ def self.recommendation_metrics
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationMetrics.new
yield res if block_given?
res
end
- # Returns a new instance of RemarketingAction, optionally
+ # Returns a new instance of CampaignBudgetRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::RemarketingAction] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::RemarketingAction] the created resource
- def self.remarketing_action
- require "google/ads/google_ads/v2/resources/remarketing_action_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::RemarketingAction.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation] the created resource
+ def self.campaign_budget_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignDraft, optionally
+ # Returns a new instance of CampaignBudgetRecommendationOption, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignDraft] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignDraft] the created resource
- def self.campaign_draft
- require "google/ads/google_ads/v2/resources/campaign_draft_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignDraft.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption] the created resource
+ def self.campaign_budget_recommendation_option
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption.new
yield res if block_given?
res
end
- # Returns a new instance of AdTextAsset, optionally
+ # Returns a new instance of KeywordRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::AdTextAsset] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::AdTextAsset] the created resource
- def self.ad_text_asset
- require "google/ads/google_ads/v2/common/ad_asset_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::AdTextAsset.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordRecommendation] the created resource
+ def self.keyword_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of AdImageAsset, optionally
+ # Returns a new instance of MaximizeClicksOptInRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::AdImageAsset] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeClicksOptInRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::AdImageAsset] the created resource
- def self.ad_image_asset
- require "google/ads/google_ads/v2/common/ad_asset_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::AdImageAsset.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeClicksOptInRecommendation] the created resource
+ def self.maximize_clicks_opt_in_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeClicksOptInRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of AdVideoAsset, optionally
+ # Returns a new instance of TextAdRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::AdVideoAsset] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::TextAdRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::AdVideoAsset] the created resource
- def self.ad_video_asset
- require "google/ads/google_ads/v2/common/ad_asset_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::AdVideoAsset.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::TextAdRecommendation] the created resource
+ def self.text_ad_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::TextAdRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of AdMediaBundleAsset, optionally
+ # Returns a new instance of TargetCpaOptInRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::AdMediaBundleAsset] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::AdMediaBundleAsset] the created resource
- def self.ad_media_bundle_asset
- require "google/ads/google_ads/v2/common/ad_asset_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::AdMediaBundleAsset.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation] the created resource
+ def self.target_cpa_opt_in_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of TextAdInfo, optionally
+ # Returns a new instance of TargetCpaOptInRecommendationOption, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TextAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TextAdInfo] the created resource
- def self.text_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TextAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption] the created resource
+ def self.target_cpa_opt_in_recommendation_option
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption.new
yield res if block_given?
res
end
- # Returns a new instance of ExpandedTextAdInfo, optionally
+ # Returns a new instance of MaximizeConversionsOptInRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ExpandedTextAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeConversionsOptInRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ExpandedTextAdInfo] the created resource
- def self.expanded_text_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ExpandedTextAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeConversionsOptInRecommendation] the created resource
+ def self.maximize_conversions_opt_in_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeConversionsOptInRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of CallOnlyAdInfo, optionally
+ # Returns a new instance of SitelinkExtensionRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CallOnlyAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CallOnlyAdInfo] the created resource
- def self.call_only_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CallOnlyAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation] the created resource
+ def self.sitelink_extension_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of ExpandedDynamicSearchAdInfo, optionally
+ # Returns a new instance of EnhancedCpcOptInRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ExpandedDynamicSearchAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::EnhancedCpcOptInRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ExpandedDynamicSearchAdInfo] the created resource
- def self.expanded_dynamic_search_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ExpandedDynamicSearchAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::EnhancedCpcOptInRecommendation] the created resource
+ def self.enhanced_cpc_opt_in_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::EnhancedCpcOptInRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of HotelAdInfo, optionally
+ # Returns a new instance of KeywordMatchTypeRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::HotelAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::HotelAdInfo] the created resource
- def self.hotel_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::HotelAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation] the created resource
+ def self.keyword_match_type_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of ShoppingSmartAdInfo, optionally
+ # Returns a new instance of SearchPartnersOptInRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ShoppingSmartAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ShoppingSmartAdInfo] the created resource
- def self.shopping_smart_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ShoppingSmartAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation] the created resource
+ def self.search_partners_opt_in_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of ShoppingProductAdInfo, optionally
+ # Returns a new instance of OptimizeAdRotationRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ShoppingProductAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ShoppingProductAdInfo] the created resource
- def self.shopping_product_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ShoppingProductAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation] the created resource
+ def self.optimize_ad_rotation_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of ShoppingComparisonListingAdInfo, optionally
+ # Returns a new instance of MoveUnusedBudgetRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ShoppingComparisonListingAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::MoveUnusedBudgetRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ShoppingComparisonListingAdInfo] the created resource
- def self.shopping_comparison_listing_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ShoppingComparisonListingAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::MoveUnusedBudgetRecommendation] the created resource
+ def self.move_unused_budget_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::MoveUnusedBudgetRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of GmailAdInfo, optionally
+ # Returns a new instance of CalloutExtensionRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::GmailAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::GmailAdInfo] the created resource
- def self.gmail_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::GmailAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation] the created resource
+ def self.callout_extension_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of GmailTeaser, optionally
+ # Returns a new instance of CallExtensionRecommendation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::GmailTeaser] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::GmailTeaser] the created resource
- def self.gmail_teaser
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::GmailTeaser.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation] the created resource
+ def self.call_extension_recommendation
+ require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation.new
yield res if block_given?
res
end
- # Returns a new instance of DisplayCallToAction, optionally
+ # Returns a new instance of DetailPlacementView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::DisplayCallToAction] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::DetailPlacementView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::DisplayCallToAction] the created resource
- def self.display_call_to_action
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::DisplayCallToAction.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::DetailPlacementView] the created resource
+ def self.detail_placement_view
+ require "google/ads/google_ads/v2/resources/detail_placement_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::DetailPlacementView.new
yield res if block_given?
res
end
- # Returns a new instance of ProductImage, optionally
+ # Returns a new instance of MutateJob, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ProductImage] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MutateJob] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ProductImage] the created resource
- def self.product_image
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ProductImage.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MutateJob] the created resource
+ def self.mutate_job
+ require "google/ads/google_ads/v2/resources/mutate_job_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MutateJob.new
yield res if block_given?
res
end
- # Returns a new instance of ProductVideo, optionally
+ # Returns a new instance of MutateJobMetadata, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ProductVideo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MutateJob::MutateJobMetadata] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ProductVideo] the created resource
- def self.product_video
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ProductVideo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MutateJob::MutateJobMetadata] the created resource
+ def self.mutate_job_metadata
+ require "google/ads/google_ads/v2/resources/mutate_job_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MutateJob::MutateJobMetadata.new
yield res if block_given?
res
end
- # Returns a new instance of ImageAdInfo, optionally
+ # Returns a new instance of GeographicView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ImageAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::GeographicView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ImageAdInfo] the created resource
- def self.image_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ImageAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::GeographicView] the created resource
+ def self.geographic_view
+ require "google/ads/google_ads/v2/resources/geographic_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::GeographicView.new
yield res if block_given?
res
end
- # Returns a new instance of VideoBumperInStreamAdInfo, optionally
+ # Returns a new instance of YoutubeVideoAsset, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::VideoBumperInStreamAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::YoutubeVideoAsset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::VideoBumperInStreamAdInfo] the created resource
- def self.video_bumper_in_stream_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::VideoBumperInStreamAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Common::YoutubeVideoAsset] the created resource
+ def self.youtube_video_asset
+ require "google/ads/google_ads/v2/common/asset_types_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::YoutubeVideoAsset.new
yield res if block_given?
res
end
- # Returns a new instance of VideoNonSkippableInStreamAdInfo, optionally
+ # Returns a new instance of MediaBundleAsset, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::VideoNonSkippableInStreamAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::MediaBundleAsset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::VideoNonSkippableInStreamAdInfo] the created resource
- def self.video_non_skippable_in_stream_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::VideoNonSkippableInStreamAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Common::MediaBundleAsset] the created resource
+ def self.media_bundle_asset
+ require "google/ads/google_ads/v2/common/asset_types_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::MediaBundleAsset.new
yield res if block_given?
res
end
- # Returns a new instance of VideoTrueViewInStreamAdInfo, optionally
+ # Returns a new instance of ImageAsset, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::VideoTrueViewInStreamAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ImageAsset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::VideoTrueViewInStreamAdInfo] the created resource
- def self.video_true_view_in_stream_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::VideoTrueViewInStreamAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ImageAsset] the created resource
+ def self.image_asset
+ require "google/ads/google_ads/v2/common/asset_types_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ImageAsset.new
yield res if block_given?
res
end
- # Returns a new instance of VideoOutstreamAdInfo, optionally
+ # Returns a new instance of ImageDimension, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::VideoOutstreamAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ImageDimension] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::VideoOutstreamAdInfo] the created resource
- def self.video_outstream_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::VideoOutstreamAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ImageDimension] the created resource
+ def self.image_dimension
+ require "google/ads/google_ads/v2/common/asset_types_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ImageDimension.new
yield res if block_given?
res
end
- # Returns a new instance of VideoAdInfo, optionally
+ # Returns a new instance of TextAsset, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::VideoAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TextAsset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::VideoAdInfo] the created resource
- def self.video_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::VideoAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TextAsset] the created resource
+ def self.text_asset
+ require "google/ads/google_ads/v2/common/asset_types_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TextAsset.new
yield res if block_given?
res
end
- # Returns a new instance of ResponsiveSearchAdInfo, optionally
+ # 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::V2::Common::ResponsiveSearchAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Asset] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ResponsiveSearchAdInfo] the created resource
- def self.responsive_search_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ResponsiveSearchAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Asset] the created resource
+ def self.asset
+ require "google/ads/google_ads/v2/resources/asset_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Asset.new
yield res if block_given?
res
end
- # Returns a new instance of LegacyResponsiveDisplayAdInfo, optionally
+ # Returns a new instance of RemarketingAction, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::LegacyResponsiveDisplayAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::RemarketingAction] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::LegacyResponsiveDisplayAdInfo] the created resource
- def self.legacy_responsive_display_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::LegacyResponsiveDisplayAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::RemarketingAction] the created resource
+ def self.remarketing_action
+ require "google/ads/google_ads/v2/resources/remarketing_action_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::RemarketingAction.new
yield res if block_given?
res
end
- # Returns a new instance of AppAdInfo, optionally
+ # Returns a new instance of AdGroupAdAssetView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::AppAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::AppAdInfo] the created resource
- def self.app_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::AppAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetView] the created resource
+ def self.ad_group_ad_asset_view
+ require "google/ads/google_ads/v2/resources/ad_group_ad_asset_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetView.new
yield res if block_given?
res
end
- # Returns a new instance of AppEngagementAdInfo, optionally
+ # Returns a new instance of AdGroupAdAssetPolicySummary, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::AppEngagementAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetPolicySummary] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::AppEngagementAdInfo] the created resource
- def self.app_engagement_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::AppEngagementAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetPolicySummary] the created resource
+ def self.ad_group_ad_asset_policy_summary
+ require "google/ads/google_ads/v2/resources/ad_group_ad_asset_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupAdAssetPolicySummary.new
yield res if block_given?
res
end
- # Returns a new instance of LegacyAppInstallAdInfo, optionally
+ # Returns a new instance of OperatingSystemVersionConstant, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::LegacyAppInstallAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::OperatingSystemVersionConstant] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::LegacyAppInstallAdInfo] the created resource
- def self.legacy_app_install_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::LegacyAppInstallAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::OperatingSystemVersionConstant] the created resource
+ def self.operating_system_version_constant
+ require "google/ads/google_ads/v2/resources/operating_system_version_constant_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::OperatingSystemVersionConstant.new
yield res if block_given?
res
end
- # Returns a new instance of ResponsiveDisplayAdInfo, optionally
+ # Returns a new instance of KeywordPlanNegativeKeyword, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ResponsiveDisplayAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ResponsiveDisplayAdInfo] the created resource
- def self.responsive_display_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ResponsiveDisplayAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword] the created resource
+ def self.keyword_plan_negative_keyword
+ require "google/ads/google_ads/v2/resources/keyword_plan_negative_keyword_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword.new
yield res if block_given?
res
end
- # Returns a new instance of DisplayUploadAdInfo, optionally
+ # Returns a new instance of KeywordView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::DisplayUploadAdInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::DisplayUploadAdInfo] the created resource
- def self.display_upload_ad_info
- require "google/ads/google_ads/v2/common/ad_type_infos_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::DisplayUploadAdInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::KeywordView] the created resource
+ def self.keyword_view
+ require "google/ads/google_ads/v2/resources/keyword_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::KeywordView.new
yield res if block_given?
res
end
- # Returns a new instance of FinalAppUrl, optionally
+ # Returns a new instance of CampaignSharedSet, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::FinalAppUrl] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignSharedSet] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::FinalAppUrl] the created resource
- def self.final_app_url
- require "google/ads/google_ads/v2/common/final_app_url_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::FinalAppUrl.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignSharedSet] the created resource
+ def self.campaign_shared_set
+ require "google/ads/google_ads/v2/resources/campaign_shared_set_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignSharedSet.new
yield res if block_given?
res
end
- # Returns a new instance of UrlCollection, optionally
+ # Returns a new instance of DateRange, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::UrlCollection] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::DateRange] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::UrlCollection] the created resource
- def self.url_collection
- require "google/ads/google_ads/v2/common/url_collection_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::UrlCollection.new
+ # @return [Google::Ads::GoogleAds::V2::Common::DateRange] the created resource
+ def self.date_range
+ require "google/ads/google_ads/v2/common/dates_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::DateRange.new
yield res if block_given?
res
end
- # Returns a new instance of Ad, optionally
+ # Returns a new instance of KeywordPlan, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Ad] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlan] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Ad] the created resource
- def self.ad
- require "google/ads/google_ads/v2/resources/ad_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Ad.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlan] the created resource
+ def self.keyword_plan
+ require "google/ads/google_ads/v2/resources/keyword_plan_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::KeywordPlan.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupAd, optionally
+ # Returns a new instance of KeywordPlanForecastPeriod, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAd] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanForecastPeriod] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAd] the created resource
- def self.ad_group_ad
- require "google/ads/google_ads/v2/resources/ad_group_ad_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupAd.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanForecastPeriod] the created resource
+ def self.keyword_plan_forecast_period
+ require "google/ads/google_ads/v2/resources/keyword_plan_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanForecastPeriod.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupAdPolicySummary, optionally
+ # Returns a new instance of CampaignExperiment, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAdPolicySummary] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignExperiment] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAdPolicySummary] the created resource
- def self.ad_group_ad_policy_summary
- require "google/ads/google_ads/v2/resources/ad_group_ad_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupAdPolicySummary.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignExperiment] the created resource
+ def self.campaign_experiment
+ require "google/ads/google_ads/v2/resources/campaign_experiment_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignExperiment.new
yield res if block_given?
res
end
- # Returns a new instance of CustomerExtensionSetting, optionally
+ # Returns a new instance of CustomerClient, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerExtensionSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerClient] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomerExtensionSetting] the created resource
- def self.customer_extension_setting
- require "google/ads/google_ads/v2/resources/customer_extension_setting_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomerExtensionSetting.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomerClient] the created resource
+ def self.customer_client
+ require "google/ads/google_ads/v2/resources/customer_client_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomerClient.new
yield res if block_given?
res
end
- # Returns a new instance of TopicView, optionally
+ # Returns a new instance of ExtensionFeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::TopicView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::TopicView] the created resource
- def self.topic_view
- require "google/ads/google_ads/v2/resources/topic_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::TopicView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem] the created resource
+ def self.extension_feed_item
+ require "google/ads/google_ads/v2/resources/extension_feed_item_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignCriterionSimulation, optionally
+ # Returns a new instance of DomainCategory, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignCriterionSimulation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::DomainCategory] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignCriterionSimulation] the created resource
- def self.campaign_criterion_simulation
- require "google/ads/google_ads/v2/resources/campaign_criterion_simulation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignCriterionSimulation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::DomainCategory] the created resource
+ def self.domain_category
+ require "google/ads/google_ads/v2/resources/domain_category_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::DomainCategory.new
yield res if block_given?
res
end
- # Returns a new instance of UserLocationView, optionally
+ # Returns a new instance of CampaignAudienceView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::UserLocationView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignAudienceView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::UserLocationView] the created resource
- def self.user_location_view
- require "google/ads/google_ads/v2/resources/user_location_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::UserLocationView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignAudienceView] the created resource
+ def self.campaign_audience_view
+ require "google/ads/google_ads/v2/resources/campaign_audience_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignAudienceView.new
yield res if block_given?
res
end
- # Returns a new instance of AccountBudget, optionally
+ # Returns a new instance of ExpandedLandingPageView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AccountBudget] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ExpandedLandingPageView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AccountBudget] the created resource
- def self.account_budget
- require "google/ads/google_ads/v2/resources/account_budget_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AccountBudget.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::ExpandedLandingPageView] the created resource
+ def self.expanded_landing_page_view
+ require "google/ads/google_ads/v2/resources/expanded_landing_page_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ExpandedLandingPageView.new
yield res if block_given?
res
end
- # Returns a new instance of PendingAccountBudgetProposal, optionally
+ # Returns a new instance of CampaignBidModifier, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AccountBudget::PendingAccountBudgetProposal] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AccountBudget::PendingAccountBudgetProposal] the created resource
- def self.pending_account_budget_proposal
- require "google/ads/google_ads/v2/resources/account_budget_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AccountBudget::PendingAccountBudgetProposal.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier] the created resource
+ def self.campaign_bid_modifier
+ require "google/ads/google_ads/v2/resources/campaign_bid_modifier_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier.new
yield res if block_given?
res
end
- # Returns a new instance of MobileAppCategoryConstant, optionally
+ # Returns a new instance of AgeRangeView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MobileAppCategoryConstant] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AgeRangeView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MobileAppCategoryConstant] the created resource
- def self.mobile_app_category_constant
- require "google/ads/google_ads/v2/resources/mobile_app_category_constant_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MobileAppCategoryConstant.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AgeRangeView] the created resource
+ def self.age_range_view
+ require "google/ads/google_ads/v2/resources/age_range_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AgeRangeView.new
yield res if block_given?
res
end
- # Returns a new instance of BillingSetup, optionally
+ # Returns a new instance of AdGroupExtensionSetting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::BillingSetup] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupExtensionSetting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::BillingSetup] the created resource
- def self.billing_setup
- require "google/ads/google_ads/v2/resources/billing_setup_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::BillingSetup.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupExtensionSetting] the created resource
+ def self.ad_group_extension_setting
+ require "google/ads/google_ads/v2/resources/ad_group_extension_setting_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupExtensionSetting.new
yield res if block_given?
res
end
- # Returns a new instance of PaymentsAccountInfo, optionally
+ # Returns a new instance of CustomerFeed, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::BillingSetup::PaymentsAccountInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerFeed] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::BillingSetup::PaymentsAccountInfo] the created resource
- def self.payments_account_info
- require "google/ads/google_ads/v2/resources/billing_setup_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::BillingSetup::PaymentsAccountInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomerFeed] the created resource
+ def self.customer_feed
+ require "google/ads/google_ads/v2/resources/customer_feed_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomerFeed.new
yield res if block_given?
res
end
- # Returns a new instance of TopicConstant, optionally
+ # Returns a new instance of CustomerExtensionSetting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::TopicConstant] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerExtensionSetting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::TopicConstant] the created resource
- def self.topic_constant
- require "google/ads/google_ads/v2/resources/topic_constant_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::TopicConstant.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomerExtensionSetting] the created resource
+ def self.customer_extension_setting
+ require "google/ads/google_ads/v2/resources/customer_extension_setting_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomerExtensionSetting.new
yield res if block_given?
res
end
- # Returns a new instance of Commission, optionally
+ # Returns a new instance of CampaignCriterion, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::Commission] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignCriterion] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::Commission] the created resource
- def self.commission
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::Commission.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignCriterion] the created resource
+ def self.campaign_criterion
+ require "google/ads/google_ads/v2/resources/campaign_criterion_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignCriterion.new
yield res if block_given?
res
end
- # Returns a new instance of EnhancedCpc, optionally
+ # Returns a new instance of CustomInterest, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::EnhancedCpc] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomInterest] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::EnhancedCpc] the created resource
- def self.enhanced_cpc
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::EnhancedCpc.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomInterest] the created resource
+ def self.custom_interest
+ require "google/ads/google_ads/v2/resources/custom_interest_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomInterest.new
yield res if block_given?
res
end
- # Returns a new instance of ManualCpc, optionally
+ # Returns a new instance of CustomInterestMember, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ManualCpc] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomInterestMember] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ManualCpc] the created resource
- def self.manual_cpc
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ManualCpc.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomInterestMember] the created resource
+ def self.custom_interest_member
+ require "google/ads/google_ads/v2/resources/custom_interest_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomInterestMember.new
yield res if block_given?
res
end
- # Returns a new instance of ManualCpm, optionally
+ # Returns a new instance of ManagedPlacementView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ManualCpm] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ManagedPlacementView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ManualCpm] the created resource
- def self.manual_cpm
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ManualCpm.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::ManagedPlacementView] the created resource
+ def self.managed_placement_view
+ require "google/ads/google_ads/v2/resources/managed_placement_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ManagedPlacementView.new
yield res if block_given?
res
end
- # Returns a new instance of ManualCpv, optionally
+ # Returns a new instance of CriterionCategoryAvailability, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ManualCpv] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CriterionCategoryAvailability] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ManualCpv] the created resource
- def self.manual_cpv
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ManualCpv.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CriterionCategoryAvailability] the created resource
+ def self.criterion_category_availability
+ require "google/ads/google_ads/v2/common/criterion_category_availability_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CriterionCategoryAvailability.new
yield res if block_given?
res
end
- # Returns a new instance of MaximizeConversions, optionally
+ # Returns a new instance of CriterionCategoryChannelAvailability, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::MaximizeConversions] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CriterionCategoryChannelAvailability] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::MaximizeConversions] the created resource
- def self.maximize_conversions
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::MaximizeConversions.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CriterionCategoryChannelAvailability] the created resource
+ def self.criterion_category_channel_availability
+ require "google/ads/google_ads/v2/common/criterion_category_availability_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CriterionCategoryChannelAvailability.new
yield res if block_given?
res
end
- # Returns a new instance of MaximizeConversionValue, optionally
+ # Returns a new instance of CriterionCategoryLocaleAvailability, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::MaximizeConversionValue] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CriterionCategoryLocaleAvailability] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::MaximizeConversionValue] the created resource
- def self.maximize_conversion_value
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::MaximizeConversionValue.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CriterionCategoryLocaleAvailability] the created resource
+ def self.criterion_category_locale_availability
+ require "google/ads/google_ads/v2/common/criterion_category_availability_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CriterionCategoryLocaleAvailability.new
yield res if block_given?
res
end
- # Returns a new instance of PageOnePromoted, optionally
+ # Returns a new instance of UserInterest, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::PageOnePromoted] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::UserInterest] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::PageOnePromoted] the created resource
- def self.page_one_promoted
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::PageOnePromoted.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::UserInterest] the created resource
+ def self.user_interest
+ require "google/ads/google_ads/v2/resources/user_interest_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::UserInterest.new
yield res if block_given?
res
end
- # Returns a new instance of TargetCpa, optionally
+ # Returns a new instance of GroupPlacementView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetCpa] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::GroupPlacementView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetCpa] the created resource
- def self.target_cpa
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetCpa.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::GroupPlacementView] the created resource
+ def self.group_placement_view
+ require "google/ads/google_ads/v2/resources/group_placement_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::GroupPlacementView.new
yield res if block_given?
res
end
- # Returns a new instance of TargetCpm, optionally
+ # Returns a new instance of CustomerManagerLink, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetCpm] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetCpm] the created resource
- def self.target_cpm
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetCpm.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink] the created resource
+ def self.customer_manager_link
+ require "google/ads/google_ads/v2/resources/customer_manager_link_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink.new
yield res if block_given?
res
end
- # Returns a new instance of TargetImpressionShare, optionally
+ # Returns a new instance of LanguageConstant, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetImpressionShare] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::LanguageConstant] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetImpressionShare] the created resource
- def self.target_impression_share
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetImpressionShare.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::LanguageConstant] the created resource
+ def self.language_constant
+ require "google/ads/google_ads/v2/resources/language_constant_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::LanguageConstant.new
yield res if block_given?
res
end
- # Returns a new instance of TargetOutrankShare, optionally
+ # Returns a new instance of CustomerClientLink, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetOutrankShare] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerClientLink] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetOutrankShare] the created resource
- def self.target_outrank_share
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetOutrankShare.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomerClientLink] the created resource
+ def self.customer_client_link
+ require "google/ads/google_ads/v2/resources/customer_client_link_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomerClientLink.new
yield res if block_given?
res
end
- # Returns a new instance of TargetRoas, optionally
+ # Returns a new instance of AdGroupAdLabel, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetRoas] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAdLabel] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetRoas] the created resource
- def self.target_roas
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetRoas.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAdLabel] the created resource
+ def self.ad_group_ad_label
+ require "google/ads/google_ads/v2/resources/ad_group_ad_label_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupAdLabel.new
yield res if block_given?
res
end
- # Returns a new instance of TargetSpend, optionally
+ # Returns a new instance of ClickLocation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TargetSpend] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ClickLocation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TargetSpend] the created resource
- def self.target_spend
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TargetSpend.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ClickLocation] the created resource
+ def self.click_location
+ require "google/ads/google_ads/v2/common/click_location_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ClickLocation.new
yield res if block_given?
res
end
- # Returns a new instance of PercentCpc, optionally
+ # Returns a new instance of ClickView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::PercentCpc] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ClickView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::PercentCpc] the created resource
- def self.percent_cpc
- require "google/ads/google_ads/v2/common/bidding_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::PercentCpc.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::ClickView] the created resource
+ def self.click_view
+ require "google/ads/google_ads/v2/resources/click_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ClickView.new
yield res if block_given?
res
end
- # Returns a new instance of BiddingStrategy, optionally
+ # Returns a new instance of MobileDeviceConstant, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::BiddingStrategy] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MobileDeviceConstant] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::BiddingStrategy] the created resource
- def self.bidding_strategy
- require "google/ads/google_ads/v2/resources/bidding_strategy_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::BiddingStrategy.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MobileDeviceConstant] the created resource
+ def self.mobile_device_constant
+ require "google/ads/google_ads/v2/resources/mobile_device_constant_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MobileDeviceConstant.new
yield res if block_given?
res
end
- # Returns a new instance of ExpandedLandingPageView, optionally
+ # Returns a new instance of SearchTermView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ExpandedLandingPageView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::SearchTermView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ExpandedLandingPageView] the created resource
- def self.expanded_landing_page_view
- require "google/ads/google_ads/v2/resources/expanded_landing_page_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ExpandedLandingPageView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::SearchTermView] the created resource
+ def self.search_term_view
+ require "google/ads/google_ads/v2/resources/search_term_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::SearchTermView.new
yield res if block_given?
res
end
- # Returns a new instance of Money, optionally
+ # Returns a new instance of BidModifierSimulationPointList, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::Money] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPointList] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::Money] the created resource
- def self.money
- require "google/ads/google_ads/v2/common/feed_common_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::Money.new
+ # @return [Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPointList] the created resource
+ def self.bid_modifier_simulation_point_list
+ require "google/ads/google_ads/v2/common/simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPointList.new
yield res if block_given?
res
end
- # Returns a new instance of AppFeedItem, optionally
+ # Returns a new instance of CpcBidSimulationPointList, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::AppFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPointList] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::AppFeedItem] the created resource
- def self.app_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::AppFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPointList] the created resource
+ def self.cpc_bid_simulation_point_list
+ require "google/ads/google_ads/v2/common/simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPointList.new
yield res if block_given?
res
end
- # Returns a new instance of CallFeedItem, optionally
+ # Returns a new instance of CpvBidSimulationPointList, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CallFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPointList] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CallFeedItem] the created resource
- def self.call_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CallFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPointList] the created resource
+ def self.cpv_bid_simulation_point_list
+ require "google/ads/google_ads/v2/common/simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPointList.new
yield res if block_given?
res
end
- # Returns a new instance of CalloutFeedItem, optionally
+ # Returns a new instance of TargetCpaSimulationPointList, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CalloutFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPointList] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CalloutFeedItem] the created resource
- def self.callout_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CalloutFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPointList] the created resource
+ def self.target_cpa_simulation_point_list
+ require "google/ads/google_ads/v2/common/simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPointList.new
yield res if block_given?
res
end
- # Returns a new instance of LocationFeedItem, optionally
+ # Returns a new instance of BidModifierSimulationPoint, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::LocationFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPoint] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::LocationFeedItem] the created resource
- def self.location_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::LocationFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPoint] the created resource
+ def self.bid_modifier_simulation_point
+ require "google/ads/google_ads/v2/common/simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::BidModifierSimulationPoint.new
yield res if block_given?
res
end
- # Returns a new instance of AffiliateLocationFeedItem, optionally
+ # Returns a new instance of CpcBidSimulationPoint, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::AffiliateLocationFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPoint] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::AffiliateLocationFeedItem] the created resource
- def self.affiliate_location_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::AffiliateLocationFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPoint] the created resource
+ def self.cpc_bid_simulation_point
+ require "google/ads/google_ads/v2/common/simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CpcBidSimulationPoint.new
yield res if block_given?
res
end
- # Returns a new instance of TextMessageFeedItem, optionally
+ # Returns a new instance of CpvBidSimulationPoint, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::TextMessageFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPoint] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TextMessageFeedItem] the created resource
- def self.text_message_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TextMessageFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPoint] the created resource
+ def self.cpv_bid_simulation_point
+ require "google/ads/google_ads/v2/common/simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::CpvBidSimulationPoint.new
yield res if block_given?
res
end
- # Returns a new instance of PriceFeedItem, optionally
+ # Returns a new instance of TargetCpaSimulationPoint, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::PriceFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPoint] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::PriceFeedItem] the created resource
- def self.price_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::PriceFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPoint] the created resource
+ def self.target_cpa_simulation_point
+ require "google/ads/google_ads/v2/common/simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetCpaSimulationPoint.new
yield res if block_given?
res
end
- # Returns a new instance of PriceOffer, optionally
+ # Returns a new instance of CampaignCriterionSimulation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::PriceOffer] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignCriterionSimulation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::PriceOffer] the created resource
- def self.price_offer
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::PriceOffer.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignCriterionSimulation] the created resource
+ def self.campaign_criterion_simulation
+ require "google/ads/google_ads/v2/resources/campaign_criterion_simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignCriterionSimulation.new
yield res if block_given?
res
end
- # Returns a new instance of PromotionFeedItem, optionally
+ # 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::V2::Common::PromotionFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Feed] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::PromotionFeedItem] the created resource
- def self.promotion_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::PromotionFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Feed] the created resource
+ def self.feed
+ require "google/ads/google_ads/v2/resources/feed_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Feed.new
yield res if block_given?
res
end
- # Returns a new instance of StructuredSnippetFeedItem, optionally
+ # Returns a new instance of PlacesLocationFeedData, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::StructuredSnippetFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::StructuredSnippetFeedItem] the created resource
- def self.structured_snippet_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::StructuredSnippetFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData] the created resource
+ def self.places_location_feed_data
+ require "google/ads/google_ads/v2/resources/feed_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData.new
yield res if block_given?
res
end
- # Returns a new instance of SitelinkFeedItem, optionally
+ # Returns a new instance of OAuthInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::SitelinkFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData::OAuthInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::SitelinkFeedItem] the created resource
- def self.sitelink_feed_item
- require "google/ads/google_ads/v2/common/extensions_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::SitelinkFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData::OAuthInfo] the created resource
+ def self.o_auth_info
+ require "google/ads/google_ads/v2/resources/feed_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData::OAuthInfo.new
yield res if block_given?
res
end
- # Returns a new instance of ExtensionFeedItem, optionally
+ # Returns a new instance of AffiliateLocationFeedData, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Feed::AffiliateLocationFeedData] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem] the created resource
- def self.extension_feed_item
- require "google/ads/google_ads/v2/resources/extension_feed_item_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ExtensionFeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Feed::AffiliateLocationFeedData] the created resource
+ def self.affiliate_location_feed_data
+ require "google/ads/google_ads/v2/resources/feed_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Feed::AffiliateLocationFeedData.new
yield res if block_given?
res
end
- # Returns a new instance of CustomerManagerLink, optionally
+ # Returns a new instance of FeedAttribute, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::FeedAttribute] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink] the created resource
- def self.customer_manager_link
- require "google/ads/google_ads/v2/resources/customer_manager_link_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomerManagerLink.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::FeedAttribute] the created resource
+ def self.feed_attribute
+ require "google/ads/google_ads/v2/resources/feed_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::FeedAttribute.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignExperiment, optionally
+ # Returns a new instance of SharedSet, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignExperiment] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::SharedSet] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignExperiment] the created resource
- def self.campaign_experiment
- require "google/ads/google_ads/v2/resources/campaign_experiment_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignExperiment.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::SharedSet] the created resource
+ def self.shared_set
+ require "google/ads/google_ads/v2/resources/shared_set_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::SharedSet.new
yield res if block_given?
res
end
- # Returns a new instance of ChangeStatus, optionally
+ # 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::V2::Resources::ChangeStatus] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::Commission] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ChangeStatus] the created resource
- def self.change_status
- require "google/ads/google_ads/v2/resources/change_status_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ChangeStatus.new
+ # @return [Google::Ads::GoogleAds::V2::Common::Commission] the created resource
+ def self.commission
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::Commission.new
yield res if block_given?
res
end
- # Returns a new instance of CriterionCategoryAvailability, optionally
+ # Returns a new instance of EnhancedCpc, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CriterionCategoryAvailability] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::EnhancedCpc] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CriterionCategoryAvailability] the created resource
- def self.criterion_category_availability
- require "google/ads/google_ads/v2/common/criterion_category_availability_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CriterionCategoryAvailability.new
+ # @return [Google::Ads::GoogleAds::V2::Common::EnhancedCpc] the created resource
+ def self.enhanced_cpc
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::EnhancedCpc.new
yield res if block_given?
res
end
- # Returns a new instance of CriterionCategoryChannelAvailability, optionally
+ # Returns a new instance of ManualCpc, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CriterionCategoryChannelAvailability] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ManualCpc] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CriterionCategoryChannelAvailability] the created resource
- def self.criterion_category_channel_availability
- require "google/ads/google_ads/v2/common/criterion_category_availability_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CriterionCategoryChannelAvailability.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ManualCpc] the created resource
+ def self.manual_cpc
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ManualCpc.new
yield res if block_given?
res
end
- # Returns a new instance of CriterionCategoryLocaleAvailability, optionally
+ # Returns a new instance of ManualCpm, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::CriterionCategoryLocaleAvailability] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ManualCpm] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::CriterionCategoryLocaleAvailability] the created resource
- def self.criterion_category_locale_availability
- require "google/ads/google_ads/v2/common/criterion_category_availability_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::CriterionCategoryLocaleAvailability.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ManualCpm] the created resource
+ def self.manual_cpm
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ManualCpm.new
yield res if block_given?
res
end
- # Returns a new instance of UserInterest, optionally
+ # Returns a new instance of ManualCpv, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::UserInterest] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ManualCpv] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::UserInterest] the created resource
- def self.user_interest
- require "google/ads/google_ads/v2/resources/user_interest_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::UserInterest.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ManualCpv] the created resource
+ def self.manual_cpv
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ManualCpv.new
yield res if block_given?
res
end
- # Returns a new instance of GoogleAdsField, optionally
+ # Returns a new instance of MaximizeConversions, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::GoogleAdsField] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::MaximizeConversions] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::GoogleAdsField] the created resource
- def self.google_ads_field
- require "google/ads/google_ads/v2/resources/google_ads_field_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::GoogleAdsField.new
+ # @return [Google::Ads::GoogleAds::V2::Common::MaximizeConversions] the created resource
+ def self.maximize_conversions
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::MaximizeConversions.new
yield res if block_given?
res
end
- # Returns a new instance of AdScheduleView, optionally
+ # Returns a new instance of MaximizeConversionValue, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdScheduleView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::MaximizeConversionValue] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdScheduleView] the created resource
- def self.ad_schedule_view
- require "google/ads/google_ads/v2/resources/ad_schedule_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdScheduleView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::MaximizeConversionValue] the created resource
+ def self.maximize_conversion_value
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::MaximizeConversionValue.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignLabel, optionally
+ # Returns a new instance of PageOnePromoted, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignLabel] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::PageOnePromoted] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignLabel] the created resource
- def self.campaign_label
- require "google/ads/google_ads/v2/resources/campaign_label_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignLabel.new
+ # @return [Google::Ads::GoogleAds::V2::Common::PageOnePromoted] the created resource
+ def self.page_one_promoted
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::PageOnePromoted.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignBidModifier, optionally
+ # Returns a new instance of TargetCpa, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetCpa] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier] the created resource
- def self.campaign_bid_modifier
- require "google/ads/google_ads/v2/resources/campaign_bid_modifier_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignBidModifier.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetCpa] the created resource
+ def self.target_cpa
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetCpa.new
yield res if block_given?
res
end
- # Returns a new instance of FeedPlaceholderView, optionally
+ # Returns a new instance of TargetCpm, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::FeedPlaceholderView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetCpm] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::FeedPlaceholderView] the created resource
- def self.feed_placeholder_view
- require "google/ads/google_ads/v2/resources/feed_placeholder_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::FeedPlaceholderView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetCpm] the created resource
+ def self.target_cpm
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetCpm.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupCriterionLabel, optionally
+ # Returns a new instance of TargetImpressionShare, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionLabel] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetImpressionShare] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionLabel] the created resource
- def self.ad_group_criterion_label
- require "google/ads/google_ads/v2/resources/ad_group_criterion_label_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionLabel.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetImpressionShare] the created resource
+ def self.target_impression_share
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetImpressionShare.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignAudienceView, optionally
+ # Returns a new instance of TargetOutrankShare, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignAudienceView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetOutrankShare] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignAudienceView] the created resource
- def self.campaign_audience_view
- require "google/ads/google_ads/v2/resources/campaign_audience_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignAudienceView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetOutrankShare] the created resource
+ def self.target_outrank_share
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetOutrankShare.new
yield res if block_given?
res
end
- # Returns a new instance of SharedSet, optionally
+ # Returns a new instance of TargetRoas, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::SharedSet] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetRoas] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::SharedSet] the created resource
- def self.shared_set
- require "google/ads/google_ads/v2/resources/shared_set_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::SharedSet.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetRoas] the created resource
+ def self.target_roas
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetRoas.new
yield res if block_given?
res
end
- # Returns a new instance of ShoppingPerformanceView, optionally
+ # Returns a new instance of TargetSpend, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ShoppingPerformanceView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetSpend] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ShoppingPerformanceView] the created resource
- def self.shopping_performance_view
- require "google/ads/google_ads/v2/resources/shopping_performance_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ShoppingPerformanceView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetSpend] the created resource
+ def self.target_spend
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetSpend.new
yield res if block_given?
res
end
- # Returns a new instance of HotelGroupView, optionally
+ # Returns a new instance of PercentCpc, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::HotelGroupView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::PercentCpc] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::HotelGroupView] the created resource
- def self.hotel_group_view
- require "google/ads/google_ads/v2/resources/hotel_group_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::HotelGroupView.new
+ # @return [Google::Ads::GoogleAds::V2::Common::PercentCpc] the created resource
+ def self.percent_cpc
+ require "google/ads/google_ads/v2/common/bidding_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::PercentCpc.new
yield res if block_given?
res
end
- # Returns a new instance of OperatingSystemVersionConstant, optionally
+ # Returns a new instance of BiddingStrategy, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::OperatingSystemVersionConstant] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::BiddingStrategy] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::OperatingSystemVersionConstant] the created resource
- def self.operating_system_version_constant
- require "google/ads/google_ads/v2/resources/operating_system_version_constant_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::OperatingSystemVersionConstant.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::BiddingStrategy] the created resource
+ def self.bidding_strategy
+ require "google/ads/google_ads/v2/resources/bidding_strategy_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::BiddingStrategy.new
yield res if block_given?
res
end
+ # Returns a new instance of SharedCriterion, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::SharedCriterion] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::SharedCriterion] the created resource
+ def self.shared_criterion
+ require "google/ads/google_ads/v2/resources/shared_criterion_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::SharedCriterion.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of LandingPageView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::LandingPageView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::LandingPageView] the created resource
+ def self.landing_page_view
+ require "google/ads/google_ads/v2/resources/landing_page_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::LandingPageView.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of AdGroupBidModifier, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier] the created resource
+ def self.ad_group_bid_modifier
+ require "google/ads/google_ads/v2/resources/ad_group_bid_modifier_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupBidModifier.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of CarrierConstant, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CarrierConstant] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::CarrierConstant] the created resource
+ def self.carrier_constant
+ require "google/ads/google_ads/v2/resources/carrier_constant_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CarrierConstant.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of DisplayKeywordView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::DisplayKeywordView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::DisplayKeywordView] the created resource
+ def self.display_keyword_view
+ require "google/ads/google_ads/v2/resources/display_keyword_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::DisplayKeywordView.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of HotelPerformanceView, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Resources::HotelPerformanceView] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Resources::HotelPerformanceView] the created resource
+ def self.hotel_performance_view
+ require "google/ads/google_ads/v2/resources/hotel_performance_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::HotelPerformanceView.new
+ yield res if block_given?
+ res
+ end
+
# Returns a new instance of SimilarUserListInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Common::SimilarUserListInfo] the new instance that will be returned so attributes
# can be set
@@ -2888,75 +3707,49 @@
res = Google::Ads::GoogleAds::V2::Resources::UserList.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignCriterion, optionally
+ # Returns a new instance of AdGroupCriterion, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignCriterion] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignCriterion] the created resource
- def self.campaign_criterion
- require "google/ads/google_ads/v2/resources/campaign_criterion_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignCriterion.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion] the created resource
+ def self.ad_group_criterion
+ require "google/ads/google_ads/v2/resources/ad_group_criterion_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion.new
yield res if block_given?
res
end
- # Returns a new instance of HotelPerformanceView, optionally
+ # Returns a new instance of QualityInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::HotelPerformanceView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::QualityInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::HotelPerformanceView] the created resource
- def self.hotel_performance_view
- require "google/ads/google_ads/v2/resources/hotel_performance_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::HotelPerformanceView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::QualityInfo] the created resource
+ def self.quality_info
+ require "google/ads/google_ads/v2/resources/ad_group_criterion_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::QualityInfo.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordPlanCampaign, optionally
+ # Returns a new instance of PositionEstimates, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::PositionEstimates] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign] the created resource
- def self.keyword_plan_campaign
- require "google/ads/google_ads/v2/resources/keyword_plan_campaign_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::PositionEstimates] the created resource
+ def self.position_estimates
+ require "google/ads/google_ads/v2/resources/ad_group_criterion_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::PositionEstimates.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordPlanGeoTarget, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanGeoTarget] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanGeoTarget] the created resource
- def self.keyword_plan_geo_target
- require "google/ads/google_ads/v2/resources/keyword_plan_campaign_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanGeoTarget.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of AgeRangeView, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::AgeRangeView] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AgeRangeView] the created resource
- def self.age_range_view
- require "google/ads/google_ads/v2/resources/age_range_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AgeRangeView.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::V2::Resources::Video] the new instance that will be returned so attributes
# can be set
@@ -2966,218 +3759,36 @@
res = Google::Ads::GoogleAds::V2::Resources::Video.new
yield res if block_given?
res
end
- # Returns a new instance of CustomerLabel, optionally
+ # Returns a new instance of FeedItemTarget, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerLabel] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItemTarget] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomerLabel] the created resource
- def self.customer_label
- require "google/ads/google_ads/v2/resources/customer_label_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomerLabel.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::FeedItemTarget] the created resource
+ def self.feed_item_target
+ require "google/ads/google_ads/v2/resources/feed_item_target_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::FeedItemTarget.new
yield res if block_given?
res
end
- # Returns a new instance of MobileDeviceConstant, optionally
+ # Returns a new instance of AdGroupSimulation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MobileDeviceConstant] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupSimulation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MobileDeviceConstant] the created resource
- def self.mobile_device_constant
- require "google/ads/google_ads/v2/resources/mobile_device_constant_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MobileDeviceConstant.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupSimulation] the created resource
+ def self.ad_group_simulation
+ require "google/ads/google_ads/v2/resources/ad_group_simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupSimulation.new
yield res if block_given?
res
end
- # Returns a new instance of FeedMapping, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::FeedMapping] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::FeedMapping] the created resource
- def self.feed_mapping
- require "google/ads/google_ads/v2/resources/feed_mapping_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::FeedMapping.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of AttributeFieldMapping, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::AttributeFieldMapping] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AttributeFieldMapping] the created resource
- def self.attribute_field_mapping
- require "google/ads/google_ads/v2/resources/feed_mapping_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AttributeFieldMapping.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::V2::Resources::Feed] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Feed] the created resource
- def self.feed
- require "google/ads/google_ads/v2/resources/feed_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Feed.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of PlacesLocationFeedData, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData] the created resource
- def self.places_location_feed_data
- require "google/ads/google_ads/v2/resources/feed_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of OAuthInfo, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData::OAuthInfo] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData::OAuthInfo] the created resource
- def self.o_auth_info
- require "google/ads/google_ads/v2/resources/feed_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Feed::PlacesLocationFeedData::OAuthInfo.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of AffiliateLocationFeedData, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Feed::AffiliateLocationFeedData] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Feed::AffiliateLocationFeedData] the created resource
- def self.affiliate_location_feed_data
- require "google/ads/google_ads/v2/resources/feed_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Feed::AffiliateLocationFeedData.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of FeedAttribute, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::FeedAttribute] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::FeedAttribute] the created resource
- def self.feed_attribute
- require "google/ads/google_ads/v2/resources/feed_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::FeedAttribute.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of AdParameter, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdParameter] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdParameter] the created resource
- def self.ad_parameter
- require "google/ads/google_ads/v2/resources/ad_parameter_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdParameter.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of DetailPlacementView, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::DetailPlacementView] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::DetailPlacementView] the created resource
- def self.detail_placement_view
- require "google/ads/google_ads/v2/resources/detail_placement_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::DetailPlacementView.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of GroupPlacementView, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::GroupPlacementView] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::GroupPlacementView] the created resource
- def self.group_placement_view
- require "google/ads/google_ads/v2/resources/group_placement_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::GroupPlacementView.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of CarrierConstant, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::CarrierConstant] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CarrierConstant] the created resource
- def self.carrier_constant
- require "google/ads/google_ads/v2/resources/carrier_constant_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CarrierConstant.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of ParentalStatusView, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::ParentalStatusView] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ParentalStatusView] the created resource
- def self.parental_status_view
- require "google/ads/google_ads/v2/resources/parental_status_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ParentalStatusView.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of CustomerNegativeCriterion, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerNegativeCriterion] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomerNegativeCriterion] the created resource
- def self.customer_negative_criterion
- require "google/ads/google_ads/v2/resources/customer_negative_criterion_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomerNegativeCriterion.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of CampaignSharedSet, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignSharedSet] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignSharedSet] the created resource
- def self.campaign_shared_set
- require "google/ads/google_ads/v2/resources/campaign_shared_set_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignSharedSet.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of CampaignExtensionSetting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Resources::CampaignExtensionSetting] the new instance that will be returned so attributes
# can be set
@@ -3187,439 +3798,322 @@
res = Google::Ads::GoogleAds::V2::Resources::CampaignExtensionSetting.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordPlanNegativeKeyword, optionally
+ # Returns a new instance of MerchantCenterLink, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword] the created resource
- def self.keyword_plan_negative_keyword
- require "google/ads/google_ads/v2/resources/keyword_plan_negative_keyword_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanNegativeKeyword.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink] the created resource
+ def self.merchant_center_link
+ require "google/ads/google_ads/v2/resources/merchant_center_link_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::MerchantCenterLink.new
yield res if block_given?
res
end
- # Returns a new instance of DynamicSearchAdsSearchTermView, optionally
+ # Returns a new instance of CampaignDraft, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::DynamicSearchAdsSearchTermView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignDraft] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::DynamicSearchAdsSearchTermView] the created resource
- def self.dynamic_search_ads_search_term_view
- require "google/ads/google_ads/v2/resources/dynamic_search_ads_search_term_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::DynamicSearchAdsSearchTermView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CampaignDraft] the created resource
+ def self.campaign_draft
+ require "google/ads/google_ads/v2/resources/campaign_draft_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CampaignDraft.new
yield res if block_given?
res
end
- # Returns a new instance of PaidOrganicSearchTermView, optionally
+ # Returns a new instance of ProductGroupView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::PaidOrganicSearchTermView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::ProductGroupView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::PaidOrganicSearchTermView] the created resource
- def self.paid_organic_search_term_view
- require "google/ads/google_ads/v2/resources/paid_organic_search_term_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::PaidOrganicSearchTermView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::ProductGroupView] the created resource
+ def self.product_group_view
+ require "google/ads/google_ads/v2/resources/product_group_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::ProductGroupView.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupAdLabel, optionally
+ # Returns a new instance of ExplorerAutoOptimizerSetting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupAdLabel] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::ExplorerAutoOptimizerSetting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupAdLabel] the created resource
- def self.ad_group_ad_label
- require "google/ads/google_ads/v2/resources/ad_group_ad_label_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupAdLabel.new
+ # @return [Google::Ads::GoogleAds::V2::Common::ExplorerAutoOptimizerSetting] the created resource
+ def self.explorer_auto_optimizer_setting
+ require "google/ads/google_ads/v2/common/explorer_auto_optimizer_setting_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::ExplorerAutoOptimizerSetting.new
yield res if block_given?
res
end
- # Returns a new instance of MatchingFunction, optionally
+ # Returns a new instance of TargetingSetting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::MatchingFunction] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetingSetting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::MatchingFunction] the created resource
- def self.matching_function
- require "google/ads/google_ads/v2/common/matching_function_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::MatchingFunction.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetingSetting] the created resource
+ def self.targeting_setting
+ require "google/ads/google_ads/v2/common/targeting_setting_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetingSetting.new
yield res if block_given?
res
end
- # Returns a new instance of Operand, optionally
+ # Returns a new instance of TargetRestriction, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::Operand] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TargetRestriction] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::Operand] the created resource
- def self.operand
- require "google/ads/google_ads/v2/common/matching_function_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::Operand.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TargetRestriction] the created resource
+ def self.target_restriction
+ require "google/ads/google_ads/v2/common/targeting_setting_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TargetRestriction.new
yield res if block_given?
res
end
- # Returns a new instance of ConstantOperand, optionally
+ # Returns a new instance of AdGroup, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::Operand::ConstantOperand] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroup] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::Operand::ConstantOperand] the created resource
- def self.constant_operand
- require "google/ads/google_ads/v2/common/matching_function_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::Operand::ConstantOperand.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroup] the created resource
+ def self.ad_group
+ require "google/ads/google_ads/v2/resources/ad_group_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroup.new
yield res if block_given?
res
end
- # Returns a new instance of FeedAttributeOperand, optionally
+ # Returns a new instance of UserLocationView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::Operand::FeedAttributeOperand] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::UserLocationView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::Operand::FeedAttributeOperand] the created resource
- def self.feed_attribute_operand
- require "google/ads/google_ads/v2/common/matching_function_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::Operand::FeedAttributeOperand.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::UserLocationView] the created resource
+ def self.user_location_view
+ require "google/ads/google_ads/v2/resources/user_location_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::UserLocationView.new
yield res if block_given?
res
end
- # Returns a new instance of FunctionOperand, optionally
+ # Returns a new instance of TextLabel, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::Operand::FunctionOperand] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::TextLabel] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::Operand::FunctionOperand] the created resource
- def self.function_operand
- require "google/ads/google_ads/v2/common/matching_function_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::Operand::FunctionOperand.new
+ # @return [Google::Ads::GoogleAds::V2::Common::TextLabel] the created resource
+ def self.text_label
+ require "google/ads/google_ads/v2/common/text_label_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::TextLabel.new
yield res if block_given?
res
end
- # Returns a new instance of RequestContextOperand, optionally
+ # 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::V2::Common::Operand::RequestContextOperand] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Label] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::Operand::RequestContextOperand] the created resource
- def self.request_context_operand
- require "google/ads/google_ads/v2/common/matching_function_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::Operand::RequestContextOperand.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::Label] the created resource
+ def self.label
+ require "google/ads/google_ads/v2/resources/label_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::Label.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignFeed, optionally
+ # Returns a new instance of FeedItem, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CampaignFeed] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItem] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CampaignFeed] the created resource
- def self.campaign_feed
- require "google/ads/google_ads/v2/resources/campaign_feed_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CampaignFeed.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::FeedItem] the created resource
+ def self.feed_item
+ require "google/ads/google_ads/v2/resources/feed_item_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::FeedItem.new
yield res if block_given?
res
end
- # Returns a new instance of SharedCriterion, optionally
+ # Returns a new instance of FeedItemAttributeValue, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::SharedCriterion] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItemAttributeValue] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::SharedCriterion] the created resource
- def self.shared_criterion
- require "google/ads/google_ads/v2/resources/shared_criterion_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::SharedCriterion.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::FeedItemAttributeValue] the created resource
+ def self.feed_item_attribute_value
+ require "google/ads/google_ads/v2/resources/feed_item_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::FeedItemAttributeValue.new
yield res if block_given?
res
end
- # Returns a new instance of Recommendation, optionally
+ # Returns a new instance of FeedItemPlaceholderPolicyInfo, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItemPlaceholderPolicyInfo] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation] the created resource
- def self.recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::FeedItemPlaceholderPolicyInfo] the created resource
+ def self.feed_item_placeholder_policy_info
+ require "google/ads/google_ads/v2/resources/feed_item_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::FeedItemPlaceholderPolicyInfo.new
yield res if block_given?
res
end
- # Returns a new instance of RecommendationImpact, optionally
+ # Returns a new instance of FeedItemValidationError, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationImpact] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItemValidationError] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationImpact] the created resource
- def self.recommendation_impact
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationImpact.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::FeedItemValidationError] the created resource
+ def self.feed_item_validation_error
+ require "google/ads/google_ads/v2/resources/feed_item_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::FeedItemValidationError.new
yield res if block_given?
res
end
- # Returns a new instance of RecommendationMetrics, optionally
+ # Returns a new instance of LocationView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationMetrics] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::LocationView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationMetrics] the created resource
- def self.recommendation_metrics
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::RecommendationMetrics.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::LocationView] the created resource
+ def self.location_view
+ require "google/ads/google_ads/v2/resources/location_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::LocationView.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignBudgetRecommendation, optionally
+ # Returns a new instance of AdGroupCriterionSimulation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionSimulation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation] the created resource
- def self.campaign_budget_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionSimulation] the created resource
+ def self.ad_group_criterion_simulation
+ require "google/ads/google_ads/v2/resources/ad_group_criterion_simulation_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterionSimulation.new
yield res if block_given?
res
end
- # Returns a new instance of CampaignBudgetRecommendationOption, optionally
+ # Returns a new instance of TopicConstant, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::TopicConstant] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption] the created resource
- def self.campaign_budget_recommendation_option
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::TopicConstant] the created resource
+ def self.topic_constant
+ require "google/ads/google_ads/v2/resources/topic_constant_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::TopicConstant.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordRecommendation, optionally
+ # Returns a new instance of AccountBudgetProposal, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordRecommendation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AccountBudgetProposal] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordRecommendation] the created resource
- def self.keyword_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordRecommendation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AccountBudgetProposal] the created resource
+ def self.account_budget_proposal
+ require "google/ads/google_ads/v2/resources/account_budget_proposal_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AccountBudgetProposal.new
yield res if block_given?
res
end
- # Returns a new instance of OptimizeAdRotationRecommendation, optionally
+ # Returns a new instance of FeedPlaceholderView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::FeedPlaceholderView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation] the created resource
- def self.optimize_ad_rotation_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::OptimizeAdRotationRecommendation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::FeedPlaceholderView] the created resource
+ def self.feed_placeholder_view
+ require "google/ads/google_ads/v2/resources/feed_placeholder_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::FeedPlaceholderView.new
yield res if block_given?
res
end
- # Returns a new instance of CalloutExtensionRecommendation, optionally
+ # Returns a new instance of KeywordPlanCampaign, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation] the created resource
- def self.callout_extension_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CalloutExtensionRecommendation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign] the created resource
+ def self.keyword_plan_campaign
+ require "google/ads/google_ads/v2/resources/keyword_plan_campaign_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanCampaign.new
yield res if block_given?
res
end
- # Returns a new instance of SitelinkExtensionRecommendation, optionally
+ # Returns a new instance of KeywordPlanGeoTarget, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanGeoTarget] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation] the created resource
- def self.sitelink_extension_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::SitelinkExtensionRecommendation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanGeoTarget] the created resource
+ def self.keyword_plan_geo_target
+ require "google/ads/google_ads/v2/resources/keyword_plan_campaign_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanGeoTarget.new
yield res if block_given?
res
end
- # Returns a new instance of TextAdRecommendation, optionally
+ # Returns a new instance of AccountBudget, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::TextAdRecommendation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AccountBudget] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::TextAdRecommendation] the created resource
- def self.text_ad_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::TextAdRecommendation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AccountBudget] the created resource
+ def self.account_budget
+ require "google/ads/google_ads/v2/resources/account_budget_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AccountBudget.new
yield res if block_given?
res
end
- # Returns a new instance of TargetCpaOptInRecommendation, optionally
+ # Returns a new instance of PendingAccountBudgetProposal, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::AccountBudget::PendingAccountBudgetProposal] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation] the created resource
- def self.target_cpa_opt_in_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::AccountBudget::PendingAccountBudgetProposal] the created resource
+ def self.pending_account_budget_proposal
+ require "google/ads/google_ads/v2/resources/account_budget_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::AccountBudget::PendingAccountBudgetProposal.new
yield res if block_given?
res
end
- # Returns a new instance of TargetCpaOptInRecommendationOption, optionally
+ # Returns a new instance of TopicView, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::TopicView] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption] the created resource
- def self.target_cpa_opt_in_recommendation_option
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::TopicView] the created resource
+ def self.topic_view
+ require "google/ads/google_ads/v2/resources/topic_view_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::TopicView.new
yield res if block_given?
res
end
- # Returns a new instance of MaximizeConversionsOptInRecommendation, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeConversionsOptInRecommendation] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeConversionsOptInRecommendation] the created resource
- def self.maximize_conversions_opt_in_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeConversionsOptInRecommendation.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of EnhancedCpcOptInRecommendation, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::EnhancedCpcOptInRecommendation] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::EnhancedCpcOptInRecommendation] the created resource
- def self.enhanced_cpc_opt_in_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::EnhancedCpcOptInRecommendation.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of SearchPartnersOptInRecommendation, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation] the created resource
- def self.search_partners_opt_in_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::SearchPartnersOptInRecommendation.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of KeywordMatchTypeRecommendation, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation] the created resource
- def self.keyword_match_type_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::KeywordMatchTypeRecommendation.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MaximizeClicksOptInRecommendation, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeClicksOptInRecommendation] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeClicksOptInRecommendation] the created resource
- def self.maximize_clicks_opt_in_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::MaximizeClicksOptInRecommendation.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of CallExtensionRecommendation, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation] the created resource
- def self.call_extension_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::CallExtensionRecommendation.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MoveUnusedBudgetRecommendation, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::Recommendation::MoveUnusedBudgetRecommendation] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Recommendation::MoveUnusedBudgetRecommendation] the created resource
- def self.move_unused_budget_recommendation
- require "google/ads/google_ads/v2/resources/recommendation_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Recommendation::MoveUnusedBudgetRecommendation.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of CustomInterest, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomInterest] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomInterest] the created resource
- def self.custom_interest
- require "google/ads/google_ads/v2/resources/custom_interest_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomInterest.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of CustomInterestMember, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomInterestMember] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomInterestMember] the created resource
- def self.custom_interest_member
- require "google/ads/google_ads/v2/resources/custom_interest_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomInterestMember.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of FrequencyCapEntry, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Common::FrequencyCapEntry] the new instance that will be returned so attributes
# can be set
@@ -3694,45 +4188,45 @@
res = Google::Ads::GoogleAds::V2::Resources::Campaign::HotelSettingInfo.new
yield res if block_given?
res
end
- # Returns a new instance of VanityPharma, optionally
+ # Returns a new instance of DynamicSearchAdsSetting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::VanityPharma] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::DynamicSearchAdsSetting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::VanityPharma] the created resource
- def self.vanity_pharma
+ # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::DynamicSearchAdsSetting] the created resource
+ def self.dynamic_search_ads_setting
require "google/ads/google_ads/v2/resources/campaign_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Campaign::VanityPharma.new
+ res = Google::Ads::GoogleAds::V2::Resources::Campaign::DynamicSearchAdsSetting.new
yield res if block_given?
res
end
- # Returns a new instance of DynamicSearchAdsSetting, optionally
+ # Returns a new instance of TrackingSetting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::DynamicSearchAdsSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::DynamicSearchAdsSetting] the created resource
- def self.dynamic_search_ads_setting
+ # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting] the created resource
+ def self.tracking_setting
require "google/ads/google_ads/v2/resources/campaign_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Campaign::DynamicSearchAdsSetting.new
+ res = Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting.new
yield res if block_given?
res
end
- # Returns a new instance of AppCampaignSetting, optionally
+ # Returns a new instance of VanityPharma, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::VanityPharma] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting] the created resource
- def self.app_campaign_setting
+ # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::VanityPharma] the created resource
+ def self.vanity_pharma
require "google/ads/google_ads/v2/resources/campaign_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting.new
+ res = Google::Ads::GoogleAds::V2::Resources::Campaign::VanityPharma.new
yield res if block_given?
res
end
# Returns a new instance of ShoppingSetting, optionally
@@ -3746,19 +4240,19 @@
res = Google::Ads::GoogleAds::V2::Resources::Campaign::ShoppingSetting.new
yield res if block_given?
res
end
- # Returns a new instance of TrackingSetting, optionally
+ # Returns a new instance of AppCampaignSetting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting] the created resource
- def self.tracking_setting
+ # @return [Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting] the created resource
+ def self.app_campaign_setting
require "google/ads/google_ads/v2/resources/campaign_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Campaign::TrackingSetting.new
+ res = Google::Ads::GoogleAds::V2::Resources::Campaign::AppCampaignSetting.new
yield res if block_given?
res
end
# Returns a new instance of GeoTargetTypeSetting, optionally
@@ -3785,556 +4279,465 @@
res = Google::Ads::GoogleAds::V2::Resources::Campaign::SelectiveOptimization.new
yield res if block_given?
res
end
- # Returns a new instance of DisplayKeywordView, optionally
+ # Returns a new instance of CustomerNegativeCriterion, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::DisplayKeywordView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerNegativeCriterion] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::DisplayKeywordView] the created resource
- def self.display_keyword_view
- require "google/ads/google_ads/v2/resources/display_keyword_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::DisplayKeywordView.new
+ # @return [Google::Ads::GoogleAds::V2::Resources::CustomerNegativeCriterion] the created resource
+ def self.customer_negative_criterion
+ require "google/ads/google_ads/v2/resources/customer_negative_criterion_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Resources::CustomerNegativeCriterion.new
yield res if block_given?
res
end
- # Returns a new instance of GeoTargetConstant, optionally
+ # Returns a new instance of MutateKeywordPlanKeywordResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::GeoTargetConstant] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::GeoTargetConstant] the created resource
- def self.geo_target_constant
- require "google/ads/google_ads/v2/resources/geo_target_constant_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::GeoTargetConstant.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult] the created resource
+ def self.mutate_keyword_plan_keyword_result
+ require "google/ads/google_ads/v2/services/keyword_plan_keyword_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordPlanAdGroup, optionally
+ # Returns a new instance of PlannableLocation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::PlannableLocation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup] the created resource
- def self.keyword_plan_ad_group
- require "google/ads/google_ads/v2/resources/keyword_plan_ad_group_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::KeywordPlanAdGroup.new
+ # @return [Google::Ads::GoogleAds::V2::Services::PlannableLocation] the created resource
+ def self.plannable_location
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::PlannableLocation.new
yield res if block_given?
res
end
- # Returns a new instance of MutateJob, optionally
+ # Returns a new instance of ProductMetadata, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MutateJob] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::ProductMetadata] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MutateJob] the created resource
- def self.mutate_job
- require "google/ads/google_ads/v2/resources/mutate_job_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MutateJob.new
+ # @return [Google::Ads::GoogleAds::V2::Services::ProductMetadata] the created resource
+ def self.product_metadata
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ProductMetadata.new
yield res if block_given?
res
end
- # Returns a new instance of MutateJobMetadata, optionally
+ # Returns a new instance of PlannableTargeting, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MutateJob::MutateJobMetadata] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::PlannableTargeting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MutateJob::MutateJobMetadata] the created resource
- def self.mutate_job_metadata
- require "google/ads/google_ads/v2/resources/mutate_job_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MutateJob::MutateJobMetadata.new
+ # @return [Google::Ads::GoogleAds::V2::Services::PlannableTargeting] the created resource
+ def self.plannable_targeting
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::PlannableTargeting.new
yield res if block_given?
res
end
- # Returns a new instance of CustomerClientLink, optionally
+ # Returns a new instance of Preferences, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerClientLink] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::Preferences] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomerClientLink] the created resource
- def self.customer_client_link
- require "google/ads/google_ads/v2/resources/customer_client_link_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomerClientLink.new
+ # @return [Google::Ads::GoogleAds::V2::Services::Preferences] the created resource
+ def self.preferences
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::Preferences.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupFeed, optionally
+ # Returns a new instance of ProductAllocation, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupFeed] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::ProductAllocation] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupFeed] the created resource
- def self.ad_group_feed
- require "google/ads/google_ads/v2/resources/ad_group_feed_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupFeed.new
+ # @return [Google::Ads::GoogleAds::V2::Services::ProductAllocation] the created resource
+ def self.product_allocation
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ProductAllocation.new
yield res if block_given?
res
end
- # Returns a new instance of ConversionAction, optionally
+ # 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::V2::Resources::ConversionAction] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::Targeting] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ConversionAction] the created resource
- def self.conversion_action
- require "google/ads/google_ads/v2/resources/conversion_action_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ConversionAction.new
+ # @return [Google::Ads::GoogleAds::V2::Services::Targeting] the created resource
+ def self.targeting
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::Targeting.new
yield res if block_given?
res
end
- # Returns a new instance of AttributionModelSettings, optionally
+ # Returns a new instance of CampaignDuration, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ConversionAction::AttributionModelSettings] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::CampaignDuration] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ConversionAction::AttributionModelSettings] the created resource
- def self.attribution_model_settings
- require "google/ads/google_ads/v2/resources/conversion_action_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ConversionAction::AttributionModelSettings.new
+ # @return [Google::Ads::GoogleAds::V2::Services::CampaignDuration] the created resource
+ def self.campaign_duration
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::CampaignDuration.new
yield res if block_given?
res
end
- # Returns a new instance of ValueSettings, optionally
+ # Returns a new instance of PlannedProduct, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ConversionAction::ValueSettings] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::PlannedProduct] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ConversionAction::ValueSettings] the created resource
- def self.value_settings
- require "google/ads/google_ads/v2/resources/conversion_action_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ConversionAction::ValueSettings.new
+ # @return [Google::Ads::GoogleAds::V2::Services::PlannedProduct] the created resource
+ def self.planned_product
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::PlannedProduct.new
yield res if block_given?
res
end
- # Returns a new instance of FeedItem, optionally
+ # Returns a new instance of ReachCurve, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItem] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::ReachCurve] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::FeedItem] the created resource
- def self.feed_item
- require "google/ads/google_ads/v2/resources/feed_item_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::FeedItem.new
+ # @return [Google::Ads::GoogleAds::V2::Services::ReachCurve] the created resource
+ def self.reach_curve
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ReachCurve.new
yield res if block_given?
res
end
- # Returns a new instance of FeedItemAttributeValue, optionally
+ # Returns a new instance of ReachForecast, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItemAttributeValue] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::ReachForecast] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::FeedItemAttributeValue] the created resource
- def self.feed_item_attribute_value
- require "google/ads/google_ads/v2/resources/feed_item_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::FeedItemAttributeValue.new
+ # @return [Google::Ads::GoogleAds::V2::Services::ReachForecast] the created resource
+ def self.reach_forecast
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ReachForecast.new
yield res if block_given?
res
end
- # Returns a new instance of FeedItemPlaceholderPolicyInfo, optionally
+ # 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::V2::Resources::FeedItemPlaceholderPolicyInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::Forecast] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::FeedItemPlaceholderPolicyInfo] the created resource
- def self.feed_item_placeholder_policy_info
- require "google/ads/google_ads/v2/resources/feed_item_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::FeedItemPlaceholderPolicyInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Services::Forecast] the created resource
+ def self.forecast
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::Forecast.new
yield res if block_given?
res
end
- # Returns a new instance of FeedItemValidationError, optionally
+ # Returns a new instance of OnTargetAudienceMetrics, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItemValidationError] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::OnTargetAudienceMetrics] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::FeedItemValidationError] the created resource
- def self.feed_item_validation_error
- require "google/ads/google_ads/v2/resources/feed_item_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::FeedItemValidationError.new
+ # @return [Google::Ads::GoogleAds::V2::Services::OnTargetAudienceMetrics] the created resource
+ def self.on_target_audience_metrics
+ require "google/ads/google_ads/v2/services/reach_plan_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::OnTargetAudienceMetrics.new
yield res if block_given?
res
end
- # Returns a new instance of AdGroupCriterion, optionally
+ # Returns a new instance of MutateFeedMappingResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateFeedMappingResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion] the created resource
- def self.ad_group_criterion
- require "google/ads/google_ads/v2/resources/ad_group_criterion_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateFeedMappingResult] the created resource
+ def self.mutate_feed_mapping_result
+ require "google/ads/google_ads/v2/services/feed_mapping_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateFeedMappingResult.new
yield res if block_given?
res
end
- # Returns a new instance of QualityInfo, optionally
+ # Returns a new instance of ConversionAdjustment, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::QualityInfo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::ConversionAdjustment] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::QualityInfo] the created resource
- def self.quality_info
- require "google/ads/google_ads/v2/resources/ad_group_criterion_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::QualityInfo.new
+ # @return [Google::Ads::GoogleAds::V2::Services::ConversionAdjustment] the created resource
+ def self.conversion_adjustment
+ require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ConversionAdjustment.new
yield res if block_given?
res
end
- # Returns a new instance of PositionEstimates, optionally
+ # Returns a new instance of RestatementValue, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::PositionEstimates] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::RestatementValue] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::PositionEstimates] the created resource
- def self.position_estimates
- require "google/ads/google_ads/v2/resources/ad_group_criterion_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupCriterion::PositionEstimates.new
+ # @return [Google::Ads::GoogleAds::V2::Services::RestatementValue] the created resource
+ def self.restatement_value
+ require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::RestatementValue.new
yield res if block_given?
res
end
- # Returns a new instance of FeedItemTarget, optionally
+ # Returns a new instance of GclidDateTimePair, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::FeedItemTarget] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::GclidDateTimePair] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::FeedItemTarget] the created resource
- def self.feed_item_target
- require "google/ads/google_ads/v2/resources/feed_item_target_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::FeedItemTarget.new
+ # @return [Google::Ads::GoogleAds::V2::Services::GclidDateTimePair] the created resource
+ def self.gclid_date_time_pair
+ require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::GclidDateTimePair.new
yield res if block_given?
res
end
- # Returns a new instance of MediaFile, optionally
+ # Returns a new instance of ConversionAdjustmentResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MediaFile] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MediaFile] the created resource
- def self.media_file
- require "google/ads/google_ads/v2/resources/media_file_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MediaFile.new
+ # @return [Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult] the created resource
+ def self.conversion_adjustment_result
+ require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult.new
yield res if block_given?
res
end
- # Returns a new instance of MediaImage, optionally
+ # Returns a new instance of MutateFeedResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MediaImage] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateFeedResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MediaImage] the created resource
- def self.media_image
- require "google/ads/google_ads/v2/resources/media_file_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MediaImage.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateFeedResult] the created resource
+ def self.mutate_feed_result
+ require "google/ads/google_ads/v2/services/feed_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateFeedResult.new
yield res if block_given?
res
end
- # Returns a new instance of MediaBundle, optionally
+ # Returns a new instance of MutateAdGroupCriterionLabelResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MediaBundle] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MediaBundle] the created resource
- def self.media_bundle
- require "google/ads/google_ads/v2/resources/media_file_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MediaBundle.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult] the created resource
+ def self.mutate_ad_group_criterion_label_result
+ require "google/ads/google_ads/v2/services/ad_group_criterion_label_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult.new
yield res if block_given?
res
end
- # Returns a new instance of MediaAudio, optionally
+ # Returns a new instance of MutateConversionActionResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MediaAudio] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateConversionActionResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MediaAudio] the created resource
- def self.media_audio
- require "google/ads/google_ads/v2/resources/media_file_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MediaAudio.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateConversionActionResult] the created resource
+ def self.mutate_conversion_action_result
+ require "google/ads/google_ads/v2/services/conversion_action_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateConversionActionResult.new
yield res if block_given?
res
end
- # Returns a new instance of MediaVideo, optionally
+ # Returns a new instance of MutateBiddingStrategyResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::MediaVideo] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateBiddingStrategyResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::MediaVideo] the created resource
- def self.media_video
- require "google/ads/google_ads/v2/resources/media_file_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::MediaVideo.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateBiddingStrategyResult] the created resource
+ def self.mutate_bidding_strategy_result
+ require "google/ads/google_ads/v2/services/bidding_strategy_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateBiddingStrategyResult.new
yield res if block_given?
res
end
- # Returns a new instance of ProductGroupView, optionally
+ # Returns a new instance of MutateAccountBudgetProposalResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ProductGroupView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ProductGroupView] the created resource
- def self.product_group_view
- require "google/ads/google_ads/v2/resources/product_group_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ProductGroupView.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult] the created resource
+ def self.mutate_account_budget_proposal_result
+ require "google/ads/google_ads/v2/services/account_budget_proposal_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult.new
yield res if block_given?
res
end
- # Returns a new instance of CustomerClient, optionally
+ # Returns a new instance of MutateFeedItemResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerClient] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateFeedItemResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomerClient] the created resource
- def self.customer_client
- require "google/ads/google_ads/v2/resources/customer_client_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomerClient.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateFeedItemResult] the created resource
+ def self.mutate_feed_item_result
+ require "google/ads/google_ads/v2/services/feed_item_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateFeedItemResult.new
yield res if block_given?
res
end
- # Returns a new instance of LocationView, optionally
+ # Returns a new instance of MutateCampaignBudgetResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::LocationView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignBudgetResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::LocationView] the created resource
- def self.location_view
- require "google/ads/google_ads/v2/resources/location_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::LocationView.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignBudgetResult] the created resource
+ def self.mutate_campaign_budget_result
+ require "google/ads/google_ads/v2/services/campaign_budget_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateCampaignBudgetResult.new
yield res if block_given?
res
end
- # Returns a new instance of GeographicView, optionally
+ # Returns a new instance of MutateAdGroupBidModifierResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::GeographicView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupBidModifierResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::GeographicView] the created resource
- def self.geographic_view
- require "google/ads/google_ads/v2/resources/geographic_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::GeographicView.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateAdGroupBidModifierResult] the created resource
+ def self.mutate_ad_group_bid_modifier_result
+ require "google/ads/google_ads/v2/services/ad_group_bid_modifier_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupBidModifierResult.new
yield res if block_given?
res
end
- # Returns a new instance of GenderView, optionally
+ # Returns a new instance of MutateAdResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::GenderView] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::GenderView] the created resource
- def self.gender_view
- require "google/ads/google_ads/v2/resources/gender_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::GenderView.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateAdResult] the created resource
+ def self.mutate_ad_result
+ require "google/ads/google_ads/v2/services/ad_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateAdResult.new
yield res if block_given?
res
end
- # Returns a new instance of CustomerFeed, optionally
+ # Returns a new instance of MutateCustomerResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::CustomerFeed] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::CustomerFeed] the created resource
- def self.customer_feed
- require "google/ads/google_ads/v2/resources/customer_feed_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::CustomerFeed.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateCustomerResult] the created resource
+ def self.mutate_customer_result
+ require "google/ads/google_ads/v2/services/customer_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateCustomerResult.new
yield res if block_given?
res
end
- # Returns a new instance of ProductBiddingCategoryConstant, optionally
+ # Returns a new instance of MutateCampaignLabelResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::ProductBiddingCategoryConstant] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignLabelResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::ProductBiddingCategoryConstant] the created resource
- def self.product_bidding_category_constant
- require "google/ads/google_ads/v2/resources/product_bidding_category_constant_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::ProductBiddingCategoryConstant.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignLabelResult] the created resource
+ def self.mutate_campaign_label_result
+ require "google/ads/google_ads/v2/services/campaign_label_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateCampaignLabelResult.new
yield res if block_given?
res
end
- # Returns a new instance of LanguageConstant, optionally
+ # Returns a new instance of MutateSharedCriterionResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Resources::LanguageConstant] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateSharedCriterionResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::LanguageConstant] the created resource
- def self.language_constant
- require "google/ads/google_ads/v2/resources/language_constant_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::LanguageConstant.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateSharedCriterionResult] the created resource
+ def self.mutate_shared_criterion_result
+ require "google/ads/google_ads/v2/services/shared_criterion_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateSharedCriterionResult.new
yield res if block_given?
res
end
- # Returns a new instance of YoutubeVideoAsset, optionally
+ # Returns a new instance of MutateKeywordPlanAdGroupResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::YoutubeVideoAsset] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanAdGroupResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::YoutubeVideoAsset] the created resource
- def self.youtube_video_asset
- require "google/ads/google_ads/v2/common/asset_types_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::YoutubeVideoAsset.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanAdGroupResult] the created resource
+ def self.mutate_keyword_plan_ad_group_result
+ require "google/ads/google_ads/v2/services/keyword_plan_ad_group_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanAdGroupResult.new
yield res if block_given?
res
end
- # Returns a new instance of MediaBundleAsset, optionally
+ # Returns a new instance of MutateCampaignDraftResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::MediaBundleAsset] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignDraftResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::MediaBundleAsset] the created resource
- def self.media_bundle_asset
- require "google/ads/google_ads/v2/common/asset_types_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::MediaBundleAsset.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignDraftResult] the created resource
+ def self.mutate_campaign_draft_result
+ require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateCampaignDraftResult.new
yield res if block_given?
res
end
- # Returns a new instance of ImageAsset, optionally
+ # Returns a new instance of MutateCampaignFeedResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ImageAsset] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ImageAsset] the created resource
- def self.image_asset
- require "google/ads/google_ads/v2/common/asset_types_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ImageAsset.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult] the created resource
+ def self.mutate_campaign_feed_result
+ require "google/ads/google_ads/v2/services/campaign_feed_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult.new
yield res if block_given?
res
end
- # Returns a new instance of ImageDimension, optionally
+ # Returns a new instance of MutateAdGroupCriterionResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::ImageDimension] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::ImageDimension] the created resource
- def self.image_dimension
- require "google/ads/google_ads/v2/common/asset_types_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::ImageDimension.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionResult] the created resource
+ def self.mutate_ad_group_criterion_result
+ require "google/ads/google_ads/v2/services/ad_group_criterion_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionResult.new
yield res if block_given?
res
end
- # Returns a new instance of TextAsset, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Common::TextAsset] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Common::TextAsset] the created resource
- def self.text_asset
- require "google/ads/google_ads/v2/common/asset_types_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::TextAsset.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::V2::Resources::Asset] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::Asset] the created resource
- def self.asset
- require "google/ads/google_ads/v2/resources/asset_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::Asset.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of AdGroupLabel, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::AdGroupLabel] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::AdGroupLabel] the created resource
- def self.ad_group_label
- require "google/ads/google_ads/v2/resources/ad_group_label_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::AdGroupLabel.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of KeywordView, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Resources::KeywordView] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Resources::KeywordView] the created resource
- def self.keyword_view
- require "google/ads/google_ads/v2/resources/keyword_view_pb.rb"
- res = Google::Ads::GoogleAds::V2::Resources::KeywordView.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateCustomInterestResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomInterestResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateCustomInterestResult] the created resource
- def self.mutate_custom_interest_result
- require "google/ads/google_ads/v2/services/custom_interest_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateCustomInterestResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateRemarketingActionResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateRemarketingActionResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateRemarketingActionResult] the created resource
- def self.mutate_remarketing_action_result
- require "google/ads/google_ads/v2/services/remarketing_action_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateRemarketingActionResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateKeywordPlanCampaignResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult] the created resource
- def self.mutate_keyword_plan_campaign_result
- require "google/ads/google_ads/v2/services/keyword_plan_campaign_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult.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::V2::Common::Metrics] the new instance that will be returned so attributes
# can be set
@@ -4396,49 +4799,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupAdResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateAdGroupBidModifierResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupBidModifierResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateAdGroupBidModifierResult] the created resource
- def self.mutate_ad_group_bid_modifier_result
- require "google/ads/google_ads/v2/services/ad_group_bid_modifier_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupBidModifierResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateAdGroupCriterionLabelResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult] the created resource
- def self.mutate_ad_group_criterion_label_result
- require "google/ads/google_ads/v2/services/ad_group_criterion_label_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionLabelResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateAdGroupCriterionResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionResult] the created resource
- def self.mutate_ad_group_criterion_result
- require "google/ads/google_ads/v2/services/ad_group_criterion_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateAdGroupCriterionResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateAdGroupExtensionSettingResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateAdGroupExtensionSettingResult] the new instance that will be returned so attributes
# can be set
@@ -4513,23 +4877,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateAssetResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateBiddingStrategyResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateBiddingStrategyResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateBiddingStrategyResult] the created resource
- def self.mutate_bidding_strategy_result
- require "google/ads/google_ads/v2/services/bidding_strategy_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateBiddingStrategyResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateCampaignBidModifierResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignBidModifierResult] the new instance that will be returned so attributes
# can be set
@@ -4539,23 +4890,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateCampaignBidModifierResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateCampaignBudgetResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignBudgetResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignBudgetResult] the created resource
- def self.mutate_campaign_budget_result
- require "google/ads/google_ads/v2/services/campaign_budget_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateCampaignBudgetResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateCampaignCriterionResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignCriterionResult] the new instance that will be returned so attributes
# can be set
@@ -4565,23 +4903,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateCampaignCriterionResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateCampaignDraftResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignDraftResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignDraftResult] the created resource
- def self.mutate_campaign_draft_result
- require "google/ads/google_ads/v2/services/campaign_draft_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateCampaignDraftResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateCampaignExperimentResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignExperimentResult] the new instance that will be returned so attributes
# can be set
@@ -4617,36 +4942,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateCampaignExtensionSettingResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateCampaignFeedResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult] the created resource
- def self.mutate_campaign_feed_result
- require "google/ads/google_ads/v2/services/campaign_feed_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateCampaignFeedResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateCampaignLabelResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignLabelResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateCampaignLabelResult] the created resource
- def self.mutate_campaign_label_result
- require "google/ads/google_ads/v2/services/campaign_label_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateCampaignLabelResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateCampaignResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateCampaignResult] the new instance that will be returned so attributes
# can be set
@@ -4669,23 +4968,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateCampaignSharedSetResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateConversionActionResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateConversionActionResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateConversionActionResult] the created resource
- def self.mutate_conversion_action_result
- require "google/ads/google_ads/v2/services/conversion_action_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateConversionActionResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateCustomerExtensionSettingResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerExtensionSettingResult] the new instance that will be returned so attributes
# can be set
@@ -4734,23 +5020,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateCustomerNegativeCriteriaResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateCustomerResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateCustomerResult] the created resource
- def self.mutate_customer_result
- require "google/ads/google_ads/v2/services/customer_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateCustomerResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateExtensionFeedItemResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateExtensionFeedItemResult] the new instance that will be returned so attributes
# can be set
@@ -4760,23 +5033,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateExtensionFeedItemResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateFeedItemResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateFeedItemResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateFeedItemResult] the created resource
- def self.mutate_feed_item_result
- require "google/ads/google_ads/v2/services/feed_item_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateFeedItemResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateFeedItemTargetResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateFeedItemTargetResult] the new instance that will be returned so attributes
# can be set
@@ -4786,36 +5046,10 @@
res = Google::Ads::GoogleAds::V2::Services::MutateFeedItemTargetResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateFeedMappingResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateFeedMappingResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateFeedMappingResult] the created resource
- def self.mutate_feed_mapping_result
- require "google/ads/google_ads/v2/services/feed_mapping_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateFeedMappingResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateFeedResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateFeedResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateFeedResult] the created resource
- def self.mutate_feed_result
- require "google/ads/google_ads/v2/services/feed_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateFeedResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateLabelResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateLabelResult] the new instance that will be returned so attributes
# can be set
@@ -4838,19 +5072,19 @@
res = Google::Ads::GoogleAds::V2::Services::MutateMediaFileResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateSharedCriterionResult, optionally
+ # Returns a new instance of MutateRemarketingActionResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateSharedCriterionResult] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateRemarketingActionResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateSharedCriterionResult] the created resource
- def self.mutate_shared_criterion_result
- require "google/ads/google_ads/v2/services/shared_criterion_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateSharedCriterionResult.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateRemarketingActionResult] the created resource
+ def self.mutate_remarketing_action_result
+ require "google/ads/google_ads/v2/services/remarketing_action_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateRemarketingActionResult.new
yield res if block_given?
res
end
# Returns a new instance of MutateSharedSetResult, optionally
@@ -4890,23 +5124,10 @@
res = Google::Ads::GoogleAds::V2::Services::GoogleAdsRow.new
yield res if block_given?
res
end
- # Returns a new instance of MutateKeywordPlanKeywordResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult] the created resource
- def self.mutate_keyword_plan_keyword_result
- require "google/ads/google_ads/v2/services/keyword_plan_keyword_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanKeywordResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of CampaignBudgetParameters, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::ApplyRecommendationOperation::CampaignBudgetParameters] the new instance that will be returned so attributes
# can be set
@@ -5033,153 +5254,192 @@
res = Google::Ads::GoogleAds::V2::Services::DismissRecommendationResponse::DismissRecommendationResult.new
yield res if block_given?
res
end
- # Returns a new instance of ClickConversion, optionally
+ # Returns a new instance of MutateKeywordPlanCampaignResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::ClickConversion] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::ClickConversion] the created resource
- def self.click_conversion
- require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::ClickConversion.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult] the created resource
+ def self.mutate_keyword_plan_campaign_result
+ require "google/ads/google_ads/v2/services/keyword_plan_campaign_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanCampaignResult.new
yield res if block_given?
res
end
- # Returns a new instance of CallConversion, optionally
+ # Returns a new instance of MutateJobResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::CallConversion] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateJobResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::CallConversion] the created resource
- def self.call_conversion
- require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::CallConversion.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateJobResult] the created resource
+ def self.mutate_job_result
+ require "google/ads/google_ads/v2/services/mutate_job_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateJobResult.new
yield res if block_given?
res
end
- # Returns a new instance of ExternalAttributionData, optionally
+ # Returns a new instance of MutateBillingSetupResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::ExternalAttributionData] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::ExternalAttributionData] the created resource
- def self.external_attribution_data
- require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::ExternalAttributionData.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult] the created resource
+ def self.mutate_billing_setup_result
+ require "google/ads/google_ads/v2/services/billing_setup_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult.new
yield res if block_given?
res
end
- # Returns a new instance of ClickConversionResult, optionally
+ # Returns a new instance of KeywordPlanHistoricalMetrics, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::ClickConversionResult] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::ClickConversionResult] the created resource
- def self.click_conversion_result
- require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::ClickConversionResult.new
+ # @return [Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics] the created resource
+ def self.keyword_plan_historical_metrics
+ require "google/ads/google_ads/v2/common/keyword_plan_common_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics.new
yield res if block_given?
res
end
- # Returns a new instance of CallConversionResult, optionally
+ # Returns a new instance of KeywordAndUrlSeed, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::CallConversionResult] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::CallConversionResult] the created resource
- def self.call_conversion_result
- require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::CallConversionResult.new
+ # @return [Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed] the created resource
+ def self.keyword_and_url_seed
+ require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed.new
yield res if block_given?
res
end
- # Returns a new instance of MutateKeywordPlanNegativeKeywordResult, optionally
+ # Returns a new instance of KeywordSeed, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanNegativeKeywordResult] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::KeywordSeed] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanNegativeKeywordResult] the created resource
- def self.mutate_keyword_plan_negative_keyword_result
- require "google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanNegativeKeywordResult.new
+ # @return [Google::Ads::GoogleAds::V2::Services::KeywordSeed] the created resource
+ def self.keyword_seed
+ require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::KeywordSeed.new
yield res if block_given?
res
end
- # Returns a new instance of ConversionAdjustment, optionally
+ # Returns a new instance of UrlSeed, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::ConversionAdjustment] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::UrlSeed] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::ConversionAdjustment] the created resource
- def self.conversion_adjustment
- require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::ConversionAdjustment.new
+ # @return [Google::Ads::GoogleAds::V2::Services::UrlSeed] the created resource
+ def self.url_seed
+ require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::UrlSeed.new
yield res if block_given?
res
end
- # Returns a new instance of RestatementValue, optionally
+ # Returns a new instance of GenerateKeywordIdeaResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::RestatementValue] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::RestatementValue] the created resource
- def self.restatement_value
- require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::RestatementValue.new
+ # @return [Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult] the created resource
+ def self.generate_keyword_idea_result
+ require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult.new
yield res if block_given?
res
end
- # Returns a new instance of GclidDateTimePair, optionally
+ # Returns a new instance of ClickConversion, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::GclidDateTimePair] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::ClickConversion] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::GclidDateTimePair] the created resource
- def self.gclid_date_time_pair
- require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::GclidDateTimePair.new
+ # @return [Google::Ads::GoogleAds::V2::Services::ClickConversion] the created resource
+ def self.click_conversion
+ require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ClickConversion.new
yield res if block_given?
res
end
- # Returns a new instance of ConversionAdjustmentResult, optionally
+ # Returns a new instance of CallConversion, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::CallConversion] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult] the created resource
- def self.conversion_adjustment_result
- require "google/ads/google_ads/v2/services/conversion_adjustment_upload_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::ConversionAdjustmentResult.new
+ # @return [Google::Ads::GoogleAds::V2::Services::CallConversion] the created resource
+ def self.call_conversion
+ require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::CallConversion.new
yield res if block_given?
res
end
- # Returns a new instance of KeywordPlanHistoricalMetrics, optionally
+ # Returns a new instance of ExternalAttributionData, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::ExternalAttributionData] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics] the created resource
- def self.keyword_plan_historical_metrics
- require "google/ads/google_ads/v2/common/keyword_plan_common_pb.rb"
- res = Google::Ads::GoogleAds::V2::Common::KeywordPlanHistoricalMetrics.new
+ # @return [Google::Ads::GoogleAds::V2::Services::ExternalAttributionData] the created resource
+ def self.external_attribution_data
+ require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ExternalAttributionData.new
yield res if block_given?
res
end
+ # Returns a new instance of ClickConversionResult, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Services::ClickConversionResult] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Services::ClickConversionResult] the created resource
+ def self.click_conversion_result
+ require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::ClickConversionResult.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of CallConversionResult, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Services::CallConversionResult] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Services::CallConversionResult] the created resource
+ def self.call_conversion_result
+ require "google/ads/google_ads/v2/services/conversion_upload_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::CallConversionResult.new
+ yield res if block_given?
+ res
+ end
+
+ # Returns a new instance of MutateMerchantCenterLinkResult, optionally
+ # yielding it to a passed block so that attributes can be set on it.
+ #
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult] the new instance that will be returned so attributes
+ # can be set
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult] the created resource
+ def self.mutate_merchant_center_link_result
+ require "google/ads/google_ads/v2/services/merchant_center_link_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult.new
+ yield res if block_given?
+ res
+ end
+
# Returns a new instance of MutateKeywordPlansResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlansResult] the new instance that will be returned so attributes
# can be set
@@ -5254,23 +5514,10 @@
res = Google::Ads::GoogleAds::V2::Services::KeywordPlanKeywordHistoricalMetrics.new
yield res if block_given?
res
end
- # Returns a new instance of MutateMerchantCenterLinkResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult] the created resource
- def self.mutate_merchant_center_link_result
- require "google/ads/google_ads/v2/services/merchant_center_link_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateMerchantCenterLinkResult.new
- yield res if block_given?
- res
- end
-
# Returns a new instance of MutateCustomerManagerLinkResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
# @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomerManagerLinkResult] the new instance that will be returned so attributes
# can be set
@@ -5319,32 +5566,32 @@
res = Google::Ads::GoogleAds::V2::Services::GeoTargetConstantSuggestion.new
yield res if block_given?
res
end
- # Returns a new instance of MutateAccountBudgetProposalResult, optionally
+ # Returns a new instance of MutateKeywordPlanNegativeKeywordResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanNegativeKeywordResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult] the created resource
- def self.mutate_account_budget_proposal_result
- require "google/ads/google_ads/v2/services/account_budget_proposal_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateAccountBudgetProposalResult.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanNegativeKeywordResult] the created resource
+ def self.mutate_keyword_plan_negative_keyword_result
+ require "google/ads/google_ads/v2/services/keyword_plan_negative_keyword_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanNegativeKeywordResult.new
yield res if block_given?
res
end
- # Returns a new instance of MutateAdResult, optionally
+ # Returns a new instance of MutateCustomInterestResult, optionally
# yielding it to a passed block so that attributes can be set on it.
#
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateAdResult] the new instance that will be returned so attributes
+ # @yield [Google::Ads::GoogleAds::V2::Services::MutateCustomInterestResult] the new instance that will be returned so attributes
# can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateAdResult] the created resource
- def self.mutate_ad_result
- require "google/ads/google_ads/v2/services/ad_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateAdResult.new
+ # @return [Google::Ads::GoogleAds::V2::Services::MutateCustomInterestResult] the created resource
+ def self.mutate_custom_interest_result
+ require "google/ads/google_ads/v2/services/custom_interest_service_pb.rb"
+ res = Google::Ads::GoogleAds::V2::Services::MutateCustomInterestResult.new
yield res if block_given?
res
end
# Returns a new instance of MutateCustomerClientLinkResult, optionally
@@ -5354,100 +5601,9 @@
# can be set
# @return [Google::Ads::GoogleAds::V2::Services::MutateCustomerClientLinkResult] the created resource
def self.mutate_customer_client_link_result
require "google/ads/google_ads/v2/services/customer_client_link_service_pb.rb"
res = Google::Ads::GoogleAds::V2::Services::MutateCustomerClientLinkResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateJobResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateJobResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateJobResult] the created resource
- def self.mutate_job_result
- require "google/ads/google_ads/v2/services/mutate_job_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateJobResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateBillingSetupResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult] the created resource
- def self.mutate_billing_setup_result
- require "google/ads/google_ads/v2/services/billing_setup_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateBillingSetupResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of MutateKeywordPlanAdGroupResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanAdGroupResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanAdGroupResult] the created resource
- def self.mutate_keyword_plan_ad_group_result
- require "google/ads/google_ads/v2/services/keyword_plan_ad_group_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::MutateKeywordPlanAdGroupResult.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of KeywordAndUrlSeed, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed] the created resource
- def self.keyword_and_url_seed
- require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::KeywordAndUrlSeed.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of KeywordSeed, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::KeywordSeed] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::KeywordSeed] the created resource
- def self.keyword_seed
- require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::KeywordSeed.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of UrlSeed, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::UrlSeed] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::UrlSeed] the created resource
- def self.url_seed
- require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::UrlSeed.new
- yield res if block_given?
- res
- end
-
- # Returns a new instance of GenerateKeywordIdeaResult, optionally
- # yielding it to a passed block so that attributes can be set on it.
- #
- # @yield [Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult] the new instance that will be returned so attributes
- # can be set
- # @return [Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult] the created resource
- def self.generate_keyword_idea_result
- require "google/ads/google_ads/v2/services/keyword_plan_idea_service_pb.rb"
- res = Google::Ads::GoogleAds::V2::Services::GenerateKeywordIdeaResult.new
yield res if block_given?
res
end
# Returns a new instance of Value, optionally