Module: Google::Ads::GoogleAds::Factories::V17::Operations::CreateResource
- Defined in:
- lib/google/ads/google_ads/factories/v17/operations.rb
Class Method Summary collapse
-
.account_budget_proposal(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AccountBudgetProposalOperation
A convenience method for creating an AccountBudgetProposalOperation instance with its “create” field prepopulated with an AccountBudgetProposal instance.
-
.ad_group(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupOperation
A convenience method for creating an AdGroupOperation instance with its “create” field prepopulated with an AdGroup instance.
-
.ad_group_ad(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAdOperation
A convenience method for creating an AdGroupAdOperation instance with its “create” field prepopulated with an AdGroupAd instance.
-
.ad_group_ad_label(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAdLabelOperation
A convenience method for creating an AdGroupAdLabelOperation instance with its “create” field prepopulated with an AdGroupAdLabel instance.
-
.ad_group_asset(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAssetOperation
A convenience method for creating an AdGroupAssetOperation instance with its “create” field prepopulated with an AdGroupAsset instance.
-
.ad_group_asset_set(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAssetSetOperation
A convenience method for creating an AdGroupAssetSetOperation instance with its “create” field prepopulated with an AdGroupAssetSet instance.
-
.ad_group_bid_modifier(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupBidModifierOperation
A convenience method for creating an AdGroupBidModifierOperation instance with its “create” field prepopulated with an AdGroupBidModifier instance.
-
.ad_group_criterion(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionOperation
A convenience method for creating an AdGroupCriterionOperation instance with its “create” field prepopulated with an AdGroupCriterion instance.
-
.ad_group_criterion_customizer(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionCustomizerOperation
A convenience method for creating an AdGroupCriterionCustomizerOperation instance with its “create” field prepopulated with an AdGroupCriterionCustomizer instance.
-
.ad_group_criterion_label(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionLabelOperation
A convenience method for creating an AdGroupCriterionLabelOperation instance with its “create” field prepopulated with an AdGroupCriterionLabel instance.
-
.ad_group_customizer(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCustomizerOperation
A convenience method for creating an AdGroupCustomizerOperation instance with its “create” field prepopulated with an AdGroupCustomizer instance.
-
.ad_group_extension_setting(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupExtensionSettingOperation
A convenience method for creating an AdGroupExtensionSettingOperation instance with its “create” field prepopulated with an AdGroupExtensionSetting instance.
-
.ad_group_feed(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupFeedOperation
A convenience method for creating an AdGroupFeedOperation instance with its “create” field prepopulated with an AdGroupFeed instance.
-
.ad_group_label(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupLabelOperation
A convenience method for creating an AdGroupLabelOperation instance with its “create” field prepopulated with an AdGroupLabel instance.
-
.ad_parameter(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AdParameterOperation
A convenience method for creating an AdParameterOperation instance with its “create” field prepopulated with an AdParameter instance.
-
.asset(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AssetOperation
A convenience method for creating an AssetOperation instance with its “create” field prepopulated with an Asset instance.
-
.asset_group(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupOperation
A convenience method for creating an AssetGroupOperation instance with its “create” field prepopulated with an AssetGroup instance.
-
.asset_group_asset(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupAssetOperation
A convenience method for creating an AssetGroupAssetOperation instance with its “create” field prepopulated with an AssetGroupAsset instance.
-
.asset_group_listing_group_filter(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupListingGroupFilterOperation
A convenience method for creating an AssetGroupListingGroupFilterOperation instance with its “create” field prepopulated with an AssetGroupListingGroupFilter instance.
-
.asset_group_signal(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupSignalOperation
A convenience method for creating an AssetGroupSignalOperation instance with its “create” field prepopulated with an AssetGroupSignal instance.
-
.asset_set(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AssetSetOperation
A convenience method for creating an AssetSetOperation instance with its “create” field prepopulated with an AssetSet instance.
-
.asset_set_asset(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AssetSetAssetOperation
A convenience method for creating an AssetSetAssetOperation instance with its “create” field prepopulated with an AssetSetAsset instance.
-
.audience(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::AudienceOperation
A convenience method for creating an AudienceOperation instance with its “create” field prepopulated with an Audience instance.
-
.batch_job(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::BatchJobOperation
A convenience method for creating an BatchJobOperation instance with its “create” field prepopulated with an BatchJob instance.
-
.bidding_data_exclusion(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::BiddingDataExclusionOperation
A convenience method for creating an BiddingDataExclusionOperation instance with its “create” field prepopulated with an BiddingDataExclusion instance.
-
.bidding_seasonality_adjustment(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::BiddingSeasonalityAdjustmentOperation
A convenience method for creating an BiddingSeasonalityAdjustmentOperation instance with its “create” field prepopulated with an BiddingSeasonalityAdjustment instance.
-
.bidding_strategy(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::BiddingStrategyOperation
A convenience method for creating an BiddingStrategyOperation instance with its “create” field prepopulated with an BiddingStrategy instance.
-
.billing_setup(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::BillingSetupOperation
A convenience method for creating an BillingSetupOperation instance with its “create” field prepopulated with an BillingSetup instance.
-
.campaign(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignOperation
A convenience method for creating an CampaignOperation instance with its “create” field prepopulated with an Campaign instance.
-
.campaign_asset(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignAssetOperation
A convenience method for creating an CampaignAssetOperation instance with its “create” field prepopulated with an CampaignAsset instance.
-
.campaign_asset_set(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignAssetSetOperation
A convenience method for creating an CampaignAssetSetOperation instance with its “create” field prepopulated with an CampaignAssetSet instance.
-
.campaign_bid_modifier(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignBidModifierOperation
A convenience method for creating an CampaignBidModifierOperation instance with its “create” field prepopulated with an CampaignBidModifier instance.
-
.campaign_budget(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignBudgetOperation
A convenience method for creating an CampaignBudgetOperation instance with its “create” field prepopulated with an CampaignBudget instance.
-
.campaign_criterion(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignCriterionOperation
A convenience method for creating an CampaignCriterionOperation instance with its “create” field prepopulated with an CampaignCriterion instance.
-
.campaign_customizer(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignCustomizerOperation
A convenience method for creating an CampaignCustomizerOperation instance with its “create” field prepopulated with an CampaignCustomizer instance.
-
.campaign_draft(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignDraftOperation
A convenience method for creating an CampaignDraftOperation instance with its “create” field prepopulated with an CampaignDraft instance.
-
.campaign_extension_setting(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignExtensionSettingOperation
A convenience method for creating an CampaignExtensionSettingOperation instance with its “create” field prepopulated with an CampaignExtensionSetting instance.
-
.campaign_feed(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignFeedOperation
A convenience method for creating an CampaignFeedOperation instance with its “create” field prepopulated with an CampaignFeed instance.
-
.campaign_group(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignGroupOperation
A convenience method for creating an CampaignGroupOperation instance with its “create” field prepopulated with an CampaignGroup instance.
-
.campaign_label(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignLabelOperation
A convenience method for creating an CampaignLabelOperation instance with its “create” field prepopulated with an CampaignLabel instance.
-
.campaign_lifecycle_goal(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignLifecycleGoalOperation
A convenience method for creating an CampaignLifecycleGoalOperation instance with its “create” field prepopulated with an CampaignLifecycleGoal instance.
-
.campaign_shared_set(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignSharedSetOperation
A convenience method for creating an CampaignSharedSetOperation instance with its “create” field prepopulated with an CampaignSharedSet instance.
-
.conversion_action(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::ConversionActionOperation
A convenience method for creating an ConversionActionOperation instance with its “create” field prepopulated with an ConversionAction instance.
-
.conversion_custom_variable(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::ConversionCustomVariableOperation
A convenience method for creating an ConversionCustomVariableOperation instance with its “create” field prepopulated with an ConversionCustomVariable instance.
-
.conversion_value_rule(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::ConversionValueRuleOperation
A convenience method for creating an ConversionValueRuleOperation instance with its “create” field prepopulated with an ConversionValueRule instance.
-
.conversion_value_rule_set(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::ConversionValueRuleSetOperation
A convenience method for creating an ConversionValueRuleSetOperation instance with its “create” field prepopulated with an ConversionValueRuleSet instance.
-
.custom_audience(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomAudienceOperation
A convenience method for creating an CustomAudienceOperation instance with its “create” field prepopulated with an CustomAudience instance.
-
.custom_conversion_goal(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomConversionGoalOperation
A convenience method for creating an CustomConversionGoalOperation instance with its “create” field prepopulated with an CustomConversionGoal instance.
-
.custom_interest(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomInterestOperation
A convenience method for creating an CustomInterestOperation instance with its “create” field prepopulated with an CustomInterest instance.
-
.customer_asset(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerAssetOperation
A convenience method for creating an CustomerAssetOperation instance with its “create” field prepopulated with an CustomerAsset instance.
-
.customer_asset_set(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerAssetSetOperation
A convenience method for creating an CustomerAssetSetOperation instance with its “create” field prepopulated with an CustomerAssetSet instance.
-
.customer_client_link(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerClientLinkOperation
A convenience method for creating an CustomerClientLinkOperation instance with its “create” field prepopulated with an CustomerClientLink instance.
-
.customer_customizer(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerCustomizerOperation
A convenience method for creating an CustomerCustomizerOperation instance with its “create” field prepopulated with an CustomerCustomizer instance.
-
.customer_extension_setting(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerExtensionSettingOperation
A convenience method for creating an CustomerExtensionSettingOperation instance with its “create” field prepopulated with an CustomerExtensionSetting instance.
-
.customer_feed(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerFeedOperation
A convenience method for creating an CustomerFeedOperation instance with its “create” field prepopulated with an CustomerFeed instance.
-
.customer_label(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerLabelOperation
A convenience method for creating an CustomerLabelOperation instance with its “create” field prepopulated with an CustomerLabel instance.
-
.customer_lifecycle_goal(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerLifecycleGoalOperation
A convenience method for creating an CustomerLifecycleGoalOperation instance with its “create” field prepopulated with an CustomerLifecycleGoal instance.
-
.customer_negative_criterion(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerNegativeCriterionOperation
A convenience method for creating an CustomerNegativeCriterionOperation instance with its “create” field prepopulated with an CustomerNegativeCriterion instance.
-
.customer_user_access_invitation(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerUserAccessInvitationOperation
A convenience method for creating an CustomerUserAccessInvitationOperation instance with its “create” field prepopulated with an CustomerUserAccessInvitation instance.
-
.customizer_attribute(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::CustomizerAttributeOperation
A convenience method for creating an CustomizerAttributeOperation instance with its “create” field prepopulated with an CustomizerAttribute instance.
-
.experiment(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::ExperimentOperation
A convenience method for creating an ExperimentOperation instance with its “create” field prepopulated with an Experiment instance.
-
.experiment_arm(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::ExperimentArmOperation
A convenience method for creating an ExperimentArmOperation instance with its “create” field prepopulated with an ExperimentArm instance.
-
.extension_feed_item(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::ExtensionFeedItemOperation
A convenience method for creating an ExtensionFeedItemOperation instance with its “create” field prepopulated with an ExtensionFeedItem instance.
-
.feed(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::FeedOperation
A convenience method for creating an FeedOperation instance with its “create” field prepopulated with an Feed instance.
-
.feed_item(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemOperation
A convenience method for creating an FeedItemOperation instance with its “create” field prepopulated with an FeedItem instance.
-
.feed_item_set(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemSetOperation
A convenience method for creating an FeedItemSetOperation instance with its “create” field prepopulated with an FeedItemSet instance.
-
.feed_item_set_link(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemSetLinkOperation
A convenience method for creating an FeedItemSetLinkOperation instance with its “create” field prepopulated with an FeedItemSetLink instance.
-
.feed_item_target(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemTargetOperation
A convenience method for creating an FeedItemTargetOperation instance with its “create” field prepopulated with an FeedItemTarget instance.
-
.feed_mapping(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::FeedMappingOperation
A convenience method for creating an FeedMappingOperation instance with its “create” field prepopulated with an FeedMapping instance.
-
.keyword_plan(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanOperation
A convenience method for creating an KeywordPlanOperation instance with its “create” field prepopulated with an KeywordPlan instance.
-
.keyword_plan_ad_group(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanAdGroupOperation
A convenience method for creating an KeywordPlanAdGroupOperation instance with its “create” field prepopulated with an KeywordPlanAdGroup instance.
-
.keyword_plan_ad_group_keyword(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanAdGroupKeywordOperation
A convenience method for creating an KeywordPlanAdGroupKeywordOperation instance with its “create” field prepopulated with an KeywordPlanAdGroupKeyword instance.
-
.keyword_plan_campaign(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanCampaignOperation
A convenience method for creating an KeywordPlanCampaignOperation instance with its “create” field prepopulated with an KeywordPlanCampaign instance.
-
.keyword_plan_campaign_keyword(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanCampaignKeywordOperation
A convenience method for creating an KeywordPlanCampaignKeywordOperation instance with its “create” field prepopulated with an KeywordPlanCampaignKeyword instance.
-
.label(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::LabelOperation
A convenience method for creating an LabelOperation instance with its “create” field prepopulated with an Label instance.
-
.offline_user_data_job(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::OfflineUserDataJobOperation
A convenience method for creating an OfflineUserDataJobOperation instance with its “create” field prepopulated with an UserData instance.
-
.recommendation_subscription(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::RecommendationSubscriptionOperation
A convenience method for creating an RecommendationSubscriptionOperation instance with its “create” field prepopulated with an RecommendationSubscription instance.
-
.remarketing_action(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::RemarketingActionOperation
A convenience method for creating an RemarketingActionOperation instance with its “create” field prepopulated with an RemarketingAction instance.
-
.shared_criterion(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::SharedCriterionOperation
A convenience method for creating an SharedCriterionOperation instance with its “create” field prepopulated with an SharedCriterion instance.
-
.shared_set(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::SharedSetOperation
A convenience method for creating an SharedSetOperation instance with its “create” field prepopulated with an SharedSet instance.
-
.user_data(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::UserDataOperation
A convenience method for creating an UserDataOperation instance with its “create” field prepopulated with an UserData instance.
-
.user_list(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::UserListOperation
A convenience method for creating an UserListOperation instance with its “create” field prepopulated with an UserList instance.
-
.user_list_customer_type(res = nil, &blk) ⇒ Google::Ads::GoogleAds::V17::Services::UserListCustomerTypeOperation
A convenience method for creating an UserListCustomerTypeOperation instance with its “create” field prepopulated with an UserListCustomerType instance.
Class Method Details
.account_budget_proposal ⇒ Google::Ads::GoogleAds::V17::Services::AccountBudgetProposalOperation .account_budget_proposal(res) ⇒ Google::Ads::GoogleAds::V17::Services::AccountBudgetProposalOperation
A convenience method for creating an AccountBudgetProposalOperation instance with its “create” field prepopulated with an AccountBudgetProposal instance.
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1417 def self.account_budget_proposal(res = nil, &blk) require "google/ads/google_ads/v17/services/account_budget_proposal_service_pb" op = Google::Ads::GoogleAds::V17::Services::AccountBudgetProposalOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.account_budget_proposal(&blk) else Factories::V17::Resources.account_budget_proposal end op end |
.ad_group ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupOperation .ad_group(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupOperation
A convenience method for creating an AdGroupOperation instance with its “create” field prepopulated with an AdGroup instance.
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1768 def self.ad_group(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group(&blk) else Factories::V17::Resources.ad_group end op end |
.ad_group_ad ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAdOperation .ad_group_ad(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAdOperation
A convenience method for creating an AdGroupAdOperation instance with its “create” field prepopulated with an AdGroupAd instance.
1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1471 def self.ad_group_ad(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_ad_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupAdOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_ad(&blk) else Factories::V17::Resources.ad_group_ad end op end |
.ad_group_ad_label ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAdLabelOperation .ad_group_ad_label(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAdLabelOperation
A convenience method for creating an AdGroupAdLabelOperation instance with its “create” field prepopulated with an AdGroupAdLabel instance.
1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1444 def self.ad_group_ad_label(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_ad_label_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupAdLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_ad_label(&blk) else Factories::V17::Resources.ad_group_ad_label end op end |
.ad_group_asset ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAssetOperation .ad_group_asset(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAssetOperation
A convenience method for creating an AdGroupAssetOperation instance with its “create” field prepopulated with an AdGroupAsset instance.
1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1498 def self.ad_group_asset(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_asset_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupAssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_asset(&blk) else Factories::V17::Resources.ad_group_asset end op end |
.ad_group_asset_set ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAssetSetOperation .ad_group_asset_set(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupAssetSetOperation
A convenience method for creating an AdGroupAssetSetOperation instance with its “create” field prepopulated with an AdGroupAssetSet instance.
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1525 def self.ad_group_asset_set(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_asset_set_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupAssetSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_asset_set(&blk) else Factories::V17::Resources.ad_group_asset_set end op end |
.ad_group_bid_modifier ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupBidModifierOperation .ad_group_bid_modifier(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupBidModifierOperation
A convenience method for creating an AdGroupBidModifierOperation instance with its “create” field prepopulated with an AdGroupBidModifier instance.
1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1552 def self.ad_group_bid_modifier(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_bid_modifier_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupBidModifierOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_bid_modifier(&blk) else Factories::V17::Resources.ad_group_bid_modifier end op end |
.ad_group_criterion ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionOperation .ad_group_criterion(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionOperation
A convenience method for creating an AdGroupCriterionOperation instance with its “create” field prepopulated with an AdGroupCriterion instance.
1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1633 def self.ad_group_criterion(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_criterion_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupCriterionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_criterion(&blk) else Factories::V17::Resources.ad_group_criterion end op end |
.ad_group_criterion_customizer ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionCustomizerOperation .ad_group_criterion_customizer(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionCustomizerOperation
A convenience method for creating an AdGroupCriterionCustomizerOperation instance with its “create” field prepopulated with an AdGroupCriterionCustomizer instance.
1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1579 def self.ad_group_criterion_customizer(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_criterion_customizer_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupCriterionCustomizerOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_criterion_customizer(&blk) else Factories::V17::Resources.ad_group_criterion_customizer end op end |
.ad_group_criterion_label ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionLabelOperation .ad_group_criterion_label(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCriterionLabelOperation
A convenience method for creating an AdGroupCriterionLabelOperation instance with its “create” field prepopulated with an AdGroupCriterionLabel instance.
1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1606 def self.ad_group_criterion_label(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_criterion_label_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupCriterionLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_criterion_label(&blk) else Factories::V17::Resources.ad_group_criterion_label end op end |
.ad_group_customizer ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCustomizerOperation .ad_group_customizer(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupCustomizerOperation
A convenience method for creating an AdGroupCustomizerOperation instance with its “create” field prepopulated with an AdGroupCustomizer instance.
1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1660 def self.ad_group_customizer(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_customizer_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupCustomizerOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_customizer(&blk) else Factories::V17::Resources.ad_group_customizer end op end |
.ad_group_extension_setting ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupExtensionSettingOperation .ad_group_extension_setting(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupExtensionSettingOperation
A convenience method for creating an AdGroupExtensionSettingOperation instance with its “create” field prepopulated with an AdGroupExtensionSetting instance.
1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1687 def self.ad_group_extension_setting(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_extension_setting_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupExtensionSettingOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_extension_setting(&blk) else Factories::V17::Resources.ad_group_extension_setting end op end |
.ad_group_feed ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupFeedOperation .ad_group_feed(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupFeedOperation
A convenience method for creating an AdGroupFeedOperation instance with its “create” field prepopulated with an AdGroupFeed instance.
1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1714 def self.ad_group_feed(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_feed_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupFeedOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_feed(&blk) else Factories::V17::Resources.ad_group_feed end op end |
.ad_group_label ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupLabelOperation .ad_group_label(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdGroupLabelOperation
A convenience method for creating an AdGroupLabelOperation instance with its “create” field prepopulated with an AdGroupLabel instance.
1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1741 def self.ad_group_label(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_group_label_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdGroupLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_group_label(&blk) else Factories::V17::Resources.ad_group_label end op end |
.ad_parameter ⇒ Google::Ads::GoogleAds::V17::Services::AdParameterOperation .ad_parameter(res) ⇒ Google::Ads::GoogleAds::V17::Services::AdParameterOperation
A convenience method for creating an AdParameterOperation instance with its “create” field prepopulated with an AdParameter instance.
1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1795 def self.ad_parameter(res = nil, &blk) require "google/ads/google_ads/v17/services/ad_parameter_service_pb" op = Google::Ads::GoogleAds::V17::Services::AdParameterOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.ad_parameter(&blk) else Factories::V17::Resources.ad_parameter end op end |
.asset ⇒ Google::Ads::GoogleAds::V17::Services::AssetOperation .asset(res) ⇒ Google::Ads::GoogleAds::V17::Services::AssetOperation
A convenience method for creating an AssetOperation instance with its “create” field prepopulated with an Asset instance.
1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1930 def self.asset(res = nil, &blk) require "google/ads/google_ads/v17/services/asset_service_pb" op = Google::Ads::GoogleAds::V17::Services::AssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.asset(&blk) else Factories::V17::Resources.asset end op end |
.asset_group ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupOperation .asset_group(res) ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupOperation
A convenience method for creating an AssetGroupOperation instance with its “create” field prepopulated with an AssetGroup instance.
1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1876 def self.asset_group(res = nil, &blk) require "google/ads/google_ads/v17/services/asset_group_service_pb" op = Google::Ads::GoogleAds::V17::Services::AssetGroupOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.asset_group(&blk) else Factories::V17::Resources.asset_group end op end |
.asset_group_asset ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupAssetOperation .asset_group_asset(res) ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupAssetOperation
A convenience method for creating an AssetGroupAssetOperation instance with its “create” field prepopulated with an AssetGroupAsset instance.
1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1822 def self.asset_group_asset(res = nil, &blk) require "google/ads/google_ads/v17/services/asset_group_asset_service_pb" op = Google::Ads::GoogleAds::V17::Services::AssetGroupAssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.asset_group_asset(&blk) else Factories::V17::Resources.asset_group_asset end op end |
.asset_group_listing_group_filter ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupListingGroupFilterOperation .asset_group_listing_group_filter(res) ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupListingGroupFilterOperation
A convenience method for creating an AssetGroupListingGroupFilterOperation instance with its “create” field prepopulated with an AssetGroupListingGroupFilter instance.
1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1849 def self.asset_group_listing_group_filter(res = nil, &blk) require "google/ads/google_ads/v17/services/asset_group_listing_group_filter_service_pb" op = Google::Ads::GoogleAds::V17::Services::AssetGroupListingGroupFilterOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.asset_group_listing_group_filter(&blk) else Factories::V17::Resources.asset_group_listing_group_filter end op end |
.asset_group_signal ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupSignalOperation .asset_group_signal(res) ⇒ Google::Ads::GoogleAds::V17::Services::AssetGroupSignalOperation
A convenience method for creating an AssetGroupSignalOperation instance with its “create” field prepopulated with an AssetGroupSignal instance.
1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1903 def self.asset_group_signal(res = nil, &blk) require "google/ads/google_ads/v17/services/asset_group_signal_service_pb" op = Google::Ads::GoogleAds::V17::Services::AssetGroupSignalOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.asset_group_signal(&blk) else Factories::V17::Resources.asset_group_signal end op end |
.asset_set ⇒ Google::Ads::GoogleAds::V17::Services::AssetSetOperation .asset_set(res) ⇒ Google::Ads::GoogleAds::V17::Services::AssetSetOperation
A convenience method for creating an AssetSetOperation instance with its “create” field prepopulated with an AssetSet instance.
1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1984 def self.asset_set(res = nil, &blk) require "google/ads/google_ads/v17/services/asset_set_service_pb" op = Google::Ads::GoogleAds::V17::Services::AssetSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.asset_set(&blk) else Factories::V17::Resources.asset_set end op end |
.asset_set_asset ⇒ Google::Ads::GoogleAds::V17::Services::AssetSetAssetOperation .asset_set_asset(res) ⇒ Google::Ads::GoogleAds::V17::Services::AssetSetAssetOperation
A convenience method for creating an AssetSetAssetOperation instance with its “create” field prepopulated with an AssetSetAsset instance.
1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 1957 def self.asset_set_asset(res = nil, &blk) require "google/ads/google_ads/v17/services/asset_set_asset_service_pb" op = Google::Ads::GoogleAds::V17::Services::AssetSetAssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.asset_set_asset(&blk) else Factories::V17::Resources.asset_set_asset end op end |
.audience ⇒ Google::Ads::GoogleAds::V17::Services::AudienceOperation .audience(res) ⇒ Google::Ads::GoogleAds::V17::Services::AudienceOperation
A convenience method for creating an AudienceOperation instance with its “create” field prepopulated with an Audience instance.
2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2011 def self.audience(res = nil, &blk) require "google/ads/google_ads/v17/services/audience_service_pb" op = Google::Ads::GoogleAds::V17::Services::AudienceOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.audience(&blk) else Factories::V17::Resources.audience end op end |
.batch_job ⇒ Google::Ads::GoogleAds::V17::Services::BatchJobOperation .batch_job(res) ⇒ Google::Ads::GoogleAds::V17::Services::BatchJobOperation
A convenience method for creating an BatchJobOperation instance with its “create” field prepopulated with an BatchJob instance.
3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3334 def self.batch_job(res = nil, &blk) require "google/ads/google_ads/v17/services/batch_job_service_pb" op = Google::Ads::GoogleAds::V17::Services::BatchJobOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.batch_job(&blk) else Factories::V17::Resources.batch_job end op end |
.bidding_data_exclusion ⇒ Google::Ads::GoogleAds::V17::Services::BiddingDataExclusionOperation .bidding_data_exclusion(res) ⇒ Google::Ads::GoogleAds::V17::Services::BiddingDataExclusionOperation
A convenience method for creating an BiddingDataExclusionOperation instance with its “create” field prepopulated with an BiddingDataExclusion instance.
2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2038 def self.bidding_data_exclusion(res = nil, &blk) require "google/ads/google_ads/v17/services/bidding_data_exclusion_service_pb" op = Google::Ads::GoogleAds::V17::Services::BiddingDataExclusionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.bidding_data_exclusion(&blk) else Factories::V17::Resources.bidding_data_exclusion end op end |
.bidding_seasonality_adjustment ⇒ Google::Ads::GoogleAds::V17::Services::BiddingSeasonalityAdjustmentOperation .bidding_seasonality_adjustment(res) ⇒ Google::Ads::GoogleAds::V17::Services::BiddingSeasonalityAdjustmentOperation
A convenience method for creating an BiddingSeasonalityAdjustmentOperation instance with its “create” field prepopulated with an BiddingSeasonalityAdjustment instance.
2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2065 def self.bidding_seasonality_adjustment(res = nil, &blk) require "google/ads/google_ads/v17/services/bidding_seasonality_adjustment_service_pb" op = Google::Ads::GoogleAds::V17::Services::BiddingSeasonalityAdjustmentOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.bidding_seasonality_adjustment(&blk) else Factories::V17::Resources.bidding_seasonality_adjustment end op end |
.bidding_strategy ⇒ Google::Ads::GoogleAds::V17::Services::BiddingStrategyOperation .bidding_strategy(res) ⇒ Google::Ads::GoogleAds::V17::Services::BiddingStrategyOperation
A convenience method for creating an BiddingStrategyOperation instance with its “create” field prepopulated with an BiddingStrategy instance.
2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2092 def self.bidding_strategy(res = nil, &blk) require "google/ads/google_ads/v17/services/bidding_strategy_service_pb" op = Google::Ads::GoogleAds::V17::Services::BiddingStrategyOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.bidding_strategy(&blk) else Factories::V17::Resources.bidding_strategy end op end |
.billing_setup ⇒ Google::Ads::GoogleAds::V17::Services::BillingSetupOperation .billing_setup(res) ⇒ Google::Ads::GoogleAds::V17::Services::BillingSetupOperation
A convenience method for creating an BillingSetupOperation instance with its “create” field prepopulated with an BillingSetup instance.
3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3361 def self.billing_setup(res = nil, &blk) require "google/ads/google_ads/v17/services/billing_setup_service_pb" op = Google::Ads::GoogleAds::V17::Services::BillingSetupOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.billing_setup(&blk) else Factories::V17::Resources.billing_setup end op end |
.campaign ⇒ Google::Ads::GoogleAds::V17::Services::CampaignOperation .campaign(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignOperation
A convenience method for creating an CampaignOperation instance with its “create” field prepopulated with an Campaign instance.
2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2416 def self.campaign(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign(&blk) else Factories::V17::Resources.campaign end op end |
.campaign_asset ⇒ Google::Ads::GoogleAds::V17::Services::CampaignAssetOperation .campaign_asset(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignAssetOperation
A convenience method for creating an CampaignAssetOperation instance with its “create” field prepopulated with an CampaignAsset instance.
2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2119 def self.campaign_asset(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_asset_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignAssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_asset(&blk) else Factories::V17::Resources.campaign_asset end op end |
.campaign_asset_set ⇒ Google::Ads::GoogleAds::V17::Services::CampaignAssetSetOperation .campaign_asset_set(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignAssetSetOperation
A convenience method for creating an CampaignAssetSetOperation instance with its “create” field prepopulated with an CampaignAssetSet instance.
2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2146 def self.campaign_asset_set(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_asset_set_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignAssetSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_asset_set(&blk) else Factories::V17::Resources.campaign_asset_set end op end |
.campaign_bid_modifier ⇒ Google::Ads::GoogleAds::V17::Services::CampaignBidModifierOperation .campaign_bid_modifier(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignBidModifierOperation
A convenience method for creating an CampaignBidModifierOperation instance with its “create” field prepopulated with an CampaignBidModifier instance.
2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2173 def self.campaign_bid_modifier(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_bid_modifier_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignBidModifierOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_bid_modifier(&blk) else Factories::V17::Resources.campaign_bid_modifier end op end |
.campaign_budget ⇒ Google::Ads::GoogleAds::V17::Services::CampaignBudgetOperation .campaign_budget(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignBudgetOperation
A convenience method for creating an CampaignBudgetOperation instance with its “create” field prepopulated with an CampaignBudget instance.
2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2200 def self.campaign_budget(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_budget_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignBudgetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_budget(&blk) else Factories::V17::Resources.campaign_budget end op end |
.campaign_criterion ⇒ Google::Ads::GoogleAds::V17::Services::CampaignCriterionOperation .campaign_criterion(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignCriterionOperation
A convenience method for creating an CampaignCriterionOperation instance with its “create” field prepopulated with an CampaignCriterion instance.
2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2227 def self.campaign_criterion(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_criterion_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignCriterionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_criterion(&blk) else Factories::V17::Resources.campaign_criterion end op end |
.campaign_customizer ⇒ Google::Ads::GoogleAds::V17::Services::CampaignCustomizerOperation .campaign_customizer(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignCustomizerOperation
A convenience method for creating an CampaignCustomizerOperation instance with its “create” field prepopulated with an CampaignCustomizer instance.
2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2254 def self.campaign_customizer(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_customizer_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignCustomizerOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_customizer(&blk) else Factories::V17::Resources.campaign_customizer end op end |
.campaign_draft ⇒ Google::Ads::GoogleAds::V17::Services::CampaignDraftOperation .campaign_draft(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignDraftOperation
A convenience method for creating an CampaignDraftOperation instance with its “create” field prepopulated with an CampaignDraft instance.
2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2281 def self.campaign_draft(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_draft_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignDraftOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_draft(&blk) else Factories::V17::Resources.campaign_draft end op end |
.campaign_extension_setting ⇒ Google::Ads::GoogleAds::V17::Services::CampaignExtensionSettingOperation .campaign_extension_setting(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignExtensionSettingOperation
A convenience method for creating an CampaignExtensionSettingOperation instance with its “create” field prepopulated with an CampaignExtensionSetting instance.
2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2308 def self.campaign_extension_setting(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_extension_setting_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignExtensionSettingOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_extension_setting(&blk) else Factories::V17::Resources.campaign_extension_setting end op end |
.campaign_feed ⇒ Google::Ads::GoogleAds::V17::Services::CampaignFeedOperation .campaign_feed(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignFeedOperation
A convenience method for creating an CampaignFeedOperation instance with its “create” field prepopulated with an CampaignFeed instance.
2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2335 def self.campaign_feed(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_feed_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignFeedOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_feed(&blk) else Factories::V17::Resources.campaign_feed end op end |
.campaign_group ⇒ Google::Ads::GoogleAds::V17::Services::CampaignGroupOperation .campaign_group(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignGroupOperation
A convenience method for creating an CampaignGroupOperation instance with its “create” field prepopulated with an CampaignGroup instance.
2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2362 def self.campaign_group(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_group_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignGroupOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_group(&blk) else Factories::V17::Resources.campaign_group end op end |
.campaign_label ⇒ Google::Ads::GoogleAds::V17::Services::CampaignLabelOperation .campaign_label(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignLabelOperation
A convenience method for creating an CampaignLabelOperation instance with its “create” field prepopulated with an CampaignLabel instance.
2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2389 def self.campaign_label(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_label_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_label(&blk) else Factories::V17::Resources.campaign_label end op end |
.campaign_lifecycle_goal ⇒ Google::Ads::GoogleAds::V17::Services::CampaignLifecycleGoalOperation .campaign_lifecycle_goal(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignLifecycleGoalOperation
A convenience method for creating an CampaignLifecycleGoalOperation instance with its “create” field prepopulated with an CampaignLifecycleGoal instance.
3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3388 def self.campaign_lifecycle_goal(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_lifecycle_goal_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignLifecycleGoalOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_lifecycle_goal(&blk) else Factories::V17::Resources.campaign_lifecycle_goal end op end |
.campaign_shared_set ⇒ Google::Ads::GoogleAds::V17::Services::CampaignSharedSetOperation .campaign_shared_set(res) ⇒ Google::Ads::GoogleAds::V17::Services::CampaignSharedSetOperation
A convenience method for creating an CampaignSharedSetOperation instance with its “create” field prepopulated with an CampaignSharedSet instance.
2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2443 def self.campaign_shared_set(res = nil, &blk) require "google/ads/google_ads/v17/services/campaign_shared_set_service_pb" op = Google::Ads::GoogleAds::V17::Services::CampaignSharedSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.campaign_shared_set(&blk) else Factories::V17::Resources.campaign_shared_set end op end |
.conversion_action ⇒ Google::Ads::GoogleAds::V17::Services::ConversionActionOperation .conversion_action(res) ⇒ Google::Ads::GoogleAds::V17::Services::ConversionActionOperation
A convenience method for creating an ConversionActionOperation instance with its “create” field prepopulated with an ConversionAction instance.
2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2470 def self.conversion_action(res = nil, &blk) require "google/ads/google_ads/v17/services/conversion_action_service_pb" op = Google::Ads::GoogleAds::V17::Services::ConversionActionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.conversion_action(&blk) else Factories::V17::Resources.conversion_action end op end |
.conversion_custom_variable ⇒ Google::Ads::GoogleAds::V17::Services::ConversionCustomVariableOperation .conversion_custom_variable(res) ⇒ Google::Ads::GoogleAds::V17::Services::ConversionCustomVariableOperation
A convenience method for creating an ConversionCustomVariableOperation instance with its “create” field prepopulated with an ConversionCustomVariable instance.
2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2497 def self.conversion_custom_variable(res = nil, &blk) require "google/ads/google_ads/v17/services/conversion_custom_variable_service_pb" op = Google::Ads::GoogleAds::V17::Services::ConversionCustomVariableOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.conversion_custom_variable(&blk) else Factories::V17::Resources.conversion_custom_variable end op end |
.conversion_value_rule ⇒ Google::Ads::GoogleAds::V17::Services::ConversionValueRuleOperation .conversion_value_rule(res) ⇒ Google::Ads::GoogleAds::V17::Services::ConversionValueRuleOperation
A convenience method for creating an ConversionValueRuleOperation instance with its “create” field prepopulated with an ConversionValueRule instance.
2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2524 def self.conversion_value_rule(res = nil, &blk) require "google/ads/google_ads/v17/services/conversion_value_rule_service_pb" op = Google::Ads::GoogleAds::V17::Services::ConversionValueRuleOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.conversion_value_rule(&blk) else Factories::V17::Resources.conversion_value_rule end op end |
.conversion_value_rule_set ⇒ Google::Ads::GoogleAds::V17::Services::ConversionValueRuleSetOperation .conversion_value_rule_set(res) ⇒ Google::Ads::GoogleAds::V17::Services::ConversionValueRuleSetOperation
A convenience method for creating an ConversionValueRuleSetOperation instance with its “create” field prepopulated with an ConversionValueRuleSet instance.
2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2551 def self.conversion_value_rule_set(res = nil, &blk) require "google/ads/google_ads/v17/services/conversion_value_rule_set_service_pb" op = Google::Ads::GoogleAds::V17::Services::ConversionValueRuleSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.conversion_value_rule_set(&blk) else Factories::V17::Resources.conversion_value_rule_set end op end |
.custom_audience ⇒ Google::Ads::GoogleAds::V17::Services::CustomAudienceOperation .custom_audience(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomAudienceOperation
A convenience method for creating an CustomAudienceOperation instance with its “create” field prepopulated with an CustomAudience instance.
3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3415 def self.custom_audience(res = nil, &blk) require "google/ads/google_ads/v17/services/custom_audience_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomAudienceOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.custom_audience(&blk) else Factories::V17::Resources.custom_audience end op end |
.custom_conversion_goal ⇒ Google::Ads::GoogleAds::V17::Services::CustomConversionGoalOperation .custom_conversion_goal(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomConversionGoalOperation
A convenience method for creating an CustomConversionGoalOperation instance with its “create” field prepopulated with an CustomConversionGoal instance.
2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2578 def self.custom_conversion_goal(res = nil, &blk) require "google/ads/google_ads/v17/services/custom_conversion_goal_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomConversionGoalOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.custom_conversion_goal(&blk) else Factories::V17::Resources.custom_conversion_goal end op end |
.custom_interest ⇒ Google::Ads::GoogleAds::V17::Services::CustomInterestOperation .custom_interest(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomInterestOperation
A convenience method for creating an CustomInterestOperation instance with its “create” field prepopulated with an CustomInterest instance.
3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3442 def self.custom_interest(res = nil, &blk) require "google/ads/google_ads/v17/services/custom_interest_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomInterestOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.custom_interest(&blk) else Factories::V17::Resources.custom_interest end op end |
.customer_asset ⇒ Google::Ads::GoogleAds::V17::Services::CustomerAssetOperation .customer_asset(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerAssetOperation
A convenience method for creating an CustomerAssetOperation instance with its “create” field prepopulated with an CustomerAsset instance.
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2605 def self.customer_asset(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_asset_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerAssetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_asset(&blk) else Factories::V17::Resources.customer_asset end op end |
.customer_asset_set ⇒ Google::Ads::GoogleAds::V17::Services::CustomerAssetSetOperation .customer_asset_set(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerAssetSetOperation
A convenience method for creating an CustomerAssetSetOperation instance with its “create” field prepopulated with an CustomerAssetSet instance.
3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3469 def self.customer_asset_set(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_asset_set_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerAssetSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_asset_set(&blk) else Factories::V17::Resources.customer_asset_set end op end |
.customer_client_link ⇒ Google::Ads::GoogleAds::V17::Services::CustomerClientLinkOperation .customer_client_link(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerClientLinkOperation
A convenience method for creating an CustomerClientLinkOperation instance with its “create” field prepopulated with an CustomerClientLink instance.
3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3496 def self.customer_client_link(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_client_link_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerClientLinkOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_client_link(&blk) else Factories::V17::Resources.customer_client_link end op end |
.customer_customizer ⇒ Google::Ads::GoogleAds::V17::Services::CustomerCustomizerOperation .customer_customizer(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerCustomizerOperation
A convenience method for creating an CustomerCustomizerOperation instance with its “create” field prepopulated with an CustomerCustomizer instance.
2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2632 def self.customer_customizer(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_customizer_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerCustomizerOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_customizer(&blk) else Factories::V17::Resources.customer_customizer end op end |
.customer_extension_setting ⇒ Google::Ads::GoogleAds::V17::Services::CustomerExtensionSettingOperation .customer_extension_setting(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerExtensionSettingOperation
A convenience method for creating an CustomerExtensionSettingOperation instance with its “create” field prepopulated with an CustomerExtensionSetting instance.
2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2659 def self.customer_extension_setting(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_extension_setting_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerExtensionSettingOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_extension_setting(&blk) else Factories::V17::Resources.customer_extension_setting end op end |
.customer_feed ⇒ Google::Ads::GoogleAds::V17::Services::CustomerFeedOperation .customer_feed(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerFeedOperation
A convenience method for creating an CustomerFeedOperation instance with its “create” field prepopulated with an CustomerFeed instance.
2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2686 def self.customer_feed(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_feed_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerFeedOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_feed(&blk) else Factories::V17::Resources.customer_feed end op end |
.customer_label ⇒ Google::Ads::GoogleAds::V17::Services::CustomerLabelOperation .customer_label(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerLabelOperation
A convenience method for creating an CustomerLabelOperation instance with its “create” field prepopulated with an CustomerLabel instance.
2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2713 def self.customer_label(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_label_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerLabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_label(&blk) else Factories::V17::Resources.customer_label end op end |
.customer_lifecycle_goal ⇒ Google::Ads::GoogleAds::V17::Services::CustomerLifecycleGoalOperation .customer_lifecycle_goal(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerLifecycleGoalOperation
A convenience method for creating an CustomerLifecycleGoalOperation instance with its “create” field prepopulated with an CustomerLifecycleGoal instance.
3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3523 def self.customer_lifecycle_goal(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_lifecycle_goal_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerLifecycleGoalOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_lifecycle_goal(&blk) else Factories::V17::Resources.customer_lifecycle_goal end op end |
.customer_negative_criterion ⇒ Google::Ads::GoogleAds::V17::Services::CustomerNegativeCriterionOperation .customer_negative_criterion(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerNegativeCriterionOperation
A convenience method for creating an CustomerNegativeCriterionOperation instance with its “create” field prepopulated with an CustomerNegativeCriterion instance.
2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2740 def self.customer_negative_criterion(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_negative_criterion_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerNegativeCriterionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_negative_criterion(&blk) else Factories::V17::Resources.customer_negative_criterion end op end |
.customer_user_access_invitation ⇒ Google::Ads::GoogleAds::V17::Services::CustomerUserAccessInvitationOperation .customer_user_access_invitation(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomerUserAccessInvitationOperation
A convenience method for creating an CustomerUserAccessInvitationOperation instance with its “create” field prepopulated with an CustomerUserAccessInvitation instance.
3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3550 def self.customer_user_access_invitation(res = nil, &blk) require "google/ads/google_ads/v17/services/customer_user_access_invitation_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomerUserAccessInvitationOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customer_user_access_invitation(&blk) else Factories::V17::Resources.customer_user_access_invitation end op end |
.customizer_attribute ⇒ Google::Ads::GoogleAds::V17::Services::CustomizerAttributeOperation .customizer_attribute(res) ⇒ Google::Ads::GoogleAds::V17::Services::CustomizerAttributeOperation
A convenience method for creating an CustomizerAttributeOperation instance with its “create” field prepopulated with an CustomizerAttribute instance.
2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2767 def self.customizer_attribute(res = nil, &blk) require "google/ads/google_ads/v17/services/customizer_attribute_service_pb" op = Google::Ads::GoogleAds::V17::Services::CustomizerAttributeOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.customizer_attribute(&blk) else Factories::V17::Resources.customizer_attribute end op end |
.experiment ⇒ Google::Ads::GoogleAds::V17::Services::ExperimentOperation .experiment(res) ⇒ Google::Ads::GoogleAds::V17::Services::ExperimentOperation
A convenience method for creating an ExperimentOperation instance with its “create” field prepopulated with an Experiment instance.
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2821 def self.experiment(res = nil, &blk) require "google/ads/google_ads/v17/services/experiment_service_pb" op = Google::Ads::GoogleAds::V17::Services::ExperimentOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.experiment(&blk) else Factories::V17::Resources.experiment end op end |
.experiment_arm ⇒ Google::Ads::GoogleAds::V17::Services::ExperimentArmOperation .experiment_arm(res) ⇒ Google::Ads::GoogleAds::V17::Services::ExperimentArmOperation
A convenience method for creating an ExperimentArmOperation instance with its “create” field prepopulated with an ExperimentArm instance.
2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2794 def self.experiment_arm(res = nil, &blk) require "google/ads/google_ads/v17/services/experiment_arm_service_pb" op = Google::Ads::GoogleAds::V17::Services::ExperimentArmOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.experiment_arm(&blk) else Factories::V17::Resources.experiment_arm end op end |
.extension_feed_item ⇒ Google::Ads::GoogleAds::V17::Services::ExtensionFeedItemOperation .extension_feed_item(res) ⇒ Google::Ads::GoogleAds::V17::Services::ExtensionFeedItemOperation
A convenience method for creating an ExtensionFeedItemOperation instance with its “create” field prepopulated with an ExtensionFeedItem instance.
2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2848 def self.extension_feed_item(res = nil, &blk) require "google/ads/google_ads/v17/services/extension_feed_item_service_pb" op = Google::Ads::GoogleAds::V17::Services::ExtensionFeedItemOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.extension_feed_item(&blk) else Factories::V17::Resources.extension_feed_item end op end |
.feed ⇒ Google::Ads::GoogleAds::V17::Services::FeedOperation .feed(res) ⇒ Google::Ads::GoogleAds::V17::Services::FeedOperation
A convenience method for creating an FeedOperation instance with its “create” field prepopulated with an Feed instance.
3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3010 def self.feed(res = nil, &blk) require "google/ads/google_ads/v17/services/feed_service_pb" op = Google::Ads::GoogleAds::V17::Services::FeedOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.feed(&blk) else Factories::V17::Resources.feed end op end |
.feed_item ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemOperation .feed_item(res) ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemOperation
A convenience method for creating an FeedItemOperation instance with its “create” field prepopulated with an FeedItem instance.
2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2875 def self.feed_item(res = nil, &blk) require "google/ads/google_ads/v17/services/feed_item_service_pb" op = Google::Ads::GoogleAds::V17::Services::FeedItemOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.feed_item(&blk) else Factories::V17::Resources.feed_item end op end |
.feed_item_set ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemSetOperation .feed_item_set(res) ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemSetOperation
A convenience method for creating an FeedItemSetOperation instance with its “create” field prepopulated with an FeedItemSet instance.
2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2929 def self.feed_item_set(res = nil, &blk) require "google/ads/google_ads/v17/services/feed_item_set_service_pb" op = Google::Ads::GoogleAds::V17::Services::FeedItemSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.feed_item_set(&blk) else Factories::V17::Resources.feed_item_set end op end |
.feed_item_set_link ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemSetLinkOperation .feed_item_set_link(res) ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemSetLinkOperation
A convenience method for creating an FeedItemSetLinkOperation instance with its “create” field prepopulated with an FeedItemSetLink instance.
2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2902 def self.feed_item_set_link(res = nil, &blk) require "google/ads/google_ads/v17/services/feed_item_set_link_service_pb" op = Google::Ads::GoogleAds::V17::Services::FeedItemSetLinkOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.feed_item_set_link(&blk) else Factories::V17::Resources.feed_item_set_link end op end |
.feed_item_target ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemTargetOperation .feed_item_target(res) ⇒ Google::Ads::GoogleAds::V17::Services::FeedItemTargetOperation
A convenience method for creating an FeedItemTargetOperation instance with its “create” field prepopulated with an FeedItemTarget instance.
2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2956 def self.feed_item_target(res = nil, &blk) require "google/ads/google_ads/v17/services/feed_item_target_service_pb" op = Google::Ads::GoogleAds::V17::Services::FeedItemTargetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.feed_item_target(&blk) else Factories::V17::Resources.feed_item_target end op end |
.feed_mapping ⇒ Google::Ads::GoogleAds::V17::Services::FeedMappingOperation .feed_mapping(res) ⇒ Google::Ads::GoogleAds::V17::Services::FeedMappingOperation
A convenience method for creating an FeedMappingOperation instance with its “create” field prepopulated with an FeedMapping instance.
2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 2983 def self.feed_mapping(res = nil, &blk) require "google/ads/google_ads/v17/services/feed_mapping_service_pb" op = Google::Ads::GoogleAds::V17::Services::FeedMappingOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.feed_mapping(&blk) else Factories::V17::Resources.feed_mapping end op end |
.keyword_plan ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanOperation .keyword_plan(res) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanOperation
A convenience method for creating an KeywordPlanOperation instance with its “create” field prepopulated with an KeywordPlan instance.
3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3145 def self.keyword_plan(res = nil, &blk) require "google/ads/google_ads/v17/services/keyword_plan_service_pb" op = Google::Ads::GoogleAds::V17::Services::KeywordPlanOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.keyword_plan(&blk) else Factories::V17::Resources.keyword_plan end op end |
.keyword_plan_ad_group ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanAdGroupOperation .keyword_plan_ad_group(res) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanAdGroupOperation
A convenience method for creating an KeywordPlanAdGroupOperation instance with its “create” field prepopulated with an KeywordPlanAdGroup instance.
3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3064 def self.keyword_plan_ad_group(res = nil, &blk) require "google/ads/google_ads/v17/services/keyword_plan_ad_group_service_pb" op = Google::Ads::GoogleAds::V17::Services::KeywordPlanAdGroupOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.keyword_plan_ad_group(&blk) else Factories::V17::Resources.keyword_plan_ad_group end op end |
.keyword_plan_ad_group_keyword ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanAdGroupKeywordOperation .keyword_plan_ad_group_keyword(res) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanAdGroupKeywordOperation
A convenience method for creating an KeywordPlanAdGroupKeywordOperation instance with its “create” field prepopulated with an KeywordPlanAdGroupKeyword instance.
3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3037 def self.keyword_plan_ad_group_keyword(res = nil, &blk) require "google/ads/google_ads/v17/services/keyword_plan_ad_group_keyword_service_pb" op = Google::Ads::GoogleAds::V17::Services::KeywordPlanAdGroupKeywordOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.keyword_plan_ad_group_keyword(&blk) else Factories::V17::Resources.keyword_plan_ad_group_keyword end op end |
.keyword_plan_campaign ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanCampaignOperation .keyword_plan_campaign(res) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanCampaignOperation
A convenience method for creating an KeywordPlanCampaignOperation instance with its “create” field prepopulated with an KeywordPlanCampaign instance.
3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3118 def self.keyword_plan_campaign(res = nil, &blk) require "google/ads/google_ads/v17/services/keyword_plan_campaign_service_pb" op = Google::Ads::GoogleAds::V17::Services::KeywordPlanCampaignOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.keyword_plan_campaign(&blk) else Factories::V17::Resources.keyword_plan_campaign end op end |
.keyword_plan_campaign_keyword ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanCampaignKeywordOperation .keyword_plan_campaign_keyword(res) ⇒ Google::Ads::GoogleAds::V17::Services::KeywordPlanCampaignKeywordOperation
A convenience method for creating an KeywordPlanCampaignKeywordOperation instance with its “create” field prepopulated with an KeywordPlanCampaignKeyword instance.
3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3091 def self.keyword_plan_campaign_keyword(res = nil, &blk) require "google/ads/google_ads/v17/services/keyword_plan_campaign_keyword_service_pb" op = Google::Ads::GoogleAds::V17::Services::KeywordPlanCampaignKeywordOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.keyword_plan_campaign_keyword(&blk) else Factories::V17::Resources.keyword_plan_campaign_keyword end op end |
.label ⇒ Google::Ads::GoogleAds::V17::Services::LabelOperation .label(res) ⇒ Google::Ads::GoogleAds::V17::Services::LabelOperation
A convenience method for creating an LabelOperation instance with its “create” field prepopulated with an Label instance.
3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3172 def self.label(res = nil, &blk) require "google/ads/google_ads/v17/services/label_service_pb" op = Google::Ads::GoogleAds::V17::Services::LabelOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.label(&blk) else Factories::V17::Resources.label end op end |
.offline_user_data_job ⇒ Google::Ads::GoogleAds::V17::Services::OfflineUserDataJobOperation .offline_user_data_job(res) ⇒ Google::Ads::GoogleAds::V17::Services::OfflineUserDataJobOperation
A convenience method for creating an OfflineUserDataJobOperation instance with its “create” field prepopulated with an UserData instance.
3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3577 def self.offline_user_data_job(res = nil, &blk) require "google/ads/google_ads/v17/services/offline_user_data_job_service_pb" op = Google::Ads::GoogleAds::V17::Services::OfflineUserDataJobOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.user_data(&blk) else Factories::V17::Resources.user_data end op end |
.recommendation_subscription ⇒ Google::Ads::GoogleAds::V17::Services::RecommendationSubscriptionOperation .recommendation_subscription(res) ⇒ Google::Ads::GoogleAds::V17::Services::RecommendationSubscriptionOperation
A convenience method for creating an RecommendationSubscriptionOperation instance with its “create” field prepopulated with an RecommendationSubscription instance.
3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3199 def self.recommendation_subscription(res = nil, &blk) require "google/ads/google_ads/v17/services/recommendation_subscription_service_pb" op = Google::Ads::GoogleAds::V17::Services::RecommendationSubscriptionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.recommendation_subscription(&blk) else Factories::V17::Resources.recommendation_subscription end op end |
.remarketing_action ⇒ Google::Ads::GoogleAds::V17::Services::RemarketingActionOperation .remarketing_action(res) ⇒ Google::Ads::GoogleAds::V17::Services::RemarketingActionOperation
A convenience method for creating an RemarketingActionOperation instance with its “create” field prepopulated with an RemarketingAction instance.
3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3226 def self.remarketing_action(res = nil, &blk) require "google/ads/google_ads/v17/services/remarketing_action_service_pb" op = Google::Ads::GoogleAds::V17::Services::RemarketingActionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.remarketing_action(&blk) else Factories::V17::Resources.remarketing_action end op end |
.shared_criterion ⇒ Google::Ads::GoogleAds::V17::Services::SharedCriterionOperation .shared_criterion(res) ⇒ Google::Ads::GoogleAds::V17::Services::SharedCriterionOperation
A convenience method for creating an SharedCriterionOperation instance with its “create” field prepopulated with an SharedCriterion instance.
3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3253 def self.shared_criterion(res = nil, &blk) require "google/ads/google_ads/v17/services/shared_criterion_service_pb" op = Google::Ads::GoogleAds::V17::Services::SharedCriterionOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.shared_criterion(&blk) else Factories::V17::Resources.shared_criterion end op end |
.shared_set ⇒ Google::Ads::GoogleAds::V17::Services::SharedSetOperation .shared_set(res) ⇒ Google::Ads::GoogleAds::V17::Services::SharedSetOperation
A convenience method for creating an SharedSetOperation instance with its “create” field prepopulated with an SharedSet instance.
3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3280 def self.shared_set(res = nil, &blk) require "google/ads/google_ads/v17/services/shared_set_service_pb" op = Google::Ads::GoogleAds::V17::Services::SharedSetOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.shared_set(&blk) else Factories::V17::Resources.shared_set end op end |
.user_data ⇒ Google::Ads::GoogleAds::V17::Services::UserDataOperation .user_data(res) ⇒ Google::Ads::GoogleAds::V17::Services::UserDataOperation
A convenience method for creating an UserDataOperation instance with its “create” field prepopulated with an UserData instance.
3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3604 def self.user_data(res = nil, &blk) require "google/ads/google_ads/v17/services/user_data_service_pb" op = Google::Ads::GoogleAds::V17::Services::UserDataOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.user_data(&blk) else Factories::V17::Resources.user_data end op end |
.user_list ⇒ Google::Ads::GoogleAds::V17::Services::UserListOperation .user_list(res) ⇒ Google::Ads::GoogleAds::V17::Services::UserListOperation
A convenience method for creating an UserListOperation instance with its “create” field prepopulated with an UserList instance.
3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3307 def self.user_list(res = nil, &blk) require "google/ads/google_ads/v17/services/user_list_service_pb" op = Google::Ads::GoogleAds::V17::Services::UserListOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.user_list(&blk) else Factories::V17::Resources.user_list end op end |
.user_list_customer_type ⇒ Google::Ads::GoogleAds::V17::Services::UserListCustomerTypeOperation .user_list_customer_type(res) ⇒ Google::Ads::GoogleAds::V17::Services::UserListCustomerTypeOperation
A convenience method for creating an UserListCustomerTypeOperation instance with its “create” field prepopulated with an UserListCustomerType instance.
3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 |
# File 'lib/google/ads/google_ads/factories/v17/operations.rb', line 3631 def self.user_list_customer_type(res = nil, &blk) require "google/ads/google_ads/v17/services/user_list_customer_type_service_pb" op = Google::Ads::GoogleAds::V17::Services::UserListCustomerTypeOperation.new op["create"] = if !res.nil? res elsif !blk.nil? Factories::V17::Resources.user_list_customer_type(&blk) else Factories::V17::Resources.user_list_customer_type end op end |