module Google::Ads::GoogleAds::Factories::V7::Resources
Public Class Methods
Returns a new instance of account_budget
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AccountBudget] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AccountBudget] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5109 def self.account_budget require "google/ads/google_ads/v7/resources/account_budget_pb" res = Google::Ads::GoogleAds::V7::Resources::AccountBudget.new yield res if block_given? res end
Returns a new instance of account_budget_proposal
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AccountBudgetProposal] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AccountBudgetProposal] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5239 def self.account_budget_proposal require "google/ads/google_ads/v7/resources/account_budget_proposal_pb" res = Google::Ads::GoogleAds::V7::Resources::AccountBudgetProposal.new yield res if block_given? res end
Returns a new instance of account_budget_summary
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Invoice::AccountBudgetSummary] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Invoice::AccountBudgetSummary] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 624 def self.account_budget_summary require "google/ads/google_ads/v7/resources/invoice_pb" res = Google::Ads::GoogleAds::V7::Resources::Invoice::AccountBudgetSummary.new yield res if block_given? res end
Returns a new instance of account_link
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AccountLink] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AccountLink] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4017 def self.account_link require "google/ads/google_ads/v7/resources/account_link_pb" res = Google::Ads::GoogleAds::V7::Resources::AccountLink.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::V7::Resources::Ad] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Ad] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2405 def self.ad require "google/ads/google_ads/v7/resources/ad_pb" res = Google::Ads::GoogleAds::V7::Resources::Ad.new yield res if block_given? res end
Returns a new instance of ad_asset_policy_summary
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AdAssetPolicySummary] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AdAssetPolicySummary] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1924 def self.ad_asset_policy_summary require "google/ads/google_ads/v7/common/asset_policy_pb" res = Google::Ads::GoogleAds::V7::Common::AdAssetPolicySummary.new yield res if block_given? res end
Returns a new instance of ad_group
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroup] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroup] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2990 def self.ad_group require "google/ads/google_ads/v7/resources/ad_group_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroup.new yield res if block_given? res end
Returns a new instance of ad_group_ad
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupAd] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupAd] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3003 def self.ad_group_ad require "google/ads/google_ads/v7/resources/ad_group_ad_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupAd.new yield res if block_given? res end
Returns a new instance of ad_group_ad_asset_policy_summary
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupAdAssetPolicySummary] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupAdAssetPolicySummary] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3406 def self.ad_group_ad_asset_policy_summary require "google/ads/google_ads/v7/resources/ad_group_ad_asset_view_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupAdAssetPolicySummary.new yield res if block_given? res end
Returns a new instance of ad_group_ad_asset_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupAdAssetView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupAdAssetView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3393 def self.ad_group_ad_asset_view require "google/ads/google_ads/v7/resources/ad_group_ad_asset_view_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupAdAssetView.new yield res if block_given? res end
Returns a new instance of ad_group_ad_label
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupAdLabel] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupAdLabel] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3614 def self.ad_group_ad_label require "google/ads/google_ads/v7/resources/ad_group_ad_label_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupAdLabel.new yield res if block_given? res end
Returns a new instance of ad_group_ad_policy_summary
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupAdPolicySummary] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupAdPolicySummary] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3016 def self.ad_group_ad_policy_summary require "google/ads/google_ads/v7/resources/ad_group_ad_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupAdPolicySummary.new yield res if block_given? res end
Returns a new instance of ad_group_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5278 def self.ad_group_asset require "google/ads/google_ads/v7/resources/ad_group_asset_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupAsset.new yield res if block_given? res end
Returns a new instance of ad_group_audience_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupAudienceView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupAudienceView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 364 def self.ad_group_audience_view require "google/ads/google_ads/v7/resources/ad_group_audience_view_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupAudienceView.new yield res if block_given? res end
Returns a new instance of ad_group_bid_modifier
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupBidModifier] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupBidModifier] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3029 def self.ad_group_bid_modifier require "google/ads/google_ads/v7/resources/ad_group_bid_modifier_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupBidModifier.new yield res if block_given? res end
Returns a new instance of ad_group_criterion
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3042 def self.ad_group_criterion require "google/ads/google_ads/v7/resources/ad_group_criterion_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion.new yield res if block_given? res end
Returns a new instance of ad_group_criterion_label
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterionLabel] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterionLabel] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5070 def self.ad_group_criterion_label require "google/ads/google_ads/v7/resources/ad_group_criterion_label_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupCriterionLabel.new yield res if block_given? res end
Returns a new instance of ad_group_criterion_simulation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterionSimulation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterionSimulation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3757 def self.ad_group_criterion_simulation require "google/ads/google_ads/v7/resources/ad_group_criterion_simulation_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupCriterionSimulation.new yield res if block_given? res end
Returns a new instance of ad_group_extension_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupExtensionSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupExtensionSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3380 def self.ad_group_extension_setting require "google/ads/google_ads/v7/resources/ad_group_extension_setting_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupExtensionSetting.new yield res if block_given? res end
Returns a new instance of ad_group_feed
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupFeed] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupFeed] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1079 def self.ad_group_feed require "google/ads/google_ads/v7/resources/ad_group_feed_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupFeed.new yield res if block_given? res end
Returns a new instance of ad_group_label
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupLabel] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupLabel] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1911 def self.ad_group_label require "google/ads/google_ads/v7/resources/ad_group_label_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupLabel.new yield res if block_given? res end
Returns a new instance of ad_group_simulation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupSimulation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupSimulation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1053 def self.ad_group_simulation require "google/ads/google_ads/v7/resources/ad_group_simulation_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupSimulation.new yield res if block_given? res end
Returns a new instance of ad_image_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AdImageAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AdImageAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1950 def self.ad_image_asset require "google/ads/google_ads/v7/common/ad_asset_pb" res = Google::Ads::GoogleAds::V7::Common::AdImageAsset.new yield res if block_given? res end
Returns a new instance of ad_media_bundle_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AdMediaBundleAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AdMediaBundleAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1976 def self.ad_media_bundle_asset require "google/ads/google_ads/v7/common/ad_asset_pb" res = Google::Ads::GoogleAds::V7::Common::AdMediaBundleAsset.new yield res if block_given? res end
Returns a new instance of ad_parameter
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdParameter] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdParameter] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 468 def self.ad_parameter require "google/ads/google_ads/v7/resources/ad_parameter_pb" res = Google::Ads::GoogleAds::V7::Resources::AdParameter.new yield res if block_given? res end
Returns a new instance of ad_schedule_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AdScheduleInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AdScheduleInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1482 def self.ad_schedule_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::AdScheduleInfo.new yield res if block_given? res end
Returns a new instance of ad_schedule_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdScheduleView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdScheduleView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5148 def self.ad_schedule_view require "google/ads/google_ads/v7/resources/ad_schedule_view_pb" res = Google::Ads::GoogleAds::V7::Resources::AdScheduleView.new yield res if block_given? res end
Returns a new instance of ad_text_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AdTextAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AdTextAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1937 def self.ad_text_asset require "google/ads/google_ads/v7/common/ad_asset_pb" res = Google::Ads::GoogleAds::V7::Common::AdTextAsset.new yield res if block_given? res end
Returns a new instance of ad_video_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AdVideoAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AdVideoAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1963 def self.ad_video_asset require "google/ads/google_ads/v7/common/ad_asset_pb" res = Google::Ads::GoogleAds::V7::Common::AdVideoAsset.new yield res if block_given? res end
Returns a new instance of address_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AddressInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AddressInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1612 def self.address_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::AddressInfo.new yield res if block_given? res end
Returns a new instance of affiliate_location_feed_data
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Feed::AffiliateLocationFeedData] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Feed::AffiliateLocationFeedData] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 819 def self.affiliate_location_feed_data require "google/ads/google_ads/v7/resources/feed_pb" res = Google::Ads::GoogleAds::V7::Resources::Feed::AffiliateLocationFeedData.new yield res if block_given? res end
Returns a new instance of affiliate_location_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AffiliateLocationFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AffiliateLocationFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3484 def self.affiliate_location_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::AffiliateLocationFeedItem.new yield res if block_given? res end
Returns a new instance of age_range_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AgeRangeInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AgeRangeInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1495 def self.age_range_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::AgeRangeInfo.new yield res if block_given? res end
Returns a new instance of age_range_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AgeRangeView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AgeRangeView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2639 def self.age_range_view require "google/ads/google_ads/v7/resources/age_range_view_pb" res = Google::Ads::GoogleAds::V7::Resources::AgeRangeView.new yield res if block_given? res end
Returns a new instance of app_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AppAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AppAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2288 def self.app_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::AppAdInfo.new yield res if block_given? res end
Returns a new instance of app_campaign_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::AppCampaignSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::AppCampaignSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3263 def self.app_campaign_setting require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::AppCampaignSetting.new yield res if block_given? res end
Returns a new instance of app_engagement_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AppEngagementAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AppEngagementAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2301 def self.app_engagement_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::AppEngagementAdInfo.new yield res if block_given? res end
Returns a new instance of app_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AppFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AppFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3432 def self.app_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::AppFeedItem.new yield res if block_given? res end
Returns a new instance of app_payment_model_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::AppPaymentModelInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::AppPaymentModelInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1755 def self.app_payment_model_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::AppPaymentModelInfo.new yield res if block_given? res end
Returns a new instance of apply_recommendation_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6994 def self.apply_recommendation_result require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationResult.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::V7::Resources::Asset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Asset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3965 def self.asset require "google/ads/google_ads/v7/resources/asset_pb" res = Google::Ads::GoogleAds::V7::Resources::Asset.new yield res if block_given? res end
Returns a new instance of asset_policy_summary
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AssetPolicySummary] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AssetPolicySummary] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3978 def self.asset_policy_summary require "google/ads/google_ads/v7/resources/asset_pb" res = Google::Ads::GoogleAds::V7::Resources::AssetPolicySummary.new yield res if block_given? res end
Returns a new instance of attribute_field_mapping
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AttributeFieldMapping] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AttributeFieldMapping] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 767 def self.attribute_field_mapping require "google/ads/google_ads/v7/resources/feed_mapping_pb" res = Google::Ads::GoogleAds::V7::Resources::AttributeFieldMapping.new yield res if block_given? res end
Returns a new instance of attribution_model_settings
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ConversionAction::AttributionModelSettings] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ConversionAction::AttributionModelSettings] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5187 def self.attribution_model_settings require "google/ads/google_ads/v7/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V7::Resources::ConversionAction::AttributionModelSettings.new yield res if block_given? res end
Returns a new instance of basic_user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::BasicUserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::BasicUserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2912 def self.basic_user_list_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::BasicUserListInfo.new yield res if block_given? res end
Returns a new instance of batch_job
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::BatchJob] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::BatchJob] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4914 def self.batch_job require "google/ads/google_ads/v7/resources/batch_job_pb" res = Google::Ads::GoogleAds::V7::Resources::BatchJob.new yield res if block_given? res end
Returns a new instance of batch_job_metadata
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::BatchJob::BatchJobMetadata] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::BatchJob::BatchJobMetadata] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4927 def self.batch_job_metadata require "google/ads/google_ads/v7/resources/batch_job_pb" res = Google::Ads::GoogleAds::V7::Resources::BatchJob::BatchJobMetadata.new yield res if block_given? res end
Returns a new instance of batch_job_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::BatchJobResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::BatchJobResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6331 def self.batch_job_result require "google/ads/google_ads/v7/services/batch_job_service_pb" res = Google::Ads::GoogleAds::V7::Services::BatchJobResult.new yield res if block_given? res end
Returns a new instance of bid_modifier_simulation_point
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::BidModifierSimulationPoint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::BidModifierSimulationPoint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 949 def self.bid_modifier_simulation_point require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::BidModifierSimulationPoint.new yield res if block_given? res end
Returns a new instance of bid_modifier_simulation_point_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::BidModifierSimulationPointList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::BidModifierSimulationPointList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 845 def self.bid_modifier_simulation_point_list require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::BidModifierSimulationPointList.new yield res if block_given? res end
Returns a new instance of bidding_strategy
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::BiddingStrategy] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::BiddingStrategy] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2626 def self.bidding_strategy require "google/ads/google_ads/v7/resources/bidding_strategy_pb" res = Google::Ads::GoogleAds::V7::Resources::BiddingStrategy.new yield res if block_given? res end
Returns a new instance of bidding_strategy_simulation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::BiddingStrategySimulation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::BiddingStrategySimulation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4199 def self.bidding_strategy_simulation require "google/ads/google_ads/v7/resources/bidding_strategy_simulation_pb" res = Google::Ads::GoogleAds::V7::Resources::BiddingStrategySimulation.new yield res if block_given? res end
Returns a new instance of billing_setup
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::BillingSetup] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::BillingSetup] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1885 def self.billing_setup require "google/ads/google_ads/v7/resources/billing_setup_pb" res = Google::Ads::GoogleAds::V7::Resources::BillingSetup.new yield res if block_given? res end
Returns a new instance of book_on_google_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::BookOnGoogleAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::BookOnGoogleAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3900 def self.book_on_google_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::BookOnGoogleAsset.new yield res if block_given? res end
Returns a new instance of budget_campaign_association_status
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::BudgetCampaignAssociationStatus] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::BudgetCampaignAssociationStatus] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5343 def self.budget_campaign_association_status require "google/ads/google_ads/v7/common/segments_pb" res = Google::Ads::GoogleAds::V7::Common::BudgetCampaignAssociationStatus.new yield res if block_given? res end
Returns a new instance of budget_simulation_point
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::BudgetSimulationPoint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::BudgetSimulationPoint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1027 def self.budget_simulation_point require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::BudgetSimulationPoint.new yield res if block_given? res end
Returns a new instance of budget_simulation_point_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::BudgetSimulationPointList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::BudgetSimulationPointList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 923 def self.budget_simulation_point_list require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::BudgetSimulationPointList.new yield res if block_given? res end
Returns a new instance of business_name_filter
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::BusinessNameFilter] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::BusinessNameFilter] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4225 def self.business_name_filter require "google/ads/google_ads/v7/common/feed_item_set_filter_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::BusinessNameFilter.new yield res if block_given? res end
Returns a new instance of call_conversion
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::CallConversion] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::CallConversion] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6383 def self.call_conversion require "google/ads/google_ads/v7/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::CallConversion.new yield res if block_given? res end
Returns a new instance of call_conversion_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::CallConversionResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::CallConversionResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6422 def self.call_conversion_result require "google/ads/google_ads/v7/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::CallConversionResult.new yield res if block_given? res end
Returns a new instance of call_extension_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CallExtensionParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CallExtensionParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6942 def self.call_extension_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CallExtensionParameters.new yield res if block_given? res end
Returns a new instance of call_extension_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::CallExtensionRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::CallExtensionRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4654 def self.call_extension_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::CallExtensionRecommendation.new yield res if block_given? res end
Returns a new instance of call_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CallFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CallFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3445 def self.call_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::CallFeedItem.new yield res if block_given? res end
Returns a new instance of call_only_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CallOnlyAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CallOnlyAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2015 def self.call_only_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::CallOnlyAdInfo.new yield res if block_given? res end
Returns a new instance of call_reporting_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CallReportingSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CallReportingSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 390 def self.call_reporting_setting require "google/ads/google_ads/v7/resources/customer_pb" res = Google::Ads::GoogleAds::V7::Resources::CallReportingSetting.new yield res if block_given? res end
Returns a new instance of call_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CallView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CallView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 481 def self.call_view require "google/ads/google_ads/v7/resources/call_view_pb" res = Google::Ads::GoogleAds::V7::Resources::CallView.new yield res if block_given? res end
Returns a new instance of callout_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CalloutAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CalloutAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3926 def self.callout_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::CalloutAsset.new yield res if block_given? res end
Returns a new instance of callout_extension_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CalloutExtensionParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CalloutExtensionParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6929 def self.callout_extension_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CalloutExtensionParameters.new yield res if block_given? res end
Returns a new instance of callout_extension_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::CalloutExtensionRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::CalloutExtensionRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4628 def self.callout_extension_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::CalloutExtensionRecommendation.new yield res if block_given? res end
Returns a new instance of callout_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CalloutFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CalloutFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3458 def self.callout_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::CalloutFeedItem.new yield res if block_given? res end
Returns a new instance of campaign, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3120 def self.campaign require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign.new yield res if block_given? res end
Returns a new instance of campaign_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4160 def self.campaign_asset require "google/ads/google_ads/v7/resources/campaign_asset_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignAsset.new yield res if block_given? res end
Returns a new instance of campaign_audience_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignAudienceView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignAudienceView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 520 def self.campaign_audience_view require "google/ads/google_ads/v7/resources/campaign_audience_view_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignAudienceView.new yield res if block_given? res end
Returns a new instance of campaign_bid_modifier
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignBidModifier] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignBidModifier] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1846 def self.campaign_bid_modifier require "google/ads/google_ads/v7/resources/campaign_bid_modifier_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignBidModifier.new yield res if block_given? res end
Returns a new instance of campaign_budget
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignBudget] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignBudget] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 507 def self.campaign_budget require "google/ads/google_ads/v7/resources/campaign_budget_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignBudget.new yield res if block_given? res end
Returns a new instance of campaign_budget_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CampaignBudgetParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CampaignBudgetParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6864 def self.campaign_budget_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::CampaignBudgetParameters.new yield res if block_given? res end
Returns a new instance of campaign_budget_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::CampaignBudgetRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::CampaignBudgetRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4459 def self.campaign_budget_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::CampaignBudgetRecommendation.new yield res if block_given? res end
Returns a new instance of campaign_budget_recommendation_option
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4472 def self.campaign_budget_recommendation_option require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::CampaignBudgetRecommendation::CampaignBudgetRecommendationOption.new yield res if block_given? res end
Returns a new instance of campaign_criterion
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignCriterion] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignCriterion] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3276 def self.campaign_criterion require "google/ads/google_ads/v7/resources/campaign_criterion_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignCriterion.new yield res if block_given? res end
Returns a new instance of campaign_criterion_simulation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignCriterionSimulation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignCriterionSimulation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4407 def self.campaign_criterion_simulation require "google/ads/google_ads/v7/resources/campaign_criterion_simulation_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignCriterionSimulation.new yield res if block_given? res end
Returns a new instance of campaign_draft
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignDraft] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignDraft] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3991 def self.campaign_draft require "google/ads/google_ads/v7/resources/campaign_draft_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignDraft.new yield res if block_given? res end
Returns a new instance of campaign_duration
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::CampaignDuration] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::CampaignDuration] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6539 def self.campaign_duration require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::CampaignDuration.new yield res if block_given? res end
Returns a new instance of campaign_experiment
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignExperiment] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignExperiment] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4173 def self.campaign_experiment require "google/ads/google_ads/v7/resources/campaign_experiment_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignExperiment.new yield res if block_given? res end
Returns a new instance of campaign_extension_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignExtensionSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignExtensionSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 442 def self.campaign_extension_setting require "google/ads/google_ads/v7/resources/campaign_extension_setting_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignExtensionSetting.new yield res if block_given? res end
Returns a new instance of campaign_feed
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignFeed] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignFeed] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 728 def self.campaign_feed require "google/ads/google_ads/v7/resources/campaign_feed_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignFeed.new yield res if block_given? res end
Returns a new instance of campaign_label
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignLabel] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignLabel] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 78 def self.campaign_label require "google/ads/google_ads/v7/resources/campaign_label_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignLabel.new yield res if block_given? res end
Returns a new instance of campaign_simulation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CampaignSimulation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CampaignSimulation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5083 def self.campaign_simulation require "google/ads/google_ads/v7/resources/campaign_simulation_pb" res = Google::Ads::GoogleAds::V7::Resources::CampaignSimulation.new yield res if block_given? res end
Returns a new instance of carrier_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CarrierConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CarrierConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2444 def self.carrier_constant require "google/ads/google_ads/v7/resources/carrier_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::CarrierConstant.new yield res if block_given? res end
Returns a new instance of carrier_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CarrierInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CarrierInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1677 def self.carrier_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::CarrierInfo.new yield res if block_given? res end
Returns a new instance of change_event
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ChangeEvent] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ChangeEvent] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3289 def self.change_event require "google/ads/google_ads/v7/resources/change_event_pb" res = Google::Ads::GoogleAds::V7::Resources::ChangeEvent.new yield res if block_given? res end
Returns a new instance of change_status
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ChangeStatus] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ChangeStatus] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4992 def self.change_status require "google/ads/google_ads/v7/resources/change_status_pb" res = Google::Ads::GoogleAds::V7::Resources::ChangeStatus.new yield res if block_given? res end
Returns a new instance of changed_resource
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ChangeEvent::ChangedResource] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ChangeEvent::ChangedResource] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3302 def self.changed_resource require "google/ads/google_ads/v7/resources/change_event_pb" res = Google::Ads::GoogleAds::V7::Resources::ChangeEvent::ChangedResource.new yield res if block_given? res end
Returns a new instance of click_conversion
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ClickConversion] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ClickConversion] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6370 def self.click_conversion require "google/ads/google_ads/v7/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::ClickConversion.new yield res if block_given? res end
Returns a new instance of click_conversion_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ClickConversionResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ClickConversionResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6409 def self.click_conversion_result require "google/ads/google_ads/v7/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::ClickConversionResult.new yield res if block_given? res end
Returns a new instance of click_location
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ClickLocation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ClickLocation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2652 def self.click_location require "google/ads/google_ads/v7/common/click_location_pb" res = Google::Ads::GoogleAds::V7::Common::ClickLocation.new yield res if block_given? res end
Returns a new instance of click_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ClickView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ClickView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2665 def self.click_view require "google/ads/google_ads/v7/resources/click_view_pb" res = Google::Ads::GoogleAds::V7::Resources::ClickView.new yield res if block_given? res end
Returns a new instance of combined_audience
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CombinedAudience] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CombinedAudience] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4888 def self.combined_audience require "google/ads/google_ads/v7/resources/combined_audience_pb" res = Google::Ads::GoogleAds::V7::Resources::CombinedAudience.new yield res if block_given? res end
Returns a new instance of combined_audience_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CombinedAudienceInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CombinedAudienceInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1833 def self.combined_audience_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::CombinedAudienceInfo.new yield res if block_given? res end
Returns a new instance of combined_rule_user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CombinedRuleUserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CombinedRuleUserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2821 def self.combined_rule_user_list_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::CombinedRuleUserListInfo.new yield res if block_given? res end
Returns a new instance of commission, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Commission] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Commission] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2457 def self.commission require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::Commission.new yield res if block_given? res end
Returns a new instance of concept_group
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ConceptGroup] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ConceptGroup] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6032 def self.concept_group require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::ConceptGroup.new yield res if block_given? res end
Returns a new instance of constant_operand
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Operand::ConstantOperand] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Operand::ConstantOperand] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 663 def self.constant_operand require "google/ads/google_ads/v7/common/matching_function_pb" res = Google::Ads::GoogleAds::V7::Common::Operand::ConstantOperand.new yield res if block_given? res end
Returns a new instance of content_label_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ContentLabelInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ContentLabelInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1664 def self.content_label_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ContentLabelInfo.new yield res if block_given? res end
Returns a new instance of conversion_action
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ConversionAction] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ConversionAction] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5174 def self.conversion_action require "google/ads/google_ads/v7/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V7::Resources::ConversionAction.new yield res if block_given? res end
Returns a new instance of conversion_adjustment
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ConversionAdjustment] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ConversionAdjustment] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6773 def self.conversion_adjustment require "google/ads/google_ads/v7/services/conversion_adjustment_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::ConversionAdjustment.new yield res if block_given? res end
Returns a new instance of conversion_adjustment_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ConversionAdjustmentResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ConversionAdjustmentResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6812 def self.conversion_adjustment_result require "google/ads/google_ads/v7/services/conversion_adjustment_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::ConversionAdjustmentResult.new yield res if block_given? res end
Returns a new instance of conversion_custom_variable
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ConversionCustomVariable] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ConversionCustomVariable] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4901 def self.conversion_custom_variable require "google/ads/google_ads/v7/resources/conversion_custom_variable_pb" res = Google::Ads::GoogleAds::V7::Resources::ConversionCustomVariable.new yield res if block_given? res end
Returns a new instance of conversion_tracking_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ConversionTrackingSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ConversionTrackingSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 403 def self.conversion_tracking_setting require "google/ads/google_ads/v7/resources/customer_pb" res = Google::Ads::GoogleAds::V7::Resources::ConversionTrackingSetting.new yield res if block_given? res end
Returns a new instance of country_constraint
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::CountryConstraint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::CountryConstraint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 286 def self.country_constraint require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::CountryConstraint.new yield res if block_given? res end
Returns a new instance of country_constraint_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::CountryConstraintList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::CountryConstraintList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 260 def self.country_constraint_list require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::CountryConstraintList.new yield res if block_given? res end
Returns a new instance of cpc_bid_simulation_point
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CpcBidSimulationPoint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CpcBidSimulationPoint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 962 def self.cpc_bid_simulation_point require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::CpcBidSimulationPoint.new yield res if block_given? res end
Returns a new instance of cpc_bid_simulation_point_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CpcBidSimulationPointList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CpcBidSimulationPointList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 858 def self.cpc_bid_simulation_point_list require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::CpcBidSimulationPointList.new yield res if block_given? res end
Returns a new instance of cpv_bid_simulation_point
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CpvBidSimulationPoint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CpvBidSimulationPoint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 975 def self.cpv_bid_simulation_point require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::CpvBidSimulationPoint.new yield res if block_given? res end
Returns a new instance of cpv_bid_simulation_point_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CpvBidSimulationPointList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CpvBidSimulationPointList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 871 def self.cpv_bid_simulation_point_list require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::CpvBidSimulationPointList.new yield res if block_given? res end
Returns a new instance of create_campaign_experiment_metadata
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::CreateCampaignExperimentMetadata] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::CreateCampaignExperimentMetadata] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5603 def self.create_campaign_experiment_metadata require "google/ads/google_ads/v7/services/campaign_experiment_service_pb" res = Google::Ads::GoogleAds::V7::Services::CreateCampaignExperimentMetadata.new yield res if block_given? res end
Returns a new instance of criterion_category_availability
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CriterionCategoryAvailability] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CriterionCategoryAvailability] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 13 def self.criterion_category_availability require "google/ads/google_ads/v7/common/criterion_category_availability_pb" res = Google::Ads::GoogleAds::V7::Common::CriterionCategoryAvailability.new yield res if block_given? res end
Returns a new instance of criterion_category_channel_availability
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CriterionCategoryChannelAvailability] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CriterionCategoryChannelAvailability] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 26 def self.criterion_category_channel_availability require "google/ads/google_ads/v7/common/criterion_category_availability_pb" res = Google::Ads::GoogleAds::V7::Common::CriterionCategoryChannelAvailability.new yield res if block_given? res end
Returns a new instance of criterion_category_locale_availability
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CriterionCategoryLocaleAvailability] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CriterionCategoryLocaleAvailability] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 39 def self.criterion_category_locale_availability require "google/ads/google_ads/v7/common/criterion_category_availability_pb" res = Google::Ads::GoogleAds::V7::Common::CriterionCategoryLocaleAvailability.new yield res if block_given? res end
Returns a new instance of crm_based_user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CrmBasedUserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CrmBasedUserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2730 def self.crm_based_user_list_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::CrmBasedUserListInfo.new yield res if block_given? res end
Returns a new instance of currency_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CurrencyConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CurrencyConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 494 def self.currency_constant require "google/ads/google_ads/v7/resources/currency_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::CurrencyConstant.new yield res if block_given? res end
Returns a new instance of custom_affinity_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CustomAffinityInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CustomAffinityInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1781 def self.custom_affinity_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::CustomAffinityInfo.new yield res if block_given? res end
Returns a new instance of custom_audience
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomAudience] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomAudience] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3315 def self.custom_audience require "google/ads/google_ads/v7/resources/custom_audience_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomAudience.new yield res if block_given? res end
Returns a new instance of custom_audience_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CustomAudienceInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CustomAudienceInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1820 def self.custom_audience_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::CustomAudienceInfo.new yield res if block_given? res end
Returns a new instance of custom_audience_member
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomAudienceMember] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomAudienceMember] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3328 def self.custom_audience_member require "google/ads/google_ads/v7/resources/custom_audience_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomAudienceMember.new yield res if block_given? res end
Returns a new instance of custom_intent_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CustomIntentInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CustomIntentInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1794 def self.custom_intent_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::CustomIntentInfo.new yield res if block_given? res end
Returns a new instance of custom_interest
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomInterest] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomInterest] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4953 def self.custom_interest require "google/ads/google_ads/v7/resources/custom_interest_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomInterest.new yield res if block_given? res end
Returns a new instance of custom_interest_member
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomInterestMember] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomInterestMember] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4966 def self.custom_interest_member require "google/ads/google_ads/v7/resources/custom_interest_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomInterestMember.new yield res if block_given? res end
Returns a new instance of custom_parameter
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CustomParameter] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CustomParameter] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 104 def self.custom_parameter require "google/ads/google_ads/v7/common/custom_parameter_pb" res = Google::Ads::GoogleAds::V7::Common::CustomParameter.new yield res if block_given? res end
Returns a new instance of custom_variable
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::CustomVariable] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::CustomVariable] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6435 def self.custom_variable require "google/ads/google_ads/v7/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::CustomVariable.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::V7::Resources::Customer] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Customer] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 377 def self.customer require "google/ads/google_ads/v7/resources/customer_pb" res = Google::Ads::GoogleAds::V7::Resources::Customer.new yield res if block_given? res end
Returns a new instance of customer_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 533 def self.customer_asset require "google/ads/google_ads/v7/resources/customer_asset_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerAsset.new yield res if block_given? res end
Returns a new instance of customer_client
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerClient] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerClient] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1859 def self.customer_client require "google/ads/google_ads/v7/resources/customer_client_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerClient.new yield res if block_given? res end
Returns a new instance of customer_client_link
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerClientLink] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerClientLink] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4316 def self.customer_client_link require "google/ads/google_ads/v7/resources/customer_client_link_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerClientLink.new yield res if block_given? res end
Returns a new instance of customer_extension_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerExtensionSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerExtensionSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 741 def self.customer_extension_setting require "google/ads/google_ads/v7/resources/customer_extension_setting_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerExtensionSetting.new yield res if block_given? res end
Returns a new instance of customer_feed
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerFeed] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerFeed] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 715 def self.customer_feed require "google/ads/google_ads/v7/resources/customer_feed_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerFeed.new yield res if block_given? res end
Returns a new instance of customer_label
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerLabel] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerLabel] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4368 def self.customer_label require "google/ads/google_ads/v7/resources/customer_label_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerLabel.new yield res if block_given? res end
Returns a new instance of customer_manager_link
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerManagerLink] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerManagerLink] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2431 def self.customer_manager_link require "google/ads/google_ads/v7/resources/customer_manager_link_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerManagerLink.new yield res if block_given? res end
Returns a new instance of customer_match_user_list_metadata
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::CustomerMatchUserListMetadata] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::CustomerMatchUserListMetadata] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3705 def self.customer_match_user_list_metadata require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::CustomerMatchUserListMetadata.new yield res if block_given? res end
Returns a new instance of customer_negative_criterion
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerNegativeCriterion] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerNegativeCriterion] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4186 def self.customer_negative_criterion require "google/ads/google_ads/v7/resources/customer_negative_criterion_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerNegativeCriterion.new yield res if block_given? res end
Returns a new instance of customer_user_access
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerUserAccess] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerUserAccess] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5135 def self.customer_user_access require "google/ads/google_ads/v7/resources/customer_user_access_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerUserAccess.new yield res if block_given? res end
Returns a new instance of customer_user_access_invitation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::CustomerUserAccessInvitation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::CustomerUserAccessInvitation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5018 def self.customer_user_access_invitation require "google/ads/google_ads/v7/resources/customer_user_access_invitation_pb" res = Google::Ads::GoogleAds::V7::Resources::CustomerUserAccessInvitation.new yield res if block_given? res end
Returns a new instance of data_partner_link_identifier
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::DataPartnerLinkIdentifier] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::DataPartnerLinkIdentifier] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4043 def self.data_partner_link_identifier require "google/ads/google_ads/v7/resources/account_link_pb" res = Google::Ads::GoogleAds::V7::Resources::DataPartnerLinkIdentifier.new yield res if block_given? res end
Returns a new instance of date_range
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::DateRange] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::DateRange] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 572 def self.date_range require "google/ads/google_ads/v7/common/dates_pb" res = Google::Ads::GoogleAds::V7::Common::DateRange.new yield res if block_given? res end
Returns a new instance of date_specific_rule_user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::DateSpecificRuleUserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::DateSpecificRuleUserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2834 def self.date_specific_rule_user_list_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::DateSpecificRuleUserListInfo.new yield res if block_given? res end
Returns a new instance of destination_mismatch
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationMismatch] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationMismatch] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 221 def self.destination_mismatch require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationMismatch.new yield res if block_given? res end
Returns a new instance of destination_not_working
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationNotWorking] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationNotWorking] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 234 def self.destination_not_working require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationNotWorking.new yield res if block_given? res end
Returns a new instance of destination_text_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationTextList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationTextList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 208 def self.destination_text_list require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::DestinationTextList.new yield res if block_given? res end
Returns a new instance of detail_placement_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::DetailPlacementView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::DetailPlacementView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 91 def self.detail_placement_view require "google/ads/google_ads/v7/resources/detail_placement_view_pb" res = Google::Ads::GoogleAds::V7::Resources::DetailPlacementView.new yield res if block_given? res end
Returns a new instance of device_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::DeviceInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::DeviceInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1157 def self.device_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::DeviceInfo.new yield res if block_given? res end
Returns a new instance of dismiss_recommendation_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::DismissRecommendationResponse::DismissRecommendationResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::DismissRecommendationResponse::DismissRecommendationResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7007 def self.dismiss_recommendation_result require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::DismissRecommendationResponse::DismissRecommendationResult.new yield res if block_given? res end
Returns a new instance of display_call_to_action
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::DisplayCallToAction] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::DisplayCallToAction] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2119 def self.display_call_to_action require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::DisplayCallToAction.new yield res if block_given? res end
Returns a new instance of display_keyword_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::DisplayKeywordView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::DisplayKeywordView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3367 def self.display_keyword_view require "google/ads/google_ads/v7/resources/display_keyword_view_pb" res = Google::Ads::GoogleAds::V7::Resources::DisplayKeywordView.new yield res if block_given? res end
Returns a new instance of display_upload_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::DisplayUploadAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::DisplayUploadAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2353 def self.display_upload_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::DisplayUploadAdInfo.new yield res if block_given? res end
Returns a new instance of distance_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::DistanceView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::DistanceView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4147 def self.distance_view require "google/ads/google_ads/v7/resources/distance_view_pb" res = Google::Ads::GoogleAds::V7::Resources::DistanceView.new yield res if block_given? res end
Returns a new instance of domain_category
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::DomainCategory] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::DomainCategory] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 429 def self.domain_category require "google/ads/google_ads/v7/resources/domain_category_pb" res = Google::Ads::GoogleAds::V7::Resources::DomainCategory.new yield res if block_given? res end
Returns a new instance of dynamic_affiliate_location_set_filter
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::DynamicAffiliateLocationSetFilter] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::DynamicAffiliateLocationSetFilter] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4238 def self.dynamic_affiliate_location_set_filter require "google/ads/google_ads/v7/common/feed_item_set_filter_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::DynamicAffiliateLocationSetFilter.new yield res if block_given? res end
Returns a new instance of dynamic_location_set_filter
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::DynamicLocationSetFilter] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::DynamicLocationSetFilter] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4212 def self.dynamic_location_set_filter require "google/ads/google_ads/v7/common/feed_item_set_filter_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::DynamicLocationSetFilter.new yield res if block_given? res end
Returns a new instance of dynamic_search_ads_search_term_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::DynamicSearchAdsSearchTermView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::DynamicSearchAdsSearchTermView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4940 def self.dynamic_search_ads_search_term_view require "google/ads/google_ads/v7/resources/dynamic_search_ads_search_term_view_pb" res = Google::Ads::GoogleAds::V7::Resources::DynamicSearchAdsSearchTermView.new yield res if block_given? res end
Returns a new instance of dynamic_search_ads_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::DynamicSearchAdsSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::DynamicSearchAdsSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3172 def self.dynamic_search_ads_setting require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::DynamicSearchAdsSetting.new yield res if block_given? res end
Returns a new instance of enhanced_cpc
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::EnhancedCpc] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::EnhancedCpc] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2470 def self.enhanced_cpc require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::EnhancedCpc.new yield res if block_given? res end
Returns a new instance of enhanced_cpc_opt_in_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::EnhancedCpcOptInRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::EnhancedCpcOptInRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4602 def self.enhanced_cpc_opt_in_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::EnhancedCpcOptInRecommendation.new yield res if block_given? res end
Returns a new instance of error_code
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::ErrorCode] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::ErrorCode] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7059 def self.error_code require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::ErrorCode.new yield res if block_given? res end
Returns a new instance of error_details
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::ErrorDetails] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::ErrorDetails] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7098 def self.error_details require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::ErrorDetails.new yield res if block_given? res end
Returns a new instance of error_location
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::ErrorLocation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::ErrorLocation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7072 def self.error_location require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::ErrorLocation.new yield res if block_given? res end
Returns a new instance of expanded_dynamic_search_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ExpandedDynamicSearchAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ExpandedDynamicSearchAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2028 def self.expanded_dynamic_search_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ExpandedDynamicSearchAdInfo.new yield res if block_given? res end
Returns a new instance of expanded_landing_page_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ExpandedLandingPageView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ExpandedLandingPageView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4979 def self.expanded_landing_page_view require "google/ads/google_ads/v7/resources/expanded_landing_page_view_pb" res = Google::Ads::GoogleAds::V7::Resources::ExpandedLandingPageView.new yield res if block_given? res end
Returns a new instance of expanded_text_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ExpandedTextAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ExpandedTextAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2002 def self.expanded_text_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ExpandedTextAdInfo.new yield res if block_given? res end
Returns a new instance of explorer_auto_optimizer_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ExplorerAutoOptimizerSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ExplorerAutoOptimizerSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2951 def self.explorer_auto_optimizer_setting require "google/ads/google_ads/v7/common/explorer_auto_optimizer_setting_pb" res = Google::Ads::GoogleAds::V7::Common::ExplorerAutoOptimizerSetting.new yield res if block_given? res end
Returns a new instance of expression_rule_user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ExpressionRuleUserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ExpressionRuleUserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2847 def self.expression_rule_user_list_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::ExpressionRuleUserListInfo.new yield res if block_given? res end
Returns a new instance of extension_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ExtensionFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ExtensionFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3601 def self.extension_feed_item require "google/ads/google_ads/v7/resources/extension_feed_item_pb" res = Google::Ads::GoogleAds::V7::Resources::ExtensionFeedItem.new yield res if block_given? res end
Returns a new instance of external_attribution_data
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ExternalAttributionData] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ExternalAttributionData] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6396 def self.external_attribution_data require "google/ads/google_ads/v7/services/conversion_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::ExternalAttributionData.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::V7::Resources::Feed] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Feed] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 780 def self.feed require "google/ads/google_ads/v7/resources/feed_pb" res = Google::Ads::GoogleAds::V7::Resources::Feed.new yield res if block_given? res end
Returns a new instance of feed_attribute
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedAttribute] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedAttribute] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 832 def self.feed_attribute require "google/ads/google_ads/v7/resources/feed_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedAttribute.new yield res if block_given? res end
Returns a new instance of feed_attribute_operand
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Operand::FeedAttributeOperand] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Operand::FeedAttributeOperand] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 676 def self.feed_attribute_operand require "google/ads/google_ads/v7/common/matching_function_pb" res = Google::Ads::GoogleAds::V7::Common::Operand::FeedAttributeOperand.new yield res if block_given? res end
Returns a new instance of feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 299 def self.feed_item require "google/ads/google_ads/v7/resources/feed_item_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedItem.new yield res if block_given? res end
Returns a new instance of feed_item_attribute_value
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedItemAttributeValue] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedItemAttributeValue] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 312 def self.feed_item_attribute_value require "google/ads/google_ads/v7/resources/feed_item_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedItemAttributeValue.new yield res if block_given? res end
Returns a new instance of feed_item_placeholder_policy_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedItemPlaceholderPolicyInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedItemPlaceholderPolicyInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 325 def self.feed_item_placeholder_policy_info require "google/ads/google_ads/v7/resources/feed_item_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedItemPlaceholderPolicyInfo.new yield res if block_given? res end
Returns a new instance of feed_item_set
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedItemSet] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedItemSet] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4251 def self.feed_item_set require "google/ads/google_ads/v7/resources/feed_item_set_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedItemSet.new yield res if block_given? res end
Returns a new instance of feed_item_set_link
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedItemSetLink] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedItemSetLink] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4719 def self.feed_item_set_link require "google/ads/google_ads/v7/resources/feed_item_set_link_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedItemSetLink.new yield res if block_given? res end
Returns a new instance of feed_item_target
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedItemTarget] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedItemTarget] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3419 def self.feed_item_target require "google/ads/google_ads/v7/resources/feed_item_target_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedItemTarget.new yield res if block_given? res end
Returns a new instance of feed_item_validation_error
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedItemValidationError] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedItemValidationError] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 338 def self.feed_item_validation_error require "google/ads/google_ads/v7/resources/feed_item_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedItemValidationError.new yield res if block_given? res end
Returns a new instance of feed_mapping
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedMapping] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedMapping] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 754 def self.feed_mapping require "google/ads/google_ads/v7/resources/feed_mapping_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedMapping.new yield res if block_given? res end
Returns a new instance of feed_placeholder_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::FeedPlaceholderView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::FeedPlaceholderView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4355 def self.feed_placeholder_view require "google/ads/google_ads/v7/resources/feed_placeholder_view_pb" res = Google::Ads::GoogleAds::V7::Resources::FeedPlaceholderView.new yield res if block_given? res end
Returns a new instance of field_path_element
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::ErrorLocation::FieldPathElement] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::ErrorLocation::FieldPathElement] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7085 def self.field_path_element require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::ErrorLocation::FieldPathElement.new yield res if block_given? res end
Returns a new instance of final_app_url
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::FinalAppUrl] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::FinalAppUrl] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2379 def self.final_app_url require "google/ads/google_ads/v7/common/final_app_url_pb" res = Google::Ads::GoogleAds::V7::Common::FinalAppUrl.new yield res if block_given? res end
Returns a new instance of firebase_settings
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ConversionAction::FirebaseSettings] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ConversionAction::FirebaseSettings] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5213 def self.firebase_settings require "google/ads/google_ads/v7/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V7::Resources::ConversionAction::FirebaseSettings.new yield res if block_given? res end
Returns a new instance of forecast, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::Forecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::Forecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6591 def self.forecast require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::Forecast.new yield res if block_given? res end
Returns a new instance of forecast_metrics
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ForecastMetrics] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ForecastMetrics] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6162 def self.forecast_metrics require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::ForecastMetrics.new yield res if block_given? res end
Returns a new instance of frequency_cap
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::FrequencyCap] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::FrequencyCap] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6513 def self.frequency_cap require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::FrequencyCap.new yield res if block_given? res end
Returns a new instance of frequency_cap_entry
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::FrequencyCapEntry] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::FrequencyCapEntry] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3081 def self.frequency_cap_entry require "google/ads/google_ads/v7/common/frequency_cap_pb" res = Google::Ads::GoogleAds::V7::Common::FrequencyCapEntry.new yield res if block_given? res end
Returns a new instance of frequency_cap_key
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::FrequencyCapKey] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::FrequencyCapKey] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3094 def self.frequency_cap_key require "google/ads/google_ads/v7/common/frequency_cap_pb" res = Google::Ads::GoogleAds::V7::Common::FrequencyCapKey.new yield res if block_given? res end
Returns a new instance of function_operand
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Operand::FunctionOperand] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Operand::FunctionOperand] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 689 def self.function_operand require "google/ads/google_ads/v7/common/matching_function_pb" res = Google::Ads::GoogleAds::V7::Common::Operand::FunctionOperand.new yield res if block_given? res end
Returns a new instance of gclid_date_time_pair
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::GclidDateTimePair] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::GclidDateTimePair] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6799 def self.gclid_date_time_pair require "google/ads/google_ads/v7/services/conversion_adjustment_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::GclidDateTimePair.new yield res if block_given? res end
Returns a new instance of gender_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::GenderInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::GenderInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1508 def self.gender_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::GenderInfo.new yield res if block_given? res end
Returns a new instance of gender_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::GenderView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::GenderView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4394 def self.gender_view require "google/ads/google_ads/v7/resources/gender_view_pb" res = Google::Ads::GoogleAds::V7::Resources::GenderView.new yield res if block_given? res end
Returns a new instance of generate_keyword_idea_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::GenerateKeywordIdeaResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::GenerateKeywordIdeaResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6734 def self.generate_keyword_idea_result require "google/ads/google_ads/v7/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V7::Services::GenerateKeywordIdeaResult.new yield res if block_given? res end
Returns a new instance of geo_point_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::GeoPointInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::GeoPointInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1599 def self.geo_point_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::GeoPointInfo.new yield res if block_given? res end
Returns a new instance of geo_target_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::GeoTargetConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::GeoTargetConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 455 def self.geo_target_constant require "google/ads/google_ads/v7/resources/geo_target_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::GeoTargetConstant.new yield res if block_given? res end
Returns a new instance of geo_target_constant_suggestion
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::GeoTargetConstantSuggestion] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::GeoTargetConstantSuggestion] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6305 def self.geo_target_constant_suggestion require "google/ads/google_ads/v7/services/geo_target_constant_service_pb" res = Google::Ads::GoogleAds::V7::Services::GeoTargetConstantSuggestion.new yield res if block_given? res end
Returns a new instance of geo_target_type_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::GeoTargetTypeSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::GeoTargetTypeSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3237 def self.geo_target_type_setting require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::GeoTargetTypeSetting.new yield res if block_given? res end
Returns a new instance of geo_targets
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::SuggestGeoTargetConstantsRequest::GeoTargets] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::SuggestGeoTargetConstantsRequest::GeoTargets] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6292 def self.geo_targets require "google/ads/google_ads/v7/services/geo_target_constant_service_pb" res = Google::Ads::GoogleAds::V7::Services::SuggestGeoTargetConstantsRequest::GeoTargets.new yield res if block_given? res end
Returns a new instance of geographic_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::GeographicView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::GeographicView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4342 def self.geographic_view require "google/ads/google_ads/v7/resources/geographic_view_pb" res = Google::Ads::GoogleAds::V7::Resources::GeographicView.new yield res if block_given? res end
Returns a new instance of gmail_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::GmailAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::GmailAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2093 def self.gmail_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::GmailAdInfo.new yield res if block_given? res end
Returns a new instance of google_ads_error
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::GoogleAdsError] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::GoogleAdsError] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7046 def self.google_ads_error require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::GoogleAdsError.new yield res if block_given? res end
Returns a new instance of google_ads_failure
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::GoogleAdsFailure] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::GoogleAdsFailure] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7033 def self.google_ads_failure require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::GoogleAdsFailure.new yield res if block_given? res end
Returns a new instance of google_ads_field
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::GoogleAdsField] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::GoogleAdsField] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5044 def self.google_ads_field require "google/ads/google_ads/v7/resources/google_ads_field_pb" res = Google::Ads::GoogleAds::V7::Resources::GoogleAdsField.new yield res if block_given? res end
Returns a new instance of google_ads_link_identifier
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::GoogleAdsLinkIdentifier] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::GoogleAdsLinkIdentifier] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4056 def self.google_ads_link_identifier require "google/ads/google_ads/v7/resources/account_link_pb" res = Google::Ads::GoogleAds::V7::Resources::GoogleAdsLinkIdentifier.new yield res if block_given? res end
Returns a new instance of google_ads_row
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::GoogleAdsRow] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::GoogleAdsRow] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6266 def self.google_ads_row require "google/ads/google_ads/v7/services/google_ads_service_pb" res = Google::Ads::GoogleAds::V7::Services::GoogleAdsRow.new yield res if block_given? res end
Returns a new instance of group_placement_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::GroupPlacementView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::GroupPlacementView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4810 def self.group_placement_view require "google/ads/google_ads/v7/resources/group_placement_view_pb" res = Google::Ads::GoogleAds::V7::Resources::GroupPlacementView.new yield res if block_given? res end
Returns a new instance of historical_metrics_options
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HistoricalMetricsOptions] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HistoricalMetricsOptions] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5941 def self.historical_metrics_options require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::HistoricalMetricsOptions.new yield res if block_given? res end
Returns a new instance of hotel_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2041 def self.hotel_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::HotelAdInfo.new yield res if block_given? res end
Returns a new instance of hotel_advance_booking_window_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelAdvanceBookingWindowInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelAdvanceBookingWindowInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1417 def self.hotel_advance_booking_window_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelAdvanceBookingWindowInfo.new yield res if block_given? res end
Returns a new instance of hotel_callout_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelCalloutFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelCalloutFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3575 def self.hotel_callout_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::HotelCalloutFeedItem.new yield res if block_given? res end
Returns a new instance of hotel_check_in_date_range_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelCheckInDateRangeInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelCheckInDateRangeInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1443 def self.hotel_check_in_date_range_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelCheckInDateRangeInfo.new yield res if block_given? res end
Returns a new instance of hotel_check_in_day_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelCheckInDayInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelCheckInDayInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1456 def self.hotel_check_in_day_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelCheckInDayInfo.new yield res if block_given? res end
Returns a new instance of hotel_city_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelCityInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelCityInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1274 def self.hotel_city_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelCityInfo.new yield res if block_given? res end
Returns a new instance of hotel_class_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelClassInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelClassInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1235 def self.hotel_class_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelClassInfo.new yield res if block_given? res end
Returns a new instance of hotel_country_region_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelCountryRegionInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelCountryRegionInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1248 def self.hotel_country_region_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelCountryRegionInfo.new yield res if block_given? res end
Returns a new instance of hotel_date_selection_type_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelDateSelectionTypeInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelDateSelectionTypeInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1404 def self.hotel_date_selection_type_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelDateSelectionTypeInfo.new yield res if block_given? res end
Returns a new instance of hotel_group_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::HotelGroupView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::HotelGroupView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4797 def self.hotel_group_view require "google/ads/google_ads/v7/resources/hotel_group_view_pb" res = Google::Ads::GoogleAds::V7::Resources::HotelGroupView.new yield res if block_given? res end
Returns a new instance of hotel_id_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelIdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelIdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1222 def self.hotel_id_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelIdInfo.new yield res if block_given? res end
Returns a new instance of hotel_length_of_stay_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelLengthOfStayInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelLengthOfStayInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1430 def self.hotel_length_of_stay_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelLengthOfStayInfo.new yield res if block_given? res end
Returns a new instance of hotel_performance_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::HotelPerformanceView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::HotelPerformanceView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 546 def self.hotel_performance_view require "google/ads/google_ads/v7/resources/hotel_performance_view_pb" res = Google::Ads::GoogleAds::V7::Resources::HotelPerformanceView.new yield res if block_given? res end
Returns a new instance of hotel_setting_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::HotelSettingInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::HotelSettingInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3146 def self.hotel_setting_info require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::HotelSettingInfo.new yield res if block_given? res end
Returns a new instance of hotel_state_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::HotelStateInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::HotelStateInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1261 def self.hotel_state_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::HotelStateInfo.new yield res if block_given? res end
Returns a new instance of image_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ImageAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ImageAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2158 def self.image_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ImageAdInfo.new yield res if block_given? res end
Returns a new instance of image_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ImageAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ImageAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3796 def self.image_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::ImageAsset.new yield res if block_given? res end
Returns a new instance of image_dimension
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ImageDimension] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ImageDimension] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3809 def self.image_dimension require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::ImageDimension.new yield res if block_given? res end
Returns a new instance of image_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ImageFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ImageFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3588 def self.image_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::ImageFeedItem.new yield res if block_given? res end
Returns a new instance of income_range_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::IncomeRangeInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::IncomeRangeInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1521 def self.income_range_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::IncomeRangeInfo.new yield res if block_given? res end
Returns a new instance of income_range_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::IncomeRangeView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::IncomeRangeView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 559 def self.income_range_view require "google/ads/google_ads/v7/resources/income_range_view_pb" res = Google::Ads::GoogleAds::V7::Resources::IncomeRangeView.new yield res if block_given? res end
Returns a new instance of interaction_type_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::InteractionTypeInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::InteractionTypeInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1469 def self.interaction_type_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::InteractionTypeInfo.new yield res if block_given? res end
Returns a new instance of invoice, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Invoice] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Invoice] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 611 def self.invoice require "google/ads/google_ads/v7/resources/invoice_pb" res = Google::Ads::GoogleAds::V7::Resources::Invoice.new yield res if block_given? res end
Returns a new instance of ip_block_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::IpBlockInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::IpBlockInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1651 def self.ip_block_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::IpBlockInfo.new yield res if block_given? res end
Returns a new instance of keyword, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Keyword] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Keyword] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5330 def self.keyword require "google/ads/google_ads/v7/common/segments_pb" res = Google::Ads::GoogleAds::V7::Common::Keyword.new yield res if block_given? res end
Returns a new instance of keyword_and_url_seed
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordAndUrlSeed] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordAndUrlSeed] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6682 def self.keyword_and_url_seed require "google/ads/google_ads/v7/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordAndUrlSeed.new yield res if block_given? res end
Returns a new instance of keyword_annotations
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::KeywordAnnotations] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::KeywordAnnotations] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6006 def self.keyword_annotations require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::KeywordAnnotations.new yield res if block_given? res end
Returns a new instance of keyword_concept
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::KeywordConcept] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::KeywordConcept] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6019 def self.keyword_concept require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::KeywordConcept.new yield res if block_given? res end
Returns a new instance of keyword_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::KeywordInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::KeywordInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1092 def self.keyword_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::KeywordInfo.new yield res if block_given? res end
Returns a new instance of keyword_match_type_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::KeywordMatchTypeRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::KeywordMatchTypeRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4667 def self.keyword_match_type_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::KeywordMatchTypeRecommendation.new yield res if block_given? res end
Returns a new instance of keyword_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::KeywordParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::KeywordParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6890 def self.keyword_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::KeywordParameters.new yield res if block_given? res end
Returns a new instance of keyword_plan
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::KeywordPlan] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::KeywordPlan] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5252 def self.keyword_plan require "google/ads/google_ads/v7/resources/keyword_plan_pb" res = Google::Ads::GoogleAds::V7::Resources::KeywordPlan.new yield res if block_given? res end
Returns a new instance of keyword_plan_ad_group
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::KeywordPlanAdGroup] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::KeywordPlanAdGroup] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4264 def self.keyword_plan_ad_group require "google/ads/google_ads/v7/resources/keyword_plan_ad_group_pb" res = Google::Ads::GoogleAds::V7::Resources::KeywordPlanAdGroup.new yield res if block_given? res end
Returns a new instance of keyword_plan_ad_group_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanAdGroupForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanAdGroupForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6071 def self.keyword_plan_ad_group_forecast require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanAdGroupForecast.new yield res if block_given? res end
Returns a new instance of keyword_plan_ad_group_keyword
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::KeywordPlanAdGroupKeyword] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::KeywordPlanAdGroupKeyword] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4693 def self.keyword_plan_ad_group_keyword require "google/ads/google_ads/v7/resources/keyword_plan_ad_group_keyword_pb" res = Google::Ads::GoogleAds::V7::Resources::KeywordPlanAdGroupKeyword.new yield res if block_given? res end
Returns a new instance of keyword_plan_aggregate_metric_results
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::KeywordPlanAggregateMetricResults] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::KeywordPlanAggregateMetricResults] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5980 def self.keyword_plan_aggregate_metric_results require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::KeywordPlanAggregateMetricResults.new yield res if block_given? res end
Returns a new instance of keyword_plan_aggregate_metrics
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::KeywordPlanAggregateMetrics] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::KeywordPlanAggregateMetrics] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5967 def self.keyword_plan_aggregate_metrics require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::KeywordPlanAggregateMetrics.new yield res if block_given? res end
Returns a new instance of keyword_plan_campaign
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::KeywordPlanCampaign] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::KeywordPlanCampaign] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4277 def self.keyword_plan_campaign require "google/ads/google_ads/v7/resources/keyword_plan_campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::KeywordPlanCampaign.new yield res if block_given? res end
Returns a new instance of keyword_plan_campaign_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanCampaignForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanCampaignForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6058 def self.keyword_plan_campaign_forecast require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanCampaignForecast.new yield res if block_given? res end
Returns a new instance of keyword_plan_campaign_forecast_curve
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanCampaignForecastCurve] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanCampaignForecastCurve] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6097 def self.keyword_plan_campaign_forecast_curve require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanCampaignForecastCurve.new yield res if block_given? res end
Returns a new instance of keyword_plan_campaign_keyword
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::KeywordPlanCampaignKeyword] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::KeywordPlanCampaignKeyword] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4836 def self.keyword_plan_campaign_keyword require "google/ads/google_ads/v7/resources/keyword_plan_campaign_keyword_pb" res = Google::Ads::GoogleAds::V7::Resources::KeywordPlanCampaignKeyword.new yield res if block_given? res end
Returns a new instance of keyword_plan_device_searches
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::KeywordPlanDeviceSearches] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::KeywordPlanDeviceSearches] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5993 def self.keyword_plan_device_searches require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::KeywordPlanDeviceSearches.new yield res if block_given? res end
Returns a new instance of keyword_plan_forecast_period
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::KeywordPlanForecastPeriod] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::KeywordPlanForecastPeriod] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5265 def self.keyword_plan_forecast_period require "google/ads/google_ads/v7/resources/keyword_plan_pb" res = Google::Ads::GoogleAds::V7::Resources::KeywordPlanForecastPeriod.new yield res if block_given? res end
Returns a new instance of keyword_plan_geo_target
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::KeywordPlanGeoTarget] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::KeywordPlanGeoTarget] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4290 def self.keyword_plan_geo_target require "google/ads/google_ads/v7/resources/keyword_plan_campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::KeywordPlanGeoTarget.new yield res if block_given? res end
Returns a new instance of keyword_plan_historical_metrics
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::KeywordPlanHistoricalMetrics] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::KeywordPlanHistoricalMetrics] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5928 def self.keyword_plan_historical_metrics require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::KeywordPlanHistoricalMetrics.new yield res if block_given? res end
Returns a new instance of keyword_plan_keyword_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanKeywordForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanKeywordForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6084 def self.keyword_plan_keyword_forecast require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanKeywordForecast.new yield res if block_given? res end
Returns a new instance of keyword_plan_keyword_historical_metrics
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanKeywordHistoricalMetrics] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanKeywordHistoricalMetrics] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6175 def self.keyword_plan_keyword_historical_metrics require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanKeywordHistoricalMetrics.new yield res if block_given? res end
Returns a new instance of keyword_plan_max_cpc_bid_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanMaxCpcBidForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanMaxCpcBidForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6123 def self.keyword_plan_max_cpc_bid_forecast require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanMaxCpcBidForecast.new yield res if block_given? res end
Returns a new instance of keyword_plan_max_cpc_bid_forecast_curve
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanMaxCpcBidForecastCurve] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanMaxCpcBidForecastCurve] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6110 def self.keyword_plan_max_cpc_bid_forecast_curve require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanMaxCpcBidForecastCurve.new yield res if block_given? res end
Returns a new instance of keyword_plan_weekly_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanWeeklyForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanWeeklyForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6149 def self.keyword_plan_weekly_forecast require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanWeeklyForecast.new yield res if block_given? res end
Returns a new instance of keyword_plan_weekly_time_series_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordPlanWeeklyTimeSeriesForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordPlanWeeklyTimeSeriesForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6136 def self.keyword_plan_weekly_time_series_forecast require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordPlanWeeklyTimeSeriesForecast.new yield res if block_given? res end
Returns a new instance of keyword_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::KeywordRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::KeywordRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4485 def self.keyword_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::KeywordRecommendation.new yield res if block_given? res end
Returns a new instance of keyword_seed
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::KeywordSeed] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::KeywordSeed] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6695 def self.keyword_seed require "google/ads/google_ads/v7/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V7::Services::KeywordSeed.new yield res if block_given? res end
Returns a new instance of keyword_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::KeywordView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::KeywordView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4329 def self.keyword_view require "google/ads/google_ads/v7/resources/keyword_view_pb" res = Google::Ads::GoogleAds::V7::Resources::KeywordView.new yield res if block_given? res end
Returns a new instance of label, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Label] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Label] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4784 def self.label require "google/ads/google_ads/v7/resources/label_pb" res = Google::Ads::GoogleAds::V7::Resources::Label.new yield res if block_given? res end
Returns a new instance of landing_page_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::LandingPageView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::LandingPageView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5096 def self.landing_page_view require "google/ads/google_ads/v7/resources/landing_page_view_pb" res = Google::Ads::GoogleAds::V7::Resources::LandingPageView.new yield res if block_given? res end
Returns a new instance of language_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::LanguageConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::LanguageConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4875 def self.language_constant require "google/ads/google_ads/v7/resources/language_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::LanguageConstant.new yield res if block_given? res end
Returns a new instance of language_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LanguageInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LanguageInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1638 def self.language_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::LanguageInfo.new yield res if block_given? res end
Returns a new instance of lead_form_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LeadFormAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LeadFormAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3835 def self.lead_form_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::LeadFormAsset.new yield res if block_given? res end
Returns a new instance of lead_form_delivery_method
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LeadFormDeliveryMethod] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LeadFormDeliveryMethod] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3874 def self.lead_form_delivery_method require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::LeadFormDeliveryMethod.new yield res if block_given? res end
Returns a new instance of lead_form_field
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LeadFormField] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LeadFormField] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3848 def self.lead_form_field require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::LeadFormField.new yield res if block_given? res end
Returns a new instance of lead_form_single_choice_answers
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LeadFormSingleChoiceAnswers] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LeadFormSingleChoiceAnswers] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3861 def self.lead_form_single_choice_answers require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::LeadFormSingleChoiceAnswers.new yield res if block_given? res end
Returns a new instance of legacy_app_install_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LegacyAppInstallAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LegacyAppInstallAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2314 def self.legacy_app_install_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::LegacyAppInstallAdInfo.new yield res if block_given? res end
Returns a new instance of legacy_responsive_display_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LegacyResponsiveDisplayAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LegacyResponsiveDisplayAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2275 def self.legacy_responsive_display_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::LegacyResponsiveDisplayAdInfo.new yield res if block_given? res end
Returns a new instance of life_event
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::LifeEvent] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::LifeEvent] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 52 def self.life_event require "google/ads/google_ads/v7/resources/life_event_pb" res = Google::Ads::GoogleAds::V7::Resources::LifeEvent.new yield res if block_given? res end
Returns a new instance of listing_dimension_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ListingDimensionInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ListingDimensionInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1209 def self.listing_dimension_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ListingDimensionInfo.new yield res if block_given? res end
Returns a new instance of listing_group_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ListingGroupInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ListingGroupInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1183 def self.listing_group_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ListingGroupInfo.new yield res if block_given? res end
Returns a new instance of listing_scope_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ListingScopeInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ListingScopeInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1196 def self.listing_scope_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ListingScopeInfo.new yield res if block_given? res end
Returns a new instance of local_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LocalAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LocalAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2340 def self.local_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::LocalAdInfo.new yield res if block_given? res end
Returns a new instance of local_campaign_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::LocalCampaignSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::LocalCampaignSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3159 def self.local_campaign_setting require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::LocalCampaignSetting.new yield res if block_given? res end
Returns a new instance of location_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LocationFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LocationFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3471 def self.location_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::LocationFeedItem.new yield res if block_given? res end
Returns a new instance of location_group_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LocationGroupInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LocationGroupInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1807 def self.location_group_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::LocationGroupInfo.new yield res if block_given? res end
Returns a new instance of location_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LocationInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LocationInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1144 def self.location_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::LocationInfo.new yield res if block_given? res end
Returns a new instance of location_names
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::SuggestGeoTargetConstantsRequest::LocationNames] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::SuggestGeoTargetConstantsRequest::LocationNames] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6279 def self.location_names require "google/ads/google_ads/v7/services/geo_target_constant_service_pb" res = Google::Ads::GoogleAds::V7::Services::SuggestGeoTargetConstantsRequest::LocationNames.new yield res if block_given? res end
Returns a new instance of location_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::LocationView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::LocationView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4862 def self.location_view require "google/ads/google_ads/v7/resources/location_view_pb" res = Google::Ads::GoogleAds::V7::Resources::LocationView.new yield res if block_given? res end
Returns a new instance of logical_user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LogicalUserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LogicalUserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2873 def self.logical_user_list_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::LogicalUserListInfo.new yield res if block_given? res end
Returns a new instance of logical_user_list_operand_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::LogicalUserListOperandInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::LogicalUserListOperandInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2899 def self.logical_user_list_operand_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::LogicalUserListOperandInfo.new yield res if block_given? res end
Returns a new instance of managed_placement_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ManagedPlacementView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ManagedPlacementView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2678 def self.managed_placement_view require "google/ads/google_ads/v7/resources/managed_placement_view_pb" res = Google::Ads::GoogleAds::V7::Resources::ManagedPlacementView.new yield res if block_given? res end
Returns a new instance of manual_cpc
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ManualCpc] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ManualCpc] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2483 def self.manual_cpc require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::ManualCpc.new yield res if block_given? res end
Returns a new instance of manual_cpm
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ManualCpm] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ManualCpm] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2496 def self.manual_cpm require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::ManualCpm.new yield res if block_given? res end
Returns a new instance of manual_cpv
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ManualCpv] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ManualCpv] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2509 def self.manual_cpv require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::ManualCpv.new yield res if block_given? res end
Returns a new instance of matching_function
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::MatchingFunction] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::MatchingFunction] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 637 def self.matching_function require "google/ads/google_ads/v7/common/matching_function_pb" res = Google::Ads::GoogleAds::V7::Common::MatchingFunction.new yield res if block_given? res end
Returns a new instance of maximize_clicks_opt_in_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::MaximizeClicksOptInRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::MaximizeClicksOptInRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4511 def self.maximize_clicks_opt_in_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::MaximizeClicksOptInRecommendation.new yield res if block_given? res end
Returns a new instance of maximize_conversion_value
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::MaximizeConversionValue] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::MaximizeConversionValue] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2535 def self.maximize_conversion_value require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::MaximizeConversionValue.new yield res if block_given? res end
Returns a new instance of maximize_conversions
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::MaximizeConversions] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::MaximizeConversions] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2522 def self.maximize_conversions require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::MaximizeConversions.new yield res if block_given? res end
Returns a new instance of maximize_conversions_opt_in_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::MaximizeConversionsOptInRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::MaximizeConversionsOptInRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4563 def self.maximize_conversions_opt_in_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::MaximizeConversionsOptInRecommendation.new yield res if block_given? res end
Returns a new instance of media_audio
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::MediaAudio] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::MediaAudio] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4121 def self.media_audio require "google/ads/google_ads/v7/resources/media_file_pb" res = Google::Ads::GoogleAds::V7::Resources::MediaAudio.new yield res if block_given? res end
Returns a new instance of media_bundle
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::MediaBundle] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::MediaBundle] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4108 def self.media_bundle require "google/ads/google_ads/v7/resources/media_file_pb" res = Google::Ads::GoogleAds::V7::Resources::MediaBundle.new yield res if block_given? res end
Returns a new instance of media_bundle_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::MediaBundleAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::MediaBundleAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3783 def self.media_bundle_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::MediaBundleAsset.new yield res if block_given? res end
Returns a new instance of media_file
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::MediaFile] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::MediaFile] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4082 def self.media_file require "google/ads/google_ads/v7/resources/media_file_pb" res = Google::Ads::GoogleAds::V7::Resources::MediaFile.new yield res if block_given? res end
Returns a new instance of media_image
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::MediaImage] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::MediaImage] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4095 def self.media_image require "google/ads/google_ads/v7/resources/media_file_pb" res = Google::Ads::GoogleAds::V7::Resources::MediaImage.new yield res if block_given? res end
Returns a new instance of media_video
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::MediaVideo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::MediaVideo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4134 def self.media_video require "google/ads/google_ads/v7/resources/media_file_pb" res = Google::Ads::GoogleAds::V7::Resources::MediaVideo.new yield res if block_given? res end
Returns a new instance of merchant_center_link
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::MerchantCenterLink] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::MerchantCenterLink] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3354 def self.merchant_center_link require "google/ads/google_ads/v7/resources/merchant_center_link_pb" res = Google::Ads::GoogleAds::V7::Resources::MerchantCenterLink.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::V7::Common::Metrics] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Metrics] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5304 def self.metrics require "google/ads/google_ads/v7/common/metrics_pb" res = Google::Ads::GoogleAds::V7::Common::Metrics.new yield res if block_given? res end
Returns a new instance of mobile_app_category_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::MobileAppCategoryConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::MobileAppCategoryConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5057 def self.mobile_app_category_constant require "google/ads/google_ads/v7/resources/mobile_app_category_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::MobileAppCategoryConstant.new yield res if block_given? res end
Returns a new instance of mobile_app_category_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::MobileAppCategoryInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::MobileAppCategoryInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1118 def self.mobile_app_category_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::MobileAppCategoryInfo.new yield res if block_given? res end
Returns a new instance of mobile_application_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::MobileApplicationInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::MobileApplicationInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1131 def self.mobile_application_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::MobileApplicationInfo.new yield res if block_given? res end
Returns a new instance of mobile_device_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::MobileDeviceConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::MobileDeviceConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 351 def self.mobile_device_constant require "google/ads/google_ads/v7/resources/mobile_device_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::MobileDeviceConstant.new yield res if block_given? res end
Returns a new instance of mobile_device_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::MobileDeviceInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::MobileDeviceInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1768 def self.mobile_device_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::MobileDeviceInfo.new yield res if block_given? res end
Returns a new instance of money, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Money] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Money] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 117 def self.money require "google/ads/google_ads/v7/common/feed_common_pb" res = Google::Ads::GoogleAds::V7::Common::Money.new yield res if block_given? res end
Returns a new instance of monthly_search_volume
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::MonthlySearchVolume] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::MonthlySearchVolume] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5954 def self.monthly_search_volume require "google/ads/google_ads/v7/common/keyword_plan_common_pb" res = Google::Ads::GoogleAds::V7::Common::MonthlySearchVolume.new yield res if block_given? res end
Returns a new instance of move_unused_budget_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::MoveUnusedBudgetParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::MoveUnusedBudgetParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6968 def self.move_unused_budget_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::MoveUnusedBudgetParameters.new yield res if block_given? res end
Returns a new instance of move_unused_budget_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::MoveUnusedBudgetRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::MoveUnusedBudgetRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4680 def self.move_unused_budget_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::MoveUnusedBudgetRecommendation.new yield res if block_given? res end
Returns a new instance of mutate_account_budget_proposal_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAccountBudgetProposalResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAccountBudgetProposalResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6344 def self.mutate_account_budget_proposal_result require "google/ads/google_ads/v7/services/account_budget_proposal_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAccountBudgetProposalResult.new yield res if block_given? res end
Returns a new instance of mutate_account_link_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAccountLinkResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAccountLinkResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6669 def self.mutate_account_link_result require "google/ads/google_ads/v7/services/account_link_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAccountLinkResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_ad_label_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupAdLabelResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupAdLabelResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5356 def self.mutate_ad_group_ad_label_result require "google/ads/google_ads/v7/services/ad_group_ad_label_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupAdLabelResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_ad_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupAdResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupAdResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5369 def self.mutate_ad_group_ad_result require "google/ads/google_ads/v7/services/ad_group_ad_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupAdResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_asset_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupAssetResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupAssetResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5382 def self.mutate_ad_group_asset_result require "google/ads/google_ads/v7/services/ad_group_asset_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupAssetResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_bid_modifier_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupBidModifierResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupBidModifierResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5395 def self.mutate_ad_group_bid_modifier_result require "google/ads/google_ads/v7/services/ad_group_bid_modifier_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupBidModifierResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_criterion_label_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupCriterionLabelResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupCriterionLabelResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5408 def self.mutate_ad_group_criterion_label_result require "google/ads/google_ads/v7/services/ad_group_criterion_label_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupCriterionLabelResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_criterion_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupCriterionResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupCriterionResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5421 def self.mutate_ad_group_criterion_result require "google/ads/google_ads/v7/services/ad_group_criterion_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupCriterionResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_extension_setting_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupExtensionSettingResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupExtensionSettingResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5434 def self.mutate_ad_group_extension_setting_result require "google/ads/google_ads/v7/services/ad_group_extension_setting_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupExtensionSettingResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_feed_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupFeedResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupFeedResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5447 def self.mutate_ad_group_feed_result require "google/ads/google_ads/v7/services/ad_group_feed_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupFeedResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_label_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupLabelResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupLabelResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5460 def self.mutate_ad_group_label_result require "google/ads/google_ads/v7/services/ad_group_label_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupLabelResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_group_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdGroupResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdGroupResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5473 def self.mutate_ad_group_result require "google/ads/google_ads/v7/services/ad_group_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdGroupResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_parameter_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdParameterResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdParameterResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5486 def self.mutate_ad_parameter_result require "google/ads/google_ads/v7/services/ad_parameter_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdParameterResult.new yield res if block_given? res end
Returns a new instance of mutate_ad_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAdResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAdResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5499 def self.mutate_ad_result require "google/ads/google_ads/v7/services/ad_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAdResult.new yield res if block_given? res end
Returns a new instance of mutate_asset_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateAssetResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateAssetResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5512 def self.mutate_asset_result require "google/ads/google_ads/v7/services/asset_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateAssetResult.new yield res if block_given? res end
Returns a new instance of mutate_batch_job_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateBatchJobResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateBatchJobResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6318 def self.mutate_batch_job_result require "google/ads/google_ads/v7/services/batch_job_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateBatchJobResult.new yield res if block_given? res end
Returns a new instance of mutate_bidding_strategy_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateBiddingStrategyResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateBiddingStrategyResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5525 def self.mutate_bidding_strategy_result require "google/ads/google_ads/v7/services/bidding_strategy_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateBiddingStrategyResult.new yield res if block_given? res end
Returns a new instance of mutate_billing_setup_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateBillingSetupResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateBillingSetupResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6357 def self.mutate_billing_setup_result require "google/ads/google_ads/v7/services/billing_setup_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateBillingSetupResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_asset_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignAssetResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignAssetResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5538 def self.mutate_campaign_asset_result require "google/ads/google_ads/v7/services/campaign_asset_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignAssetResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_bid_modifier_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignBidModifierResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignBidModifierResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5551 def self.mutate_campaign_bid_modifier_result require "google/ads/google_ads/v7/services/campaign_bid_modifier_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignBidModifierResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_budget_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignBudgetResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignBudgetResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5564 def self.mutate_campaign_budget_result require "google/ads/google_ads/v7/services/campaign_budget_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignBudgetResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_criterion_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignCriterionResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignCriterionResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5291 def self.mutate_campaign_criterion_result require "google/ads/google_ads/v7/services/campaign_criterion_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignCriterionResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_draft_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignDraftResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignDraftResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5577 def self.mutate_campaign_draft_result require "google/ads/google_ads/v7/services/campaign_draft_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignDraftResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_experiment_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignExperimentResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignExperimentResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5590 def self.mutate_campaign_experiment_result require "google/ads/google_ads/v7/services/campaign_experiment_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignExperimentResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_extension_setting_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignExtensionSettingResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignExtensionSettingResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5616 def self.mutate_campaign_extension_setting_result require "google/ads/google_ads/v7/services/campaign_extension_setting_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignExtensionSettingResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_feed_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignFeedResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignFeedResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5629 def self.mutate_campaign_feed_result require "google/ads/google_ads/v7/services/campaign_feed_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignFeedResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_label_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignLabelResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignLabelResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5642 def self.mutate_campaign_label_result require "google/ads/google_ads/v7/services/campaign_label_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignLabelResult.new yield res if block_given? res end
Returns a new instance of mutate_campaign_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCampaignResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCampaignResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5655 def self.mutate_campaign_result require "google/ads/google_ads/v7/services/campaign_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCampaignResult.new yield res if block_given? res end
Returns a new instance of mutate_conversion_action_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateConversionActionResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateConversionActionResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5681 def self.mutate_conversion_action_result require "google/ads/google_ads/v7/services/conversion_action_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateConversionActionResult.new yield res if block_given? res end
Returns a new instance of mutate_conversion_custom_variable_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateConversionCustomVariableResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateConversionCustomVariableResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5694 def self.mutate_conversion_custom_variable_result require "google/ads/google_ads/v7/services/conversion_custom_variable_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateConversionCustomVariableResult.new yield res if block_given? res end
Returns a new instance of mutate_custom_audience_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomAudienceResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomAudienceResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6838 def self.mutate_custom_audience_result require "google/ads/google_ads/v7/services/custom_audience_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomAudienceResult.new yield res if block_given? res end
Returns a new instance of mutate_custom_interest_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomInterestResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomInterestResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6851 def self.mutate_custom_interest_result require "google/ads/google_ads/v7/services/custom_interest_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomInterestResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_asset_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerAssetResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerAssetResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5707 def self.mutate_customer_asset_result require "google/ads/google_ads/v7/services/customer_asset_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerAssetResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_client_link_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerClientLinkResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerClientLinkResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6656 def self.mutate_customer_client_link_result require "google/ads/google_ads/v7/services/customer_client_link_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerClientLinkResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_extension_setting_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerExtensionSettingResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerExtensionSettingResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5720 def self.mutate_customer_extension_setting_result require "google/ads/google_ads/v7/services/customer_extension_setting_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerExtensionSettingResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_feed_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerFeedResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerFeedResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5733 def self.mutate_customer_feed_result require "google/ads/google_ads/v7/services/customer_feed_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerFeedResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_label_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerLabelResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerLabelResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5746 def self.mutate_customer_label_result require "google/ads/google_ads/v7/services/customer_label_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerLabelResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_manager_link_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerManagerLinkResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerManagerLinkResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6747 def self.mutate_customer_manager_link_result require "google/ads/google_ads/v7/services/customer_manager_link_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerManagerLinkResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_negative_criteria_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerNegativeCriteriaResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerNegativeCriteriaResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5759 def self.mutate_customer_negative_criteria_result require "google/ads/google_ads/v7/services/customer_negative_criterion_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerNegativeCriteriaResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5772 def self.mutate_customer_result require "google/ads/google_ads/v7/services/customer_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_user_access_invitation_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerUserAccessInvitationResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerUserAccessInvitationResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6643 def self.mutate_customer_user_access_invitation_result require "google/ads/google_ads/v7/services/customer_user_access_invitation_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerUserAccessInvitationResult.new yield res if block_given? res end
Returns a new instance of mutate_customer_user_access_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateCustomerUserAccessResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateCustomerUserAccessResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6760 def self.mutate_customer_user_access_result require "google/ads/google_ads/v7/services/customer_user_access_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateCustomerUserAccessResult.new yield res if block_given? res end
Returns a new instance of mutate_extension_feed_item_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateExtensionFeedItemResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateExtensionFeedItemResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5785 def self.mutate_extension_feed_item_result require "google/ads/google_ads/v7/services/extension_feed_item_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateExtensionFeedItemResult.new yield res if block_given? res end
Returns a new instance of mutate_feed_item_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateFeedItemResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateFeedItemResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5798 def self.mutate_feed_item_result require "google/ads/google_ads/v7/services/feed_item_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateFeedItemResult.new yield res if block_given? res end
Returns a new instance of mutate_feed_item_set_link_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateFeedItemSetLinkResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateFeedItemSetLinkResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5811 def self.mutate_feed_item_set_link_result require "google/ads/google_ads/v7/services/feed_item_set_link_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateFeedItemSetLinkResult.new yield res if block_given? res end
Returns a new instance of mutate_feed_item_set_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateFeedItemSetResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateFeedItemSetResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5824 def self.mutate_feed_item_set_result require "google/ads/google_ads/v7/services/feed_item_set_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateFeedItemSetResult.new yield res if block_given? res end
Returns a new instance of mutate_feed_item_target_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateFeedItemTargetResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateFeedItemTargetResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5837 def self.mutate_feed_item_target_result require "google/ads/google_ads/v7/services/feed_item_target_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateFeedItemTargetResult.new yield res if block_given? res end
Returns a new instance of mutate_feed_mapping_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateFeedMappingResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateFeedMappingResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5850 def self.mutate_feed_mapping_result require "google/ads/google_ads/v7/services/feed_mapping_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateFeedMappingResult.new yield res if block_given? res end
Returns a new instance of mutate_feed_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateFeedResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateFeedResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5863 def self.mutate_feed_result require "google/ads/google_ads/v7/services/feed_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateFeedResult.new yield res if block_given? res end
Returns a new instance of mutate_keyword_plan_ad_group_keyword_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanAdGroupKeywordResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanAdGroupKeywordResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5876 def self.mutate_keyword_plan_ad_group_keyword_result require "google/ads/google_ads/v7/services/keyword_plan_ad_group_keyword_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanAdGroupKeywordResult.new yield res if block_given? res end
Returns a new instance of mutate_keyword_plan_ad_group_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanAdGroupResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanAdGroupResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5889 def self.mutate_keyword_plan_ad_group_result require "google/ads/google_ads/v7/services/keyword_plan_ad_group_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanAdGroupResult.new yield res if block_given? res end
Returns a new instance of mutate_keyword_plan_campaign_keyword_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanCampaignKeywordResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanCampaignKeywordResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5902 def self.mutate_keyword_plan_campaign_keyword_result require "google/ads/google_ads/v7/services/keyword_plan_campaign_keyword_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanCampaignKeywordResult.new yield res if block_given? res end
Returns a new instance of mutate_keyword_plan_campaign_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanCampaignResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanCampaignResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5915 def self.mutate_keyword_plan_campaign_result require "google/ads/google_ads/v7/services/keyword_plan_campaign_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateKeywordPlanCampaignResult.new yield res if block_given? res end
Returns a new instance of mutate_keyword_plans_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlansResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateKeywordPlansResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6045 def self.mutate_keyword_plans_result require "google/ads/google_ads/v7/services/keyword_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateKeywordPlansResult.new yield res if block_given? res end
Returns a new instance of mutate_label_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateLabelResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateLabelResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6188 def self.mutate_label_result require "google/ads/google_ads/v7/services/label_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateLabelResult.new yield res if block_given? res end
Returns a new instance of mutate_media_file_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateMediaFileResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateMediaFileResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6201 def self.mutate_media_file_result require "google/ads/google_ads/v7/services/media_file_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateMediaFileResult.new yield res if block_given? res end
Returns a new instance of mutate_merchant_center_link_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateMerchantCenterLinkResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateMerchantCenterLinkResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6825 def self.mutate_merchant_center_link_result require "google/ads/google_ads/v7/services/merchant_center_link_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateMerchantCenterLinkResult.new yield res if block_given? res end
Returns a new instance of mutate_remarketing_action_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateRemarketingActionResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateRemarketingActionResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6214 def self.mutate_remarketing_action_result require "google/ads/google_ads/v7/services/remarketing_action_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateRemarketingActionResult.new yield res if block_given? res end
Returns a new instance of mutate_user_list_result
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::MutateUserListResult] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::MutateUserListResult] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6253 def self.mutate_user_list_result require "google/ads/google_ads/v7/services/user_list_service_pb" res = Google::Ads::GoogleAds::V7::Services::MutateUserListResult.new yield res if block_given? res end
Returns a new instance of network_settings
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::NetworkSettings] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::NetworkSettings] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3133 def self.network_settings require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::NetworkSettings.new yield res if block_given? res end
Returns a new instance of o_auth_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Feed::PlacesLocationFeedData::OAuthInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Feed::PlacesLocationFeedData::OAuthInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 806 def self.o_auth_info require "google/ads/google_ads/v7/resources/feed_pb" res = Google::Ads::GoogleAds::V7::Resources::Feed::PlacesLocationFeedData::OAuthInfo.new yield res if block_given? res end
Returns a new instance of offline_user_address_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::OfflineUserAddressInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::OfflineUserAddressInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3627 def self.offline_user_address_info require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::OfflineUserAddressInfo.new yield res if block_given? res end
Returns a new instance of offline_user_data_job
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::OfflineUserDataJob] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::OfflineUserDataJob] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3744 def self.offline_user_data_job require "google/ads/google_ads/v7/resources/offline_user_data_job_pb" res = Google::Ads::GoogleAds::V7::Resources::OfflineUserDataJob.new yield res if block_given? res end
Returns a new instance of on_target_audience_metrics
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::OnTargetAudienceMetrics] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::OnTargetAudienceMetrics] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6630 def self.on_target_audience_metrics require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::OnTargetAudienceMetrics.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::V7::Common::Operand] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Operand] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 650 def self.operand require "google/ads/google_ads/v7/common/matching_function_pb" res = Google::Ads::GoogleAds::V7::Common::Operand.new yield res if block_given? res end
Returns a new instance of operating_system_version_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::OperatingSystemVersionConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::OperatingSystemVersionConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5161 def self.operating_system_version_constant require "google/ads/google_ads/v7/resources/operating_system_version_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::OperatingSystemVersionConstant.new yield res if block_given? res end
Returns a new instance of operating_system_version_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::OperatingSystemVersionInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::OperatingSystemVersionInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1742 def self.operating_system_version_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::OperatingSystemVersionInfo.new yield res if block_given? res end
Returns a new instance of optimization_goal_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::OptimizationGoalSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::OptimizationGoalSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3224 def self.optimization_goal_setting require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::OptimizationGoalSetting.new yield res if block_given? res end
Returns a new instance of optimize_ad_rotation_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::OptimizeAdRotationRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::OptimizeAdRotationRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4576 def self.optimize_ad_rotation_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::OptimizeAdRotationRecommendation.new yield res if block_given? res end
Returns a new instance of paid_organic_search_term_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::PaidOrganicSearchTermView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::PaidOrganicSearchTermView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4381 def self.paid_organic_search_term_view require "google/ads/google_ads/v7/resources/paid_organic_search_term_view_pb" res = Google::Ads::GoogleAds::V7::Resources::PaidOrganicSearchTermView.new yield res if block_given? res end
Returns a new instance of parental_status_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ParentalStatusInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ParentalStatusInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1534 def self.parental_status_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ParentalStatusInfo.new yield res if block_given? res end
Returns a new instance of parental_status_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ParentalStatusView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ParentalStatusView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4004 def self.parental_status_view require "google/ads/google_ads/v7/resources/parental_status_view_pb" res = Google::Ads::GoogleAds::V7::Resources::ParentalStatusView.new yield res if block_given? res end
Returns a new instance of payments_account
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::PaymentsAccount] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::PaymentsAccount] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2691 def self.payments_account require "google/ads/google_ads/v7/resources/payments_account_pb" res = Google::Ads::GoogleAds::V7::Resources::PaymentsAccount.new yield res if block_given? res end
Returns a new instance of payments_account_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::BillingSetup::PaymentsAccountInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::BillingSetup::PaymentsAccountInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1898 def self.payments_account_info require "google/ads/google_ads/v7/resources/billing_setup_pb" res = Google::Ads::GoogleAds::V7::Resources::BillingSetup::PaymentsAccountInfo.new yield res if block_given? res end
Returns a new instance of pending_account_budget_proposal
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AccountBudget::PendingAccountBudgetProposal] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AccountBudget::PendingAccountBudgetProposal] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5122 def self.pending_account_budget_proposal require "google/ads/google_ads/v7/resources/account_budget_pb" res = Google::Ads::GoogleAds::V7::Resources::AccountBudget::PendingAccountBudgetProposal.new yield res if block_given? res end
Returns a new instance of percent_cpc
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PercentCpc] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PercentCpc] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2613 def self.percent_cpc require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::PercentCpc.new yield res if block_given? res end
Returns a new instance of percent_cpc_bid_simulation_point
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PercentCpcBidSimulationPoint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PercentCpcBidSimulationPoint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1014 def self.percent_cpc_bid_simulation_point require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::PercentCpcBidSimulationPoint.new yield res if block_given? res end
Returns a new instance of percent_cpc_bid_simulation_point_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PercentCpcBidSimulationPointList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PercentCpcBidSimulationPointList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 910 def self.percent_cpc_bid_simulation_point_list require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::PercentCpcBidSimulationPointList.new yield res if block_given? res end
Returns a new instance of placement_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PlacementInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PlacementInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1105 def self.placement_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::PlacementInfo.new yield res if block_given? res end
Returns a new instance of places_location_feed_data
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Feed::PlacesLocationFeedData] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Feed::PlacesLocationFeedData] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 793 def self.places_location_feed_data require "google/ads/google_ads/v7/resources/feed_pb" res = Google::Ads::GoogleAds::V7::Resources::Feed::PlacesLocationFeedData.new yield res if block_given? res end
Returns a new instance of plannable_location
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::PlannableLocation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::PlannableLocation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6448 def self.plannable_location require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::PlannableLocation.new yield res if block_given? res end
Returns a new instance of plannable_targeting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::PlannableTargeting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::PlannableTargeting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6474 def self.plannable_targeting require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::PlannableTargeting.new yield res if block_given? res end
Returns a new instance of planned_product
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::PlannedProduct] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::PlannedProduct] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6552 def self.planned_product require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::PlannedProduct.new yield res if block_given? res end
Returns a new instance of planned_product_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::PlannedProductForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::PlannedProductForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6617 def self.planned_product_forecast require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::PlannedProductForecast.new yield res if block_given? res end
Returns a new instance of planned_product_reach_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::PlannedProductReachForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::PlannedProductReachForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6604 def self.planned_product_reach_forecast require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::PlannedProductReachForecast.new yield res if block_given? res end
Returns a new instance of policy_finding_details
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::PolicyFindingDetails] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::PolicyFindingDetails] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7124 def self.policy_finding_details require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::PolicyFindingDetails.new yield res if block_given? res end
Returns a new instance of policy_topic_constraint
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 247 def self.policy_topic_constraint require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint.new yield res if block_given? res end
Returns a new instance of policy_topic_entry
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicEntry] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicEntry] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 156 def self.policy_topic_entry require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicEntry.new yield res if block_given? res end
Returns a new instance of policy_topic_evidence
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 169 def self.policy_topic_evidence require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence.new yield res if block_given? res end
Returns a new instance of policy_validation_parameter
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyValidationParameter] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyValidationParameter] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 143 def self.policy_validation_parameter require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyValidationParameter.new yield res if block_given? res end
Returns a new instance of policy_violation_details
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::PolicyViolationDetails] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::PolicyViolationDetails] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7111 def self.policy_violation_details require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::PolicyViolationDetails.new yield res if block_given? res end
Returns a new instance of policy_violation_key
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyViolationKey] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyViolationKey] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 130 def self.policy_violation_key require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyViolationKey.new yield res if block_given? res end
Returns a new instance of position_estimates
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion::PositionEstimates] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion::PositionEstimates] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3068 def self.position_estimates require "google/ads/google_ads/v7/resources/ad_group_criterion_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion::PositionEstimates.new yield res if block_given? res end
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::V7::Services::Preferences] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::Preferences] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6487 def self.preferences require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::Preferences.new yield res if block_given? res end
Returns a new instance of preferred_content_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PreferredContentInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PreferredContentInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1170 def self.preferred_content_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::PreferredContentInfo.new yield res if block_given? res end
Returns a new instance of price_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PriceFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PriceFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3510 def self.price_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::PriceFeedItem.new yield res if block_given? res end
Returns a new instance of price_offer
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PriceOffer] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PriceOffer] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3523 def self.price_offer require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::PriceOffer.new yield res if block_given? res end
Returns a new instance of product_allocation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ProductAllocation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ProductAllocation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6500 def self.product_allocation require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::ProductAllocation.new yield res if block_given? res end
Returns a new instance of product_bidding_category_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ProductBiddingCategoryConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ProductBiddingCategoryConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3341 def self.product_bidding_category_constant require "google/ads/google_ads/v7/resources/product_bidding_category_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::ProductBiddingCategoryConstant.new yield res if block_given? res end
Returns a new instance of product_bidding_category_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductBiddingCategoryInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductBiddingCategoryInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1287 def self.product_bidding_category_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProductBiddingCategoryInfo.new yield res if block_given? res end
Returns a new instance of product_brand_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductBrandInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductBrandInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1300 def self.product_brand_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProductBrandInfo.new yield res if block_given? res end
Returns a new instance of product_channel_exclusivity_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductChannelExclusivityInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductChannelExclusivityInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1326 def self.product_channel_exclusivity_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProductChannelExclusivityInfo.new yield res if block_given? res end
Returns a new instance of product_channel_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductChannelInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductChannelInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1313 def self.product_channel_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProductChannelInfo.new yield res if block_given? res end
Returns a new instance of product_condition_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductConditionInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductConditionInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1339 def self.product_condition_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProductConditionInfo.new yield res if block_given? res end
Returns a new instance of product_custom_attribute_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductCustomAttributeInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductCustomAttributeInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1352 def self.product_custom_attribute_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProductCustomAttributeInfo.new yield res if block_given? res end
Returns a new instance of product_group_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ProductGroupView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ProductGroupView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1066 def self.product_group_view require "google/ads/google_ads/v7/resources/product_group_view_pb" res = Google::Ads::GoogleAds::V7::Resources::ProductGroupView.new yield res if block_given? res end
Returns a new instance of product_image
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductImage] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductImage] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2132 def self.product_image require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ProductImage.new yield res if block_given? res end
Returns a new instance of product_item_id_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductItemIdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductItemIdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1365 def self.product_item_id_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProductItemIdInfo.new yield res if block_given? res end
Returns a new instance of product_metadata
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ProductMetadata] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ProductMetadata] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6461 def self.product_metadata require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::ProductMetadata.new yield res if block_given? res end
Returns a new instance of product_type_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductTypeInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductTypeInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1378 def self.product_type_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProductTypeInfo.new yield res if block_given? res end
Returns a new instance of product_video
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProductVideo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProductVideo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2145 def self.product_video require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ProductVideo.new yield res if block_given? res end
Returns a new instance of promotion_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PromotionAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PromotionAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3913 def self.promotion_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::PromotionAsset.new yield res if block_given? res end
Returns a new instance of promotion_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PromotionFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PromotionFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3536 def self.promotion_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::PromotionFeedItem.new yield res if block_given? res end
Returns a new instance of proximity_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ProximityInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ProximityInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1586 def self.proximity_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::ProximityInfo.new yield res if block_given? res end
Returns a new instance of quality_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion::QualityInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion::QualityInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3055 def self.quality_info require "google/ads/google_ads/v7/resources/ad_group_criterion_pb" res = Google::Ads::GoogleAds::V7::Resources::AdGroupCriterion::QualityInfo.new yield res if block_given? res end
Returns a new instance of quota_error_details
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::QuotaErrorDetails] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::QuotaErrorDetails] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7137 def self.quota_error_details require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::QuotaErrorDetails.new yield res if block_given? res end
Returns a new instance of reach_curve
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ReachCurve] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ReachCurve] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6565 def self.reach_curve require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::ReachCurve.new yield res if block_given? res end
Returns a new instance of reach_forecast
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ReachForecast] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ReachForecast] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6578 def self.reach_forecast require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::ReachForecast.new yield res if block_given? res end
Returns a new instance of real_time_bidding_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::RealTimeBiddingSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::RealTimeBiddingSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3107 def self.real_time_bidding_setting require "google/ads/google_ads/v7/common/real_time_bidding_setting_pb" res = Google::Ads::GoogleAds::V7::Common::RealTimeBiddingSetting.new yield res if block_given? res end
Returns a new instance of recommendation, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4420 def self.recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation.new yield res if block_given? res end
Returns a new instance of recommendation_impact
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::RecommendationImpact] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::RecommendationImpact] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4433 def self.recommendation_impact require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::RecommendationImpact.new yield res if block_given? res end
Returns a new instance of recommendation_metrics
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::RecommendationMetrics] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::RecommendationMetrics] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4446 def self.recommendation_metrics require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::RecommendationMetrics.new yield res if block_given? res end
Returns a new instance of remarketing_action
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::RemarketingAction] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::RemarketingAction] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4758 def self.remarketing_action require "google/ads/google_ads/v7/resources/remarketing_action_pb" res = Google::Ads::GoogleAds::V7::Resources::RemarketingAction.new yield res if block_given? res end
Returns a new instance of remarketing_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::RemarketingSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::RemarketingSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 416 def self.remarketing_setting require "google/ads/google_ads/v7/resources/customer_pb" res = Google::Ads::GoogleAds::V7::Resources::RemarketingSetting.new yield res if block_given? res end
Returns a new instance of request_context_operand
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Operand::RequestContextOperand] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Operand::RequestContextOperand] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 702 def self.request_context_operand require "google/ads/google_ads/v7/common/matching_function_pb" res = Google::Ads::GoogleAds::V7::Common::Operand::RequestContextOperand.new yield res if block_given? res end
Returns a new instance of reseller_constraint
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::ResellerConstraint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::ResellerConstraint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 273 def self.reseller_constraint require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicConstraint::ResellerConstraint.new yield res if block_given? res end
Returns a new instance of resource_count_details
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Errors::ResourceCountDetails] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Errors::ResourceCountDetails] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7150 def self.resource_count_details require "google/ads/google_ads/v7/errors/errors_pb" res = Google::Ads::GoogleAds::V7::Errors::ResourceCountDetails.new yield res if block_given? res end
Returns a new instance of responsive_display_ad_control_spec
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ResponsiveDisplayAdControlSpec] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ResponsiveDisplayAdControlSpec] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2366 def self.responsive_display_ad_control_spec require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ResponsiveDisplayAdControlSpec.new yield res if block_given? res end
Returns a new instance of responsive_display_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ResponsiveDisplayAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ResponsiveDisplayAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2327 def self.responsive_display_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ResponsiveDisplayAdInfo.new yield res if block_given? res end
Returns a new instance of responsive_search_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ResponsiveSearchAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ResponsiveSearchAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2262 def self.responsive_search_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ResponsiveSearchAdInfo.new yield res if block_given? res end
Returns a new instance of responsive_search_ad_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::ResponsiveSearchAdParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::ResponsiveSearchAdParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6981 def self.responsive_search_ad_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::ResponsiveSearchAdParameters.new yield res if block_given? res end
Returns a new instance of responsive_search_ad_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::ResponsiveSearchAdRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::ResponsiveSearchAdRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4589 def self.responsive_search_ad_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::ResponsiveSearchAdRecommendation.new yield res if block_given? res end
Returns a new instance of restatement_value
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::RestatementValue] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::RestatementValue] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6786 def self.restatement_value require "google/ads/google_ads/v7/services/conversion_adjustment_upload_service_pb" res = Google::Ads::GoogleAds::V7::Services::RestatementValue.new yield res if block_given? res end
Returns a new instance of rule_based_user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::RuleBasedUserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::RuleBasedUserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2860 def self.rule_based_user_list_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::RuleBasedUserListInfo.new yield res if block_given? res end
Returns a new instance of search_partners_opt_in_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::SearchPartnersOptInRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::SearchPartnersOptInRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4498 def self.search_partners_opt_in_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::SearchPartnersOptInRecommendation.new yield res if block_given? res end
Returns a new instance of search_term_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::SearchTermView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::SearchTermView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5005 def self.search_term_view require "google/ads/google_ads/v7/resources/search_term_view_pb" res = Google::Ads::GoogleAds::V7::Resources::SearchTermView.new yield res if block_given? res end
Returns a new instance of segments, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Segments] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Segments] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5317 def self.segments require "google/ads/google_ads/v7/common/segments_pb" res = Google::Ads::GoogleAds::V7::Common::Segments.new yield res if block_given? res end
Returns a new instance of selective_optimization
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::SelectiveOptimization] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::SelectiveOptimization] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3250 def self.selective_optimization require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::SelectiveOptimization.new yield res if block_given? res end
Returns a new instance of shopping_comparison_listing_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ShoppingComparisonListingAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ShoppingComparisonListingAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2080 def self.shopping_comparison_listing_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ShoppingComparisonListingAdInfo.new yield res if block_given? res end
Returns a new instance of shopping_performance_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ShoppingPerformanceView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ShoppingPerformanceView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4732 def self.shopping_performance_view require "google/ads/google_ads/v7/resources/shopping_performance_view_pb" res = Google::Ads::GoogleAds::V7::Resources::ShoppingPerformanceView.new yield res if block_given? res end
Returns a new instance of shopping_product_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ShoppingProductAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ShoppingProductAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2067 def self.shopping_product_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ShoppingProductAdInfo.new yield res if block_given? res end
Returns a new instance of shopping_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::ShoppingSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::ShoppingSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3211 def self.shopping_setting require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::ShoppingSetting.new yield res if block_given? res end
Returns a new instance of shopping_smart_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::ShoppingSmartAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::ShoppingSmartAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2054 def self.shopping_smart_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::ShoppingSmartAdInfo.new yield res if block_given? res end
Returns a new instance of similar_user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::SimilarUserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::SimilarUserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2717 def self.similar_user_list_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::SimilarUserListInfo.new yield res if block_given? res end
Returns a new instance of site_seed
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::SiteSeed] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::SiteSeed] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6708 def self.site_seed require "google/ads/google_ads/v7/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V7::Services::SiteSeed.new yield res if block_given? res end
Returns a new instance of sitelink_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::SitelinkAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::SitelinkAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3952 def self.sitelink_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::SitelinkAsset.new yield res if block_given? res end
Returns a new instance of sitelink_extension_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::SitelinkExtensionParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::SitelinkExtensionParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6955 def self.sitelink_extension_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::SitelinkExtensionParameters.new yield res if block_given? res end
Returns a new instance of sitelink_extension_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::SitelinkExtensionRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::SitelinkExtensionRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4641 def self.sitelink_extension_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::SitelinkExtensionRecommendation.new yield res if block_given? res end
Returns a new instance of sitelink_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::SitelinkFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::SitelinkFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3562 def self.sitelink_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::SitelinkFeedItem.new yield res if block_given? res end
Returns a new instance of store_attribute
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::StoreAttribute] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::StoreAttribute] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3666 def self.store_attribute require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::StoreAttribute.new yield res if block_given? res end
Returns a new instance of store_sales_metadata
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::StoreSalesMetadata] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::StoreSalesMetadata] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3718 def self.store_sales_metadata require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::StoreSalesMetadata.new yield res if block_given? res end
Returns a new instance of store_sales_third_party_metadata
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::StoreSalesThirdPartyMetadata] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::StoreSalesThirdPartyMetadata] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3731 def self.store_sales_third_party_metadata require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::StoreSalesThirdPartyMetadata.new yield res if block_given? res end
Returns a new instance of structured_snippet_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::StructuredSnippetAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::StructuredSnippetAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3939 def self.structured_snippet_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::StructuredSnippetAsset.new yield res if block_given? res end
Returns a new instance of structured_snippet_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::StructuredSnippetFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::StructuredSnippetFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3549 def self.structured_snippet_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::StructuredSnippetFeedItem.new yield res if block_given? res end
Returns a new instance of tag_snippet
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TagSnippet] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TagSnippet] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4745 def self.tag_snippet require "google/ads/google_ads/v7/common/tag_snippet_pb" res = Google::Ads::GoogleAds::V7::Common::TagSnippet.new yield res if block_given? res end
Returns a new instance of target_cpa
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetCpa] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetCpa] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2548 def self.target_cpa require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::TargetCpa.new yield res if block_given? res end
Returns a new instance of target_cpa_opt_in_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TargetCpaOptInParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TargetCpaOptInParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6903 def self.target_cpa_opt_in_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TargetCpaOptInParameters.new yield res if block_given? res end
Returns a new instance of target_cpa_opt_in_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetCpaOptInRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetCpaOptInRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4537 def self.target_cpa_opt_in_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetCpaOptInRecommendation.new yield res if block_given? res end
Returns a new instance of target_cpa_opt_in_recommendation_option
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4550 def self.target_cpa_opt_in_recommendation_option require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetCpaOptInRecommendation::TargetCpaOptInRecommendationOption.new yield res if block_given? res end
Returns a new instance of target_cpa_simulation_point
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetCpaSimulationPoint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetCpaSimulationPoint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 988 def self.target_cpa_simulation_point require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::TargetCpaSimulationPoint.new yield res if block_given? res end
Returns a new instance of target_cpa_simulation_point_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetCpaSimulationPointList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetCpaSimulationPointList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 884 def self.target_cpa_simulation_point_list require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::TargetCpaSimulationPointList.new yield res if block_given? res end
Returns a new instance of target_cpm
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetCpm] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetCpm] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2561 def self.target_cpm require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::TargetCpm.new yield res if block_given? res end
Returns a new instance of target_restriction
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetRestriction] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetRestriction] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2977 def self.target_restriction require "google/ads/google_ads/v7/common/targeting_setting_pb" res = Google::Ads::GoogleAds::V7::Common::TargetRestriction.new yield res if block_given? res end
Returns a new instance of target_roas
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetRoas] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetRoas] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2587 def self.target_roas require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::TargetRoas.new yield res if block_given? res end
Returns a new instance of target_roas_opt_in_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TargetRoasOptInParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TargetRoasOptInParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6916 def self.target_roas_opt_in_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TargetRoasOptInParameters.new yield res if block_given? res end
Returns a new instance of target_roas_opt_in_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetRoasOptInRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetRoasOptInRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4615 def self.target_roas_opt_in_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::TargetRoasOptInRecommendation.new yield res if block_given? res end
Returns a new instance of target_roas_simulation_point
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetRoasSimulationPoint] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetRoasSimulationPoint] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1001 def self.target_roas_simulation_point require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::TargetRoasSimulationPoint.new yield res if block_given? res end
Returns a new instance of target_roas_simulation_point_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetRoasSimulationPointList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetRoasSimulationPointList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 897 def self.target_roas_simulation_point_list require "google/ads/google_ads/v7/common/simulation_pb" res = Google::Ads::GoogleAds::V7::Common::TargetRoasSimulationPointList.new yield res if block_given? res end
Returns a new instance of target_spend
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetSpend] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetSpend] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2600 def self.target_spend require "google/ads/google_ads/v7/common/bidding_pb" res = Google::Ads::GoogleAds::V7::Common::TargetSpend.new yield res if block_given? res end
Returns a new instance of targeting, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::Targeting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::Targeting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6526 def self.targeting require "google/ads/google_ads/v7/services/reach_plan_service_pb" res = Google::Ads::GoogleAds::V7::Services::Targeting.new yield res if block_given? res end
Returns a new instance of targeting_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TargetingSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TargetingSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2964 def self.targeting_setting require "google/ads/google_ads/v7/common/targeting_setting_pb" res = Google::Ads::GoogleAds::V7::Common::TargetingSetting.new yield res if block_given? res end
Returns a new instance of text_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TextAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TextAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1989 def self.text_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::TextAdInfo.new yield res if block_given? res end
Returns a new instance of text_ad_parameters
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TextAdParameters] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TextAdParameters] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6877 def self.text_ad_parameters require "google/ads/google_ads/v7/services/recommendation_service_pb" res = Google::Ads::GoogleAds::V7::Services::ApplyRecommendationOperation::TextAdParameters.new yield res if block_given? res end
Returns a new instance of text_ad_recommendation
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Recommendation::TextAdRecommendation] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Recommendation::TextAdRecommendation] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4524 def self.text_ad_recommendation require "google/ads/google_ads/v7/resources/recommendation_pb" res = Google::Ads::GoogleAds::V7::Resources::Recommendation::TextAdRecommendation.new yield res if block_given? res end
Returns a new instance of text_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TextAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TextAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3822 def self.text_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::TextAsset.new yield res if block_given? res end
Returns a new instance of text_label
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TextLabel] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TextLabel] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4771 def self.text_label require "google/ads/google_ads/v7/common/text_label_pb" res = Google::Ads::GoogleAds::V7::Common::TextLabel.new yield res if block_given? res end
Returns a new instance of text_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::TextList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::TextList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 182 def self.text_list require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::TextList.new yield res if block_given? res end
Returns a new instance of text_message_feed_item
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TextMessageFeedItem] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TextMessageFeedItem] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3497 def self.text_message_feed_item require "google/ads/google_ads/v7/common/extensions_pb" res = Google::Ads::GoogleAds::V7::Common::TextMessageFeedItem.new yield res if block_given? res end
Returns a new instance of third_party_app_analytics_link
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ThirdPartyAppAnalyticsLink] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ThirdPartyAppAnalyticsLink] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4849 def self.third_party_app_analytics_link require "google/ads/google_ads/v7/resources/third_party_app_analytics_link_pb" res = Google::Ads::GoogleAds::V7::Resources::ThirdPartyAppAnalyticsLink.new yield res if block_given? res end
Returns a new instance of third_party_app_analytics_link_identifier
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ThirdPartyAppAnalyticsLinkIdentifier] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ThirdPartyAppAnalyticsLinkIdentifier] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4030 def self.third_party_app_analytics_link_identifier require "google/ads/google_ads/v7/resources/account_link_pb" res = Google::Ads::GoogleAds::V7::Resources::ThirdPartyAppAnalyticsLinkIdentifier.new yield res if block_given? res end
Returns a new instance of third_party_app_analytics_settings
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ConversionAction::ThirdPartyAppAnalyticsSettings] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ConversionAction::ThirdPartyAppAnalyticsSettings] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5226 def self.third_party_app_analytics_settings require "google/ads/google_ads/v7/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V7::Resources::ConversionAction::ThirdPartyAppAnalyticsSettings.new yield res if block_given? res end
Returns a new instance of topic_constant
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::TopicConstant] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::TopicConstant] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4823 def self.topic_constant require "google/ads/google_ads/v7/resources/topic_constant_pb" res = Google::Ads::GoogleAds::V7::Resources::TopicConstant.new yield res if block_given? res end
Returns a new instance of topic_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TopicInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TopicInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1625 def self.topic_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::TopicInfo.new yield res if block_given? res end
Returns a new instance of topic_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::TopicView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::TopicView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 65 def self.topic_view require "google/ads/google_ads/v7/resources/topic_view_pb" res = Google::Ads::GoogleAds::V7::Resources::TopicView.new yield res if block_given? res end
Returns a new instance of tracking_setting
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::TrackingSetting] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::TrackingSetting] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3185 def self.tracking_setting require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::TrackingSetting.new yield res if block_given? res end
Returns a new instance of transaction_attribute
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::TransactionAttribute] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::TransactionAttribute] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3653 def self.transaction_attribute require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::TransactionAttribute.new yield res if block_given? res end
Returns a new instance of unknown_listing_dimension_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UnknownListingDimensionInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UnknownListingDimensionInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1391 def self.unknown_listing_dimension_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::UnknownListingDimensionInfo.new yield res if block_given? res end
Returns a new instance of url_collection
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UrlCollection] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UrlCollection] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2392 def self.url_collection require "google/ads/google_ads/v7/common/url_collection_pb" res = Google::Ads::GoogleAds::V7::Common::UrlCollection.new yield res if block_given? res end
Returns a new instance of url_seed
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Services::UrlSeed] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Services::UrlSeed] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 6721 def self.url_seed require "google/ads/google_ads/v7/services/keyword_plan_idea_service_pb" res = Google::Ads::GoogleAds::V7::Services::UrlSeed.new yield res if block_given? res end
Returns a new instance of user_attribute
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserAttribute] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserAttribute] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3692 def self.user_attribute require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::UserAttribute.new yield res if block_given? res end
Returns a new instance of user_data
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserData] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserData] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3679 def self.user_data require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::UserData.new yield res if block_given? res end
Returns a new instance of user_identifier
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserIdentifier] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserIdentifier] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3640 def self.user_identifier require "google/ads/google_ads/v7/common/offline_user_data_pb" res = Google::Ads::GoogleAds::V7::Common::UserIdentifier.new yield res if block_given? res end
Returns a new instance of user_interest
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::UserInterest] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::UserInterest] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4303 def self.user_interest require "google/ads/google_ads/v7/resources/user_interest_pb" res = Google::Ads::GoogleAds::V7::Resources::UserInterest.new yield res if block_given? res end
Returns a new instance of user_interest_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserInterestInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserInterestInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1690 def self.user_interest_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::UserInterestInfo.new yield res if block_given? res end
Returns a new instance of user_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::UserList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::UserList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2938 def self.user_list require "google/ads/google_ads/v7/resources/user_list_pb" res = Google::Ads::GoogleAds::V7::Resources::UserList.new yield res if block_given? res end
Returns a new instance of user_list_action_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListActionInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListActionInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2925 def self.user_list_action_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::UserListActionInfo.new yield res if block_given? res end
Returns a new instance of user_list_date_rule_item_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListDateRuleItemInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListDateRuleItemInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2782 def self.user_list_date_rule_item_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::UserListDateRuleItemInfo.new yield res if block_given? res end
Returns a new instance of user_list_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1573 def self.user_list_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::UserListInfo.new yield res if block_given? res end
Returns a new instance of user_list_logical_rule_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListLogicalRuleInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListLogicalRuleInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2886 def self.user_list_logical_rule_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::UserListLogicalRuleInfo.new yield res if block_given? res end
Returns a new instance of user_list_number_rule_item_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListNumberRuleItemInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListNumberRuleItemInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2795 def self.user_list_number_rule_item_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::UserListNumberRuleItemInfo.new yield res if block_given? res end
Returns a new instance of user_list_rule_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListRuleInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListRuleInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2743 def self.user_list_rule_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::UserListRuleInfo.new yield res if block_given? res end
Returns a new instance of user_list_rule_item_group_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListRuleItemGroupInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListRuleItemGroupInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2756 def self.user_list_rule_item_group_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::UserListRuleItemGroupInfo.new yield res if block_given? res end
Returns a new instance of user_list_rule_item_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListRuleItemInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListRuleItemInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2769 def self.user_list_rule_item_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::UserListRuleItemInfo.new yield res if block_given? res end
Returns a new instance of user_list_string_rule_item_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::UserListStringRuleItemInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::UserListStringRuleItemInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2808 def self.user_list_string_rule_item_info require "google/ads/google_ads/v7/common/user_lists_pb" res = Google::Ads::GoogleAds::V7::Common::UserListStringRuleItemInfo.new yield res if block_given? res end
Returns a new instance of user_location_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::UserLocationView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::UserLocationView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5031 def self.user_location_view require "google/ads/google_ads/v7/resources/user_location_view_pb" res = Google::Ads::GoogleAds::V7::Resources::UserLocationView.new yield res if block_given? res end
Returns a new instance of value, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::Value] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::Value] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 7020 def self.value require "google/ads/google_ads/v7/common/value_pb" res = Google::Ads::GoogleAds::V7::Common::Value.new yield res if block_given? res end
Returns a new instance of value_settings
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::ConversionAction::ValueSettings] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::ConversionAction::ValueSettings] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 5200 def self.value_settings require "google/ads/google_ads/v7/resources/conversion_action_pb" res = Google::Ads::GoogleAds::V7::Resources::ConversionAction::ValueSettings.new yield res if block_given? res end
Returns a new instance of vanity_pharma
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::Campaign::VanityPharma] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Campaign::VanityPharma] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3198 def self.vanity_pharma require "google/ads/google_ads/v7/resources/campaign_pb" res = Google::Ads::GoogleAds::V7::Resources::Campaign::VanityPharma.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::V7::Resources::Video] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::Video] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 4069 def self.video require "google/ads/google_ads/v7/resources/video_pb" res = Google::Ads::GoogleAds::V7::Resources::Video.new yield res if block_given? res end
Returns a new instance of video_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::VideoAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::VideoAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2236 def self.video_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::VideoAdInfo.new yield res if block_given? res end
Returns a new instance of video_bumper_in_stream_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::VideoBumperInStreamAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::VideoBumperInStreamAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2171 def self.video_bumper_in_stream_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::VideoBumperInStreamAdInfo.new yield res if block_given? res end
Returns a new instance of video_non_skippable_in_stream_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::VideoNonSkippableInStreamAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::VideoNonSkippableInStreamAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2184 def self.video_non_skippable_in_stream_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::VideoNonSkippableInStreamAdInfo.new yield res if block_given? res end
Returns a new instance of video_outstream_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::VideoOutstreamAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::VideoOutstreamAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2210 def self.video_outstream_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::VideoOutstreamAdInfo.new yield res if block_given? res end
Returns a new instance of video_responsive_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::VideoResponsiveAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::VideoResponsiveAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2249 def self.video_responsive_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::VideoResponsiveAdInfo.new yield res if block_given? res end
Returns a new instance of video_true_view_discovery_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::VideoTrueViewDiscoveryAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::VideoTrueViewDiscoveryAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2223 def self.video_true_view_discovery_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::VideoTrueViewDiscoveryAdInfo.new yield res if block_given? res end
Returns a new instance of video_true_view_in_stream_ad_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::VideoTrueViewInStreamAdInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::VideoTrueViewInStreamAdInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2197 def self.video_true_view_in_stream_ad_info require "google/ads/google_ads/v7/common/ad_type_infos_pb" res = Google::Ads::GoogleAds::V7::Common::VideoTrueViewInStreamAdInfo.new yield res if block_given? res end
Returns a new instance of webhook_delivery
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::WebhookDelivery] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::WebhookDelivery] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3887 def self.webhook_delivery require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::WebhookDelivery.new yield res if block_given? res end
Returns a new instance of webpage_condition_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::WebpageConditionInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::WebpageConditionInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1716 def self.webpage_condition_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::WebpageConditionInfo.new yield res if block_given? res end
Returns a new instance of webpage_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::WebpageInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::WebpageInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1703 def self.webpage_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::WebpageInfo.new yield res if block_given? res end
Returns a new instance of webpage_sample_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::WebpageSampleInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::WebpageSampleInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1729 def self.webpage_sample_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::WebpageSampleInfo.new yield res if block_given? res end
Returns a new instance of webpage_view
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Resources::WebpageView] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Resources::WebpageView] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 2418 def self.webpage_view require "google/ads/google_ads/v7/resources/webpage_view_pb" res = Google::Ads::GoogleAds::V7::Resources::WebpageView.new yield res if block_given? res end
Returns a new instance of website_list
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::WebsiteList] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::WebsiteList] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 195 def self.website_list require "google/ads/google_ads/v7/common/policy_pb" res = Google::Ads::GoogleAds::V7::Common::PolicyTopicEvidence::WebsiteList.new yield res if block_given? res end
Returns a new instance of year_month
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::YearMonth] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::YearMonth] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 598 def self.year_month require "google/ads/google_ads/v7/common/dates_pb" res = Google::Ads::GoogleAds::V7::Common::YearMonth.new yield res if block_given? res end
Returns a new instance of year_month_range
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::YearMonthRange] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::YearMonthRange] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 585 def self.year_month_range require "google/ads/google_ads/v7/common/dates_pb" res = Google::Ads::GoogleAds::V7::Common::YearMonthRange.new yield res if block_given? res end
Returns a new instance of you_tube_channel_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::YouTubeChannelInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::YouTubeChannelInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1560 def self.you_tube_channel_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::YouTubeChannelInfo.new yield res if block_given? res end
Returns a new instance of you_tube_video_info
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::YouTubeVideoInfo] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::YouTubeVideoInfo] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 1547 def self.you_tube_video_info require "google/ads/google_ads/v7/common/criteria_pb" res = Google::Ads::GoogleAds::V7::Common::YouTubeVideoInfo.new yield res if block_given? res end
Returns a new instance of youtube_video_asset
, optionally yielding it to a passed block so that attributes can be set on it.
@yield [Google::Ads::GoogleAds::V7::Common::YoutubeVideoAsset] the new instance that will be returned so attributes
can be set
@return [Google::Ads::GoogleAds::V7::Common::YoutubeVideoAsset] the created resource
# File lib/google/ads/google_ads/factories/v7/resources.rb, line 3770 def self.youtube_video_asset require "google/ads/google_ads/v7/common/asset_types_pb" res = Google::Ads::GoogleAds::V7::Common::YoutubeVideoAsset.new yield res if block_given? res end