module Google::Ads::GoogleAds::Factories::V8::Operations::CreateResource
Public Class Methods
A convenience method for creating an AccountBudgetProposalOperation instance with its “create” field prepopulated with an AccountBudgetProposal instance.
@overload account_budget_proposal
creates an operation instance, yielding a newly fabricated AccountBudgetProposal which can be used for setting attributes on the newly created resource
@overload account_budget_proposal
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AccountBudgetProposal] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AccountBudgetProposalOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2512 def self.account_budget_proposal(res = nil, &blk) require "google/ads/google_ads/v8/services/account_budget_proposal_service_pb" op = Google::Ads::GoogleAds::V8::Services::AccountBudgetProposalOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.account_budget_proposal(&blk) else Factories::V8::Resources.account_budget_proposal end op end
A convenience method for creating an AdGroupOperation instance with its “create” field prepopulated with an AdGroup instance.
@overload ad_group
creates an operation instance, yielding a newly fabricated AdGroup which can be used for setting attributes on the newly created resource
@overload ad_group
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroup] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1378 def self.ad_group(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group(&blk) else Factories::V8::Resources.ad_group end op end
A convenience method for creating an AdGroupAdOperation instance with its “create” field prepopulated with an AdGroupAd instance.
@overload ad_group_ad
creates an operation instance, yielding a newly fabricated AdGroupAd which can be used for setting attributes on the newly created resource
@overload ad_group_ad
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupAd] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupAdOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1162 def self.ad_group_ad(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_ad_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupAdOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_ad(&blk) else Factories::V8::Resources.ad_group_ad end op end
A convenience method for creating an AdGroupAdLabelOperation instance with its “create” field prepopulated with an AdGroupAdLabel instance.
@overload ad_group_ad_label
creates an operation instance, yielding a newly fabricated AdGroupAdLabel which can be used for setting attributes on the newly created resource
@overload ad_group_ad_label
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupAdLabel] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupAdLabelOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1135 def self.ad_group_ad_label(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_ad_label_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupAdLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_ad_label(&blk) else Factories::V8::Resources.ad_group_ad_label end op end
A convenience method for creating an AdGroupAssetOperation instance with its “create” field prepopulated with an AdGroupAsset instance.
@overload ad_group_asset
creates an operation instance, yielding a newly fabricated AdGroupAsset which can be used for setting attributes on the newly created resource
@overload ad_group_asset
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupAsset] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupAssetOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1189 def self.ad_group_asset(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_asset_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupAssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_asset(&blk) else Factories::V8::Resources.ad_group_asset end op end
A convenience method for creating an AdGroupBidModifierOperation instance with its “create” field prepopulated with an AdGroupBidModifier instance.
@overload ad_group_bid_modifier
creates an operation instance, yielding a newly fabricated AdGroupBidModifier which can be used for setting attributes on the newly created resource
@overload ad_group_bid_modifier
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupBidModifier] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupBidModifierOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1216 def self.ad_group_bid_modifier(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_bid_modifier_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupBidModifierOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_bid_modifier(&blk) else Factories::V8::Resources.ad_group_bid_modifier end op end
A convenience method for creating an AdGroupCriterionOperation instance with its “create” field prepopulated with an AdGroupCriterion instance.
@overload ad_group_criterion
creates an operation instance, yielding a newly fabricated AdGroupCriterion which can be used for setting attributes on the newly created resource
@overload ad_group_criterion
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupCriterion] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupCriterionOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1270 def self.ad_group_criterion(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_criterion_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupCriterionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_criterion(&blk) else Factories::V8::Resources.ad_group_criterion end op end
A convenience method for creating an AdGroupCriterionLabelOperation instance with its “create” field prepopulated with an AdGroupCriterionLabel instance.
@overload ad_group_criterion_label
creates an operation instance, yielding a newly fabricated AdGroupCriterionLabel which can be used for setting attributes on the newly created resource
@overload ad_group_criterion_label
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupCriterionLabel] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupCriterionLabelOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1243 def self.ad_group_criterion_label(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_criterion_label_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupCriterionLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_criterion_label(&blk) else Factories::V8::Resources.ad_group_criterion_label end op end
A convenience method for creating an AdGroupExtensionSettingOperation instance with its “create” field prepopulated with an AdGroupExtensionSetting instance.
@overload ad_group_extension_setting
creates an operation instance, yielding a newly fabricated AdGroupExtensionSetting which can be used for setting attributes on the newly created resource
@overload ad_group_extension_setting
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupExtensionSetting] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupExtensionSettingOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1297 def self.ad_group_extension_setting(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_extension_setting_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupExtensionSettingOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_extension_setting(&blk) else Factories::V8::Resources.ad_group_extension_setting end op end
A convenience method for creating an AdGroupFeedOperation instance with its “create” field prepopulated with an AdGroupFeed instance.
@overload ad_group_feed
creates an operation instance, yielding a newly fabricated AdGroupFeed which can be used for setting attributes on the newly created resource
@overload ad_group_feed
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupFeed] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupFeedOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1324 def self.ad_group_feed(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_feed_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupFeedOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_feed(&blk) else Factories::V8::Resources.ad_group_feed end op end
A convenience method for creating an AdGroupLabelOperation instance with its “create” field prepopulated with an AdGroupLabel instance.
@overload ad_group_label
creates an operation instance, yielding a newly fabricated AdGroupLabel which can be used for setting attributes on the newly created resource
@overload ad_group_label
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdGroupLabel] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdGroupLabelOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1351 def self.ad_group_label(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_group_label_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdGroupLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_group_label(&blk) else Factories::V8::Resources.ad_group_label end op end
A convenience method for creating an AdParameterOperation instance with its “create” field prepopulated with an AdParameter instance.
@overload ad_parameter
creates an operation instance, yielding a newly fabricated AdParameter which can be used for setting attributes on the newly created resource
@overload ad_parameter
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::AdParameter] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AdParameterOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1405 def self.ad_parameter(res = nil, &blk) require "google/ads/google_ads/v8/services/ad_parameter_service_pb" op = Google::Ads::GoogleAds::V8::Services::AdParameterOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.ad_parameter(&blk) else Factories::V8::Resources.ad_parameter end op end
A convenience method for creating an AssetOperation instance with its “create” field prepopulated with an Asset instance.
@overload asset
creates an operation instance, yielding a newly fabricated Asset which can be used for setting attributes on the newly created resource
@overload asset(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::Asset] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::AssetOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1432 def self.asset(res = nil, &blk) require "google/ads/google_ads/v8/services/asset_service_pb" op = Google::Ads::GoogleAds::V8::Services::AssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.asset(&blk) else Factories::V8::Resources.asset end op end
A convenience method for creating an BatchJobOperation instance with its “create” field prepopulated with an BatchJob instance.
@overload batch_job
creates an operation instance, yielding a newly fabricated BatchJob which can be used for setting attributes on the newly created resource
@overload batch_job
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::BatchJob] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::BatchJobOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2485 def self.batch_job(res = nil, &blk) require "google/ads/google_ads/v8/services/batch_job_service_pb" op = Google::Ads::GoogleAds::V8::Services::BatchJobOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.batch_job(&blk) else Factories::V8::Resources.batch_job end op end
A convenience method for creating an BiddingDataExclusionOperation instance with its “create” field prepopulated with an BiddingDataExclusion instance.
@overload bidding_data_exclusion
creates an operation instance, yielding a newly fabricated BiddingDataExclusion which can be used for setting attributes on the newly created resource
@overload bidding_data_exclusion
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::BiddingDataExclusion] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::BiddingDataExclusionOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1081 def self.bidding_data_exclusion(res = nil, &blk) require "google/ads/google_ads/v8/services/bidding_data_exclusion_service_pb" op = Google::Ads::GoogleAds::V8::Services::BiddingDataExclusionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.bidding_data_exclusion(&blk) else Factories::V8::Resources.bidding_data_exclusion end op end
A convenience method for creating an BiddingSeasonalityAdjustmentOperation instance with its “create” field prepopulated with an BiddingSeasonalityAdjustment instance.
@overload bidding_seasonality_adjustment
creates an operation instance, yielding a newly fabricated BiddingSeasonalityAdjustment which can be used for setting attributes on the newly created resource
@overload bidding_seasonality_adjustment
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::BiddingSeasonalityAdjustment] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::BiddingSeasonalityAdjustmentOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1459 def self.bidding_seasonality_adjustment(res = nil, &blk) require "google/ads/google_ads/v8/services/bidding_seasonality_adjustment_service_pb" op = Google::Ads::GoogleAds::V8::Services::BiddingSeasonalityAdjustmentOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.bidding_seasonality_adjustment(&blk) else Factories::V8::Resources.bidding_seasonality_adjustment end op end
A convenience method for creating an BiddingStrategyOperation instance with its “create” field prepopulated with an BiddingStrategy instance.
@overload bidding_strategy
creates an operation instance, yielding a newly fabricated BiddingStrategy which can be used for setting attributes on the newly created resource
@overload bidding_strategy
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::BiddingStrategy] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::BiddingStrategyOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1486 def self.bidding_strategy(res = nil, &blk) require "google/ads/google_ads/v8/services/bidding_strategy_service_pb" op = Google::Ads::GoogleAds::V8::Services::BiddingStrategyOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.bidding_strategy(&blk) else Factories::V8::Resources.bidding_strategy end op end
A convenience method for creating an BillingSetupOperation instance with its “create” field prepopulated with an BillingSetup instance.
@overload billing_setup
creates an operation instance, yielding a newly fabricated BillingSetup which can be used for setting attributes on the newly created resource
@overload billing_setup
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::BillingSetup] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::BillingSetupOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2539 def self.billing_setup(res = nil, &blk) require "google/ads/google_ads/v8/services/billing_setup_service_pb" op = Google::Ads::GoogleAds::V8::Services::BillingSetupOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.billing_setup(&blk) else Factories::V8::Resources.billing_setup end op end
A convenience method for creating an CampaignOperation instance with its “create” field prepopulated with an Campaign instance.
@overload campaign
creates an operation instance, yielding a newly fabricated Campaign which can be used for setting attributes on the newly created resource
@overload campaign(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::Campaign] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1702 def self.campaign(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign(&blk) else Factories::V8::Resources.campaign end op end
A convenience method for creating an CampaignAssetOperation instance with its “create” field prepopulated with an CampaignAsset instance.
@overload campaign_asset
creates an operation instance, yielding a newly fabricated CampaignAsset which can be used for setting attributes on the newly created resource
@overload campaign_asset
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CampaignAsset] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignAssetOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1513 def self.campaign_asset(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_asset_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignAssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign_asset(&blk) else Factories::V8::Resources.campaign_asset end op end
A convenience method for creating an CampaignBidModifierOperation instance with its “create” field prepopulated with an CampaignBidModifier instance.
@overload campaign_bid_modifier
creates an operation instance, yielding a newly fabricated CampaignBidModifier which can be used for setting attributes on the newly created resource
@overload campaign_bid_modifier
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CampaignBidModifier] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignBidModifierOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1540 def self.campaign_bid_modifier(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_bid_modifier_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignBidModifierOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign_bid_modifier(&blk) else Factories::V8::Resources.campaign_bid_modifier end op end
A convenience method for creating an CampaignBudgetOperation instance with its “create” field prepopulated with an CampaignBudget instance.
@overload campaign_budget
creates an operation instance, yielding a newly fabricated CampaignBudget which can be used for setting attributes on the newly created resource
@overload campaign_budget
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CampaignBudget] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignBudgetOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1567 def self.campaign_budget(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_budget_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignBudgetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign_budget(&blk) else Factories::V8::Resources.campaign_budget end op end
A convenience method for creating an CampaignCriterionOperation instance with its “create” field prepopulated with an CampaignCriterion instance.
@overload campaign_criterion
creates an operation instance, yielding a newly fabricated CampaignCriterion which can be used for setting attributes on the newly created resource
@overload campaign_criterion
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CampaignCriterion] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignCriterionOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1108 def self.campaign_criterion(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_criterion_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignCriterionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign_criterion(&blk) else Factories::V8::Resources.campaign_criterion end op end
A convenience method for creating an CampaignDraftOperation instance with its “create” field prepopulated with an CampaignDraft instance.
@overload campaign_draft
creates an operation instance, yielding a newly fabricated CampaignDraft which can be used for setting attributes on the newly created resource
@overload campaign_draft
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CampaignDraft] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignDraftOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1594 def self.campaign_draft(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_draft_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignDraftOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign_draft(&blk) else Factories::V8::Resources.campaign_draft end op end
A convenience method for creating an CampaignExtensionSettingOperation instance with its “create” field prepopulated with an CampaignExtensionSetting instance.
@overload campaign_extension_setting
creates an operation instance, yielding a newly fabricated CampaignExtensionSetting which can be used for setting attributes on the newly created resource
@overload campaign_extension_setting
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CampaignExtensionSetting] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignExtensionSettingOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1621 def self.campaign_extension_setting(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_extension_setting_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignExtensionSettingOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign_extension_setting(&blk) else Factories::V8::Resources.campaign_extension_setting end op end
A convenience method for creating an CampaignFeedOperation instance with its “create” field prepopulated with an CampaignFeed instance.
@overload campaign_feed
creates an operation instance, yielding a newly fabricated CampaignFeed which can be used for setting attributes on the newly created resource
@overload campaign_feed
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CampaignFeed] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignFeedOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1648 def self.campaign_feed(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_feed_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignFeedOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign_feed(&blk) else Factories::V8::Resources.campaign_feed end op end
A convenience method for creating an CampaignLabelOperation instance with its “create” field prepopulated with an CampaignLabel instance.
@overload campaign_label
creates an operation instance, yielding a newly fabricated CampaignLabel which can be used for setting attributes on the newly created resource
@overload campaign_label
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CampaignLabel] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CampaignLabelOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1675 def self.campaign_label(res = nil, &blk) require "google/ads/google_ads/v8/services/campaign_label_service_pb" op = Google::Ads::GoogleAds::V8::Services::CampaignLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.campaign_label(&blk) else Factories::V8::Resources.campaign_label end op end
A convenience method for creating an ConversionActionOperation instance with its “create” field prepopulated with an ConversionAction instance.
@overload conversion_action
creates an operation instance, yielding a newly fabricated ConversionAction which can be used for setting attributes on the newly created resource
@overload conversion_action
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::ConversionAction] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::ConversionActionOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1756 def self.conversion_action(res = nil, &blk) require "google/ads/google_ads/v8/services/conversion_action_service_pb" op = Google::Ads::GoogleAds::V8::Services::ConversionActionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.conversion_action(&blk) else Factories::V8::Resources.conversion_action end op end
A convenience method for creating an ConversionCustomVariableOperation instance with its “create” field prepopulated with an ConversionCustomVariable instance.
@overload conversion_custom_variable
creates an operation instance, yielding a newly fabricated ConversionCustomVariable which can be used for setting attributes on the newly created resource
@overload conversion_custom_variable
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::ConversionCustomVariable] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::ConversionCustomVariableOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1783 def self.conversion_custom_variable(res = nil, &blk) require "google/ads/google_ads/v8/services/conversion_custom_variable_service_pb" op = Google::Ads::GoogleAds::V8::Services::ConversionCustomVariableOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.conversion_custom_variable(&blk) else Factories::V8::Resources.conversion_custom_variable end op end
A convenience method for creating an ConversionValueRuleOperation instance with its “create” field prepopulated with an ConversionValueRule instance.
@overload conversion_value_rule
creates an operation instance, yielding a newly fabricated ConversionValueRule which can be used for setting attributes on the newly created resource
@overload conversion_value_rule
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::ConversionValueRule] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::ConversionValueRuleOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1810 def self.conversion_value_rule(res = nil, &blk) require "google/ads/google_ads/v8/services/conversion_value_rule_service_pb" op = Google::Ads::GoogleAds::V8::Services::ConversionValueRuleOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.conversion_value_rule(&blk) else Factories::V8::Resources.conversion_value_rule end op end
A convenience method for creating an ConversionValueRuleSetOperation instance with its “create” field prepopulated with an ConversionValueRuleSet instance.
@overload conversion_value_rule_set
creates an operation instance, yielding a newly fabricated ConversionValueRuleSet which can be used for setting attributes on the newly created resource
@overload conversion_value_rule_set
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::ConversionValueRuleSet] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::ConversionValueRuleSetOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1837 def self.conversion_value_rule_set(res = nil, &blk) require "google/ads/google_ads/v8/services/conversion_value_rule_set_service_pb" op = Google::Ads::GoogleAds::V8::Services::ConversionValueRuleSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.conversion_value_rule_set(&blk) else Factories::V8::Resources.conversion_value_rule_set end op end
A convenience method for creating an CustomAudienceOperation instance with its “create” field prepopulated with an CustomAudience instance.
@overload custom_audience
creates an operation instance, yielding a newly fabricated CustomAudience which can be used for setting attributes on the newly created resource
@overload custom_audience
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomAudience] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomAudienceOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2674 def self.custom_audience(res = nil, &blk) require "google/ads/google_ads/v8/services/custom_audience_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomAudienceOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.custom_audience(&blk) else Factories::V8::Resources.custom_audience end op end
A convenience method for creating an CustomInterestOperation instance with its “create” field prepopulated with an CustomInterest instance.
@overload custom_interest
creates an operation instance, yielding a newly fabricated CustomInterest which can be used for setting attributes on the newly created resource
@overload custom_interest
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomInterest] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomInterestOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2701 def self.custom_interest(res = nil, &blk) require "google/ads/google_ads/v8/services/custom_interest_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomInterestOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.custom_interest(&blk) else Factories::V8::Resources.custom_interest end op end
A convenience method for creating an CustomerAssetOperation instance with its “create” field prepopulated with an CustomerAsset instance.
@overload customer_asset
creates an operation instance, yielding a newly fabricated CustomerAsset which can be used for setting attributes on the newly created resource
@overload customer_asset
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomerAsset] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomerAssetOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1864 def self.customer_asset(res = nil, &blk) require "google/ads/google_ads/v8/services/customer_asset_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomerAssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.customer_asset(&blk) else Factories::V8::Resources.customer_asset end op end
A convenience method for creating an CustomerClientLinkOperation instance with its “create” field prepopulated with an CustomerClientLink instance.
@overload customer_client_link
creates an operation instance, yielding a newly fabricated CustomerClientLink which can be used for setting attributes on the newly created resource
@overload customer_client_link
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomerClientLink] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomerClientLinkOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2647 def self.customer_client_link(res = nil, &blk) require "google/ads/google_ads/v8/services/customer_client_link_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomerClientLinkOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.customer_client_link(&blk) else Factories::V8::Resources.customer_client_link end op end
A convenience method for creating an CustomerExtensionSettingOperation instance with its “create” field prepopulated with an CustomerExtensionSetting instance.
@overload customer_extension_setting
creates an operation instance, yielding a newly fabricated CustomerExtensionSetting which can be used for setting attributes on the newly created resource
@overload customer_extension_setting
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomerExtensionSetting] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomerExtensionSettingOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1891 def self.customer_extension_setting(res = nil, &blk) require "google/ads/google_ads/v8/services/customer_extension_setting_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomerExtensionSettingOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.customer_extension_setting(&blk) else Factories::V8::Resources.customer_extension_setting end op end
A convenience method for creating an CustomerFeedOperation instance with its “create” field prepopulated with an CustomerFeed instance.
@overload customer_feed
creates an operation instance, yielding a newly fabricated CustomerFeed which can be used for setting attributes on the newly created resource
@overload customer_feed
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomerFeed] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomerFeedOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1918 def self.customer_feed(res = nil, &blk) require "google/ads/google_ads/v8/services/customer_feed_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomerFeedOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.customer_feed(&blk) else Factories::V8::Resources.customer_feed end op end
A convenience method for creating an CustomerLabelOperation instance with its “create” field prepopulated with an CustomerLabel instance.
@overload customer_label
creates an operation instance, yielding a newly fabricated CustomerLabel which can be used for setting attributes on the newly created resource
@overload customer_label
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomerLabel] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomerLabelOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1945 def self.customer_label(res = nil, &blk) require "google/ads/google_ads/v8/services/customer_label_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomerLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.customer_label(&blk) else Factories::V8::Resources.customer_label end op end
A convenience method for creating an CustomerNegativeCriterionOperation instance with its “create” field prepopulated with an CustomerNegativeCriterion instance.
@overload customer_negative_criterion
creates an operation instance, yielding a newly fabricated CustomerNegativeCriterion which can be used for setting attributes on the newly created resource
@overload customer_negative_criterion
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomerNegativeCriterion] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomerNegativeCriterionOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1972 def self.customer_negative_criterion(res = nil, &blk) require "google/ads/google_ads/v8/services/customer_negative_criterion_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomerNegativeCriterionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.customer_negative_criterion(&blk) else Factories::V8::Resources.customer_negative_criterion end op end
A convenience method for creating an CustomerUserAccessInvitationOperation instance with its “create” field prepopulated with an CustomerUserAccessInvitation instance.
@overload customer_user_access_invitation
creates an operation instance, yielding a newly fabricated CustomerUserAccessInvitation which can be used for setting attributes on the newly created resource
@overload customer_user_access_invitation
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::CustomerUserAccessInvitation] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::CustomerUserAccessInvitationOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2620 def self.customer_user_access_invitation(res = nil, &blk) require "google/ads/google_ads/v8/services/customer_user_access_invitation_service_pb" op = Google::Ads::GoogleAds::V8::Services::CustomerUserAccessInvitationOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.customer_user_access_invitation(&blk) else Factories::V8::Resources.customer_user_access_invitation end op end
A convenience method for creating an ExtensionFeedItemOperation instance with its “create” field prepopulated with an ExtensionFeedItem instance.
@overload extension_feed_item
creates an operation instance, yielding a newly fabricated ExtensionFeedItem which can be used for setting attributes on the newly created resource
@overload extension_feed_item
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::ExtensionFeedItem] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::ExtensionFeedItemOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 1999 def self.extension_feed_item(res = nil, &blk) require "google/ads/google_ads/v8/services/extension_feed_item_service_pb" op = Google::Ads::GoogleAds::V8::Services::ExtensionFeedItemOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.extension_feed_item(&blk) else Factories::V8::Resources.extension_feed_item end op end
A convenience method for creating an FeedOperation instance with its “create” field prepopulated with an Feed instance.
@overload feed
creates an operation instance, yielding a newly fabricated Feed which can be used for setting attributes on the newly created resource
@overload feed(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::Feed] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::FeedOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2161 def self.feed(res = nil, &blk) require "google/ads/google_ads/v8/services/feed_service_pb" op = Google::Ads::GoogleAds::V8::Services::FeedOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.feed(&blk) else Factories::V8::Resources.feed end op end
A convenience method for creating an FeedItemOperation instance with its “create” field prepopulated with an FeedItem instance.
@overload feed_item
creates an operation instance, yielding a newly fabricated FeedItem which can be used for setting attributes on the newly created resource
@overload feed_item
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::FeedItem] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::FeedItemOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2026 def self.feed_item(res = nil, &blk) require "google/ads/google_ads/v8/services/feed_item_service_pb" op = Google::Ads::GoogleAds::V8::Services::FeedItemOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.feed_item(&blk) else Factories::V8::Resources.feed_item end op end
A convenience method for creating an FeedItemSetOperation instance with its “create” field prepopulated with an FeedItemSet instance.
@overload feed_item_set
creates an operation instance, yielding a newly fabricated FeedItemSet which can be used for setting attributes on the newly created resource
@overload feed_item_set
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::FeedItemSet] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::FeedItemSetOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2080 def self.feed_item_set(res = nil, &blk) require "google/ads/google_ads/v8/services/feed_item_set_service_pb" op = Google::Ads::GoogleAds::V8::Services::FeedItemSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.feed_item_set(&blk) else Factories::V8::Resources.feed_item_set end op end
A convenience method for creating an FeedItemSetLinkOperation instance with its “create” field prepopulated with an FeedItemSetLink instance.
@overload feed_item_set_link
creates an operation instance, yielding a newly fabricated FeedItemSetLink which can be used for setting attributes on the newly created resource
@overload feed_item_set_link
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::FeedItemSetLink] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::FeedItemSetLinkOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2053 def self.feed_item_set_link(res = nil, &blk) require "google/ads/google_ads/v8/services/feed_item_set_link_service_pb" op = Google::Ads::GoogleAds::V8::Services::FeedItemSetLinkOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.feed_item_set_link(&blk) else Factories::V8::Resources.feed_item_set_link end op end
A convenience method for creating an FeedItemTargetOperation instance with its “create” field prepopulated with an FeedItemTarget instance.
@overload feed_item_target
creates an operation instance, yielding a newly fabricated FeedItemTarget which can be used for setting attributes on the newly created resource
@overload feed_item_target
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::FeedItemTarget] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::FeedItemTargetOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2107 def self.feed_item_target(res = nil, &blk) require "google/ads/google_ads/v8/services/feed_item_target_service_pb" op = Google::Ads::GoogleAds::V8::Services::FeedItemTargetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.feed_item_target(&blk) else Factories::V8::Resources.feed_item_target end op end
A convenience method for creating an FeedMappingOperation instance with its “create” field prepopulated with an FeedMapping instance.
@overload feed_mapping
creates an operation instance, yielding a newly fabricated FeedMapping which can be used for setting attributes on the newly created resource
@overload feed_mapping
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::FeedMapping] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::FeedMappingOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2134 def self.feed_mapping(res = nil, &blk) require "google/ads/google_ads/v8/services/feed_mapping_service_pb" op = Google::Ads::GoogleAds::V8::Services::FeedMappingOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.feed_mapping(&blk) else Factories::V8::Resources.feed_mapping end op end
A convenience method for creating an KeywordPlanOperation instance with its “create” field prepopulated with an KeywordPlan instance.
@overload keyword_plan
creates an operation instance, yielding a newly fabricated KeywordPlan which can be used for setting attributes on the newly created resource
@overload keyword_plan
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::KeywordPlan] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::KeywordPlanOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2296 def self.keyword_plan(res = nil, &blk) require "google/ads/google_ads/v8/services/keyword_plan_service_pb" op = Google::Ads::GoogleAds::V8::Services::KeywordPlanOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.keyword_plan(&blk) else Factories::V8::Resources.keyword_plan end op end
A convenience method for creating an KeywordPlanAdGroupOperation instance with its “create” field prepopulated with an KeywordPlanAdGroup instance.
@overload keyword_plan_ad_group
creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup which can be used for setting attributes on the newly created resource
@overload keyword_plan_ad_group
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::KeywordPlanAdGroup] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::KeywordPlanAdGroupOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2215 def self.keyword_plan_ad_group(res = nil, &blk) require "google/ads/google_ads/v8/services/keyword_plan_ad_group_service_pb" op = Google::Ads::GoogleAds::V8::Services::KeywordPlanAdGroupOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.keyword_plan_ad_group(&blk) else Factories::V8::Resources.keyword_plan_ad_group end op end
A convenience method for creating an KeywordPlanAdGroupKeywordOperation instance with its “create” field prepopulated with an KeywordPlanAdGroupKeyword instance.
@overload keyword_plan_ad_group_keyword
creates an operation instance, yielding a newly fabricated KeywordPlanAdGroupKeyword which can be used for setting attributes on the newly created resource
@overload keyword_plan_ad_group_keyword
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::KeywordPlanAdGroupKeyword] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::KeywordPlanAdGroupKeywordOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2188 def self.keyword_plan_ad_group_keyword(res = nil, &blk) require "google/ads/google_ads/v8/services/keyword_plan_ad_group_keyword_service_pb" op = Google::Ads::GoogleAds::V8::Services::KeywordPlanAdGroupKeywordOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.keyword_plan_ad_group_keyword(&blk) else Factories::V8::Resources.keyword_plan_ad_group_keyword end op end
A convenience method for creating an KeywordPlanCampaignOperation instance with its “create” field prepopulated with an KeywordPlanCampaign instance.
@overload keyword_plan_campaign
creates an operation instance, yielding a newly fabricated KeywordPlanCampaign which can be used for setting attributes on the newly created resource
@overload keyword_plan_campaign
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::KeywordPlanCampaign] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::KeywordPlanCampaignOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2269 def self.keyword_plan_campaign(res = nil, &blk) require "google/ads/google_ads/v8/services/keyword_plan_campaign_service_pb" op = Google::Ads::GoogleAds::V8::Services::KeywordPlanCampaignOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.keyword_plan_campaign(&blk) else Factories::V8::Resources.keyword_plan_campaign end op end
A convenience method for creating an KeywordPlanCampaignKeywordOperation instance with its “create” field prepopulated with an KeywordPlanCampaignKeyword instance.
@overload keyword_plan_campaign_keyword
creates an operation instance, yielding a newly fabricated KeywordPlanCampaignKeyword which can be used for setting attributes on the newly created resource
@overload keyword_plan_campaign_keyword
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::KeywordPlanCampaignKeyword] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::KeywordPlanCampaignKeywordOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2242 def self.keyword_plan_campaign_keyword(res = nil, &blk) require "google/ads/google_ads/v8/services/keyword_plan_campaign_keyword_service_pb" op = Google::Ads::GoogleAds::V8::Services::KeywordPlanCampaignKeywordOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.keyword_plan_campaign_keyword(&blk) else Factories::V8::Resources.keyword_plan_campaign_keyword end op end
A convenience method for creating an LabelOperation instance with its “create” field prepopulated with an Label instance.
@overload label
creates an operation instance, yielding a newly fabricated Label which can be used for setting attributes on the newly created resource
@overload label(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::Label] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::LabelOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2323 def self.label(res = nil, &blk) require "google/ads/google_ads/v8/services/label_service_pb" op = Google::Ads::GoogleAds::V8::Services::LabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.label(&blk) else Factories::V8::Resources.label end op end
A convenience method for creating an MediaFileOperation instance with its “create” field prepopulated with an MediaFile instance.
@overload media_file
creates an operation instance, yielding a newly fabricated MediaFile which can be used for setting attributes on the newly created resource
@overload media_file
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::MediaFile] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::MediaFileOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2350 def self.media_file(res = nil, &blk) require "google/ads/google_ads/v8/services/media_file_service_pb" op = Google::Ads::GoogleAds::V8::Services::MediaFileOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.media_file(&blk) else Factories::V8::Resources.media_file end op end
A convenience method for creating an OfflineUserDataJobOperation instance with its “create” field prepopulated with an UserData instance.
@overload offline_user_data_job
creates an operation instance, yielding a newly fabricated UserData which can be used for setting attributes on the newly created resource
@overload offline_user_data_job
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Common::UserData] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::OfflineUserDataJobOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2593 def self.offline_user_data_job(res = nil, &blk) require "google/ads/google_ads/v8/services/offline_user_data_job_service_pb" op = Google::Ads::GoogleAds::V8::Services::OfflineUserDataJobOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.user_data(&blk) else Factories::V8::Resources.user_data end op end
A convenience method for creating an RemarketingActionOperation instance with its “create” field prepopulated with an RemarketingAction instance.
@overload remarketing_action
creates an operation instance, yielding a newly fabricated RemarketingAction which can be used for setting attributes on the newly created resource
@overload remarketing_action
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::RemarketingAction] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::RemarketingActionOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2377 def self.remarketing_action(res = nil, &blk) require "google/ads/google_ads/v8/services/remarketing_action_service_pb" op = Google::Ads::GoogleAds::V8::Services::RemarketingActionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.remarketing_action(&blk) else Factories::V8::Resources.remarketing_action end op end
A convenience method for creating an UserDataOperation instance with its “create” field prepopulated with an UserData instance.
@overload user_data
creates an operation instance, yielding a newly fabricated UserData which can be used for setting attributes on the newly created resource
@overload user_data
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Common::UserData] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::UserDataOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2566 def self.user_data(res = nil, &blk) require "google/ads/google_ads/v8/services/user_data_service_pb" op = Google::Ads::GoogleAds::V8::Services::UserDataOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.user_data(&blk) else Factories::V8::Resources.user_data end op end
A convenience method for creating an UserListOperation instance with its “create” field prepopulated with an UserList instance.
@overload user_list
creates an operation instance, yielding a newly fabricated UserList which can be used for setting attributes on the newly created resource
@overload user_list
(res)
creates an operation instance, with the resource to be created set to the passed value (res) @param res [Google::Ads::GoogleAds::V8::Resources::UserList] a resource instance to be used for creation in this operation.
@return [Google::Ads::GoogleAds::V8::Services::UserListOperation] instance that will create the resource
# File lib/google/ads/google_ads/factories/v8/operations.rb, line 2458 def self.user_list(res = nil, &blk) require "google/ads/google_ads/v8/services/user_list_service_pb" op = Google::Ads::GoogleAds::V8::Services::UserListOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V8::Resources.user_list(&blk) else Factories::V8::Resources.user_list end op end