google-ads-googleads 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +7 -0
  3. data/Rakefile +6 -2
  4. data/google_ads_config.rb +19 -0
  5. data/lib/google/ads/google_ads/config.rb +11 -0
  6. data/lib/google/ads/google_ads/deprecation.rb +100 -0
  7. data/lib/google/ads/google_ads/factories/v1/enums.rb +1170 -1170
  8. data/lib/google/ads/google_ads/factories/v1/operations.rb +1269 -1269
  9. data/lib/google/ads/google_ads/factories/v1/resources.rb +2366 -2366
  10. data/lib/google/ads/google_ads/factories/v1/services.rb +310 -310
  11. data/lib/google/ads/google_ads/google_ads_client.rb +63 -78
  12. data/lib/google/ads/google_ads/service_lookup.rb +154 -0
  13. data/lib/google/ads/google_ads/v1/services/account_budget_proposal_service_client_config.json +4 -4
  14. data/lib/google/ads/google_ads/v1/services/account_budget_service_client_config.json +4 -4
  15. data/lib/google/ads/google_ads/v1/services/ad_group_ad_label_service_client_config.json +4 -4
  16. data/lib/google/ads/google_ads/v1/services/ad_group_ad_service_client_config.json +4 -4
  17. data/lib/google/ads/google_ads/v1/services/ad_group_audience_view_service_client_config.json +4 -4
  18. data/lib/google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client_config.json +4 -4
  19. data/lib/google/ads/google_ads/v1/services/ad_group_criterion_label_service_client_config.json +4 -4
  20. data/lib/google/ads/google_ads/v1/services/ad_group_criterion_service_client_config.json +4 -4
  21. data/lib/google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_client_config.json +4 -4
  22. data/lib/google/ads/google_ads/v1/services/ad_group_extension_setting_service_client_config.json +4 -4
  23. data/lib/google/ads/google_ads/v1/services/ad_group_feed_service_client_config.json +4 -4
  24. data/lib/google/ads/google_ads/v1/services/ad_group_label_service_client_config.json +4 -4
  25. data/lib/google/ads/google_ads/v1/services/ad_group_service_client_config.json +4 -4
  26. data/lib/google/ads/google_ads/v1/services/ad_group_simulation_service_client_config.json +4 -4
  27. data/lib/google/ads/google_ads/v1/services/ad_parameter_service_client_config.json +4 -4
  28. data/lib/google/ads/google_ads/v1/services/ad_schedule_view_service_client_config.json +4 -4
  29. data/lib/google/ads/google_ads/v1/services/age_range_view_service_client_config.json +4 -4
  30. data/lib/google/ads/google_ads/v1/services/asset_service_client_config.json +4 -4
  31. data/lib/google/ads/google_ads/v1/services/bidding_strategy_service_client_config.json +4 -4
  32. data/lib/google/ads/google_ads/v1/services/billing_setup_service_client_config.json +4 -4
  33. data/lib/google/ads/google_ads/v1/services/campaign_audience_view_service_client_config.json +4 -4
  34. data/lib/google/ads/google_ads/v1/services/campaign_bid_modifier_service_client_config.json +4 -4
  35. data/lib/google/ads/google_ads/v1/services/campaign_budget_service_client_config.json +4 -4
  36. data/lib/google/ads/google_ads/v1/services/campaign_criterion_service_client_config.json +4 -4
  37. data/lib/google/ads/google_ads/v1/services/campaign_criterion_simulation_service_client_config.json +4 -4
  38. data/lib/google/ads/google_ads/v1/services/campaign_draft_service_client_config.json +4 -4
  39. data/lib/google/ads/google_ads/v1/services/campaign_experiment_service_client_config.json +4 -4
  40. data/lib/google/ads/google_ads/v1/services/campaign_extension_setting_service_client_config.json +4 -4
  41. data/lib/google/ads/google_ads/v1/services/campaign_feed_service_client_config.json +4 -4
  42. data/lib/google/ads/google_ads/v1/services/campaign_label_service_client_config.json +4 -4
  43. data/lib/google/ads/google_ads/v1/services/campaign_service_client_config.json +4 -4
  44. data/lib/google/ads/google_ads/v1/services/campaign_shared_set_service_client_config.json +4 -4
  45. data/lib/google/ads/google_ads/v1/services/carrier_constant_service_client_config.json +4 -4
  46. data/lib/google/ads/google_ads/v1/services/change_status_service_client_config.json +4 -4
  47. data/lib/google/ads/google_ads/v1/services/click_view_service_client_config.json +4 -4
  48. data/lib/google/ads/google_ads/v1/services/conversion_action_service_client_config.json +4 -4
  49. data/lib/google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client_config.json +4 -4
  50. data/lib/google/ads/google_ads/v1/services/conversion_upload_service_client_config.json +4 -4
  51. data/lib/google/ads/google_ads/v1/services/custom_interest_service_client_config.json +4 -4
  52. data/lib/google/ads/google_ads/v1/services/customer_client_link_service_client_config.json +4 -4
  53. data/lib/google/ads/google_ads/v1/services/customer_client_service_client_config.json +4 -4
  54. data/lib/google/ads/google_ads/v1/services/customer_extension_setting_service_client_config.json +4 -4
  55. data/lib/google/ads/google_ads/v1/services/customer_feed_service_client_config.json +4 -4
  56. data/lib/google/ads/google_ads/v1/services/customer_label_service_client_config.json +4 -4
  57. data/lib/google/ads/google_ads/v1/services/customer_manager_link_service_client_config.json +4 -4
  58. data/lib/google/ads/google_ads/v1/services/customer_negative_criterion_service_client_config.json +4 -4
  59. data/lib/google/ads/google_ads/v1/services/customer_service_client_config.json +4 -4
  60. data/lib/google/ads/google_ads/v1/services/detail_placement_view_service_client_config.json +4 -4
  61. data/lib/google/ads/google_ads/v1/services/display_keyword_view_service_client_config.json +4 -4
  62. data/lib/google/ads/google_ads/v1/services/domain_category_service_client_config.json +4 -4
  63. data/lib/google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client_config.json +4 -4
  64. data/lib/google/ads/google_ads/v1/services/expanded_landing_page_view_service_client_config.json +4 -4
  65. data/lib/google/ads/google_ads/v1/services/extension_feed_item_service_client_config.json +4 -4
  66. data/lib/google/ads/google_ads/v1/services/feed_item_service_client_config.json +4 -4
  67. data/lib/google/ads/google_ads/v1/services/feed_item_target_service_client_config.json +4 -4
  68. data/lib/google/ads/google_ads/v1/services/feed_mapping_service_client_config.json +4 -4
  69. data/lib/google/ads/google_ads/v1/services/feed_placeholder_view_service_client_config.json +4 -4
  70. data/lib/google/ads/google_ads/v1/services/feed_service_client_config.json +4 -4
  71. data/lib/google/ads/google_ads/v1/services/gender_view_service_client_config.json +4 -4
  72. data/lib/google/ads/google_ads/v1/services/geo_target_constant_service_client_config.json +4 -4
  73. data/lib/google/ads/google_ads/v1/services/geographic_view_service_client_config.json +4 -4
  74. data/lib/google/ads/google_ads/v1/services/google_ads_field_service_client_config.json +5 -5
  75. data/lib/google/ads/google_ads/v1/services/google_ads_service_client_config.json +5 -5
  76. data/lib/google/ads/google_ads/v1/services/group_placement_view_service_client_config.json +4 -4
  77. data/lib/google/ads/google_ads/v1/services/hotel_group_view_service_client_config.json +4 -4
  78. data/lib/google/ads/google_ads/v1/services/hotel_performance_view_service_client_config.json +4 -4
  79. data/lib/google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client_config.json +4 -4
  80. data/lib/google/ads/google_ads/v1/services/keyword_plan_campaign_service_client_config.json +4 -4
  81. data/lib/google/ads/google_ads/v1/services/keyword_plan_idea_service_client_config.json +5 -5
  82. data/lib/google/ads/google_ads/v1/services/keyword_plan_keyword_service_client_config.json +4 -4
  83. data/lib/google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client_config.json +4 -4
  84. data/lib/google/ads/google_ads/v1/services/keyword_plan_service_client_config.json +6 -6
  85. data/lib/google/ads/google_ads/v1/services/keyword_view_service_client_config.json +4 -4
  86. data/lib/google/ads/google_ads/v1/services/label_service_client_config.json +4 -4
  87. data/lib/google/ads/google_ads/v1/services/landing_page_view_service_client_config.json +4 -4
  88. data/lib/google/ads/google_ads/v1/services/language_constant_service_client_config.json +4 -4
  89. data/lib/google/ads/google_ads/v1/services/location_view_service_client_config.json +4 -4
  90. data/lib/google/ads/google_ads/v1/services/managed_placement_view_service_client_config.json +4 -4
  91. data/lib/google/ads/google_ads/v1/services/media_file_service_client_config.json +4 -4
  92. data/lib/google/ads/google_ads/v1/services/merchant_center_link_service_client_config.json +4 -4
  93. data/lib/google/ads/google_ads/v1/services/mobile_app_category_constant_service_client_config.json +4 -4
  94. data/lib/google/ads/google_ads/v1/services/mobile_device_constant_service_client_config.json +4 -4
  95. data/lib/google/ads/google_ads/v1/services/mutate_job_service_client_config.json +4 -4
  96. data/lib/google/ads/google_ads/v1/services/operating_system_version_constant_service_client_config.json +4 -4
  97. data/lib/google/ads/google_ads/v1/services/paid_organic_search_term_view_service_client_config.json +4 -4
  98. data/lib/google/ads/google_ads/v1/services/parental_status_view_service_client_config.json +4 -4
  99. data/lib/google/ads/google_ads/v1/services/payments_account_service_client_config.json +4 -4
  100. data/lib/google/ads/google_ads/v1/services/product_bidding_category_constant_service_client_config.json +4 -4
  101. data/lib/google/ads/google_ads/v1/services/product_group_view_service_client_config.json +4 -4
  102. data/lib/google/ads/google_ads/v1/services/recommendation_service_client_config.json +4 -4
  103. data/lib/google/ads/google_ads/v1/services/remarketing_action_service_client_config.json +4 -4
  104. data/lib/google/ads/google_ads/v1/services/search_term_view_service_client_config.json +4 -4
  105. data/lib/google/ads/google_ads/v1/services/shared_criterion_service_client_config.json +4 -4
  106. data/lib/google/ads/google_ads/v1/services/shared_set_service_client_config.json +4 -4
  107. data/lib/google/ads/google_ads/v1/services/shopping_performance_view_service_client_config.json +4 -4
  108. data/lib/google/ads/google_ads/v1/services/topic_constant_service_client_config.json +4 -4
  109. data/lib/google/ads/google_ads/v1/services/topic_view_service_client_config.json +4 -4
  110. data/lib/google/ads/google_ads/v1/services/user_interest_service_client_config.json +4 -4
  111. data/lib/google/ads/google_ads/v1/services/user_list_service_client_config.json +4 -4
  112. data/lib/google/ads/google_ads/v1/services/video_service_client_config.json +4 -4
  113. data/lib/google/ads/google_ads/version.rb +1 -1
  114. metadata +5 -3
@@ -12,44 +12,76 @@ module Google
12
12
  Google::Ads::GoogleAds::V1::Resources::FeedAttributeOperation.new
13
13
  end
14
14
 
15
- # Create a new CustomInterestOperation
15
+ # Create a new KeywordPlanKeywordOperation
16
16
  #
17
- # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation
18
- def self.custom_interest
19
- require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
20
- Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
17
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation
18
+ def self.keyword_plan_keyword
19
+ require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
20
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
21
21
  end
22
22
 
23
- # Create a new RemarketingActionOperation
23
+ # Create a new FeedMappingOperation
24
24
  #
25
- # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation
26
- def self.remarketing_action
27
- require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
28
- Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
25
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] the operation
26
+ def self.feed_mapping
27
+ require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
28
+ Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
29
29
  end
30
30
 
31
- # Create a new KeywordPlanCampaignOperation
31
+ # Create a new FeedOperation
32
32
  #
33
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation
34
- def self.keyword_plan_campaign
35
- require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
36
- Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
33
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation
34
+ def self.feed
35
+ require "google/ads/google_ads/v1/services/feed_service_pb.rb"
36
+ Google::Ads::GoogleAds::V1::Services::FeedOperation.new
37
37
  end
38
38
 
39
- # Create a new AdGroupAdLabelOperation
39
+ # Create a new AdGroupCriterionLabelOperation
40
40
  #
41
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] the operation
42
- def self.ad_group_ad_label
43
- require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
44
- Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
41
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] the operation
42
+ def self.ad_group_criterion_label
43
+ require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
44
+ Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
45
45
  end
46
46
 
47
- # Create a new AdGroupAdOperation
47
+ # Create a new ConversionActionOperation
48
48
  #
49
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] the operation
50
- def self.ad_group_ad
51
- require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
52
- Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
49
+ # @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] the operation
50
+ def self.conversion_action
51
+ require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
52
+ Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
53
+ end
54
+
55
+ # Create a new BiddingStrategyOperation
56
+ #
57
+ # @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] the operation
58
+ def self.bidding_strategy
59
+ require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
60
+ Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
61
+ end
62
+
63
+ # Create a new AccountBudgetProposalOperation
64
+ #
65
+ # @return [Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation] the operation
66
+ def self.account_budget_proposal
67
+ require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
68
+ Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
69
+ end
70
+
71
+ # Create a new FeedItemOperation
72
+ #
73
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation
74
+ def self.feed_item
75
+ require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
76
+ Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
77
+ end
78
+
79
+ # Create a new CampaignBudgetOperation
80
+ #
81
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] the operation
82
+ def self.campaign_budget
83
+ require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
84
+ Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
53
85
  end
54
86
 
55
87
  # Create a new AdGroupBidModifierOperation
@@ -60,12 +92,52 @@ module Google
60
92
  Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
61
93
  end
62
94
 
63
- # Create a new AdGroupCriterionLabelOperation
95
+ # Create a new CustomerOperation
64
96
  #
65
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] the operation
66
- def self.ad_group_criterion_label
67
- require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
68
- Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
97
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] the operation
98
+ def self.customer
99
+ require "google/ads/google_ads/v1/services/customer_service_pb.rb"
100
+ Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
101
+ end
102
+
103
+ # Create a new CampaignLabelOperation
104
+ #
105
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] the operation
106
+ def self.campaign_label
107
+ require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
108
+ Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
109
+ end
110
+
111
+ # Create a new SharedCriterionOperation
112
+ #
113
+ # @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] the operation
114
+ def self.shared_criterion
115
+ require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
116
+ Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
117
+ end
118
+
119
+ # Create a new KeywordPlanAdGroupOperation
120
+ #
121
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation
122
+ def self.keyword_plan_ad_group
123
+ require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
124
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
125
+ end
126
+
127
+ # Create a new CampaignDraftOperation
128
+ #
129
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation
130
+ def self.campaign_draft
131
+ require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
132
+ Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
133
+ end
134
+
135
+ # Create a new CampaignFeedOperation
136
+ #
137
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation
138
+ def self.campaign_feed
139
+ require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
140
+ Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
69
141
  end
70
142
 
71
143
  # Create a new AdGroupCriterionOperation
@@ -76,6 +148,22 @@ module Google
76
148
  Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
77
149
  end
78
150
 
151
+ # Create a new AdGroupAdLabelOperation
152
+ #
153
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] the operation
154
+ def self.ad_group_ad_label
155
+ require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
156
+ Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
157
+ end
158
+
159
+ # Create a new AdGroupAdOperation
160
+ #
161
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] the operation
162
+ def self.ad_group_ad
163
+ require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
164
+ Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
165
+ end
166
+
79
167
  # Create a new AdGroupExtensionSettingOperation
80
168
  #
81
169
  # @return [Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation] the operation
@@ -124,14 +212,6 @@ module Google
124
212
  Google::Ads::GoogleAds::V1::Services::AssetOperation.new
125
213
  end
126
214
 
127
- # Create a new BiddingStrategyOperation
128
- #
129
- # @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] the operation
130
- def self.bidding_strategy
131
- require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
132
- Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
133
- end
134
-
135
215
  # Create a new CampaignBidModifierOperation
136
216
  #
137
217
  # @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] the operation
@@ -140,14 +220,6 @@ module Google
140
220
  Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
141
221
  end
142
222
 
143
- # Create a new CampaignBudgetOperation
144
- #
145
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] the operation
146
- def self.campaign_budget
147
- require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
148
- Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
149
- end
150
-
151
223
  # Create a new CampaignCriterionOperation
152
224
  #
153
225
  # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation
@@ -156,14 +228,6 @@ module Google
156
228
  Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
157
229
  end
158
230
 
159
- # Create a new CampaignDraftOperation
160
- #
161
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation
162
- def self.campaign_draft
163
- require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
164
- Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
165
- end
166
-
167
231
  # Create a new CampaignExperimentOperation
168
232
  #
169
233
  # @return [Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation] the operation
@@ -180,22 +244,6 @@ module Google
180
244
  Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
181
245
  end
182
246
 
183
- # Create a new CampaignFeedOperation
184
- #
185
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation
186
- def self.campaign_feed
187
- require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
188
- Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
189
- end
190
-
191
- # Create a new CampaignLabelOperation
192
- #
193
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] the operation
194
- def self.campaign_label
195
- require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
196
- Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
197
- end
198
-
199
247
  # Create a new CampaignOperation
200
248
  #
201
249
  # @return [Google::Ads::GoogleAds::V1::Services::CampaignOperation] the operation
@@ -212,14 +260,6 @@ module Google
212
260
  Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
213
261
  end
214
262
 
215
- # Create a new ConversionActionOperation
216
- #
217
- # @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] the operation
218
- def self.conversion_action
219
- require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
220
- Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
221
- end
222
-
223
263
  # Create a new CustomerExtensionSettingOperation
224
264
  #
225
265
  # @return [Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation] the operation
@@ -252,14 +292,6 @@ module Google
252
292
  Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
253
293
  end
254
294
 
255
- # Create a new CustomerOperation
256
- #
257
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] the operation
258
- def self.customer
259
- require "google/ads/google_ads/v1/services/customer_service_pb.rb"
260
- Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
261
- end
262
-
263
295
  # Create a new ExtensionFeedItemOperation
264
296
  #
265
297
  # @return [Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation] the operation
@@ -268,14 +300,6 @@ module Google
268
300
  Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
269
301
  end
270
302
 
271
- # Create a new FeedItemOperation
272
- #
273
- # @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation
274
- def self.feed_item
275
- require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
276
- Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
277
- end
278
-
279
303
  # Create a new FeedItemTargetOperation
280
304
  #
281
305
  # @return [Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation] the operation
@@ -284,22 +308,6 @@ module Google
284
308
  Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation.new
285
309
  end
286
310
 
287
- # Create a new FeedMappingOperation
288
- #
289
- # @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] the operation
290
- def self.feed_mapping
291
- require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
292
- Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
293
- end
294
-
295
- # Create a new FeedOperation
296
- #
297
- # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation
298
- def self.feed
299
- require "google/ads/google_ads/v1/services/feed_service_pb.rb"
300
- Google::Ads::GoogleAds::V1::Services::FeedOperation.new
301
- end
302
-
303
311
  # Create a new LabelOperation
304
312
  #
305
313
  # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] the operation
@@ -316,12 +324,12 @@ module Google
316
324
  Google::Ads::GoogleAds::V1::Services::MediaFileOperation.new
317
325
  end
318
326
 
319
- # Create a new SharedCriterionOperation
327
+ # Create a new RemarketingActionOperation
320
328
  #
321
- # @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] the operation
322
- def self.shared_criterion
323
- require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
324
- Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
329
+ # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation
330
+ def self.remarketing_action
331
+ require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
332
+ Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
325
333
  end
326
334
 
327
335
  # Create a new SharedSetOperation
@@ -348,14 +356,6 @@ module Google
348
356
  Google::Ads::GoogleAds::V1::Services::MutateOperation.new
349
357
  end
350
358
 
351
- # Create a new KeywordPlanKeywordOperation
352
- #
353
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation
354
- def self.keyword_plan_keyword
355
- require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
356
- Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
357
- end
358
-
359
359
  # Create a new ApplyRecommendationOperation
360
360
  #
361
361
  # @return [Google::Ads::GoogleAds::V1::Services::ApplyRecommendationOperation] the operation
@@ -372,20 +372,20 @@ module Google
372
372
  Google::Ads::GoogleAds::V1::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
373
373
  end
374
374
 
375
- # Create a new KeywordPlanNegativeKeywordOperation
375
+ # Create a new KeywordPlanCampaignOperation
376
376
  #
377
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation
378
- def self.keyword_plan_negative_keyword
379
- require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
380
- Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
377
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation
378
+ def self.keyword_plan_campaign
379
+ require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
380
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
381
381
  end
382
382
 
383
- # Create a new KeywordPlanOperation
383
+ # Create a new BillingSetupOperation
384
384
  #
385
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] the operation
386
- def self.keyword_plan
387
- require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
388
- Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
385
+ # @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] the operation
386
+ def self.billing_setup
387
+ require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
388
+ Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
389
389
  end
390
390
 
391
391
  # Create a new MerchantCenterLinkOperation
@@ -396,6 +396,14 @@ module Google
396
396
  Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
397
397
  end
398
398
 
399
+ # Create a new KeywordPlanOperation
400
+ #
401
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation] the operation
402
+ def self.keyword_plan
403
+ require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
404
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
405
+ end
406
+
399
407
  # Create a new CustomerManagerLinkOperation
400
408
  #
401
409
  # @return [Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation] the operation
@@ -404,12 +412,20 @@ module Google
404
412
  Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
405
413
  end
406
414
 
407
- # Create a new AccountBudgetProposalOperation
415
+ # Create a new KeywordPlanNegativeKeywordOperation
408
416
  #
409
- # @return [Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation] the operation
410
- def self.account_budget_proposal
411
- require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
412
- Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
417
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation
418
+ def self.keyword_plan_negative_keyword
419
+ require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
420
+ Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
421
+ end
422
+
423
+ # Create a new CustomInterestOperation
424
+ #
425
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation
426
+ def self.custom_interest
427
+ require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
428
+ Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
413
429
  end
414
430
 
415
431
  # Create a new CustomerClientLinkOperation
@@ -420,22 +436,6 @@ module Google
420
436
  Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
421
437
  end
422
438
 
423
- # Create a new BillingSetupOperation
424
- #
425
- # @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] the operation
426
- def self.billing_setup
427
- require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
428
- Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
429
- end
430
-
431
- # Create a new KeywordPlanAdGroupOperation
432
- #
433
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation
434
- def self.keyword_plan_ad_group
435
- require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
436
- Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
437
- end
438
-
439
439
  # Get a reference module containing convenience methods for creating
440
440
  # resources
441
441
  #
@@ -461,676 +461,676 @@ module Google
461
461
  end
462
462
 
463
463
  module CreateResource
464
- # A convenience method for creating an CustomInterestOperation instance with
465
- # its "create" field prepopulated with an CustomInterest instance.
464
+ # A convenience method for creating an KeywordPlanKeywordOperation instance with
465
+ # its "create" field prepopulated with an KeywordPlanKeyword instance.
466
466
  #
467
- # @overload custom_interest
468
- # creates an operation instance, yielding a newly fabricated CustomInterest
467
+ # @overload keyword_plan_keyword
468
+ # creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
469
469
  # which can be used for setting attributes on the newly created resource
470
- # @overload custom_interest(res)
470
+ # @overload keyword_plan_keyword(res)
471
471
  # creates an operation instance, with the resource to be created
472
472
  # set to the passed value (res)
473
- # @param res [Google::Ads::GoogleAds::V1::Resources::CustomInterest]
473
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword]
474
474
  # a resource instance to be used for creation in this operation.
475
475
  #
476
- # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] instance that will create the resource
477
- def self.custom_interest(res = nil, &blk)
478
- require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
479
- op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
476
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] instance that will create the resource
477
+ def self.keyword_plan_keyword(res = nil, &blk)
478
+ require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
479
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
480
480
  if !res.nil?
481
481
  op["create"] = res
482
482
  elsif !blk.nil?
483
- op["create"] = Factories::V1::Resources.custom_interest(&blk)
483
+ op["create"] = Factories::V1::Resources.keyword_plan_keyword(&blk)
484
484
  end
485
485
 
486
486
  op
487
487
  end
488
488
 
489
- # A convenience method for creating an RemarketingActionOperation instance with
490
- # its "create" field prepopulated with an RemarketingAction instance.
489
+ # A convenience method for creating an FeedOperation instance with
490
+ # its "create" field prepopulated with an Feed instance.
491
491
  #
492
- # @overload remarketing_action
493
- # creates an operation instance, yielding a newly fabricated RemarketingAction
492
+ # @overload feed
493
+ # creates an operation instance, yielding a newly fabricated Feed
494
494
  # which can be used for setting attributes on the newly created resource
495
- # @overload remarketing_action(res)
495
+ # @overload feed(res)
496
496
  # creates an operation instance, with the resource to be created
497
497
  # set to the passed value (res)
498
- # @param res [Google::Ads::GoogleAds::V1::Resources::RemarketingAction]
498
+ # @param res [Google::Ads::GoogleAds::V1::Resources::Feed]
499
499
  # a resource instance to be used for creation in this operation.
500
500
  #
501
- # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] instance that will create the resource
502
- def self.remarketing_action(res = nil, &blk)
503
- require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
504
- op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
501
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] instance that will create the resource
502
+ def self.feed(res = nil, &blk)
503
+ require "google/ads/google_ads/v1/services/feed_service_pb.rb"
504
+ op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
505
505
  if !res.nil?
506
506
  op["create"] = res
507
507
  elsif !blk.nil?
508
- op["create"] = Factories::V1::Resources.remarketing_action(&blk)
508
+ op["create"] = Factories::V1::Resources.feed(&blk)
509
509
  end
510
510
 
511
511
  op
512
512
  end
513
513
 
514
- # A convenience method for creating an KeywordPlanCampaignOperation instance with
515
- # its "create" field prepopulated with an KeywordPlanCampaign instance.
514
+ # A convenience method for creating an ConversionActionOperation instance with
515
+ # its "create" field prepopulated with an ConversionAction instance.
516
516
  #
517
- # @overload keyword_plan_campaign
518
- # creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
517
+ # @overload conversion_action
518
+ # creates an operation instance, yielding a newly fabricated ConversionAction
519
519
  # which can be used for setting attributes on the newly created resource
520
- # @overload keyword_plan_campaign(res)
520
+ # @overload conversion_action(res)
521
521
  # creates an operation instance, with the resource to be created
522
522
  # set to the passed value (res)
523
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign]
523
+ # @param res [Google::Ads::GoogleAds::V1::Resources::ConversionAction]
524
524
  # a resource instance to be used for creation in this operation.
525
525
  #
526
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] instance that will create the resource
527
- def self.keyword_plan_campaign(res = nil, &blk)
528
- require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
529
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
526
+ # @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] instance that will create the resource
527
+ def self.conversion_action(res = nil, &blk)
528
+ require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
529
+ op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
530
530
  if !res.nil?
531
531
  op["create"] = res
532
532
  elsif !blk.nil?
533
- op["create"] = Factories::V1::Resources.keyword_plan_campaign(&blk)
533
+ op["create"] = Factories::V1::Resources.conversion_action(&blk)
534
534
  end
535
535
 
536
536
  op
537
537
  end
538
538
 
539
- # A convenience method for creating an AdGroupAdOperation instance with
540
- # its "create" field prepopulated with an AdGroupAd instance.
539
+ # A convenience method for creating an BiddingStrategyOperation instance with
540
+ # its "create" field prepopulated with an BiddingStrategy instance.
541
541
  #
542
- # @overload ad_group_ad
543
- # creates an operation instance, yielding a newly fabricated AdGroupAd
542
+ # @overload bidding_strategy
543
+ # creates an operation instance, yielding a newly fabricated BiddingStrategy
544
544
  # which can be used for setting attributes on the newly created resource
545
- # @overload ad_group_ad(res)
545
+ # @overload bidding_strategy(res)
546
546
  # creates an operation instance, with the resource to be created
547
547
  # set to the passed value (res)
548
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAd]
548
+ # @param res [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy]
549
549
  # a resource instance to be used for creation in this operation.
550
550
  #
551
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] instance that will create the resource
552
- def self.ad_group_ad(res = nil, &blk)
553
- require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
554
- op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
551
+ # @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] instance that will create the resource
552
+ def self.bidding_strategy(res = nil, &blk)
553
+ require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
554
+ op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
555
555
  if !res.nil?
556
556
  op["create"] = res
557
557
  elsif !blk.nil?
558
- op["create"] = Factories::V1::Resources.ad_group_ad(&blk)
558
+ op["create"] = Factories::V1::Resources.bidding_strategy(&blk)
559
559
  end
560
560
 
561
561
  op
562
562
  end
563
563
 
564
- # A convenience method for creating an AdGroupBidModifierOperation instance with
565
- # its "create" field prepopulated with an AdGroupBidModifier instance.
564
+ # A convenience method for creating an FeedItemOperation instance with
565
+ # its "create" field prepopulated with an FeedItem instance.
566
566
  #
567
- # @overload ad_group_bid_modifier
568
- # creates an operation instance, yielding a newly fabricated AdGroupBidModifier
567
+ # @overload feed_item
568
+ # creates an operation instance, yielding a newly fabricated FeedItem
569
569
  # which can be used for setting attributes on the newly created resource
570
- # @overload ad_group_bid_modifier(res)
570
+ # @overload feed_item(res)
571
571
  # creates an operation instance, with the resource to be created
572
572
  # set to the passed value (res)
573
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier]
573
+ # @param res [Google::Ads::GoogleAds::V1::Resources::FeedItem]
574
574
  # a resource instance to be used for creation in this operation.
575
575
  #
576
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] instance that will create the resource
577
- def self.ad_group_bid_modifier(res = nil, &blk)
578
- require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
579
- op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
576
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] instance that will create the resource
577
+ def self.feed_item(res = nil, &blk)
578
+ require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
579
+ op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
580
580
  if !res.nil?
581
581
  op["create"] = res
582
582
  elsif !blk.nil?
583
- op["create"] = Factories::V1::Resources.ad_group_bid_modifier(&blk)
583
+ op["create"] = Factories::V1::Resources.feed_item(&blk)
584
584
  end
585
585
 
586
586
  op
587
587
  end
588
588
 
589
- # A convenience method for creating an AdGroupCriterionOperation instance with
590
- # its "create" field prepopulated with an AdGroupCriterion instance.
589
+ # A convenience method for creating an CampaignBudgetOperation instance with
590
+ # its "create" field prepopulated with an CampaignBudget instance.
591
591
  #
592
- # @overload ad_group_criterion
593
- # creates an operation instance, yielding a newly fabricated AdGroupCriterion
592
+ # @overload campaign_budget
593
+ # creates an operation instance, yielding a newly fabricated CampaignBudget
594
594
  # which can be used for setting attributes on the newly created resource
595
- # @overload ad_group_criterion(res)
595
+ # @overload campaign_budget(res)
596
596
  # creates an operation instance, with the resource to be created
597
597
  # set to the passed value (res)
598
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion]
598
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignBudget]
599
599
  # a resource instance to be used for creation in this operation.
600
600
  #
601
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] instance that will create the resource
602
- def self.ad_group_criterion(res = nil, &blk)
603
- require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
604
- op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
601
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] instance that will create the resource
602
+ def self.campaign_budget(res = nil, &blk)
603
+ require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
604
+ op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
605
605
  if !res.nil?
606
606
  op["create"] = res
607
607
  elsif !blk.nil?
608
- op["create"] = Factories::V1::Resources.ad_group_criterion(&blk)
608
+ op["create"] = Factories::V1::Resources.campaign_budget(&blk)
609
609
  end
610
610
 
611
611
  op
612
612
  end
613
613
 
614
- # A convenience method for creating an AdGroupExtensionSettingOperation instance with
615
- # its "create" field prepopulated with an AdGroupExtensionSetting instance.
614
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
615
+ # its "create" field prepopulated with an AdGroupBidModifier instance.
616
616
  #
617
- # @overload ad_group_extension_setting
618
- # creates an operation instance, yielding a newly fabricated AdGroupExtensionSetting
617
+ # @overload ad_group_bid_modifier
618
+ # creates an operation instance, yielding a newly fabricated AdGroupBidModifier
619
619
  # which can be used for setting attributes on the newly created resource
620
- # @overload ad_group_extension_setting(res)
620
+ # @overload ad_group_bid_modifier(res)
621
621
  # creates an operation instance, with the resource to be created
622
622
  # set to the passed value (res)
623
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting]
623
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier]
624
624
  # a resource instance to be used for creation in this operation.
625
625
  #
626
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation] instance that will create the resource
627
- def self.ad_group_extension_setting(res = nil, &blk)
628
- require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_pb.rb"
629
- op = Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation.new
626
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] instance that will create the resource
627
+ def self.ad_group_bid_modifier(res = nil, &blk)
628
+ require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
629
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
630
630
  if !res.nil?
631
631
  op["create"] = res
632
632
  elsif !blk.nil?
633
- op["create"] = Factories::V1::Resources.ad_group_extension_setting(&blk)
633
+ op["create"] = Factories::V1::Resources.ad_group_bid_modifier(&blk)
634
634
  end
635
635
 
636
636
  op
637
637
  end
638
638
 
639
- # A convenience method for creating an AdGroupFeedOperation instance with
640
- # its "create" field prepopulated with an AdGroupFeed instance.
639
+ # A convenience method for creating an CustomerOperation instance with
640
+ # its "create" field prepopulated with an Customer instance.
641
641
  #
642
- # @overload ad_group_feed
643
- # creates an operation instance, yielding a newly fabricated AdGroupFeed
642
+ # @overload customer
643
+ # creates an operation instance, yielding a newly fabricated Customer
644
644
  # which can be used for setting attributes on the newly created resource
645
- # @overload ad_group_feed(res)
645
+ # @overload customer(res)
646
646
  # creates an operation instance, with the resource to be created
647
647
  # set to the passed value (res)
648
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed]
648
+ # @param res [Google::Ads::GoogleAds::V1::Resources::Customer]
649
649
  # a resource instance to be used for creation in this operation.
650
650
  #
651
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation] instance that will create the resource
652
- def self.ad_group_feed(res = nil, &blk)
653
- require "google/ads/google_ads/v1/services/ad_group_feed_service_pb.rb"
654
- op = Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
651
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] instance that will create the resource
652
+ def self.customer(res = nil, &blk)
653
+ require "google/ads/google_ads/v1/services/customer_service_pb.rb"
654
+ op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
655
655
  if !res.nil?
656
656
  op["create"] = res
657
657
  elsif !blk.nil?
658
- op["create"] = Factories::V1::Resources.ad_group_feed(&blk)
658
+ op["create"] = Factories::V1::Resources.customer(&blk)
659
659
  end
660
660
 
661
661
  op
662
662
  end
663
663
 
664
- # A convenience method for creating an AdGroupOperation instance with
665
- # its "create" field prepopulated with an AdGroup instance.
664
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
665
+ # its "create" field prepopulated with an KeywordPlanAdGroup instance.
666
666
  #
667
- # @overload ad_group
668
- # creates an operation instance, yielding a newly fabricated AdGroup
667
+ # @overload keyword_plan_ad_group
668
+ # creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup
669
669
  # which can be used for setting attributes on the newly created resource
670
- # @overload ad_group(res)
670
+ # @overload keyword_plan_ad_group(res)
671
671
  # creates an operation instance, with the resource to be created
672
672
  # set to the passed value (res)
673
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroup]
673
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup]
674
674
  # a resource instance to be used for creation in this operation.
675
675
  #
676
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] instance that will create the resource
677
- def self.ad_group(res = nil, &blk)
678
- require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
679
- op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
676
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] instance that will create the resource
677
+ def self.keyword_plan_ad_group(res = nil, &blk)
678
+ require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
679
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
680
680
  if !res.nil?
681
681
  op["create"] = res
682
682
  elsif !blk.nil?
683
- op["create"] = Factories::V1::Resources.ad_group(&blk)
683
+ op["create"] = Factories::V1::Resources.keyword_plan_ad_group(&blk)
684
684
  end
685
685
 
686
686
  op
687
687
  end
688
688
 
689
- # A convenience method for creating an AdParameterOperation instance with
690
- # its "create" field prepopulated with an AdParameter instance.
689
+ # A convenience method for creating an CampaignDraftOperation instance with
690
+ # its "create" field prepopulated with an CampaignDraft instance.
691
691
  #
692
- # @overload ad_parameter
693
- # creates an operation instance, yielding a newly fabricated AdParameter
692
+ # @overload campaign_draft
693
+ # creates an operation instance, yielding a newly fabricated CampaignDraft
694
694
  # which can be used for setting attributes on the newly created resource
695
- # @overload ad_parameter(res)
695
+ # @overload campaign_draft(res)
696
696
  # creates an operation instance, with the resource to be created
697
697
  # set to the passed value (res)
698
- # @param res [Google::Ads::GoogleAds::V1::Resources::AdParameter]
698
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignDraft]
699
699
  # a resource instance to be used for creation in this operation.
700
700
  #
701
- # @return [Google::Ads::GoogleAds::V1::Services::AdParameterOperation] instance that will create the resource
702
- def self.ad_parameter(res = nil, &blk)
703
- require "google/ads/google_ads/v1/services/ad_parameter_service_pb.rb"
704
- op = Google::Ads::GoogleAds::V1::Services::AdParameterOperation.new
701
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] instance that will create the resource
702
+ def self.campaign_draft(res = nil, &blk)
703
+ require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
704
+ op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
705
705
  if !res.nil?
706
706
  op["create"] = res
707
707
  elsif !blk.nil?
708
- op["create"] = Factories::V1::Resources.ad_parameter(&blk)
708
+ op["create"] = Factories::V1::Resources.campaign_draft(&blk)
709
709
  end
710
710
 
711
711
  op
712
712
  end
713
713
 
714
- # A convenience method for creating an BiddingStrategyOperation instance with
715
- # its "create" field prepopulated with an BiddingStrategy instance.
714
+ # A convenience method for creating an CampaignFeedOperation instance with
715
+ # its "create" field prepopulated with an CampaignFeed instance.
716
716
  #
717
- # @overload bidding_strategy
718
- # creates an operation instance, yielding a newly fabricated BiddingStrategy
717
+ # @overload campaign_feed
718
+ # creates an operation instance, yielding a newly fabricated CampaignFeed
719
719
  # which can be used for setting attributes on the newly created resource
720
- # @overload bidding_strategy(res)
720
+ # @overload campaign_feed(res)
721
721
  # creates an operation instance, with the resource to be created
722
722
  # set to the passed value (res)
723
- # @param res [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy]
723
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignFeed]
724
724
  # a resource instance to be used for creation in this operation.
725
725
  #
726
- # @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] instance that will create the resource
727
- def self.bidding_strategy(res = nil, &blk)
728
- require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
729
- op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
726
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] instance that will create the resource
727
+ def self.campaign_feed(res = nil, &blk)
728
+ require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
729
+ op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
730
730
  if !res.nil?
731
731
  op["create"] = res
732
732
  elsif !blk.nil?
733
- op["create"] = Factories::V1::Resources.bidding_strategy(&blk)
733
+ op["create"] = Factories::V1::Resources.campaign_feed(&blk)
734
734
  end
735
735
 
736
736
  op
737
737
  end
738
738
 
739
- # A convenience method for creating an CampaignBidModifierOperation instance with
740
- # its "create" field prepopulated with an CampaignBidModifier instance.
739
+ # A convenience method for creating an AdGroupCriterionOperation instance with
740
+ # its "create" field prepopulated with an AdGroupCriterion instance.
741
741
  #
742
- # @overload campaign_bid_modifier
743
- # creates an operation instance, yielding a newly fabricated CampaignBidModifier
742
+ # @overload ad_group_criterion
743
+ # creates an operation instance, yielding a newly fabricated AdGroupCriterion
744
744
  # which can be used for setting attributes on the newly created resource
745
- # @overload campaign_bid_modifier(res)
745
+ # @overload ad_group_criterion(res)
746
746
  # creates an operation instance, with the resource to be created
747
747
  # set to the passed value (res)
748
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier]
748
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion]
749
749
  # a resource instance to be used for creation in this operation.
750
750
  #
751
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] instance that will create the resource
752
- def self.campaign_bid_modifier(res = nil, &blk)
753
- require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
754
- op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
751
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] instance that will create the resource
752
+ def self.ad_group_criterion(res = nil, &blk)
753
+ require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
754
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
755
755
  if !res.nil?
756
756
  op["create"] = res
757
757
  elsif !blk.nil?
758
- op["create"] = Factories::V1::Resources.campaign_bid_modifier(&blk)
758
+ op["create"] = Factories::V1::Resources.ad_group_criterion(&blk)
759
759
  end
760
760
 
761
761
  op
762
762
  end
763
763
 
764
- # A convenience method for creating an CampaignBudgetOperation instance with
765
- # its "create" field prepopulated with an CampaignBudget instance.
764
+ # A convenience method for creating an AdGroupAdOperation instance with
765
+ # its "create" field prepopulated with an AdGroupAd instance.
766
766
  #
767
- # @overload campaign_budget
768
- # creates an operation instance, yielding a newly fabricated CampaignBudget
767
+ # @overload ad_group_ad
768
+ # creates an operation instance, yielding a newly fabricated AdGroupAd
769
769
  # which can be used for setting attributes on the newly created resource
770
- # @overload campaign_budget(res)
770
+ # @overload ad_group_ad(res)
771
771
  # creates an operation instance, with the resource to be created
772
772
  # set to the passed value (res)
773
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignBudget]
773
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAd]
774
774
  # a resource instance to be used for creation in this operation.
775
775
  #
776
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] instance that will create the resource
777
- def self.campaign_budget(res = nil, &blk)
778
- require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
779
- op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
776
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] instance that will create the resource
777
+ def self.ad_group_ad(res = nil, &blk)
778
+ require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
779
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
780
780
  if !res.nil?
781
781
  op["create"] = res
782
782
  elsif !blk.nil?
783
- op["create"] = Factories::V1::Resources.campaign_budget(&blk)
783
+ op["create"] = Factories::V1::Resources.ad_group_ad(&blk)
784
784
  end
785
785
 
786
786
  op
787
787
  end
788
788
 
789
- # A convenience method for creating an CampaignCriterionOperation instance with
790
- # its "create" field prepopulated with an CampaignCriterion instance.
789
+ # A convenience method for creating an AdGroupExtensionSettingOperation instance with
790
+ # its "create" field prepopulated with an AdGroupExtensionSetting instance.
791
791
  #
792
- # @overload campaign_criterion
793
- # creates an operation instance, yielding a newly fabricated CampaignCriterion
792
+ # @overload ad_group_extension_setting
793
+ # creates an operation instance, yielding a newly fabricated AdGroupExtensionSetting
794
794
  # which can be used for setting attributes on the newly created resource
795
- # @overload campaign_criterion(res)
795
+ # @overload ad_group_extension_setting(res)
796
796
  # creates an operation instance, with the resource to be created
797
797
  # set to the passed value (res)
798
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion]
798
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting]
799
799
  # a resource instance to be used for creation in this operation.
800
800
  #
801
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] instance that will create the resource
802
- def self.campaign_criterion(res = nil, &blk)
803
- require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
804
- op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
801
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation] instance that will create the resource
802
+ def self.ad_group_extension_setting(res = nil, &blk)
803
+ require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_pb.rb"
804
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation.new
805
805
  if !res.nil?
806
806
  op["create"] = res
807
807
  elsif !blk.nil?
808
- op["create"] = Factories::V1::Resources.campaign_criterion(&blk)
808
+ op["create"] = Factories::V1::Resources.ad_group_extension_setting(&blk)
809
809
  end
810
810
 
811
811
  op
812
812
  end
813
813
 
814
- # A convenience method for creating an CampaignDraftOperation instance with
815
- # its "create" field prepopulated with an CampaignDraft instance.
814
+ # A convenience method for creating an AdGroupFeedOperation instance with
815
+ # its "create" field prepopulated with an AdGroupFeed instance.
816
816
  #
817
- # @overload campaign_draft
818
- # creates an operation instance, yielding a newly fabricated CampaignDraft
817
+ # @overload ad_group_feed
818
+ # creates an operation instance, yielding a newly fabricated AdGroupFeed
819
819
  # which can be used for setting attributes on the newly created resource
820
- # @overload campaign_draft(res)
820
+ # @overload ad_group_feed(res)
821
821
  # creates an operation instance, with the resource to be created
822
822
  # set to the passed value (res)
823
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignDraft]
823
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed]
824
824
  # a resource instance to be used for creation in this operation.
825
825
  #
826
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] instance that will create the resource
827
- def self.campaign_draft(res = nil, &blk)
828
- require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
829
- op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
826
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation] instance that will create the resource
827
+ def self.ad_group_feed(res = nil, &blk)
828
+ require "google/ads/google_ads/v1/services/ad_group_feed_service_pb.rb"
829
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
830
830
  if !res.nil?
831
831
  op["create"] = res
832
832
  elsif !blk.nil?
833
- op["create"] = Factories::V1::Resources.campaign_draft(&blk)
833
+ op["create"] = Factories::V1::Resources.ad_group_feed(&blk)
834
834
  end
835
835
 
836
836
  op
837
837
  end
838
838
 
839
- # A convenience method for creating an CampaignExperimentOperation instance with
840
- # its "create" field prepopulated with an CampaignExperiment instance.
839
+ # A convenience method for creating an AdGroupOperation instance with
840
+ # its "create" field prepopulated with an AdGroup instance.
841
841
  #
842
- # @overload campaign_experiment
843
- # creates an operation instance, yielding a newly fabricated CampaignExperiment
842
+ # @overload ad_group
843
+ # creates an operation instance, yielding a newly fabricated AdGroup
844
844
  # which can be used for setting attributes on the newly created resource
845
- # @overload campaign_experiment(res)
845
+ # @overload ad_group(res)
846
846
  # creates an operation instance, with the resource to be created
847
847
  # set to the passed value (res)
848
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignExperiment]
848
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdGroup]
849
849
  # a resource instance to be used for creation in this operation.
850
850
  #
851
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation] instance that will create the resource
852
- def self.campaign_experiment(res = nil, &blk)
853
- require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
854
- op = Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
851
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] instance that will create the resource
852
+ def self.ad_group(res = nil, &blk)
853
+ require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
854
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
855
855
  if !res.nil?
856
856
  op["create"] = res
857
857
  elsif !blk.nil?
858
- op["create"] = Factories::V1::Resources.campaign_experiment(&blk)
858
+ op["create"] = Factories::V1::Resources.ad_group(&blk)
859
859
  end
860
860
 
861
861
  op
862
862
  end
863
863
 
864
- # A convenience method for creating an CampaignExtensionSettingOperation instance with
865
- # its "create" field prepopulated with an CampaignExtensionSetting instance.
864
+ # A convenience method for creating an AdParameterOperation instance with
865
+ # its "create" field prepopulated with an AdParameter instance.
866
866
  #
867
- # @overload campaign_extension_setting
868
- # creates an operation instance, yielding a newly fabricated CampaignExtensionSetting
867
+ # @overload ad_parameter
868
+ # creates an operation instance, yielding a newly fabricated AdParameter
869
869
  # which can be used for setting attributes on the newly created resource
870
- # @overload campaign_extension_setting(res)
870
+ # @overload ad_parameter(res)
871
871
  # creates an operation instance, with the resource to be created
872
872
  # set to the passed value (res)
873
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting]
873
+ # @param res [Google::Ads::GoogleAds::V1::Resources::AdParameter]
874
874
  # a resource instance to be used for creation in this operation.
875
875
  #
876
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation] instance that will create the resource
877
- def self.campaign_extension_setting(res = nil, &blk)
878
- require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb"
879
- op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
876
+ # @return [Google::Ads::GoogleAds::V1::Services::AdParameterOperation] instance that will create the resource
877
+ def self.ad_parameter(res = nil, &blk)
878
+ require "google/ads/google_ads/v1/services/ad_parameter_service_pb.rb"
879
+ op = Google::Ads::GoogleAds::V1::Services::AdParameterOperation.new
880
880
  if !res.nil?
881
881
  op["create"] = res
882
882
  elsif !blk.nil?
883
- op["create"] = Factories::V1::Resources.campaign_extension_setting(&blk)
883
+ op["create"] = Factories::V1::Resources.ad_parameter(&blk)
884
884
  end
885
885
 
886
886
  op
887
887
  end
888
888
 
889
- # A convenience method for creating an CampaignFeedOperation instance with
890
- # its "create" field prepopulated with an CampaignFeed instance.
889
+ # A convenience method for creating an CampaignBidModifierOperation instance with
890
+ # its "create" field prepopulated with an CampaignBidModifier instance.
891
891
  #
892
- # @overload campaign_feed
893
- # creates an operation instance, yielding a newly fabricated CampaignFeed
892
+ # @overload campaign_bid_modifier
893
+ # creates an operation instance, yielding a newly fabricated CampaignBidModifier
894
894
  # which can be used for setting attributes on the newly created resource
895
- # @overload campaign_feed(res)
895
+ # @overload campaign_bid_modifier(res)
896
896
  # creates an operation instance, with the resource to be created
897
897
  # set to the passed value (res)
898
- # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignFeed]
898
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier]
899
899
  # a resource instance to be used for creation in this operation.
900
900
  #
901
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] instance that will create the resource
902
- def self.campaign_feed(res = nil, &blk)
903
- require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
904
- op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
901
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] instance that will create the resource
902
+ def self.campaign_bid_modifier(res = nil, &blk)
903
+ require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
904
+ op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
905
905
  if !res.nil?
906
906
  op["create"] = res
907
907
  elsif !blk.nil?
908
- op["create"] = Factories::V1::Resources.campaign_feed(&blk)
908
+ op["create"] = Factories::V1::Resources.campaign_bid_modifier(&blk)
909
909
  end
910
910
 
911
911
  op
912
912
  end
913
913
 
914
- # A convenience method for creating an CampaignOperation instance with
915
- # its "create" field prepopulated with an Campaign instance.
914
+ # A convenience method for creating an CampaignCriterionOperation instance with
915
+ # its "create" field prepopulated with an CampaignCriterion instance.
916
916
  #
917
- # @overload campaign
918
- # creates an operation instance, yielding a newly fabricated Campaign
917
+ # @overload campaign_criterion
918
+ # creates an operation instance, yielding a newly fabricated CampaignCriterion
919
919
  # which can be used for setting attributes on the newly created resource
920
- # @overload campaign(res)
920
+ # @overload campaign_criterion(res)
921
921
  # creates an operation instance, with the resource to be created
922
922
  # set to the passed value (res)
923
- # @param res [Google::Ads::GoogleAds::V1::Resources::Campaign]
923
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion]
924
924
  # a resource instance to be used for creation in this operation.
925
925
  #
926
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignOperation] instance that will create the resource
927
- def self.campaign(res = nil, &blk)
928
- require "google/ads/google_ads/v1/services/campaign_service_pb.rb"
929
- op = Google::Ads::GoogleAds::V1::Services::CampaignOperation.new
926
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] instance that will create the resource
927
+ def self.campaign_criterion(res = nil, &blk)
928
+ require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
929
+ op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
930
930
  if !res.nil?
931
931
  op["create"] = res
932
932
  elsif !blk.nil?
933
- op["create"] = Factories::V1::Resources.campaign(&blk)
933
+ op["create"] = Factories::V1::Resources.campaign_criterion(&blk)
934
934
  end
935
935
 
936
936
  op
937
937
  end
938
938
 
939
- # A convenience method for creating an ConversionActionOperation instance with
940
- # its "create" field prepopulated with an ConversionAction instance.
939
+ # A convenience method for creating an CampaignExperimentOperation instance with
940
+ # its "create" field prepopulated with an CampaignExperiment instance.
941
941
  #
942
- # @overload conversion_action
943
- # creates an operation instance, yielding a newly fabricated ConversionAction
942
+ # @overload campaign_experiment
943
+ # creates an operation instance, yielding a newly fabricated CampaignExperiment
944
944
  # which can be used for setting attributes on the newly created resource
945
- # @overload conversion_action(res)
945
+ # @overload campaign_experiment(res)
946
946
  # creates an operation instance, with the resource to be created
947
947
  # set to the passed value (res)
948
- # @param res [Google::Ads::GoogleAds::V1::Resources::ConversionAction]
948
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignExperiment]
949
949
  # a resource instance to be used for creation in this operation.
950
950
  #
951
- # @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] instance that will create the resource
952
- def self.conversion_action(res = nil, &blk)
953
- require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
954
- op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
951
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation] instance that will create the resource
952
+ def self.campaign_experiment(res = nil, &blk)
953
+ require "google/ads/google_ads/v1/services/campaign_experiment_service_pb.rb"
954
+ op = Google::Ads::GoogleAds::V1::Services::CampaignExperimentOperation.new
955
955
  if !res.nil?
956
956
  op["create"] = res
957
957
  elsif !blk.nil?
958
- op["create"] = Factories::V1::Resources.conversion_action(&blk)
958
+ op["create"] = Factories::V1::Resources.campaign_experiment(&blk)
959
959
  end
960
960
 
961
961
  op
962
962
  end
963
963
 
964
- # A convenience method for creating an CustomerExtensionSettingOperation instance with
965
- # its "create" field prepopulated with an CustomerExtensionSetting instance.
964
+ # A convenience method for creating an CampaignExtensionSettingOperation instance with
965
+ # its "create" field prepopulated with an CampaignExtensionSetting instance.
966
966
  #
967
- # @overload customer_extension_setting
968
- # creates an operation instance, yielding a newly fabricated CustomerExtensionSetting
967
+ # @overload campaign_extension_setting
968
+ # creates an operation instance, yielding a newly fabricated CampaignExtensionSetting
969
969
  # which can be used for setting attributes on the newly created resource
970
- # @overload customer_extension_setting(res)
970
+ # @overload campaign_extension_setting(res)
971
971
  # creates an operation instance, with the resource to be created
972
972
  # set to the passed value (res)
973
- # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting]
973
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting]
974
974
  # a resource instance to be used for creation in this operation.
975
975
  #
976
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation] instance that will create the resource
977
- def self.customer_extension_setting(res = nil, &blk)
978
- require "google/ads/google_ads/v1/services/customer_extension_setting_service_pb.rb"
979
- op = Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation.new
976
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation] instance that will create the resource
977
+ def self.campaign_extension_setting(res = nil, &blk)
978
+ require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb"
979
+ op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
980
980
  if !res.nil?
981
981
  op["create"] = res
982
982
  elsif !blk.nil?
983
- op["create"] = Factories::V1::Resources.customer_extension_setting(&blk)
983
+ op["create"] = Factories::V1::Resources.campaign_extension_setting(&blk)
984
984
  end
985
985
 
986
986
  op
987
987
  end
988
988
 
989
- # A convenience method for creating an CustomerFeedOperation instance with
990
- # its "create" field prepopulated with an CustomerFeed instance.
989
+ # A convenience method for creating an CampaignOperation instance with
990
+ # its "create" field prepopulated with an Campaign instance.
991
991
  #
992
- # @overload customer_feed
993
- # creates an operation instance, yielding a newly fabricated CustomerFeed
992
+ # @overload campaign
993
+ # creates an operation instance, yielding a newly fabricated Campaign
994
994
  # which can be used for setting attributes on the newly created resource
995
- # @overload customer_feed(res)
995
+ # @overload campaign(res)
996
996
  # creates an operation instance, with the resource to be created
997
997
  # set to the passed value (res)
998
- # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerFeed]
998
+ # @param res [Google::Ads::GoogleAds::V1::Resources::Campaign]
999
999
  # a resource instance to be used for creation in this operation.
1000
1000
  #
1001
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation] instance that will create the resource
1002
- def self.customer_feed(res = nil, &blk)
1003
- require "google/ads/google_ads/v1/services/customer_feed_service_pb.rb"
1004
- op = Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
1001
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignOperation] instance that will create the resource
1002
+ def self.campaign(res = nil, &blk)
1003
+ require "google/ads/google_ads/v1/services/campaign_service_pb.rb"
1004
+ op = Google::Ads::GoogleAds::V1::Services::CampaignOperation.new
1005
1005
  if !res.nil?
1006
1006
  op["create"] = res
1007
1007
  elsif !blk.nil?
1008
- op["create"] = Factories::V1::Resources.customer_feed(&blk)
1008
+ op["create"] = Factories::V1::Resources.campaign(&blk)
1009
1009
  end
1010
1010
 
1011
1011
  op
1012
1012
  end
1013
1013
 
1014
- # A convenience method for creating an CustomerOperation instance with
1015
- # its "create" field prepopulated with an Customer instance.
1014
+ # A convenience method for creating an CustomerExtensionSettingOperation instance with
1015
+ # its "create" field prepopulated with an CustomerExtensionSetting instance.
1016
1016
  #
1017
- # @overload customer
1018
- # creates an operation instance, yielding a newly fabricated Customer
1017
+ # @overload customer_extension_setting
1018
+ # creates an operation instance, yielding a newly fabricated CustomerExtensionSetting
1019
1019
  # which can be used for setting attributes on the newly created resource
1020
- # @overload customer(res)
1020
+ # @overload customer_extension_setting(res)
1021
1021
  # creates an operation instance, with the resource to be created
1022
1022
  # set to the passed value (res)
1023
- # @param res [Google::Ads::GoogleAds::V1::Resources::Customer]
1023
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting]
1024
1024
  # a resource instance to be used for creation in this operation.
1025
1025
  #
1026
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] instance that will create the resource
1027
- def self.customer(res = nil, &blk)
1028
- require "google/ads/google_ads/v1/services/customer_service_pb.rb"
1029
- op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
1026
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation] instance that will create the resource
1027
+ def self.customer_extension_setting(res = nil, &blk)
1028
+ require "google/ads/google_ads/v1/services/customer_extension_setting_service_pb.rb"
1029
+ op = Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation.new
1030
1030
  if !res.nil?
1031
1031
  op["create"] = res
1032
1032
  elsif !blk.nil?
1033
- op["create"] = Factories::V1::Resources.customer(&blk)
1033
+ op["create"] = Factories::V1::Resources.customer_extension_setting(&blk)
1034
1034
  end
1035
1035
 
1036
1036
  op
1037
1037
  end
1038
1038
 
1039
- # A convenience method for creating an ExtensionFeedItemOperation instance with
1040
- # its "create" field prepopulated with an ExtensionFeedItem instance.
1039
+ # A convenience method for creating an CustomerFeedOperation instance with
1040
+ # its "create" field prepopulated with an CustomerFeed instance.
1041
1041
  #
1042
- # @overload extension_feed_item
1043
- # creates an operation instance, yielding a newly fabricated ExtensionFeedItem
1042
+ # @overload customer_feed
1043
+ # creates an operation instance, yielding a newly fabricated CustomerFeed
1044
1044
  # which can be used for setting attributes on the newly created resource
1045
- # @overload extension_feed_item(res)
1045
+ # @overload customer_feed(res)
1046
1046
  # creates an operation instance, with the resource to be created
1047
1047
  # set to the passed value (res)
1048
- # @param res [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem]
1048
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerFeed]
1049
1049
  # a resource instance to be used for creation in this operation.
1050
1050
  #
1051
- # @return [Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation] instance that will create the resource
1052
- def self.extension_feed_item(res = nil, &blk)
1053
- require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
1054
- op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
1051
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation] instance that will create the resource
1052
+ def self.customer_feed(res = nil, &blk)
1053
+ require "google/ads/google_ads/v1/services/customer_feed_service_pb.rb"
1054
+ op = Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
1055
1055
  if !res.nil?
1056
1056
  op["create"] = res
1057
1057
  elsif !blk.nil?
1058
- op["create"] = Factories::V1::Resources.extension_feed_item(&blk)
1058
+ op["create"] = Factories::V1::Resources.customer_feed(&blk)
1059
1059
  end
1060
1060
 
1061
1061
  op
1062
1062
  end
1063
1063
 
1064
- # A convenience method for creating an FeedItemOperation instance with
1065
- # its "create" field prepopulated with an FeedItem instance.
1064
+ # A convenience method for creating an ExtensionFeedItemOperation instance with
1065
+ # its "create" field prepopulated with an ExtensionFeedItem instance.
1066
1066
  #
1067
- # @overload feed_item
1068
- # creates an operation instance, yielding a newly fabricated FeedItem
1067
+ # @overload extension_feed_item
1068
+ # creates an operation instance, yielding a newly fabricated ExtensionFeedItem
1069
1069
  # which can be used for setting attributes on the newly created resource
1070
- # @overload feed_item(res)
1070
+ # @overload extension_feed_item(res)
1071
1071
  # creates an operation instance, with the resource to be created
1072
1072
  # set to the passed value (res)
1073
- # @param res [Google::Ads::GoogleAds::V1::Resources::FeedItem]
1073
+ # @param res [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem]
1074
1074
  # a resource instance to be used for creation in this operation.
1075
1075
  #
1076
- # @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] instance that will create the resource
1077
- def self.feed_item(res = nil, &blk)
1078
- require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
1079
- op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
1076
+ # @return [Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation] instance that will create the resource
1077
+ def self.extension_feed_item(res = nil, &blk)
1078
+ require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
1079
+ op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
1080
1080
  if !res.nil?
1081
1081
  op["create"] = res
1082
1082
  elsif !blk.nil?
1083
- op["create"] = Factories::V1::Resources.feed_item(&blk)
1083
+ op["create"] = Factories::V1::Resources.extension_feed_item(&blk)
1084
1084
  end
1085
1085
 
1086
1086
  op
1087
1087
  end
1088
1088
 
1089
- # A convenience method for creating an FeedOperation instance with
1090
- # its "create" field prepopulated with an Feed instance.
1089
+ # A convenience method for creating an LabelOperation instance with
1090
+ # its "create" field prepopulated with an Label instance.
1091
1091
  #
1092
- # @overload feed
1093
- # creates an operation instance, yielding a newly fabricated Feed
1092
+ # @overload label
1093
+ # creates an operation instance, yielding a newly fabricated Label
1094
1094
  # which can be used for setting attributes on the newly created resource
1095
- # @overload feed(res)
1095
+ # @overload label(res)
1096
1096
  # creates an operation instance, with the resource to be created
1097
1097
  # set to the passed value (res)
1098
- # @param res [Google::Ads::GoogleAds::V1::Resources::Feed]
1098
+ # @param res [Google::Ads::GoogleAds::V1::Resources::Label]
1099
1099
  # a resource instance to be used for creation in this operation.
1100
1100
  #
1101
- # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] instance that will create the resource
1102
- def self.feed(res = nil, &blk)
1103
- require "google/ads/google_ads/v1/services/feed_service_pb.rb"
1104
- op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
1101
+ # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] instance that will create the resource
1102
+ def self.label(res = nil, &blk)
1103
+ require "google/ads/google_ads/v1/services/label_service_pb.rb"
1104
+ op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
1105
1105
  if !res.nil?
1106
1106
  op["create"] = res
1107
1107
  elsif !blk.nil?
1108
- op["create"] = Factories::V1::Resources.feed(&blk)
1108
+ op["create"] = Factories::V1::Resources.label(&blk)
1109
1109
  end
1110
1110
 
1111
1111
  op
1112
1112
  end
1113
1113
 
1114
- # A convenience method for creating an LabelOperation instance with
1115
- # its "create" field prepopulated with an Label instance.
1114
+ # A convenience method for creating an RemarketingActionOperation instance with
1115
+ # its "create" field prepopulated with an RemarketingAction instance.
1116
1116
  #
1117
- # @overload label
1118
- # creates an operation instance, yielding a newly fabricated Label
1117
+ # @overload remarketing_action
1118
+ # creates an operation instance, yielding a newly fabricated RemarketingAction
1119
1119
  # which can be used for setting attributes on the newly created resource
1120
- # @overload label(res)
1120
+ # @overload remarketing_action(res)
1121
1121
  # creates an operation instance, with the resource to be created
1122
1122
  # set to the passed value (res)
1123
- # @param res [Google::Ads::GoogleAds::V1::Resources::Label]
1123
+ # @param res [Google::Ads::GoogleAds::V1::Resources::RemarketingAction]
1124
1124
  # a resource instance to be used for creation in this operation.
1125
1125
  #
1126
- # @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] instance that will create the resource
1127
- def self.label(res = nil, &blk)
1128
- require "google/ads/google_ads/v1/services/label_service_pb.rb"
1129
- op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
1126
+ # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] instance that will create the resource
1127
+ def self.remarketing_action(res = nil, &blk)
1128
+ require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
1129
+ op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
1130
1130
  if !res.nil?
1131
1131
  op["create"] = res
1132
1132
  elsif !blk.nil?
1133
- op["create"] = Factories::V1::Resources.label(&blk)
1133
+ op["create"] = Factories::V1::Resources.remarketing_action(&blk)
1134
1134
  end
1135
1135
 
1136
1136
  op
@@ -1186,51 +1186,51 @@ module Google
1186
1186
  op
1187
1187
  end
1188
1188
 
1189
- # A convenience method for creating an KeywordPlanKeywordOperation instance with
1190
- # its "create" field prepopulated with an KeywordPlanKeyword instance.
1189
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
1190
+ # its "create" field prepopulated with an KeywordPlanCampaign instance.
1191
1191
  #
1192
- # @overload keyword_plan_keyword
1193
- # creates an operation instance, yielding a newly fabricated KeywordPlanKeyword
1192
+ # @overload keyword_plan_campaign
1193
+ # creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
1194
1194
  # which can be used for setting attributes on the newly created resource
1195
- # @overload keyword_plan_keyword(res)
1195
+ # @overload keyword_plan_campaign(res)
1196
1196
  # creates an operation instance, with the resource to be created
1197
1197
  # set to the passed value (res)
1198
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword]
1198
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign]
1199
1199
  # a resource instance to be used for creation in this operation.
1200
1200
  #
1201
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] instance that will create the resource
1202
- def self.keyword_plan_keyword(res = nil, &blk)
1203
- require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
1204
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
1201
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] instance that will create the resource
1202
+ def self.keyword_plan_campaign(res = nil, &blk)
1203
+ require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
1204
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
1205
1205
  if !res.nil?
1206
1206
  op["create"] = res
1207
1207
  elsif !blk.nil?
1208
- op["create"] = Factories::V1::Resources.keyword_plan_keyword(&blk)
1208
+ op["create"] = Factories::V1::Resources.keyword_plan_campaign(&blk)
1209
1209
  end
1210
1210
 
1211
1211
  op
1212
1212
  end
1213
1213
 
1214
- # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
1215
- # its "create" field prepopulated with an KeywordPlanNegativeKeyword instance.
1214
+ # A convenience method for creating an MerchantCenterLinkOperation instance with
1215
+ # its "create" field prepopulated with an MerchantCenterLink instance.
1216
1216
  #
1217
- # @overload keyword_plan_negative_keyword
1218
- # creates an operation instance, yielding a newly fabricated KeywordPlanNegativeKeyword
1217
+ # @overload merchant_center_link
1218
+ # creates an operation instance, yielding a newly fabricated MerchantCenterLink
1219
1219
  # which can be used for setting attributes on the newly created resource
1220
- # @overload keyword_plan_negative_keyword(res)
1220
+ # @overload merchant_center_link(res)
1221
1221
  # creates an operation instance, with the resource to be created
1222
1222
  # set to the passed value (res)
1223
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword]
1223
+ # @param res [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink]
1224
1224
  # a resource instance to be used for creation in this operation.
1225
1225
  #
1226
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
1227
- def self.keyword_plan_negative_keyword(res = nil, &blk)
1228
- require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
1229
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
1226
+ # @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] instance that will create the resource
1227
+ def self.merchant_center_link(res = nil, &blk)
1228
+ require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
1229
+ op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
1230
1230
  if !res.nil?
1231
1231
  op["create"] = res
1232
1232
  elsif !blk.nil?
1233
- op["create"] = Factories::V1::Resources.keyword_plan_negative_keyword(&blk)
1233
+ op["create"] = Factories::V1::Resources.merchant_center_link(&blk)
1234
1234
  end
1235
1235
 
1236
1236
  op
@@ -1261,31 +1261,6 @@ module Google
1261
1261
  op
1262
1262
  end
1263
1263
 
1264
- # A convenience method for creating an MerchantCenterLinkOperation instance with
1265
- # its "create" field prepopulated with an MerchantCenterLink instance.
1266
- #
1267
- # @overload merchant_center_link
1268
- # creates an operation instance, yielding a newly fabricated MerchantCenterLink
1269
- # which can be used for setting attributes on the newly created resource
1270
- # @overload merchant_center_link(res)
1271
- # creates an operation instance, with the resource to be created
1272
- # set to the passed value (res)
1273
- # @param res [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink]
1274
- # a resource instance to be used for creation in this operation.
1275
- #
1276
- # @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] instance that will create the resource
1277
- def self.merchant_center_link(res = nil, &blk)
1278
- require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
1279
- op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
1280
- if !res.nil?
1281
- op["create"] = res
1282
- elsif !blk.nil?
1283
- op["create"] = Factories::V1::Resources.merchant_center_link(&blk)
1284
- end
1285
-
1286
- op
1287
- end
1288
-
1289
1264
  # A convenience method for creating an CustomerManagerLinkOperation instance with
1290
1265
  # its "create" field prepopulated with an CustomerManagerLink instance.
1291
1266
  #
@@ -1311,83 +1286,108 @@ module Google
1311
1286
  op
1312
1287
  end
1313
1288
 
1314
- # A convenience method for creating an CustomerClientLinkOperation instance with
1315
- # its "create" field prepopulated with an CustomerClientLink instance.
1289
+ # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
1290
+ # its "create" field prepopulated with an KeywordPlanNegativeKeyword instance.
1316
1291
  #
1317
- # @overload customer_client_link
1318
- # creates an operation instance, yielding a newly fabricated CustomerClientLink
1292
+ # @overload keyword_plan_negative_keyword
1293
+ # creates an operation instance, yielding a newly fabricated KeywordPlanNegativeKeyword
1319
1294
  # which can be used for setting attributes on the newly created resource
1320
- # @overload customer_client_link(res)
1295
+ # @overload keyword_plan_negative_keyword(res)
1321
1296
  # creates an operation instance, with the resource to be created
1322
1297
  # set to the passed value (res)
1323
- # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink]
1298
+ # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword]
1324
1299
  # a resource instance to be used for creation in this operation.
1325
1300
  #
1326
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] instance that will create the resource
1327
- def self.customer_client_link(res = nil, &blk)
1328
- require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
1329
- op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
1301
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
1302
+ def self.keyword_plan_negative_keyword(res = nil, &blk)
1303
+ require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
1304
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
1330
1305
  if !res.nil?
1331
1306
  op["create"] = res
1332
1307
  elsif !blk.nil?
1333
- op["create"] = Factories::V1::Resources.customer_client_link(&blk)
1308
+ op["create"] = Factories::V1::Resources.keyword_plan_negative_keyword(&blk)
1334
1309
  end
1335
1310
 
1336
1311
  op
1337
1312
  end
1338
1313
 
1339
- # A convenience method for creating an KeywordPlanAdGroupOperation instance with
1340
- # its "create" field prepopulated with an KeywordPlanAdGroup instance.
1314
+ # A convenience method for creating an CustomInterestOperation instance with
1315
+ # its "create" field prepopulated with an CustomInterest instance.
1341
1316
  #
1342
- # @overload keyword_plan_ad_group
1343
- # creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup
1317
+ # @overload custom_interest
1318
+ # creates an operation instance, yielding a newly fabricated CustomInterest
1344
1319
  # which can be used for setting attributes on the newly created resource
1345
- # @overload keyword_plan_ad_group(res)
1320
+ # @overload custom_interest(res)
1346
1321
  # creates an operation instance, with the resource to be created
1347
1322
  # set to the passed value (res)
1348
- # @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup]
1323
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CustomInterest]
1349
1324
  # a resource instance to be used for creation in this operation.
1350
1325
  #
1351
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] instance that will create the resource
1352
- def self.keyword_plan_ad_group(res = nil, &blk)
1353
- require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
1354
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
1326
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] instance that will create the resource
1327
+ def self.custom_interest(res = nil, &blk)
1328
+ require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
1329
+ op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
1355
1330
  if !res.nil?
1356
1331
  op["create"] = res
1357
1332
  elsif !blk.nil?
1358
- op["create"] = Factories::V1::Resources.keyword_plan_ad_group(&blk)
1333
+ op["create"] = Factories::V1::Resources.custom_interest(&blk)
1359
1334
  end
1360
1335
 
1361
1336
  op
1362
1337
  end
1363
- end
1364
1338
 
1365
- module UpdateResource
1366
- # A convenience method for creating an CustomInterestOperation instance with
1367
- # its "update" field prepopulated with an CustomInterest instance, and
1368
- # its "update_mask" field populated as needed to send the updates to the API.
1339
+ # A convenience method for creating an CustomerClientLinkOperation instance with
1340
+ # its "create" field prepopulated with an CustomerClientLink instance.
1369
1341
  #
1370
- # @overload #custom_interest(path, &blk)
1371
- # @param path [String] a resource path for the resource to update
1372
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a new instance of the resource for this update operation, on
1342
+ # @overload customer_client_link
1343
+ # creates an operation instance, yielding a newly fabricated CustomerClientLink
1344
+ # which can be used for setting attributes on the newly created resource
1345
+ # @overload customer_client_link(res)
1346
+ # creates an operation instance, with the resource to be created
1347
+ # set to the passed value (res)
1348
+ # @param res [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink]
1349
+ # a resource instance to be used for creation in this operation.
1350
+ #
1351
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] instance that will create the resource
1352
+ def self.customer_client_link(res = nil, &blk)
1353
+ require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
1354
+ op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
1355
+ if !res.nil?
1356
+ op["create"] = res
1357
+ elsif !blk.nil?
1358
+ op["create"] = Factories::V1::Resources.customer_client_link(&blk)
1359
+ end
1360
+
1361
+ op
1362
+ end
1363
+ end
1364
+
1365
+ module UpdateResource
1366
+ # A convenience method for creating an KeywordPlanKeywordOperation instance with
1367
+ # its "update" field prepopulated with an KeywordPlanKeyword instance, and
1368
+ # its "update_mask" field populated as needed to send the updates to the API.
1369
+ #
1370
+ # @overload #keyword_plan_keyword(path, &blk)
1371
+ # @param path [String] a resource path for the resource to update
1372
+ # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
1373
1373
  # which fields can be set to update
1374
1374
  #
1375
- # @overload #custom_interest(resource, &blk)
1376
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a resource instance to update
1375
+ # @overload #keyword_plan_keyword(resource, &blk)
1376
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a resource instance to update
1377
1377
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1378
- # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation instance to update the resource
1379
- def self.custom_interest(resource_or_path, &blk)
1380
- require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
1378
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
1379
+ def self.keyword_plan_keyword(resource_or_path, &blk)
1380
+ require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
1381
1381
  res = case resource_or_path
1382
- when Google::Ads::GoogleAds::V1::Resources::CustomInterest
1382
+ when Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword
1383
1383
  resource_or_path
1384
1384
  # got a resource path
1385
1385
  when String
1386
- obj = Google::Ads::GoogleAds::V1::Resources::CustomInterest.new
1386
+ obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword.new
1387
1387
  obj.resource_name = resource_or_path
1388
1388
  obj
1389
1389
  else
1390
- unless Google::Ads::GoogleAds::V1::Resources::CustomInterest === res
1390
+ unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword === res
1391
1391
  raise ArgumentError.new(
1392
1392
  "Called #{__method__} with instance of wrong type:"\
1393
1393
  " #{res.class} want #{operation.update_class}"\
@@ -1396,37 +1396,37 @@ module Google
1396
1396
  end
1397
1397
  end
1398
1398
 
1399
- op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
1399
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
1400
1400
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1401
1401
  op["update"] = res
1402
1402
  op
1403
1403
  end
1404
1404
 
1405
- # A convenience method for creating an RemarketingActionOperation instance with
1406
- # its "update" field prepopulated with an RemarketingAction instance, and
1405
+ # A convenience method for creating an FeedMappingOperation instance with
1406
+ # its "update" field prepopulated with an FeedMapping instance, and
1407
1407
  # its "update_mask" field populated as needed to send the updates to the API.
1408
1408
  #
1409
- # @overload #remarketing_action(path, &blk)
1409
+ # @overload #feed_mapping(path, &blk)
1410
1410
  # @param path [String] a resource path for the resource to update
1411
- # @yield [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a new instance of the resource for this update operation, on
1411
+ # @yield [Google::Ads::GoogleAds::V1::Resources::FeedMapping] a new instance of the resource for this update operation, on
1412
1412
  # which fields can be set to update
1413
1413
  #
1414
- # @overload #remarketing_action(resource, &blk)
1415
- # @param resource [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a resource instance to update
1414
+ # @overload #feed_mapping(resource, &blk)
1415
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::FeedMapping] a resource instance to update
1416
1416
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1417
- # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation instance to update the resource
1418
- def self.remarketing_action(resource_or_path, &blk)
1419
- require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
1417
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] the operation instance to update the resource
1418
+ def self.feed_mapping(resource_or_path, &blk)
1419
+ require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
1420
1420
  res = case resource_or_path
1421
- when Google::Ads::GoogleAds::V1::Resources::RemarketingAction
1421
+ when Google::Ads::GoogleAds::V1::Resources::FeedMapping
1422
1422
  resource_or_path
1423
1423
  # got a resource path
1424
1424
  when String
1425
- obj = Google::Ads::GoogleAds::V1::Resources::RemarketingAction.new
1425
+ obj = Google::Ads::GoogleAds::V1::Resources::FeedMapping.new
1426
1426
  obj.resource_name = resource_or_path
1427
1427
  obj
1428
1428
  else
1429
- unless Google::Ads::GoogleAds::V1::Resources::RemarketingAction === res
1429
+ unless Google::Ads::GoogleAds::V1::Resources::FeedMapping === res
1430
1430
  raise ArgumentError.new(
1431
1431
  "Called #{__method__} with instance of wrong type:"\
1432
1432
  " #{res.class} want #{operation.update_class}"\
@@ -1435,37 +1435,37 @@ module Google
1435
1435
  end
1436
1436
  end
1437
1437
 
1438
- op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
1438
+ op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
1439
1439
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1440
1440
  op["update"] = res
1441
1441
  op
1442
1442
  end
1443
1443
 
1444
- # A convenience method for creating an KeywordPlanCampaignOperation instance with
1445
- # its "update" field prepopulated with an KeywordPlanCampaign instance, and
1444
+ # A convenience method for creating an FeedOperation instance with
1445
+ # its "update" field prepopulated with an Feed instance, and
1446
1446
  # its "update_mask" field populated as needed to send the updates to the API.
1447
1447
  #
1448
- # @overload #keyword_plan_campaign(path, &blk)
1448
+ # @overload #feed(path, &blk)
1449
1449
  # @param path [String] a resource path for the resource to update
1450
- # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
1450
+ # @yield [Google::Ads::GoogleAds::V1::Resources::Feed] a new instance of the resource for this update operation, on
1451
1451
  # which fields can be set to update
1452
1452
  #
1453
- # @overload #keyword_plan_campaign(resource, &blk)
1454
- # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a resource instance to update
1453
+ # @overload #feed(resource, &blk)
1454
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::Feed] a resource instance to update
1455
1455
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1456
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
1457
- def self.keyword_plan_campaign(resource_or_path, &blk)
1458
- require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
1456
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation instance to update the resource
1457
+ def self.feed(resource_or_path, &blk)
1458
+ require "google/ads/google_ads/v1/services/feed_service_pb.rb"
1459
1459
  res = case resource_or_path
1460
- when Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign
1460
+ when Google::Ads::GoogleAds::V1::Resources::Feed
1461
1461
  resource_or_path
1462
1462
  # got a resource path
1463
1463
  when String
1464
- obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign.new
1464
+ obj = Google::Ads::GoogleAds::V1::Resources::Feed.new
1465
1465
  obj.resource_name = resource_or_path
1466
1466
  obj
1467
1467
  else
1468
- unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign === res
1468
+ unless Google::Ads::GoogleAds::V1::Resources::Feed === res
1469
1469
  raise ArgumentError.new(
1470
1470
  "Called #{__method__} with instance of wrong type:"\
1471
1471
  " #{res.class} want #{operation.update_class}"\
@@ -1474,37 +1474,37 @@ module Google
1474
1474
  end
1475
1475
  end
1476
1476
 
1477
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
1477
+ op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
1478
1478
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1479
1479
  op["update"] = res
1480
1480
  op
1481
1481
  end
1482
1482
 
1483
- # A convenience method for creating an AdGroupAdLabelOperation instance with
1484
- # its "update" field prepopulated with an AdGroupAdLabel instance, and
1483
+ # A convenience method for creating an AdGroupCriterionLabelOperation instance with
1484
+ # its "update" field prepopulated with an AdGroupCriterionLabel instance, and
1485
1485
  # its "update_mask" field populated as needed to send the updates to the API.
1486
1486
  #
1487
- # @overload #ad_group_ad_label(path, &blk)
1487
+ # @overload #ad_group_criterion_label(path, &blk)
1488
1488
  # @param path [String] a resource path for the resource to update
1489
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel] a new instance of the resource for this update operation, on
1489
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel] a new instance of the resource for this update operation, on
1490
1490
  # which fields can be set to update
1491
1491
  #
1492
- # @overload #ad_group_ad_label(resource, &blk)
1493
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel] a resource instance to update
1492
+ # @overload #ad_group_criterion_label(resource, &blk)
1493
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel] a resource instance to update
1494
1494
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1495
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] the operation instance to update the resource
1496
- def self.ad_group_ad_label(resource_or_path, &blk)
1497
- require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
1495
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] the operation instance to update the resource
1496
+ def self.ad_group_criterion_label(resource_or_path, &blk)
1497
+ require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
1498
1498
  res = case resource_or_path
1499
- when Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel
1499
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel
1500
1500
  resource_or_path
1501
1501
  # got a resource path
1502
1502
  when String
1503
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel.new
1503
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel.new
1504
1504
  obj.resource_name = resource_or_path
1505
1505
  obj
1506
1506
  else
1507
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel === res
1507
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel === res
1508
1508
  raise ArgumentError.new(
1509
1509
  "Called #{__method__} with instance of wrong type:"\
1510
1510
  " #{res.class} want #{operation.update_class}"\
@@ -1513,37 +1513,37 @@ module Google
1513
1513
  end
1514
1514
  end
1515
1515
 
1516
- op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
1516
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
1517
1517
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1518
1518
  op["update"] = res
1519
1519
  op
1520
1520
  end
1521
1521
 
1522
- # A convenience method for creating an AdGroupAdOperation instance with
1523
- # its "update" field prepopulated with an AdGroupAd instance, and
1522
+ # A convenience method for creating an ConversionActionOperation instance with
1523
+ # its "update" field prepopulated with an ConversionAction instance, and
1524
1524
  # its "update_mask" field populated as needed to send the updates to the API.
1525
1525
  #
1526
- # @overload #ad_group_ad(path, &blk)
1526
+ # @overload #conversion_action(path, &blk)
1527
1527
  # @param path [String] a resource path for the resource to update
1528
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupAd] a new instance of the resource for this update operation, on
1528
+ # @yield [Google::Ads::GoogleAds::V1::Resources::ConversionAction] a new instance of the resource for this update operation, on
1529
1529
  # which fields can be set to update
1530
1530
  #
1531
- # @overload #ad_group_ad(resource, &blk)
1532
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupAd] a resource instance to update
1531
+ # @overload #conversion_action(resource, &blk)
1532
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::ConversionAction] a resource instance to update
1533
1533
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1534
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] the operation instance to update the resource
1535
- def self.ad_group_ad(resource_or_path, &blk)
1536
- require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
1534
+ # @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] the operation instance to update the resource
1535
+ def self.conversion_action(resource_or_path, &blk)
1536
+ require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
1537
1537
  res = case resource_or_path
1538
- when Google::Ads::GoogleAds::V1::Resources::AdGroupAd
1538
+ when Google::Ads::GoogleAds::V1::Resources::ConversionAction
1539
1539
  resource_or_path
1540
1540
  # got a resource path
1541
1541
  when String
1542
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupAd.new
1542
+ obj = Google::Ads::GoogleAds::V1::Resources::ConversionAction.new
1543
1543
  obj.resource_name = resource_or_path
1544
1544
  obj
1545
1545
  else
1546
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupAd === res
1546
+ unless Google::Ads::GoogleAds::V1::Resources::ConversionAction === res
1547
1547
  raise ArgumentError.new(
1548
1548
  "Called #{__method__} with instance of wrong type:"\
1549
1549
  " #{res.class} want #{operation.update_class}"\
@@ -1552,37 +1552,37 @@ module Google
1552
1552
  end
1553
1553
  end
1554
1554
 
1555
- op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
1555
+ op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
1556
1556
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1557
1557
  op["update"] = res
1558
1558
  op
1559
1559
  end
1560
1560
 
1561
- # A convenience method for creating an AdGroupBidModifierOperation instance with
1562
- # its "update" field prepopulated with an AdGroupBidModifier instance, and
1561
+ # A convenience method for creating an BiddingStrategyOperation instance with
1562
+ # its "update" field prepopulated with an BiddingStrategy instance, and
1563
1563
  # its "update_mask" field populated as needed to send the updates to the API.
1564
1564
  #
1565
- # @overload #ad_group_bid_modifier(path, &blk)
1565
+ # @overload #bidding_strategy(path, &blk)
1566
1566
  # @param path [String] a resource path for the resource to update
1567
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
1567
+ # @yield [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy] a new instance of the resource for this update operation, on
1568
1568
  # which fields can be set to update
1569
1569
  #
1570
- # @overload #ad_group_bid_modifier(resource, &blk)
1571
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a resource instance to update
1570
+ # @overload #bidding_strategy(resource, &blk)
1571
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy] a resource instance to update
1572
1572
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1573
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation instance to update the resource
1574
- def self.ad_group_bid_modifier(resource_or_path, &blk)
1575
- require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
1573
+ # @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] the operation instance to update the resource
1574
+ def self.bidding_strategy(resource_or_path, &blk)
1575
+ require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
1576
1576
  res = case resource_or_path
1577
- when Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier
1577
+ when Google::Ads::GoogleAds::V1::Resources::BiddingStrategy
1578
1578
  resource_or_path
1579
1579
  # got a resource path
1580
1580
  when String
1581
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier.new
1581
+ obj = Google::Ads::GoogleAds::V1::Resources::BiddingStrategy.new
1582
1582
  obj.resource_name = resource_or_path
1583
1583
  obj
1584
1584
  else
1585
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier === res
1585
+ unless Google::Ads::GoogleAds::V1::Resources::BiddingStrategy === res
1586
1586
  raise ArgumentError.new(
1587
1587
  "Called #{__method__} with instance of wrong type:"\
1588
1588
  " #{res.class} want #{operation.update_class}"\
@@ -1591,37 +1591,37 @@ module Google
1591
1591
  end
1592
1592
  end
1593
1593
 
1594
- op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
1594
+ op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
1595
1595
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1596
1596
  op["update"] = res
1597
1597
  op
1598
1598
  end
1599
1599
 
1600
- # A convenience method for creating an AdGroupCriterionLabelOperation instance with
1601
- # its "update" field prepopulated with an AdGroupCriterionLabel instance, and
1600
+ # A convenience method for creating an AccountBudgetProposalOperation instance with
1601
+ # its "update" field prepopulated with an AccountBudgetProposal instance, and
1602
1602
  # its "update_mask" field populated as needed to send the updates to the API.
1603
1603
  #
1604
- # @overload #ad_group_criterion_label(path, &blk)
1604
+ # @overload #account_budget_proposal(path, &blk)
1605
1605
  # @param path [String] a resource path for the resource to update
1606
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel] a new instance of the resource for this update operation, on
1606
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal] a new instance of the resource for this update operation, on
1607
1607
  # which fields can be set to update
1608
1608
  #
1609
- # @overload #ad_group_criterion_label(resource, &blk)
1610
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel] a resource instance to update
1609
+ # @overload #account_budget_proposal(resource, &blk)
1610
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal] a resource instance to update
1611
1611
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1612
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] the operation instance to update the resource
1613
- def self.ad_group_criterion_label(resource_or_path, &blk)
1614
- require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
1612
+ # @return [Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation] the operation instance to update the resource
1613
+ def self.account_budget_proposal(resource_or_path, &blk)
1614
+ require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
1615
1615
  res = case resource_or_path
1616
- when Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel
1616
+ when Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal
1617
1617
  resource_or_path
1618
1618
  # got a resource path
1619
1619
  when String
1620
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel.new
1620
+ obj = Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal.new
1621
1621
  obj.resource_name = resource_or_path
1622
1622
  obj
1623
1623
  else
1624
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel === res
1624
+ unless Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal === res
1625
1625
  raise ArgumentError.new(
1626
1626
  "Called #{__method__} with instance of wrong type:"\
1627
1627
  " #{res.class} want #{operation.update_class}"\
@@ -1630,37 +1630,37 @@ module Google
1630
1630
  end
1631
1631
  end
1632
1632
 
1633
- op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
1633
+ op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
1634
1634
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1635
1635
  op["update"] = res
1636
1636
  op
1637
1637
  end
1638
1638
 
1639
- # A convenience method for creating an AdGroupCriterionOperation instance with
1640
- # its "update" field prepopulated with an AdGroupCriterion instance, and
1639
+ # A convenience method for creating an FeedItemOperation instance with
1640
+ # its "update" field prepopulated with an FeedItem instance, and
1641
1641
  # its "update_mask" field populated as needed to send the updates to the API.
1642
1642
  #
1643
- # @overload #ad_group_criterion(path, &blk)
1643
+ # @overload #feed_item(path, &blk)
1644
1644
  # @param path [String] a resource path for the resource to update
1645
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion] a new instance of the resource for this update operation, on
1645
+ # @yield [Google::Ads::GoogleAds::V1::Resources::FeedItem] a new instance of the resource for this update operation, on
1646
1646
  # which fields can be set to update
1647
1647
  #
1648
- # @overload #ad_group_criterion(resource, &blk)
1649
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion] a resource instance to update
1648
+ # @overload #feed_item(resource, &blk)
1649
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItem] a resource instance to update
1650
1650
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1651
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] the operation instance to update the resource
1652
- def self.ad_group_criterion(resource_or_path, &blk)
1653
- require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
1651
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation instance to update the resource
1652
+ def self.feed_item(resource_or_path, &blk)
1653
+ require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
1654
1654
  res = case resource_or_path
1655
- when Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion
1655
+ when Google::Ads::GoogleAds::V1::Resources::FeedItem
1656
1656
  resource_or_path
1657
1657
  # got a resource path
1658
1658
  when String
1659
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion.new
1659
+ obj = Google::Ads::GoogleAds::V1::Resources::FeedItem.new
1660
1660
  obj.resource_name = resource_or_path
1661
1661
  obj
1662
1662
  else
1663
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion === res
1663
+ unless Google::Ads::GoogleAds::V1::Resources::FeedItem === res
1664
1664
  raise ArgumentError.new(
1665
1665
  "Called #{__method__} with instance of wrong type:"\
1666
1666
  " #{res.class} want #{operation.update_class}"\
@@ -1669,37 +1669,37 @@ module Google
1669
1669
  end
1670
1670
  end
1671
1671
 
1672
- op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
1672
+ op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
1673
1673
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1674
1674
  op["update"] = res
1675
1675
  op
1676
1676
  end
1677
1677
 
1678
- # A convenience method for creating an AdGroupExtensionSettingOperation instance with
1679
- # its "update" field prepopulated with an AdGroupExtensionSetting instance, and
1678
+ # A convenience method for creating an CampaignBudgetOperation instance with
1679
+ # its "update" field prepopulated with an CampaignBudget instance, and
1680
1680
  # its "update_mask" field populated as needed to send the updates to the API.
1681
1681
  #
1682
- # @overload #ad_group_extension_setting(path, &blk)
1682
+ # @overload #campaign_budget(path, &blk)
1683
1683
  # @param path [String] a resource path for the resource to update
1684
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting] a new instance of the resource for this update operation, on
1684
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignBudget] a new instance of the resource for this update operation, on
1685
1685
  # which fields can be set to update
1686
1686
  #
1687
- # @overload #ad_group_extension_setting(resource, &blk)
1688
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting] a resource instance to update
1687
+ # @overload #campaign_budget(resource, &blk)
1688
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignBudget] a resource instance to update
1689
1689
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1690
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation] the operation instance to update the resource
1691
- def self.ad_group_extension_setting(resource_or_path, &blk)
1692
- require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_pb.rb"
1690
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] the operation instance to update the resource
1691
+ def self.campaign_budget(resource_or_path, &blk)
1692
+ require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
1693
1693
  res = case resource_or_path
1694
- when Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting
1694
+ when Google::Ads::GoogleAds::V1::Resources::CampaignBudget
1695
1695
  resource_or_path
1696
1696
  # got a resource path
1697
1697
  when String
1698
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting.new
1698
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignBudget.new
1699
1699
  obj.resource_name = resource_or_path
1700
1700
  obj
1701
1701
  else
1702
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting === res
1702
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignBudget === res
1703
1703
  raise ArgumentError.new(
1704
1704
  "Called #{__method__} with instance of wrong type:"\
1705
1705
  " #{res.class} want #{operation.update_class}"\
@@ -1708,37 +1708,37 @@ module Google
1708
1708
  end
1709
1709
  end
1710
1710
 
1711
- op = Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation.new
1711
+ op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
1712
1712
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1713
1713
  op["update"] = res
1714
1714
  op
1715
1715
  end
1716
1716
 
1717
- # A convenience method for creating an AdGroupFeedOperation instance with
1718
- # its "update" field prepopulated with an AdGroupFeed instance, and
1717
+ # A convenience method for creating an AdGroupBidModifierOperation instance with
1718
+ # its "update" field prepopulated with an AdGroupBidModifier instance, and
1719
1719
  # its "update_mask" field populated as needed to send the updates to the API.
1720
1720
  #
1721
- # @overload #ad_group_feed(path, &blk)
1721
+ # @overload #ad_group_bid_modifier(path, &blk)
1722
1722
  # @param path [String] a resource path for the resource to update
1723
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed] a new instance of the resource for this update operation, on
1723
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
1724
1724
  # which fields can be set to update
1725
1725
  #
1726
- # @overload #ad_group_feed(resource, &blk)
1727
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed] a resource instance to update
1726
+ # @overload #ad_group_bid_modifier(resource, &blk)
1727
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a resource instance to update
1728
1728
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1729
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation] the operation instance to update the resource
1730
- def self.ad_group_feed(resource_or_path, &blk)
1731
- require "google/ads/google_ads/v1/services/ad_group_feed_service_pb.rb"
1729
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation instance to update the resource
1730
+ def self.ad_group_bid_modifier(resource_or_path, &blk)
1731
+ require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
1732
1732
  res = case resource_or_path
1733
- when Google::Ads::GoogleAds::V1::Resources::AdGroupFeed
1733
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier
1734
1734
  resource_or_path
1735
1735
  # got a resource path
1736
1736
  when String
1737
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupFeed.new
1737
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier.new
1738
1738
  obj.resource_name = resource_or_path
1739
1739
  obj
1740
1740
  else
1741
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupFeed === res
1741
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier === res
1742
1742
  raise ArgumentError.new(
1743
1743
  "Called #{__method__} with instance of wrong type:"\
1744
1744
  " #{res.class} want #{operation.update_class}"\
@@ -1747,37 +1747,37 @@ module Google
1747
1747
  end
1748
1748
  end
1749
1749
 
1750
- op = Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
1750
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
1751
1751
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1752
1752
  op["update"] = res
1753
1753
  op
1754
1754
  end
1755
1755
 
1756
- # A convenience method for creating an AdGroupLabelOperation instance with
1757
- # its "update" field prepopulated with an AdGroupLabel instance, and
1756
+ # A convenience method for creating an CampaignLabelOperation instance with
1757
+ # its "update" field prepopulated with an CampaignLabel instance, and
1758
1758
  # its "update_mask" field populated as needed to send the updates to the API.
1759
1759
  #
1760
- # @overload #ad_group_label(path, &blk)
1760
+ # @overload #campaign_label(path, &blk)
1761
1761
  # @param path [String] a resource path for the resource to update
1762
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupLabel] a new instance of the resource for this update operation, on
1762
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignLabel] a new instance of the resource for this update operation, on
1763
1763
  # which fields can be set to update
1764
1764
  #
1765
- # @overload #ad_group_label(resource, &blk)
1766
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupLabel] a resource instance to update
1765
+ # @overload #campaign_label(resource, &blk)
1766
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignLabel] a resource instance to update
1767
1767
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1768
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] the operation instance to update the resource
1769
- def self.ad_group_label(resource_or_path, &blk)
1770
- require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
1768
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] the operation instance to update the resource
1769
+ def self.campaign_label(resource_or_path, &blk)
1770
+ require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
1771
1771
  res = case resource_or_path
1772
- when Google::Ads::GoogleAds::V1::Resources::AdGroupLabel
1772
+ when Google::Ads::GoogleAds::V1::Resources::CampaignLabel
1773
1773
  resource_or_path
1774
1774
  # got a resource path
1775
1775
  when String
1776
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroupLabel.new
1776
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignLabel.new
1777
1777
  obj.resource_name = resource_or_path
1778
1778
  obj
1779
1779
  else
1780
- unless Google::Ads::GoogleAds::V1::Resources::AdGroupLabel === res
1780
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignLabel === res
1781
1781
  raise ArgumentError.new(
1782
1782
  "Called #{__method__} with instance of wrong type:"\
1783
1783
  " #{res.class} want #{operation.update_class}"\
@@ -1786,37 +1786,37 @@ module Google
1786
1786
  end
1787
1787
  end
1788
1788
 
1789
- op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
1789
+ op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
1790
1790
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1791
1791
  op["update"] = res
1792
1792
  op
1793
1793
  end
1794
1794
 
1795
- # A convenience method for creating an AdGroupOperation instance with
1796
- # its "update" field prepopulated with an AdGroup instance, and
1795
+ # A convenience method for creating an SharedCriterionOperation instance with
1796
+ # its "update" field prepopulated with an SharedCriterion instance, and
1797
1797
  # its "update_mask" field populated as needed to send the updates to the API.
1798
1798
  #
1799
- # @overload #ad_group(path, &blk)
1799
+ # @overload #shared_criterion(path, &blk)
1800
1800
  # @param path [String] a resource path for the resource to update
1801
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroup] a new instance of the resource for this update operation, on
1801
+ # @yield [Google::Ads::GoogleAds::V1::Resources::SharedCriterion] a new instance of the resource for this update operation, on
1802
1802
  # which fields can be set to update
1803
1803
  #
1804
- # @overload #ad_group(resource, &blk)
1805
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroup] a resource instance to update
1804
+ # @overload #shared_criterion(resource, &blk)
1805
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::SharedCriterion] a resource instance to update
1806
1806
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1807
- # @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] the operation instance to update the resource
1808
- def self.ad_group(resource_or_path, &blk)
1809
- require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
1807
+ # @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] the operation instance to update the resource
1808
+ def self.shared_criterion(resource_or_path, &blk)
1809
+ require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
1810
1810
  res = case resource_or_path
1811
- when Google::Ads::GoogleAds::V1::Resources::AdGroup
1811
+ when Google::Ads::GoogleAds::V1::Resources::SharedCriterion
1812
1812
  resource_or_path
1813
1813
  # got a resource path
1814
1814
  when String
1815
- obj = Google::Ads::GoogleAds::V1::Resources::AdGroup.new
1815
+ obj = Google::Ads::GoogleAds::V1::Resources::SharedCriterion.new
1816
1816
  obj.resource_name = resource_or_path
1817
1817
  obj
1818
1818
  else
1819
- unless Google::Ads::GoogleAds::V1::Resources::AdGroup === res
1819
+ unless Google::Ads::GoogleAds::V1::Resources::SharedCriterion === res
1820
1820
  raise ArgumentError.new(
1821
1821
  "Called #{__method__} with instance of wrong type:"\
1822
1822
  " #{res.class} want #{operation.update_class}"\
@@ -1825,37 +1825,37 @@ module Google
1825
1825
  end
1826
1826
  end
1827
1827
 
1828
- op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
1828
+ op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
1829
1829
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1830
1830
  op["update"] = res
1831
1831
  op
1832
1832
  end
1833
1833
 
1834
- # A convenience method for creating an AdParameterOperation instance with
1835
- # its "update" field prepopulated with an AdParameter instance, and
1834
+ # A convenience method for creating an KeywordPlanAdGroupOperation instance with
1835
+ # its "update" field prepopulated with an KeywordPlanAdGroup instance, and
1836
1836
  # its "update_mask" field populated as needed to send the updates to the API.
1837
1837
  #
1838
- # @overload #ad_parameter(path, &blk)
1838
+ # @overload #keyword_plan_ad_group(path, &blk)
1839
1839
  # @param path [String] a resource path for the resource to update
1840
- # @yield [Google::Ads::GoogleAds::V1::Resources::AdParameter] a new instance of the resource for this update operation, on
1840
+ # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
1841
1841
  # which fields can be set to update
1842
1842
  #
1843
- # @overload #ad_parameter(resource, &blk)
1844
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AdParameter] a resource instance to update
1843
+ # @overload #keyword_plan_ad_group(resource, &blk)
1844
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a resource instance to update
1845
1845
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1846
- # @return [Google::Ads::GoogleAds::V1::Services::AdParameterOperation] the operation instance to update the resource
1847
- def self.ad_parameter(resource_or_path, &blk)
1848
- require "google/ads/google_ads/v1/services/ad_parameter_service_pb.rb"
1846
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
1847
+ def self.keyword_plan_ad_group(resource_or_path, &blk)
1848
+ require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
1849
1849
  res = case resource_or_path
1850
- when Google::Ads::GoogleAds::V1::Resources::AdParameter
1850
+ when Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup
1851
1851
  resource_or_path
1852
1852
  # got a resource path
1853
1853
  when String
1854
- obj = Google::Ads::GoogleAds::V1::Resources::AdParameter.new
1854
+ obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup.new
1855
1855
  obj.resource_name = resource_or_path
1856
1856
  obj
1857
1857
  else
1858
- unless Google::Ads::GoogleAds::V1::Resources::AdParameter === res
1858
+ unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup === res
1859
1859
  raise ArgumentError.new(
1860
1860
  "Called #{__method__} with instance of wrong type:"\
1861
1861
  " #{res.class} want #{operation.update_class}"\
@@ -1864,37 +1864,37 @@ module Google
1864
1864
  end
1865
1865
  end
1866
1866
 
1867
- op = Google::Ads::GoogleAds::V1::Services::AdParameterOperation.new
1867
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
1868
1868
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1869
1869
  op["update"] = res
1870
1870
  op
1871
1871
  end
1872
1872
 
1873
- # A convenience method for creating an AssetOperation instance with
1874
- # its "update" field prepopulated with an Asset instance, and
1873
+ # A convenience method for creating an CampaignDraftOperation instance with
1874
+ # its "update" field prepopulated with an CampaignDraft instance, and
1875
1875
  # its "update_mask" field populated as needed to send the updates to the API.
1876
1876
  #
1877
- # @overload #asset(path, &blk)
1877
+ # @overload #campaign_draft(path, &blk)
1878
1878
  # @param path [String] a resource path for the resource to update
1879
- # @yield [Google::Ads::GoogleAds::V1::Resources::Asset] a new instance of the resource for this update operation, on
1879
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a new instance of the resource for this update operation, on
1880
1880
  # which fields can be set to update
1881
1881
  #
1882
- # @overload #asset(resource, &blk)
1883
- # @param resource [Google::Ads::GoogleAds::V1::Resources::Asset] a resource instance to update
1882
+ # @overload #campaign_draft(resource, &blk)
1883
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a resource instance to update
1884
1884
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1885
- # @return [Google::Ads::GoogleAds::V1::Services::AssetOperation] the operation instance to update the resource
1886
- def self.asset(resource_or_path, &blk)
1887
- require "google/ads/google_ads/v1/services/asset_service_pb.rb"
1885
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation instance to update the resource
1886
+ def self.campaign_draft(resource_or_path, &blk)
1887
+ require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
1888
1888
  res = case resource_or_path
1889
- when Google::Ads::GoogleAds::V1::Resources::Asset
1889
+ when Google::Ads::GoogleAds::V1::Resources::CampaignDraft
1890
1890
  resource_or_path
1891
1891
  # got a resource path
1892
1892
  when String
1893
- obj = Google::Ads::GoogleAds::V1::Resources::Asset.new
1893
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignDraft.new
1894
1894
  obj.resource_name = resource_or_path
1895
1895
  obj
1896
1896
  else
1897
- unless Google::Ads::GoogleAds::V1::Resources::Asset === res
1897
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignDraft === res
1898
1898
  raise ArgumentError.new(
1899
1899
  "Called #{__method__} with instance of wrong type:"\
1900
1900
  " #{res.class} want #{operation.update_class}"\
@@ -1903,37 +1903,37 @@ module Google
1903
1903
  end
1904
1904
  end
1905
1905
 
1906
- op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new
1906
+ op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
1907
1907
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1908
1908
  op["update"] = res
1909
1909
  op
1910
1910
  end
1911
1911
 
1912
- # A convenience method for creating an BiddingStrategyOperation instance with
1913
- # its "update" field prepopulated with an BiddingStrategy instance, and
1912
+ # A convenience method for creating an CampaignFeedOperation instance with
1913
+ # its "update" field prepopulated with an CampaignFeed instance, and
1914
1914
  # its "update_mask" field populated as needed to send the updates to the API.
1915
1915
  #
1916
- # @overload #bidding_strategy(path, &blk)
1916
+ # @overload #campaign_feed(path, &blk)
1917
1917
  # @param path [String] a resource path for the resource to update
1918
- # @yield [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy] a new instance of the resource for this update operation, on
1918
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a new instance of the resource for this update operation, on
1919
1919
  # which fields can be set to update
1920
1920
  #
1921
- # @overload #bidding_strategy(resource, &blk)
1922
- # @param resource [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy] a resource instance to update
1921
+ # @overload #campaign_feed(resource, &blk)
1922
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a resource instance to update
1923
1923
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1924
- # @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] the operation instance to update the resource
1925
- def self.bidding_strategy(resource_or_path, &blk)
1926
- require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
1924
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation instance to update the resource
1925
+ def self.campaign_feed(resource_or_path, &blk)
1926
+ require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
1927
1927
  res = case resource_or_path
1928
- when Google::Ads::GoogleAds::V1::Resources::BiddingStrategy
1928
+ when Google::Ads::GoogleAds::V1::Resources::CampaignFeed
1929
1929
  resource_or_path
1930
1930
  # got a resource path
1931
1931
  when String
1932
- obj = Google::Ads::GoogleAds::V1::Resources::BiddingStrategy.new
1932
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignFeed.new
1933
1933
  obj.resource_name = resource_or_path
1934
1934
  obj
1935
1935
  else
1936
- unless Google::Ads::GoogleAds::V1::Resources::BiddingStrategy === res
1936
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignFeed === res
1937
1937
  raise ArgumentError.new(
1938
1938
  "Called #{__method__} with instance of wrong type:"\
1939
1939
  " #{res.class} want #{operation.update_class}"\
@@ -1942,37 +1942,37 @@ module Google
1942
1942
  end
1943
1943
  end
1944
1944
 
1945
- op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
1945
+ op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
1946
1946
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1947
1947
  op["update"] = res
1948
1948
  op
1949
1949
  end
1950
1950
 
1951
- # A convenience method for creating an CampaignBidModifierOperation instance with
1952
- # its "update" field prepopulated with an CampaignBidModifier instance, and
1951
+ # A convenience method for creating an AdGroupCriterionOperation instance with
1952
+ # its "update" field prepopulated with an AdGroupCriterion instance, and
1953
1953
  # its "update_mask" field populated as needed to send the updates to the API.
1954
1954
  #
1955
- # @overload #campaign_bid_modifier(path, &blk)
1955
+ # @overload #ad_group_criterion(path, &blk)
1956
1956
  # @param path [String] a resource path for the resource to update
1957
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
1957
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion] a new instance of the resource for this update operation, on
1958
1958
  # which fields can be set to update
1959
1959
  #
1960
- # @overload #campaign_bid_modifier(resource, &blk)
1961
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier] a resource instance to update
1960
+ # @overload #ad_group_criterion(resource, &blk)
1961
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion] a resource instance to update
1962
1962
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
1963
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] the operation instance to update the resource
1964
- def self.campaign_bid_modifier(resource_or_path, &blk)
1965
- require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
1963
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] the operation instance to update the resource
1964
+ def self.ad_group_criterion(resource_or_path, &blk)
1965
+ require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
1966
1966
  res = case resource_or_path
1967
- when Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier
1967
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion
1968
1968
  resource_or_path
1969
1969
  # got a resource path
1970
1970
  when String
1971
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier.new
1971
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion.new
1972
1972
  obj.resource_name = resource_or_path
1973
1973
  obj
1974
1974
  else
1975
- unless Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier === res
1975
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion === res
1976
1976
  raise ArgumentError.new(
1977
1977
  "Called #{__method__} with instance of wrong type:"\
1978
1978
  " #{res.class} want #{operation.update_class}"\
@@ -1981,37 +1981,37 @@ module Google
1981
1981
  end
1982
1982
  end
1983
1983
 
1984
- op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
1984
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
1985
1985
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
1986
1986
  op["update"] = res
1987
1987
  op
1988
1988
  end
1989
1989
 
1990
- # A convenience method for creating an CampaignBudgetOperation instance with
1991
- # its "update" field prepopulated with an CampaignBudget instance, and
1990
+ # A convenience method for creating an AdGroupAdLabelOperation instance with
1991
+ # its "update" field prepopulated with an AdGroupAdLabel instance, and
1992
1992
  # its "update_mask" field populated as needed to send the updates to the API.
1993
1993
  #
1994
- # @overload #campaign_budget(path, &blk)
1994
+ # @overload #ad_group_ad_label(path, &blk)
1995
1995
  # @param path [String] a resource path for the resource to update
1996
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignBudget] a new instance of the resource for this update operation, on
1996
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel] a new instance of the resource for this update operation, on
1997
1997
  # which fields can be set to update
1998
1998
  #
1999
- # @overload #campaign_budget(resource, &blk)
2000
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignBudget] a resource instance to update
1999
+ # @overload #ad_group_ad_label(resource, &blk)
2000
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel] a resource instance to update
2001
2001
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2002
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] the operation instance to update the resource
2003
- def self.campaign_budget(resource_or_path, &blk)
2004
- require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
2002
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] the operation instance to update the resource
2003
+ def self.ad_group_ad_label(resource_or_path, &blk)
2004
+ require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
2005
2005
  res = case resource_or_path
2006
- when Google::Ads::GoogleAds::V1::Resources::CampaignBudget
2006
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel
2007
2007
  resource_or_path
2008
2008
  # got a resource path
2009
2009
  when String
2010
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignBudget.new
2010
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel.new
2011
2011
  obj.resource_name = resource_or_path
2012
2012
  obj
2013
2013
  else
2014
- unless Google::Ads::GoogleAds::V1::Resources::CampaignBudget === res
2014
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel === res
2015
2015
  raise ArgumentError.new(
2016
2016
  "Called #{__method__} with instance of wrong type:"\
2017
2017
  " #{res.class} want #{operation.update_class}"\
@@ -2020,37 +2020,37 @@ module Google
2020
2020
  end
2021
2021
  end
2022
2022
 
2023
- op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
2023
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
2024
2024
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2025
2025
  op["update"] = res
2026
2026
  op
2027
2027
  end
2028
2028
 
2029
- # A convenience method for creating an CampaignCriterionOperation instance with
2030
- # its "update" field prepopulated with an CampaignCriterion instance, and
2029
+ # A convenience method for creating an AdGroupAdOperation instance with
2030
+ # its "update" field prepopulated with an AdGroupAd instance, and
2031
2031
  # its "update_mask" field populated as needed to send the updates to the API.
2032
2032
  #
2033
- # @overload #campaign_criterion(path, &blk)
2033
+ # @overload #ad_group_ad(path, &blk)
2034
2034
  # @param path [String] a resource path for the resource to update
2035
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a new instance of the resource for this update operation, on
2035
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupAd] a new instance of the resource for this update operation, on
2036
2036
  # which fields can be set to update
2037
2037
  #
2038
- # @overload #campaign_criterion(resource, &blk)
2039
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a resource instance to update
2038
+ # @overload #ad_group_ad(resource, &blk)
2039
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupAd] a resource instance to update
2040
2040
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2041
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation instance to update the resource
2042
- def self.campaign_criterion(resource_or_path, &blk)
2043
- require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
2041
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] the operation instance to update the resource
2042
+ def self.ad_group_ad(resource_or_path, &blk)
2043
+ require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
2044
2044
  res = case resource_or_path
2045
- when Google::Ads::GoogleAds::V1::Resources::CampaignCriterion
2045
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupAd
2046
2046
  resource_or_path
2047
2047
  # got a resource path
2048
2048
  when String
2049
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignCriterion.new
2049
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupAd.new
2050
2050
  obj.resource_name = resource_or_path
2051
2051
  obj
2052
2052
  else
2053
- unless Google::Ads::GoogleAds::V1::Resources::CampaignCriterion === res
2053
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupAd === res
2054
2054
  raise ArgumentError.new(
2055
2055
  "Called #{__method__} with instance of wrong type:"\
2056
2056
  " #{res.class} want #{operation.update_class}"\
@@ -2059,37 +2059,37 @@ module Google
2059
2059
  end
2060
2060
  end
2061
2061
 
2062
- op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
2062
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
2063
2063
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2064
2064
  op["update"] = res
2065
2065
  op
2066
2066
  end
2067
2067
 
2068
- # A convenience method for creating an CampaignDraftOperation instance with
2069
- # its "update" field prepopulated with an CampaignDraft instance, and
2068
+ # A convenience method for creating an AdGroupExtensionSettingOperation instance with
2069
+ # its "update" field prepopulated with an AdGroupExtensionSetting instance, and
2070
2070
  # its "update_mask" field populated as needed to send the updates to the API.
2071
2071
  #
2072
- # @overload #campaign_draft(path, &blk)
2072
+ # @overload #ad_group_extension_setting(path, &blk)
2073
2073
  # @param path [String] a resource path for the resource to update
2074
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a new instance of the resource for this update operation, on
2074
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting] a new instance of the resource for this update operation, on
2075
2075
  # which fields can be set to update
2076
2076
  #
2077
- # @overload #campaign_draft(resource, &blk)
2078
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a resource instance to update
2077
+ # @overload #ad_group_extension_setting(resource, &blk)
2078
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting] a resource instance to update
2079
2079
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2080
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation instance to update the resource
2081
- def self.campaign_draft(resource_or_path, &blk)
2082
- require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
2080
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation] the operation instance to update the resource
2081
+ def self.ad_group_extension_setting(resource_or_path, &blk)
2082
+ require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_pb.rb"
2083
2083
  res = case resource_or_path
2084
- when Google::Ads::GoogleAds::V1::Resources::CampaignDraft
2084
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting
2085
2085
  resource_or_path
2086
2086
  # got a resource path
2087
2087
  when String
2088
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignDraft.new
2088
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting.new
2089
2089
  obj.resource_name = resource_or_path
2090
2090
  obj
2091
2091
  else
2092
- unless Google::Ads::GoogleAds::V1::Resources::CampaignDraft === res
2092
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting === res
2093
2093
  raise ArgumentError.new(
2094
2094
  "Called #{__method__} with instance of wrong type:"\
2095
2095
  " #{res.class} want #{operation.update_class}"\
@@ -2098,37 +2098,37 @@ module Google
2098
2098
  end
2099
2099
  end
2100
2100
 
2101
- op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
2101
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation.new
2102
2102
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2103
2103
  op["update"] = res
2104
2104
  op
2105
2105
  end
2106
2106
 
2107
- # A convenience method for creating an CampaignExtensionSettingOperation instance with
2108
- # its "update" field prepopulated with an CampaignExtensionSetting instance, and
2107
+ # A convenience method for creating an AdGroupFeedOperation instance with
2108
+ # its "update" field prepopulated with an AdGroupFeed instance, and
2109
2109
  # its "update_mask" field populated as needed to send the updates to the API.
2110
2110
  #
2111
- # @overload #campaign_extension_setting(path, &blk)
2111
+ # @overload #ad_group_feed(path, &blk)
2112
2112
  # @param path [String] a resource path for the resource to update
2113
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting] a new instance of the resource for this update operation, on
2113
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed] a new instance of the resource for this update operation, on
2114
2114
  # which fields can be set to update
2115
2115
  #
2116
- # @overload #campaign_extension_setting(resource, &blk)
2117
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting] a resource instance to update
2116
+ # @overload #ad_group_feed(resource, &blk)
2117
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed] a resource instance to update
2118
2118
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2119
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation] the operation instance to update the resource
2120
- def self.campaign_extension_setting(resource_or_path, &blk)
2121
- require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb"
2119
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation] the operation instance to update the resource
2120
+ def self.ad_group_feed(resource_or_path, &blk)
2121
+ require "google/ads/google_ads/v1/services/ad_group_feed_service_pb.rb"
2122
2122
  res = case resource_or_path
2123
- when Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting
2123
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupFeed
2124
2124
  resource_or_path
2125
2125
  # got a resource path
2126
2126
  when String
2127
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting.new
2127
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupFeed.new
2128
2128
  obj.resource_name = resource_or_path
2129
2129
  obj
2130
2130
  else
2131
- unless Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting === res
2131
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupFeed === res
2132
2132
  raise ArgumentError.new(
2133
2133
  "Called #{__method__} with instance of wrong type:"\
2134
2134
  " #{res.class} want #{operation.update_class}"\
@@ -2137,37 +2137,37 @@ module Google
2137
2137
  end
2138
2138
  end
2139
2139
 
2140
- op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
2140
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
2141
2141
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2142
2142
  op["update"] = res
2143
2143
  op
2144
2144
  end
2145
2145
 
2146
- # A convenience method for creating an CampaignFeedOperation instance with
2147
- # its "update" field prepopulated with an CampaignFeed instance, and
2146
+ # A convenience method for creating an AdGroupLabelOperation instance with
2147
+ # its "update" field prepopulated with an AdGroupLabel instance, and
2148
2148
  # its "update_mask" field populated as needed to send the updates to the API.
2149
2149
  #
2150
- # @overload #campaign_feed(path, &blk)
2150
+ # @overload #ad_group_label(path, &blk)
2151
2151
  # @param path [String] a resource path for the resource to update
2152
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a new instance of the resource for this update operation, on
2152
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupLabel] a new instance of the resource for this update operation, on
2153
2153
  # which fields can be set to update
2154
2154
  #
2155
- # @overload #campaign_feed(resource, &blk)
2156
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a resource instance to update
2155
+ # @overload #ad_group_label(resource, &blk)
2156
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupLabel] a resource instance to update
2157
2157
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2158
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation instance to update the resource
2159
- def self.campaign_feed(resource_or_path, &blk)
2160
- require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
2158
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] the operation instance to update the resource
2159
+ def self.ad_group_label(resource_or_path, &blk)
2160
+ require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
2161
2161
  res = case resource_or_path
2162
- when Google::Ads::GoogleAds::V1::Resources::CampaignFeed
2162
+ when Google::Ads::GoogleAds::V1::Resources::AdGroupLabel
2163
2163
  resource_or_path
2164
2164
  # got a resource path
2165
2165
  when String
2166
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignFeed.new
2166
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroupLabel.new
2167
2167
  obj.resource_name = resource_or_path
2168
2168
  obj
2169
2169
  else
2170
- unless Google::Ads::GoogleAds::V1::Resources::CampaignFeed === res
2170
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroupLabel === res
2171
2171
  raise ArgumentError.new(
2172
2172
  "Called #{__method__} with instance of wrong type:"\
2173
2173
  " #{res.class} want #{operation.update_class}"\
@@ -2176,37 +2176,37 @@ module Google
2176
2176
  end
2177
2177
  end
2178
2178
 
2179
- op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
2179
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
2180
2180
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2181
2181
  op["update"] = res
2182
2182
  op
2183
2183
  end
2184
2184
 
2185
- # A convenience method for creating an CampaignLabelOperation instance with
2186
- # its "update" field prepopulated with an CampaignLabel instance, and
2185
+ # A convenience method for creating an AdGroupOperation instance with
2186
+ # its "update" field prepopulated with an AdGroup instance, and
2187
2187
  # its "update_mask" field populated as needed to send the updates to the API.
2188
2188
  #
2189
- # @overload #campaign_label(path, &blk)
2189
+ # @overload #ad_group(path, &blk)
2190
2190
  # @param path [String] a resource path for the resource to update
2191
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignLabel] a new instance of the resource for this update operation, on
2191
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdGroup] a new instance of the resource for this update operation, on
2192
2192
  # which fields can be set to update
2193
2193
  #
2194
- # @overload #campaign_label(resource, &blk)
2195
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignLabel] a resource instance to update
2194
+ # @overload #ad_group(resource, &blk)
2195
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroup] a resource instance to update
2196
2196
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2197
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] the operation instance to update the resource
2198
- def self.campaign_label(resource_or_path, &blk)
2199
- require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
2197
+ # @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] the operation instance to update the resource
2198
+ def self.ad_group(resource_or_path, &blk)
2199
+ require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
2200
2200
  res = case resource_or_path
2201
- when Google::Ads::GoogleAds::V1::Resources::CampaignLabel
2201
+ when Google::Ads::GoogleAds::V1::Resources::AdGroup
2202
2202
  resource_or_path
2203
2203
  # got a resource path
2204
2204
  when String
2205
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignLabel.new
2205
+ obj = Google::Ads::GoogleAds::V1::Resources::AdGroup.new
2206
2206
  obj.resource_name = resource_or_path
2207
2207
  obj
2208
2208
  else
2209
- unless Google::Ads::GoogleAds::V1::Resources::CampaignLabel === res
2209
+ unless Google::Ads::GoogleAds::V1::Resources::AdGroup === res
2210
2210
  raise ArgumentError.new(
2211
2211
  "Called #{__method__} with instance of wrong type:"\
2212
2212
  " #{res.class} want #{operation.update_class}"\
@@ -2215,37 +2215,37 @@ module Google
2215
2215
  end
2216
2216
  end
2217
2217
 
2218
- op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
2218
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
2219
2219
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2220
2220
  op["update"] = res
2221
2221
  op
2222
2222
  end
2223
2223
 
2224
- # A convenience method for creating an CampaignOperation instance with
2225
- # its "update" field prepopulated with an Campaign instance, and
2224
+ # A convenience method for creating an AdParameterOperation instance with
2225
+ # its "update" field prepopulated with an AdParameter instance, and
2226
2226
  # its "update_mask" field populated as needed to send the updates to the API.
2227
2227
  #
2228
- # @overload #campaign(path, &blk)
2228
+ # @overload #ad_parameter(path, &blk)
2229
2229
  # @param path [String] a resource path for the resource to update
2230
- # @yield [Google::Ads::GoogleAds::V1::Resources::Campaign] a new instance of the resource for this update operation, on
2230
+ # @yield [Google::Ads::GoogleAds::V1::Resources::AdParameter] a new instance of the resource for this update operation, on
2231
2231
  # which fields can be set to update
2232
2232
  #
2233
- # @overload #campaign(resource, &blk)
2234
- # @param resource [Google::Ads::GoogleAds::V1::Resources::Campaign] a resource instance to update
2233
+ # @overload #ad_parameter(resource, &blk)
2234
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::AdParameter] a resource instance to update
2235
2235
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2236
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignOperation] the operation instance to update the resource
2237
- def self.campaign(resource_or_path, &blk)
2238
- require "google/ads/google_ads/v1/services/campaign_service_pb.rb"
2236
+ # @return [Google::Ads::GoogleAds::V1::Services::AdParameterOperation] the operation instance to update the resource
2237
+ def self.ad_parameter(resource_or_path, &blk)
2238
+ require "google/ads/google_ads/v1/services/ad_parameter_service_pb.rb"
2239
2239
  res = case resource_or_path
2240
- when Google::Ads::GoogleAds::V1::Resources::Campaign
2240
+ when Google::Ads::GoogleAds::V1::Resources::AdParameter
2241
2241
  resource_or_path
2242
2242
  # got a resource path
2243
2243
  when String
2244
- obj = Google::Ads::GoogleAds::V1::Resources::Campaign.new
2244
+ obj = Google::Ads::GoogleAds::V1::Resources::AdParameter.new
2245
2245
  obj.resource_name = resource_or_path
2246
2246
  obj
2247
2247
  else
2248
- unless Google::Ads::GoogleAds::V1::Resources::Campaign === res
2248
+ unless Google::Ads::GoogleAds::V1::Resources::AdParameter === res
2249
2249
  raise ArgumentError.new(
2250
2250
  "Called #{__method__} with instance of wrong type:"\
2251
2251
  " #{res.class} want #{operation.update_class}"\
@@ -2254,37 +2254,37 @@ module Google
2254
2254
  end
2255
2255
  end
2256
2256
 
2257
- op = Google::Ads::GoogleAds::V1::Services::CampaignOperation.new
2257
+ op = Google::Ads::GoogleAds::V1::Services::AdParameterOperation.new
2258
2258
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2259
2259
  op["update"] = res
2260
2260
  op
2261
2261
  end
2262
2262
 
2263
- # A convenience method for creating an CampaignSharedSetOperation instance with
2264
- # its "update" field prepopulated with an CampaignSharedSet instance, and
2263
+ # A convenience method for creating an AssetOperation instance with
2264
+ # its "update" field prepopulated with an Asset instance, and
2265
2265
  # its "update_mask" field populated as needed to send the updates to the API.
2266
2266
  #
2267
- # @overload #campaign_shared_set(path, &blk)
2267
+ # @overload #asset(path, &blk)
2268
2268
  # @param path [String] a resource path for the resource to update
2269
- # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet] a new instance of the resource for this update operation, on
2269
+ # @yield [Google::Ads::GoogleAds::V1::Resources::Asset] a new instance of the resource for this update operation, on
2270
2270
  # which fields can be set to update
2271
2271
  #
2272
- # @overload #campaign_shared_set(resource, &blk)
2273
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet] a resource instance to update
2272
+ # @overload #asset(resource, &blk)
2273
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::Asset] a resource instance to update
2274
2274
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2275
- # @return [Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation] the operation instance to update the resource
2276
- def self.campaign_shared_set(resource_or_path, &blk)
2277
- require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
2275
+ # @return [Google::Ads::GoogleAds::V1::Services::AssetOperation] the operation instance to update the resource
2276
+ def self.asset(resource_or_path, &blk)
2277
+ require "google/ads/google_ads/v1/services/asset_service_pb.rb"
2278
2278
  res = case resource_or_path
2279
- when Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet
2279
+ when Google::Ads::GoogleAds::V1::Resources::Asset
2280
2280
  resource_or_path
2281
2281
  # got a resource path
2282
2282
  when String
2283
- obj = Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet.new
2283
+ obj = Google::Ads::GoogleAds::V1::Resources::Asset.new
2284
2284
  obj.resource_name = resource_or_path
2285
2285
  obj
2286
2286
  else
2287
- unless Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet === res
2287
+ unless Google::Ads::GoogleAds::V1::Resources::Asset === res
2288
2288
  raise ArgumentError.new(
2289
2289
  "Called #{__method__} with instance of wrong type:"\
2290
2290
  " #{res.class} want #{operation.update_class}"\
@@ -2293,37 +2293,37 @@ module Google
2293
2293
  end
2294
2294
  end
2295
2295
 
2296
- op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
2296
+ op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new
2297
2297
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2298
2298
  op["update"] = res
2299
2299
  op
2300
2300
  end
2301
2301
 
2302
- # A convenience method for creating an ConversionActionOperation instance with
2303
- # its "update" field prepopulated with an ConversionAction instance, and
2302
+ # A convenience method for creating an CampaignBidModifierOperation instance with
2303
+ # its "update" field prepopulated with an CampaignBidModifier instance, and
2304
2304
  # its "update_mask" field populated as needed to send the updates to the API.
2305
2305
  #
2306
- # @overload #conversion_action(path, &blk)
2306
+ # @overload #campaign_bid_modifier(path, &blk)
2307
2307
  # @param path [String] a resource path for the resource to update
2308
- # @yield [Google::Ads::GoogleAds::V1::Resources::ConversionAction] a new instance of the resource for this update operation, on
2308
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier] a new instance of the resource for this update operation, on
2309
2309
  # which fields can be set to update
2310
2310
  #
2311
- # @overload #conversion_action(resource, &blk)
2312
- # @param resource [Google::Ads::GoogleAds::V1::Resources::ConversionAction] a resource instance to update
2311
+ # @overload #campaign_bid_modifier(resource, &blk)
2312
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier] a resource instance to update
2313
2313
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2314
- # @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] the operation instance to update the resource
2315
- def self.conversion_action(resource_or_path, &blk)
2316
- require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
2314
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] the operation instance to update the resource
2315
+ def self.campaign_bid_modifier(resource_or_path, &blk)
2316
+ require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
2317
2317
  res = case resource_or_path
2318
- when Google::Ads::GoogleAds::V1::Resources::ConversionAction
2318
+ when Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier
2319
2319
  resource_or_path
2320
2320
  # got a resource path
2321
2321
  when String
2322
- obj = Google::Ads::GoogleAds::V1::Resources::ConversionAction.new
2322
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier.new
2323
2323
  obj.resource_name = resource_or_path
2324
2324
  obj
2325
2325
  else
2326
- unless Google::Ads::GoogleAds::V1::Resources::ConversionAction === res
2326
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier === res
2327
2327
  raise ArgumentError.new(
2328
2328
  "Called #{__method__} with instance of wrong type:"\
2329
2329
  " #{res.class} want #{operation.update_class}"\
@@ -2332,37 +2332,37 @@ module Google
2332
2332
  end
2333
2333
  end
2334
2334
 
2335
- op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
2335
+ op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
2336
2336
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2337
2337
  op["update"] = res
2338
2338
  op
2339
2339
  end
2340
2340
 
2341
- # A convenience method for creating an CustomerExtensionSettingOperation instance with
2342
- # its "update" field prepopulated with an CustomerExtensionSetting instance, and
2341
+ # A convenience method for creating an CampaignCriterionOperation instance with
2342
+ # its "update" field prepopulated with an CampaignCriterion instance, and
2343
2343
  # its "update_mask" field populated as needed to send the updates to the API.
2344
2344
  #
2345
- # @overload #customer_extension_setting(path, &blk)
2345
+ # @overload #campaign_criterion(path, &blk)
2346
2346
  # @param path [String] a resource path for the resource to update
2347
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting] a new instance of the resource for this update operation, on
2347
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a new instance of the resource for this update operation, on
2348
2348
  # which fields can be set to update
2349
2349
  #
2350
- # @overload #customer_extension_setting(resource, &blk)
2351
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting] a resource instance to update
2350
+ # @overload #campaign_criterion(resource, &blk)
2351
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a resource instance to update
2352
2352
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2353
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation] the operation instance to update the resource
2354
- def self.customer_extension_setting(resource_or_path, &blk)
2355
- require "google/ads/google_ads/v1/services/customer_extension_setting_service_pb.rb"
2353
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation instance to update the resource
2354
+ def self.campaign_criterion(resource_or_path, &blk)
2355
+ require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
2356
2356
  res = case resource_or_path
2357
- when Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting
2357
+ when Google::Ads::GoogleAds::V1::Resources::CampaignCriterion
2358
2358
  resource_or_path
2359
2359
  # got a resource path
2360
2360
  when String
2361
- obj = Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting.new
2361
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignCriterion.new
2362
2362
  obj.resource_name = resource_or_path
2363
2363
  obj
2364
2364
  else
2365
- unless Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting === res
2365
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignCriterion === res
2366
2366
  raise ArgumentError.new(
2367
2367
  "Called #{__method__} with instance of wrong type:"\
2368
2368
  " #{res.class} want #{operation.update_class}"\
@@ -2371,37 +2371,37 @@ module Google
2371
2371
  end
2372
2372
  end
2373
2373
 
2374
- op = Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation.new
2374
+ op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
2375
2375
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2376
2376
  op["update"] = res
2377
2377
  op
2378
2378
  end
2379
2379
 
2380
- # A convenience method for creating an CustomerFeedOperation instance with
2381
- # its "update" field prepopulated with an CustomerFeed instance, and
2380
+ # A convenience method for creating an CampaignExtensionSettingOperation instance with
2381
+ # its "update" field prepopulated with an CampaignExtensionSetting instance, and
2382
2382
  # its "update_mask" field populated as needed to send the updates to the API.
2383
2383
  #
2384
- # @overload #customer_feed(path, &blk)
2384
+ # @overload #campaign_extension_setting(path, &blk)
2385
2385
  # @param path [String] a resource path for the resource to update
2386
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerFeed] a new instance of the resource for this update operation, on
2386
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting] a new instance of the resource for this update operation, on
2387
2387
  # which fields can be set to update
2388
2388
  #
2389
- # @overload #customer_feed(resource, &blk)
2390
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerFeed] a resource instance to update
2389
+ # @overload #campaign_extension_setting(resource, &blk)
2390
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting] a resource instance to update
2391
2391
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2392
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation] the operation instance to update the resource
2393
- def self.customer_feed(resource_or_path, &blk)
2394
- require "google/ads/google_ads/v1/services/customer_feed_service_pb.rb"
2392
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation] the operation instance to update the resource
2393
+ def self.campaign_extension_setting(resource_or_path, &blk)
2394
+ require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb"
2395
2395
  res = case resource_or_path
2396
- when Google::Ads::GoogleAds::V1::Resources::CustomerFeed
2396
+ when Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting
2397
2397
  resource_or_path
2398
2398
  # got a resource path
2399
2399
  when String
2400
- obj = Google::Ads::GoogleAds::V1::Resources::CustomerFeed.new
2400
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting.new
2401
2401
  obj.resource_name = resource_or_path
2402
2402
  obj
2403
2403
  else
2404
- unless Google::Ads::GoogleAds::V1::Resources::CustomerFeed === res
2404
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting === res
2405
2405
  raise ArgumentError.new(
2406
2406
  "Called #{__method__} with instance of wrong type:"\
2407
2407
  " #{res.class} want #{operation.update_class}"\
@@ -2410,37 +2410,37 @@ module Google
2410
2410
  end
2411
2411
  end
2412
2412
 
2413
- op = Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
2413
+ op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
2414
2414
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2415
2415
  op["update"] = res
2416
2416
  op
2417
2417
  end
2418
2418
 
2419
- # A convenience method for creating an CustomerLabelOperation instance with
2420
- # its "update" field prepopulated with an CustomerLabel instance, and
2419
+ # A convenience method for creating an CampaignOperation instance with
2420
+ # its "update" field prepopulated with an Campaign instance, and
2421
2421
  # its "update_mask" field populated as needed to send the updates to the API.
2422
2422
  #
2423
- # @overload #customer_label(path, &blk)
2423
+ # @overload #campaign(path, &blk)
2424
2424
  # @param path [String] a resource path for the resource to update
2425
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerLabel] a new instance of the resource for this update operation, on
2425
+ # @yield [Google::Ads::GoogleAds::V1::Resources::Campaign] a new instance of the resource for this update operation, on
2426
2426
  # which fields can be set to update
2427
2427
  #
2428
- # @overload #customer_label(resource, &blk)
2429
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerLabel] a resource instance to update
2428
+ # @overload #campaign(resource, &blk)
2429
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::Campaign] a resource instance to update
2430
2430
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2431
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation] the operation instance to update the resource
2432
- def self.customer_label(resource_or_path, &blk)
2433
- require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
2431
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignOperation] the operation instance to update the resource
2432
+ def self.campaign(resource_or_path, &blk)
2433
+ require "google/ads/google_ads/v1/services/campaign_service_pb.rb"
2434
2434
  res = case resource_or_path
2435
- when Google::Ads::GoogleAds::V1::Resources::CustomerLabel
2435
+ when Google::Ads::GoogleAds::V1::Resources::Campaign
2436
2436
  resource_or_path
2437
2437
  # got a resource path
2438
2438
  when String
2439
- obj = Google::Ads::GoogleAds::V1::Resources::CustomerLabel.new
2439
+ obj = Google::Ads::GoogleAds::V1::Resources::Campaign.new
2440
2440
  obj.resource_name = resource_or_path
2441
2441
  obj
2442
2442
  else
2443
- unless Google::Ads::GoogleAds::V1::Resources::CustomerLabel === res
2443
+ unless Google::Ads::GoogleAds::V1::Resources::Campaign === res
2444
2444
  raise ArgumentError.new(
2445
2445
  "Called #{__method__} with instance of wrong type:"\
2446
2446
  " #{res.class} want #{operation.update_class}"\
@@ -2449,37 +2449,37 @@ module Google
2449
2449
  end
2450
2450
  end
2451
2451
 
2452
- op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
2452
+ op = Google::Ads::GoogleAds::V1::Services::CampaignOperation.new
2453
2453
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2454
2454
  op["update"] = res
2455
2455
  op
2456
2456
  end
2457
2457
 
2458
- # A convenience method for creating an CustomerNegativeCriterionOperation instance with
2459
- # its "update" field prepopulated with an CustomerNegativeCriterion instance, and
2458
+ # A convenience method for creating an CampaignSharedSetOperation instance with
2459
+ # its "update" field prepopulated with an CampaignSharedSet instance, and
2460
2460
  # its "update_mask" field populated as needed to send the updates to the API.
2461
2461
  #
2462
- # @overload #customer_negative_criterion(path, &blk)
2462
+ # @overload #campaign_shared_set(path, &blk)
2463
2463
  # @param path [String] a resource path for the resource to update
2464
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion] a new instance of the resource for this update operation, on
2464
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet] a new instance of the resource for this update operation, on
2465
2465
  # which fields can be set to update
2466
2466
  #
2467
- # @overload #customer_negative_criterion(resource, &blk)
2468
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion] a resource instance to update
2467
+ # @overload #campaign_shared_set(resource, &blk)
2468
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet] a resource instance to update
2469
2469
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2470
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation] the operation instance to update the resource
2471
- def self.customer_negative_criterion(resource_or_path, &blk)
2472
- require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb"
2473
- res = case resource_or_path
2474
- when Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion
2470
+ # @return [Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation] the operation instance to update the resource
2471
+ def self.campaign_shared_set(resource_or_path, &blk)
2472
+ require "google/ads/google_ads/v1/services/campaign_shared_set_service_pb.rb"
2473
+ res = case resource_or_path
2474
+ when Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet
2475
2475
  resource_or_path
2476
2476
  # got a resource path
2477
2477
  when String
2478
- obj = Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion.new
2478
+ obj = Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet.new
2479
2479
  obj.resource_name = resource_or_path
2480
2480
  obj
2481
2481
  else
2482
- unless Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion === res
2482
+ unless Google::Ads::GoogleAds::V1::Resources::CampaignSharedSet === res
2483
2483
  raise ArgumentError.new(
2484
2484
  "Called #{__method__} with instance of wrong type:"\
2485
2485
  " #{res.class} want #{operation.update_class}"\
@@ -2488,37 +2488,37 @@ module Google
2488
2488
  end
2489
2489
  end
2490
2490
 
2491
- op = Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
2491
+ op = Google::Ads::GoogleAds::V1::Services::CampaignSharedSetOperation.new
2492
2492
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2493
2493
  op["update"] = res
2494
2494
  op
2495
2495
  end
2496
2496
 
2497
- # A convenience method for creating an ExtensionFeedItemOperation instance with
2498
- # its "update" field prepopulated with an ExtensionFeedItem instance, and
2497
+ # A convenience method for creating an CustomerExtensionSettingOperation instance with
2498
+ # its "update" field prepopulated with an CustomerExtensionSetting instance, and
2499
2499
  # its "update_mask" field populated as needed to send the updates to the API.
2500
2500
  #
2501
- # @overload #extension_feed_item(path, &blk)
2501
+ # @overload #customer_extension_setting(path, &blk)
2502
2502
  # @param path [String] a resource path for the resource to update
2503
- # @yield [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem] a new instance of the resource for this update operation, on
2503
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting] a new instance of the resource for this update operation, on
2504
2504
  # which fields can be set to update
2505
2505
  #
2506
- # @overload #extension_feed_item(resource, &blk)
2507
- # @param resource [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem] a resource instance to update
2506
+ # @overload #customer_extension_setting(resource, &blk)
2507
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting] a resource instance to update
2508
2508
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2509
- # @return [Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation] the operation instance to update the resource
2510
- def self.extension_feed_item(resource_or_path, &blk)
2511
- require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
2509
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation] the operation instance to update the resource
2510
+ def self.customer_extension_setting(resource_or_path, &blk)
2511
+ require "google/ads/google_ads/v1/services/customer_extension_setting_service_pb.rb"
2512
2512
  res = case resource_or_path
2513
- when Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem
2513
+ when Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting
2514
2514
  resource_or_path
2515
2515
  # got a resource path
2516
2516
  when String
2517
- obj = Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem.new
2517
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting.new
2518
2518
  obj.resource_name = resource_or_path
2519
2519
  obj
2520
2520
  else
2521
- unless Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem === res
2521
+ unless Google::Ads::GoogleAds::V1::Resources::CustomerExtensionSetting === res
2522
2522
  raise ArgumentError.new(
2523
2523
  "Called #{__method__} with instance of wrong type:"\
2524
2524
  " #{res.class} want #{operation.update_class}"\
@@ -2527,37 +2527,37 @@ module Google
2527
2527
  end
2528
2528
  end
2529
2529
 
2530
- op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
2530
+ op = Google::Ads::GoogleAds::V1::Services::CustomerExtensionSettingOperation.new
2531
2531
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2532
2532
  op["update"] = res
2533
2533
  op
2534
2534
  end
2535
2535
 
2536
- # A convenience method for creating an FeedItemOperation instance with
2537
- # its "update" field prepopulated with an FeedItem instance, and
2536
+ # A convenience method for creating an CustomerFeedOperation instance with
2537
+ # its "update" field prepopulated with an CustomerFeed instance, and
2538
2538
  # its "update_mask" field populated as needed to send the updates to the API.
2539
2539
  #
2540
- # @overload #feed_item(path, &blk)
2540
+ # @overload #customer_feed(path, &blk)
2541
2541
  # @param path [String] a resource path for the resource to update
2542
- # @yield [Google::Ads::GoogleAds::V1::Resources::FeedItem] a new instance of the resource for this update operation, on
2542
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerFeed] a new instance of the resource for this update operation, on
2543
2543
  # which fields can be set to update
2544
2544
  #
2545
- # @overload #feed_item(resource, &blk)
2546
- # @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItem] a resource instance to update
2545
+ # @overload #customer_feed(resource, &blk)
2546
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerFeed] a resource instance to update
2547
2547
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2548
- # @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation instance to update the resource
2549
- def self.feed_item(resource_or_path, &blk)
2550
- require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
2548
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation] the operation instance to update the resource
2549
+ def self.customer_feed(resource_or_path, &blk)
2550
+ require "google/ads/google_ads/v1/services/customer_feed_service_pb.rb"
2551
2551
  res = case resource_or_path
2552
- when Google::Ads::GoogleAds::V1::Resources::FeedItem
2552
+ when Google::Ads::GoogleAds::V1::Resources::CustomerFeed
2553
2553
  resource_or_path
2554
2554
  # got a resource path
2555
2555
  when String
2556
- obj = Google::Ads::GoogleAds::V1::Resources::FeedItem.new
2556
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomerFeed.new
2557
2557
  obj.resource_name = resource_or_path
2558
2558
  obj
2559
2559
  else
2560
- unless Google::Ads::GoogleAds::V1::Resources::FeedItem === res
2560
+ unless Google::Ads::GoogleAds::V1::Resources::CustomerFeed === res
2561
2561
  raise ArgumentError.new(
2562
2562
  "Called #{__method__} with instance of wrong type:"\
2563
2563
  " #{res.class} want #{operation.update_class}"\
@@ -2566,37 +2566,37 @@ module Google
2566
2566
  end
2567
2567
  end
2568
2568
 
2569
- op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
2569
+ op = Google::Ads::GoogleAds::V1::Services::CustomerFeedOperation.new
2570
2570
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2571
2571
  op["update"] = res
2572
2572
  op
2573
2573
  end
2574
2574
 
2575
- # A convenience method for creating an FeedItemTargetOperation instance with
2576
- # its "update" field prepopulated with an FeedItemTarget instance, and
2575
+ # A convenience method for creating an CustomerLabelOperation instance with
2576
+ # its "update" field prepopulated with an CustomerLabel instance, and
2577
2577
  # its "update_mask" field populated as needed to send the updates to the API.
2578
2578
  #
2579
- # @overload #feed_item_target(path, &blk)
2579
+ # @overload #customer_label(path, &blk)
2580
2580
  # @param path [String] a resource path for the resource to update
2581
- # @yield [Google::Ads::GoogleAds::V1::Resources::FeedItemTarget] a new instance of the resource for this update operation, on
2581
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerLabel] a new instance of the resource for this update operation, on
2582
2582
  # which fields can be set to update
2583
2583
  #
2584
- # @overload #feed_item_target(resource, &blk)
2585
- # @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItemTarget] a resource instance to update
2584
+ # @overload #customer_label(resource, &blk)
2585
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerLabel] a resource instance to update
2586
2586
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2587
- # @return [Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation] the operation instance to update the resource
2588
- def self.feed_item_target(resource_or_path, &blk)
2589
- require "google/ads/google_ads/v1/services/feed_item_target_service_pb.rb"
2587
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation] the operation instance to update the resource
2588
+ def self.customer_label(resource_or_path, &blk)
2589
+ require "google/ads/google_ads/v1/services/customer_label_service_pb.rb"
2590
2590
  res = case resource_or_path
2591
- when Google::Ads::GoogleAds::V1::Resources::FeedItemTarget
2591
+ when Google::Ads::GoogleAds::V1::Resources::CustomerLabel
2592
2592
  resource_or_path
2593
2593
  # got a resource path
2594
2594
  when String
2595
- obj = Google::Ads::GoogleAds::V1::Resources::FeedItemTarget.new
2595
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomerLabel.new
2596
2596
  obj.resource_name = resource_or_path
2597
2597
  obj
2598
2598
  else
2599
- unless Google::Ads::GoogleAds::V1::Resources::FeedItemTarget === res
2599
+ unless Google::Ads::GoogleAds::V1::Resources::CustomerLabel === res
2600
2600
  raise ArgumentError.new(
2601
2601
  "Called #{__method__} with instance of wrong type:"\
2602
2602
  " #{res.class} want #{operation.update_class}"\
@@ -2605,37 +2605,37 @@ module Google
2605
2605
  end
2606
2606
  end
2607
2607
 
2608
- op = Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation.new
2608
+ op = Google::Ads::GoogleAds::V1::Services::CustomerLabelOperation.new
2609
2609
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2610
2610
  op["update"] = res
2611
2611
  op
2612
2612
  end
2613
2613
 
2614
- # A convenience method for creating an FeedMappingOperation instance with
2615
- # its "update" field prepopulated with an FeedMapping instance, and
2614
+ # A convenience method for creating an CustomerNegativeCriterionOperation instance with
2615
+ # its "update" field prepopulated with an CustomerNegativeCriterion instance, and
2616
2616
  # its "update_mask" field populated as needed to send the updates to the API.
2617
2617
  #
2618
- # @overload #feed_mapping(path, &blk)
2618
+ # @overload #customer_negative_criterion(path, &blk)
2619
2619
  # @param path [String] a resource path for the resource to update
2620
- # @yield [Google::Ads::GoogleAds::V1::Resources::FeedMapping] a new instance of the resource for this update operation, on
2620
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion] a new instance of the resource for this update operation, on
2621
2621
  # which fields can be set to update
2622
2622
  #
2623
- # @overload #feed_mapping(resource, &blk)
2624
- # @param resource [Google::Ads::GoogleAds::V1::Resources::FeedMapping] a resource instance to update
2623
+ # @overload #customer_negative_criterion(resource, &blk)
2624
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion] a resource instance to update
2625
2625
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2626
- # @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] the operation instance to update the resource
2627
- def self.feed_mapping(resource_or_path, &blk)
2628
- require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
2626
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation] the operation instance to update the resource
2627
+ def self.customer_negative_criterion(resource_or_path, &blk)
2628
+ require "google/ads/google_ads/v1/services/customer_negative_criterion_service_pb.rb"
2629
2629
  res = case resource_or_path
2630
- when Google::Ads::GoogleAds::V1::Resources::FeedMapping
2630
+ when Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion
2631
2631
  resource_or_path
2632
2632
  # got a resource path
2633
2633
  when String
2634
- obj = Google::Ads::GoogleAds::V1::Resources::FeedMapping.new
2634
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion.new
2635
2635
  obj.resource_name = resource_or_path
2636
2636
  obj
2637
2637
  else
2638
- unless Google::Ads::GoogleAds::V1::Resources::FeedMapping === res
2638
+ unless Google::Ads::GoogleAds::V1::Resources::CustomerNegativeCriterion === res
2639
2639
  raise ArgumentError.new(
2640
2640
  "Called #{__method__} with instance of wrong type:"\
2641
2641
  " #{res.class} want #{operation.update_class}"\
@@ -2644,37 +2644,37 @@ module Google
2644
2644
  end
2645
2645
  end
2646
2646
 
2647
- op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
2647
+ op = Google::Ads::GoogleAds::V1::Services::CustomerNegativeCriterionOperation.new
2648
2648
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2649
2649
  op["update"] = res
2650
2650
  op
2651
2651
  end
2652
2652
 
2653
- # A convenience method for creating an FeedOperation instance with
2654
- # its "update" field prepopulated with an Feed instance, and
2653
+ # A convenience method for creating an ExtensionFeedItemOperation instance with
2654
+ # its "update" field prepopulated with an ExtensionFeedItem instance, and
2655
2655
  # its "update_mask" field populated as needed to send the updates to the API.
2656
2656
  #
2657
- # @overload #feed(path, &blk)
2657
+ # @overload #extension_feed_item(path, &blk)
2658
2658
  # @param path [String] a resource path for the resource to update
2659
- # @yield [Google::Ads::GoogleAds::V1::Resources::Feed] a new instance of the resource for this update operation, on
2659
+ # @yield [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem] a new instance of the resource for this update operation, on
2660
2660
  # which fields can be set to update
2661
2661
  #
2662
- # @overload #feed(resource, &blk)
2663
- # @param resource [Google::Ads::GoogleAds::V1::Resources::Feed] a resource instance to update
2662
+ # @overload #extension_feed_item(resource, &blk)
2663
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem] a resource instance to update
2664
2664
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2665
- # @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation instance to update the resource
2666
- def self.feed(resource_or_path, &blk)
2667
- require "google/ads/google_ads/v1/services/feed_service_pb.rb"
2665
+ # @return [Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation] the operation instance to update the resource
2666
+ def self.extension_feed_item(resource_or_path, &blk)
2667
+ require "google/ads/google_ads/v1/services/extension_feed_item_service_pb.rb"
2668
2668
  res = case resource_or_path
2669
- when Google::Ads::GoogleAds::V1::Resources::Feed
2669
+ when Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem
2670
2670
  resource_or_path
2671
2671
  # got a resource path
2672
2672
  when String
2673
- obj = Google::Ads::GoogleAds::V1::Resources::Feed.new
2673
+ obj = Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem.new
2674
2674
  obj.resource_name = resource_or_path
2675
2675
  obj
2676
2676
  else
2677
- unless Google::Ads::GoogleAds::V1::Resources::Feed === res
2677
+ unless Google::Ads::GoogleAds::V1::Resources::ExtensionFeedItem === res
2678
2678
  raise ArgumentError.new(
2679
2679
  "Called #{__method__} with instance of wrong type:"\
2680
2680
  " #{res.class} want #{operation.update_class}"\
@@ -2683,7 +2683,46 @@ module Google
2683
2683
  end
2684
2684
  end
2685
2685
 
2686
- op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
2686
+ op = Google::Ads::GoogleAds::V1::Services::ExtensionFeedItemOperation.new
2687
+ op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2688
+ op["update"] = res
2689
+ op
2690
+ end
2691
+
2692
+ # A convenience method for creating an FeedItemTargetOperation instance with
2693
+ # its "update" field prepopulated with an FeedItemTarget instance, and
2694
+ # its "update_mask" field populated as needed to send the updates to the API.
2695
+ #
2696
+ # @overload #feed_item_target(path, &blk)
2697
+ # @param path [String] a resource path for the resource to update
2698
+ # @yield [Google::Ads::GoogleAds::V1::Resources::FeedItemTarget] a new instance of the resource for this update operation, on
2699
+ # which fields can be set to update
2700
+ #
2701
+ # @overload #feed_item_target(resource, &blk)
2702
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItemTarget] a resource instance to update
2703
+ # @yield the passed block is called and updates against `resource` are recordered in the update mask
2704
+ # @return [Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation] the operation instance to update the resource
2705
+ def self.feed_item_target(resource_or_path, &blk)
2706
+ require "google/ads/google_ads/v1/services/feed_item_target_service_pb.rb"
2707
+ res = case resource_or_path
2708
+ when Google::Ads::GoogleAds::V1::Resources::FeedItemTarget
2709
+ resource_or_path
2710
+ # got a resource path
2711
+ when String
2712
+ obj = Google::Ads::GoogleAds::V1::Resources::FeedItemTarget.new
2713
+ obj.resource_name = resource_or_path
2714
+ obj
2715
+ else
2716
+ unless Google::Ads::GoogleAds::V1::Resources::FeedItemTarget === res
2717
+ raise ArgumentError.new(
2718
+ "Called #{__method__} with instance of wrong type:"\
2719
+ " #{res.class} want #{operation.update_class}"\
2720
+ " or String representing resource name"
2721
+ )
2722
+ end
2723
+ end
2724
+
2725
+ op = Google::Ads::GoogleAds::V1::Services::FeedItemTargetOperation.new
2687
2726
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2688
2727
  op["update"] = res
2689
2728
  op
@@ -2767,31 +2806,31 @@ module Google
2767
2806
  op
2768
2807
  end
2769
2808
 
2770
- # A convenience method for creating an SharedCriterionOperation instance with
2771
- # its "update" field prepopulated with an SharedCriterion instance, and
2809
+ # A convenience method for creating an RemarketingActionOperation instance with
2810
+ # its "update" field prepopulated with an RemarketingAction instance, and
2772
2811
  # its "update_mask" field populated as needed to send the updates to the API.
2773
2812
  #
2774
- # @overload #shared_criterion(path, &blk)
2813
+ # @overload #remarketing_action(path, &blk)
2775
2814
  # @param path [String] a resource path for the resource to update
2776
- # @yield [Google::Ads::GoogleAds::V1::Resources::SharedCriterion] a new instance of the resource for this update operation, on
2815
+ # @yield [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a new instance of the resource for this update operation, on
2777
2816
  # which fields can be set to update
2778
2817
  #
2779
- # @overload #shared_criterion(resource, &blk)
2780
- # @param resource [Google::Ads::GoogleAds::V1::Resources::SharedCriterion] a resource instance to update
2818
+ # @overload #remarketing_action(resource, &blk)
2819
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a resource instance to update
2781
2820
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2782
- # @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] the operation instance to update the resource
2783
- def self.shared_criterion(resource_or_path, &blk)
2784
- require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
2821
+ # @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation instance to update the resource
2822
+ def self.remarketing_action(resource_or_path, &blk)
2823
+ require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
2785
2824
  res = case resource_or_path
2786
- when Google::Ads::GoogleAds::V1::Resources::SharedCriterion
2825
+ when Google::Ads::GoogleAds::V1::Resources::RemarketingAction
2787
2826
  resource_or_path
2788
2827
  # got a resource path
2789
2828
  when String
2790
- obj = Google::Ads::GoogleAds::V1::Resources::SharedCriterion.new
2829
+ obj = Google::Ads::GoogleAds::V1::Resources::RemarketingAction.new
2791
2830
  obj.resource_name = resource_or_path
2792
2831
  obj
2793
2832
  else
2794
- unless Google::Ads::GoogleAds::V1::Resources::SharedCriterion === res
2833
+ unless Google::Ads::GoogleAds::V1::Resources::RemarketingAction === res
2795
2834
  raise ArgumentError.new(
2796
2835
  "Called #{__method__} with instance of wrong type:"\
2797
2836
  " #{res.class} want #{operation.update_class}"\
@@ -2800,7 +2839,7 @@ module Google
2800
2839
  end
2801
2840
  end
2802
2841
 
2803
- op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
2842
+ op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
2804
2843
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2805
2844
  op["update"] = res
2806
2845
  op
@@ -2884,31 +2923,31 @@ module Google
2884
2923
  op
2885
2924
  end
2886
2925
 
2887
- # A convenience method for creating an KeywordPlanKeywordOperation instance with
2888
- # its "update" field prepopulated with an KeywordPlanKeyword instance, and
2926
+ # A convenience method for creating an KeywordPlanCampaignOperation instance with
2927
+ # its "update" field prepopulated with an KeywordPlanCampaign instance, and
2889
2928
  # its "update_mask" field populated as needed to send the updates to the API.
2890
2929
  #
2891
- # @overload #keyword_plan_keyword(path, &blk)
2930
+ # @overload #keyword_plan_campaign(path, &blk)
2892
2931
  # @param path [String] a resource path for the resource to update
2893
- # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
2932
+ # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
2894
2933
  # which fields can be set to update
2895
2934
  #
2896
- # @overload #keyword_plan_keyword(resource, &blk)
2897
- # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a resource instance to update
2935
+ # @overload #keyword_plan_campaign(resource, &blk)
2936
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a resource instance to update
2898
2937
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2899
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
2900
- def self.keyword_plan_keyword(resource_or_path, &blk)
2901
- require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
2938
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
2939
+ def self.keyword_plan_campaign(resource_or_path, &blk)
2940
+ require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
2902
2941
  res = case resource_or_path
2903
- when Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword
2942
+ when Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign
2904
2943
  resource_or_path
2905
2944
  # got a resource path
2906
2945
  when String
2907
- obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword.new
2946
+ obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign.new
2908
2947
  obj.resource_name = resource_or_path
2909
2948
  obj
2910
2949
  else
2911
- unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword === res
2950
+ unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign === res
2912
2951
  raise ArgumentError.new(
2913
2952
  "Called #{__method__} with instance of wrong type:"\
2914
2953
  " #{res.class} want #{operation.update_class}"\
@@ -2917,37 +2956,37 @@ module Google
2917
2956
  end
2918
2957
  end
2919
2958
 
2920
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
2959
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
2921
2960
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2922
2961
  op["update"] = res
2923
2962
  op
2924
2963
  end
2925
2964
 
2926
- # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
2927
- # its "update" field prepopulated with an KeywordPlanNegativeKeyword instance, and
2965
+ # A convenience method for creating an BillingSetupOperation instance with
2966
+ # its "update" field prepopulated with an BillingSetup instance, and
2928
2967
  # its "update_mask" field populated as needed to send the updates to the API.
2929
2968
  #
2930
- # @overload #keyword_plan_negative_keyword(path, &blk)
2969
+ # @overload #billing_setup(path, &blk)
2931
2970
  # @param path [String] a resource path for the resource to update
2932
- # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword] a new instance of the resource for this update operation, on
2971
+ # @yield [Google::Ads::GoogleAds::V1::Resources::BillingSetup] a new instance of the resource for this update operation, on
2933
2972
  # which fields can be set to update
2934
2973
  #
2935
- # @overload #keyword_plan_negative_keyword(resource, &blk)
2936
- # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword] a resource instance to update
2974
+ # @overload #billing_setup(resource, &blk)
2975
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::BillingSetup] a resource instance to update
2937
2976
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
2938
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
2939
- def self.keyword_plan_negative_keyword(resource_or_path, &blk)
2940
- require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
2977
+ # @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] the operation instance to update the resource
2978
+ def self.billing_setup(resource_or_path, &blk)
2979
+ require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
2941
2980
  res = case resource_or_path
2942
- when Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword
2981
+ when Google::Ads::GoogleAds::V1::Resources::BillingSetup
2943
2982
  resource_or_path
2944
2983
  # got a resource path
2945
2984
  when String
2946
- obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword.new
2985
+ obj = Google::Ads::GoogleAds::V1::Resources::BillingSetup.new
2947
2986
  obj.resource_name = resource_or_path
2948
2987
  obj
2949
2988
  else
2950
- unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword === res
2989
+ unless Google::Ads::GoogleAds::V1::Resources::BillingSetup === res
2951
2990
  raise ArgumentError.new(
2952
2991
  "Called #{__method__} with instance of wrong type:"\
2953
2992
  " #{res.class} want #{operation.update_class}"\
@@ -2956,7 +2995,7 @@ module Google
2956
2995
  end
2957
2996
  end
2958
2997
 
2959
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
2998
+ op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
2960
2999
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
2961
3000
  op["update"] = res
2962
3001
  op
@@ -3001,31 +3040,31 @@ module Google
3001
3040
  op
3002
3041
  end
3003
3042
 
3004
- # A convenience method for creating an AccountBudgetProposalOperation instance with
3005
- # its "update" field prepopulated with an AccountBudgetProposal instance, and
3043
+ # A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
3044
+ # its "update" field prepopulated with an KeywordPlanNegativeKeyword instance, and
3006
3045
  # its "update_mask" field populated as needed to send the updates to the API.
3007
3046
  #
3008
- # @overload #account_budget_proposal(path, &blk)
3047
+ # @overload #keyword_plan_negative_keyword(path, &blk)
3009
3048
  # @param path [String] a resource path for the resource to update
3010
- # @yield [Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal] a new instance of the resource for this update operation, on
3049
+ # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword] a new instance of the resource for this update operation, on
3011
3050
  # which fields can be set to update
3012
3051
  #
3013
- # @overload #account_budget_proposal(resource, &blk)
3014
- # @param resource [Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal] a resource instance to update
3052
+ # @overload #keyword_plan_negative_keyword(resource, &blk)
3053
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword] a resource instance to update
3015
3054
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
3016
- # @return [Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation] the operation instance to update the resource
3017
- def self.account_budget_proposal(resource_or_path, &blk)
3018
- require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
3055
+ # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
3056
+ def self.keyword_plan_negative_keyword(resource_or_path, &blk)
3057
+ require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
3019
3058
  res = case resource_or_path
3020
- when Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal
3059
+ when Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword
3021
3060
  resource_or_path
3022
3061
  # got a resource path
3023
3062
  when String
3024
- obj = Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal.new
3063
+ obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword.new
3025
3064
  obj.resource_name = resource_or_path
3026
3065
  obj
3027
3066
  else
3028
- unless Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal === res
3067
+ unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword === res
3029
3068
  raise ArgumentError.new(
3030
3069
  "Called #{__method__} with instance of wrong type:"\
3031
3070
  " #{res.class} want #{operation.update_class}"\
@@ -3034,37 +3073,37 @@ module Google
3034
3073
  end
3035
3074
  end
3036
3075
 
3037
- op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
3076
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
3038
3077
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3039
3078
  op["update"] = res
3040
3079
  op
3041
3080
  end
3042
3081
 
3043
- # A convenience method for creating an CustomerClientLinkOperation instance with
3044
- # its "update" field prepopulated with an CustomerClientLink instance, and
3082
+ # A convenience method for creating an CustomInterestOperation instance with
3083
+ # its "update" field prepopulated with an CustomInterest instance, and
3045
3084
  # its "update_mask" field populated as needed to send the updates to the API.
3046
3085
  #
3047
- # @overload #customer_client_link(path, &blk)
3086
+ # @overload #custom_interest(path, &blk)
3048
3087
  # @param path [String] a resource path for the resource to update
3049
- # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
3088
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a new instance of the resource for this update operation, on
3050
3089
  # which fields can be set to update
3051
3090
  #
3052
- # @overload #customer_client_link(resource, &blk)
3053
- # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a resource instance to update
3091
+ # @overload #custom_interest(resource, &blk)
3092
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a resource instance to update
3054
3093
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
3055
- # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation instance to update the resource
3056
- def self.customer_client_link(resource_or_path, &blk)
3057
- require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
3094
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation instance to update the resource
3095
+ def self.custom_interest(resource_or_path, &blk)
3096
+ require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
3058
3097
  res = case resource_or_path
3059
- when Google::Ads::GoogleAds::V1::Resources::CustomerClientLink
3098
+ when Google::Ads::GoogleAds::V1::Resources::CustomInterest
3060
3099
  resource_or_path
3061
3100
  # got a resource path
3062
3101
  when String
3063
- obj = Google::Ads::GoogleAds::V1::Resources::CustomerClientLink.new
3102
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomInterest.new
3064
3103
  obj.resource_name = resource_or_path
3065
3104
  obj
3066
3105
  else
3067
- unless Google::Ads::GoogleAds::V1::Resources::CustomerClientLink === res
3106
+ unless Google::Ads::GoogleAds::V1::Resources::CustomInterest === res
3068
3107
  raise ArgumentError.new(
3069
3108
  "Called #{__method__} with instance of wrong type:"\
3070
3109
  " #{res.class} want #{operation.update_class}"\
@@ -3073,37 +3112,37 @@ module Google
3073
3112
  end
3074
3113
  end
3075
3114
 
3076
- op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
3115
+ op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
3077
3116
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3078
3117
  op["update"] = res
3079
3118
  op
3080
3119
  end
3081
3120
 
3082
- # A convenience method for creating an BillingSetupOperation instance with
3083
- # its "update" field prepopulated with an BillingSetup instance, and
3121
+ # A convenience method for creating an CustomerClientLinkOperation instance with
3122
+ # its "update" field prepopulated with an CustomerClientLink instance, and
3084
3123
  # its "update_mask" field populated as needed to send the updates to the API.
3085
3124
  #
3086
- # @overload #billing_setup(path, &blk)
3125
+ # @overload #customer_client_link(path, &blk)
3087
3126
  # @param path [String] a resource path for the resource to update
3088
- # @yield [Google::Ads::GoogleAds::V1::Resources::BillingSetup] a new instance of the resource for this update operation, on
3127
+ # @yield [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
3089
3128
  # which fields can be set to update
3090
3129
  #
3091
- # @overload #billing_setup(resource, &blk)
3092
- # @param resource [Google::Ads::GoogleAds::V1::Resources::BillingSetup] a resource instance to update
3130
+ # @overload #customer_client_link(resource, &blk)
3131
+ # @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a resource instance to update
3093
3132
  # @yield the passed block is called and updates against `resource` are recordered in the update mask
3094
- # @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] the operation instance to update the resource
3095
- def self.billing_setup(resource_or_path, &blk)
3096
- require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
3133
+ # @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation instance to update the resource
3134
+ def self.customer_client_link(resource_or_path, &blk)
3135
+ require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
3097
3136
  res = case resource_or_path
3098
- when Google::Ads::GoogleAds::V1::Resources::BillingSetup
3137
+ when Google::Ads::GoogleAds::V1::Resources::CustomerClientLink
3099
3138
  resource_or_path
3100
3139
  # got a resource path
3101
3140
  when String
3102
- obj = Google::Ads::GoogleAds::V1::Resources::BillingSetup.new
3141
+ obj = Google::Ads::GoogleAds::V1::Resources::CustomerClientLink.new
3103
3142
  obj.resource_name = resource_or_path
3104
3143
  obj
3105
3144
  else
3106
- unless Google::Ads::GoogleAds::V1::Resources::BillingSetup === res
3145
+ unless Google::Ads::GoogleAds::V1::Resources::CustomerClientLink === res
3107
3146
  raise ArgumentError.new(
3108
3147
  "Called #{__method__} with instance of wrong type:"\
3109
3148
  " #{res.class} want #{operation.update_class}"\
@@ -3112,148 +3151,230 @@ module Google
3112
3151
  end
3113
3152
  end
3114
3153
 
3115
- op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
3154
+ op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
3116
3155
  op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3117
3156
  op["update"] = res
3118
3157
  op
3119
3158
  end
3159
+ end
3120
3160
 
3121
- # A convenience method for creating an KeywordPlanAdGroupOperation instance with
3122
- # its "update" field prepopulated with an KeywordPlanAdGroup instance, and
3123
- # its "update_mask" field populated as needed to send the updates to the API.
3161
+ module RemoveResource
3162
+ # A convenience method for creationg an FeedAttributeOperation instance with
3163
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3124
3164
  #
3125
- # @overload #keyword_plan_ad_group(path, &blk)
3126
- # @param path [String] a resource path for the resource to update
3127
- # @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
3128
- # which fields can be set to update
3165
+ # @param path [String] the resource name of the resource to delete.
3166
+ def self.feed_attribute(path)
3167
+ require "google/ads/google_ads/v1/resources/feed_pb.rb"
3168
+ op = Google::Ads::GoogleAds::V1::Resources::FeedAttributeOperation.new
3169
+ op["remove"] = path
3170
+ op
3171
+ end
3172
+
3173
+ # A convenience method for creationg an KeywordPlanKeywordOperation instance with
3174
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3129
3175
  #
3130
- # @overload #keyword_plan_ad_group(resource, &blk)
3131
- # @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a resource instance to update
3132
- # @yield the passed block is called and updates against `resource` are recordered in the update mask
3133
- # @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
3134
- def self.keyword_plan_ad_group(resource_or_path, &blk)
3135
- require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
3136
- res = case resource_or_path
3137
- when Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup
3138
- resource_or_path
3139
- # got a resource path
3140
- when String
3141
- obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup.new
3142
- obj.resource_name = resource_or_path
3143
- obj
3144
- else
3145
- unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup === res
3146
- raise ArgumentError.new(
3147
- "Called #{__method__} with instance of wrong type:"\
3148
- " #{res.class} want #{operation.update_class}"\
3149
- " or String representing resource name"
3150
- )
3151
- end
3152
- end
3176
+ # @param path [String] the resource name of the resource to delete.
3177
+ def self.keyword_plan_keyword(path)
3178
+ require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
3179
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
3180
+ op["remove"] = path
3181
+ op
3182
+ end
3153
3183
 
3154
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
3155
- op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
3156
- op["update"] = res
3184
+ # A convenience method for creationg an FeedMappingOperation instance with
3185
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3186
+ #
3187
+ # @param path [String] the resource name of the resource to delete.
3188
+ def self.feed_mapping(path)
3189
+ require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
3190
+ op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
3191
+ op["remove"] = path
3157
3192
  op
3158
3193
  end
3159
- end
3160
3194
 
3161
- module RemoveResource
3162
- # A convenience method for creationg an FeedAttributeOperation instance with
3195
+ # A convenience method for creationg an FeedOperation instance with
3196
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3197
+ #
3198
+ # @param path [String] the resource name of the resource to delete.
3199
+ def self.feed(path)
3200
+ require "google/ads/google_ads/v1/services/feed_service_pb.rb"
3201
+ op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
3202
+ op["remove"] = path
3203
+ op
3204
+ end
3205
+
3206
+ # A convenience method for creationg an AdGroupCriterionLabelOperation instance with
3207
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3208
+ #
3209
+ # @param path [String] the resource name of the resource to delete.
3210
+ def self.ad_group_criterion_label(path)
3211
+ require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
3212
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
3213
+ op["remove"] = path
3214
+ op
3215
+ end
3216
+
3217
+ # A convenience method for creationg an ConversionActionOperation instance with
3218
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3219
+ #
3220
+ # @param path [String] the resource name of the resource to delete.
3221
+ def self.conversion_action(path)
3222
+ require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
3223
+ op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
3224
+ op["remove"] = path
3225
+ op
3226
+ end
3227
+
3228
+ # A convenience method for creationg an BiddingStrategyOperation instance with
3229
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3230
+ #
3231
+ # @param path [String] the resource name of the resource to delete.
3232
+ def self.bidding_strategy(path)
3233
+ require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
3234
+ op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
3235
+ op["remove"] = path
3236
+ op
3237
+ end
3238
+
3239
+ # A convenience method for creationg an AccountBudgetProposalOperation instance with
3240
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3241
+ #
3242
+ # @param path [String] the resource name of the resource to delete.
3243
+ def self.account_budget_proposal(path)
3244
+ require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
3245
+ op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
3246
+ op["remove"] = path
3247
+ op
3248
+ end
3249
+
3250
+ # A convenience method for creationg an FeedItemOperation instance with
3251
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3252
+ #
3253
+ # @param path [String] the resource name of the resource to delete.
3254
+ def self.feed_item(path)
3255
+ require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
3256
+ op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
3257
+ op["remove"] = path
3258
+ op
3259
+ end
3260
+
3261
+ # A convenience method for creationg an CampaignBudgetOperation instance with
3262
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3263
+ #
3264
+ # @param path [String] the resource name of the resource to delete.
3265
+ def self.campaign_budget(path)
3266
+ require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
3267
+ op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
3268
+ op["remove"] = path
3269
+ op
3270
+ end
3271
+
3272
+ # A convenience method for creationg an AdGroupBidModifierOperation instance with
3273
+ # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3274
+ #
3275
+ # @param path [String] the resource name of the resource to delete.
3276
+ def self.ad_group_bid_modifier(path)
3277
+ require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
3278
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
3279
+ op["remove"] = path
3280
+ op
3281
+ end
3282
+
3283
+ # A convenience method for creationg an CustomerOperation instance with
3163
3284
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3164
3285
  #
3165
3286
  # @param path [String] the resource name of the resource to delete.
3166
- def self.feed_attribute(path)
3167
- require "google/ads/google_ads/v1/resources/feed_pb.rb"
3168
- op = Google::Ads::GoogleAds::V1::Resources::FeedAttributeOperation.new
3287
+ def self.customer(path)
3288
+ require "google/ads/google_ads/v1/services/customer_service_pb.rb"
3289
+ op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
3169
3290
  op["remove"] = path
3170
3291
  op
3171
3292
  end
3172
3293
 
3173
- # A convenience method for creationg an CustomInterestOperation instance with
3294
+ # A convenience method for creationg an CampaignLabelOperation instance with
3174
3295
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3175
3296
  #
3176
3297
  # @param path [String] the resource name of the resource to delete.
3177
- def self.custom_interest(path)
3178
- require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
3179
- op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
3298
+ def self.campaign_label(path)
3299
+ require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
3300
+ op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
3180
3301
  op["remove"] = path
3181
3302
  op
3182
3303
  end
3183
3304
 
3184
- # A convenience method for creationg an RemarketingActionOperation instance with
3305
+ # A convenience method for creationg an SharedCriterionOperation instance with
3185
3306
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3186
3307
  #
3187
3308
  # @param path [String] the resource name of the resource to delete.
3188
- def self.remarketing_action(path)
3189
- require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
3190
- op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
3309
+ def self.shared_criterion(path)
3310
+ require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
3311
+ op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
3191
3312
  op["remove"] = path
3192
3313
  op
3193
3314
  end
3194
3315
 
3195
- # A convenience method for creationg an KeywordPlanCampaignOperation instance with
3316
+ # A convenience method for creationg an KeywordPlanAdGroupOperation instance with
3196
3317
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3197
3318
  #
3198
3319
  # @param path [String] the resource name of the resource to delete.
3199
- def self.keyword_plan_campaign(path)
3200
- require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
3201
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
3320
+ def self.keyword_plan_ad_group(path)
3321
+ require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
3322
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
3202
3323
  op["remove"] = path
3203
3324
  op
3204
3325
  end
3205
3326
 
3206
- # A convenience method for creationg an AdGroupAdLabelOperation instance with
3327
+ # A convenience method for creationg an CampaignDraftOperation instance with
3207
3328
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3208
3329
  #
3209
3330
  # @param path [String] the resource name of the resource to delete.
3210
- def self.ad_group_ad_label(path)
3211
- require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
3212
- op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
3331
+ def self.campaign_draft(path)
3332
+ require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
3333
+ op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
3213
3334
  op["remove"] = path
3214
3335
  op
3215
3336
  end
3216
3337
 
3217
- # A convenience method for creationg an AdGroupAdOperation instance with
3338
+ # A convenience method for creationg an CampaignFeedOperation instance with
3218
3339
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3219
3340
  #
3220
3341
  # @param path [String] the resource name of the resource to delete.
3221
- def self.ad_group_ad(path)
3222
- require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
3223
- op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
3342
+ def self.campaign_feed(path)
3343
+ require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
3344
+ op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
3224
3345
  op["remove"] = path
3225
3346
  op
3226
3347
  end
3227
3348
 
3228
- # A convenience method for creationg an AdGroupBidModifierOperation instance with
3349
+ # A convenience method for creationg an AdGroupCriterionOperation instance with
3229
3350
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3230
3351
  #
3231
3352
  # @param path [String] the resource name of the resource to delete.
3232
- def self.ad_group_bid_modifier(path)
3233
- require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
3234
- op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
3353
+ def self.ad_group_criterion(path)
3354
+ require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
3355
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
3235
3356
  op["remove"] = path
3236
3357
  op
3237
3358
  end
3238
3359
 
3239
- # A convenience method for creationg an AdGroupCriterionLabelOperation instance with
3360
+ # A convenience method for creationg an AdGroupAdLabelOperation instance with
3240
3361
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3241
3362
  #
3242
3363
  # @param path [String] the resource name of the resource to delete.
3243
- def self.ad_group_criterion_label(path)
3244
- require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
3245
- op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
3364
+ def self.ad_group_ad_label(path)
3365
+ require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
3366
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
3246
3367
  op["remove"] = path
3247
3368
  op
3248
3369
  end
3249
3370
 
3250
- # A convenience method for creationg an AdGroupCriterionOperation instance with
3371
+ # A convenience method for creationg an AdGroupAdOperation instance with
3251
3372
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3252
3373
  #
3253
3374
  # @param path [String] the resource name of the resource to delete.
3254
- def self.ad_group_criterion(path)
3255
- require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
3256
- op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
3375
+ def self.ad_group_ad(path)
3376
+ require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
3377
+ op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
3257
3378
  op["remove"] = path
3258
3379
  op
3259
3380
  end
@@ -3324,17 +3445,6 @@ module Google
3324
3445
  op
3325
3446
  end
3326
3447
 
3327
- # A convenience method for creationg an BiddingStrategyOperation instance with
3328
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3329
- #
3330
- # @param path [String] the resource name of the resource to delete.
3331
- def self.bidding_strategy(path)
3332
- require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
3333
- op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
3334
- op["remove"] = path
3335
- op
3336
- end
3337
-
3338
3448
  # A convenience method for creationg an CampaignBidModifierOperation instance with
3339
3449
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3340
3450
  #
@@ -3346,17 +3456,6 @@ module Google
3346
3456
  op
3347
3457
  end
3348
3458
 
3349
- # A convenience method for creationg an CampaignBudgetOperation instance with
3350
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3351
- #
3352
- # @param path [String] the resource name of the resource to delete.
3353
- def self.campaign_budget(path)
3354
- require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
3355
- op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
3356
- op["remove"] = path
3357
- op
3358
- end
3359
-
3360
3459
  # A convenience method for creationg an CampaignCriterionOperation instance with
3361
3460
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3362
3461
  #
@@ -3368,17 +3467,6 @@ module Google
3368
3467
  op
3369
3468
  end
3370
3469
 
3371
- # A convenience method for creationg an CampaignDraftOperation instance with
3372
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3373
- #
3374
- # @param path [String] the resource name of the resource to delete.
3375
- def self.campaign_draft(path)
3376
- require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
3377
- op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
3378
- op["remove"] = path
3379
- op
3380
- end
3381
-
3382
3470
  # A convenience method for creationg an CampaignExperimentOperation instance with
3383
3471
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3384
3472
  #
@@ -3401,28 +3489,6 @@ module Google
3401
3489
  op
3402
3490
  end
3403
3491
 
3404
- # A convenience method for creationg an CampaignFeedOperation instance with
3405
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3406
- #
3407
- # @param path [String] the resource name of the resource to delete.
3408
- def self.campaign_feed(path)
3409
- require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
3410
- op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
3411
- op["remove"] = path
3412
- op
3413
- end
3414
-
3415
- # A convenience method for creationg an CampaignLabelOperation instance with
3416
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3417
- #
3418
- # @param path [String] the resource name of the resource to delete.
3419
- def self.campaign_label(path)
3420
- require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
3421
- op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
3422
- op["remove"] = path
3423
- op
3424
- end
3425
-
3426
3492
  # A convenience method for creationg an CampaignOperation instance with
3427
3493
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3428
3494
  #
@@ -3445,17 +3511,6 @@ module Google
3445
3511
  op
3446
3512
  end
3447
3513
 
3448
- # A convenience method for creationg an ConversionActionOperation instance with
3449
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3450
- #
3451
- # @param path [String] the resource name of the resource to delete.
3452
- def self.conversion_action(path)
3453
- require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
3454
- op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
3455
- op["remove"] = path
3456
- op
3457
- end
3458
-
3459
3514
  # A convenience method for creationg an CustomerExtensionSettingOperation instance with
3460
3515
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3461
3516
  #
@@ -3500,17 +3555,6 @@ module Google
3500
3555
  op
3501
3556
  end
3502
3557
 
3503
- # A convenience method for creationg an CustomerOperation instance with
3504
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3505
- #
3506
- # @param path [String] the resource name of the resource to delete.
3507
- def self.customer(path)
3508
- require "google/ads/google_ads/v1/services/customer_service_pb.rb"
3509
- op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
3510
- op["remove"] = path
3511
- op
3512
- end
3513
-
3514
3558
  # A convenience method for creationg an ExtensionFeedItemOperation instance with
3515
3559
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3516
3560
  #
@@ -3522,17 +3566,6 @@ module Google
3522
3566
  op
3523
3567
  end
3524
3568
 
3525
- # A convenience method for creationg an FeedItemOperation instance with
3526
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3527
- #
3528
- # @param path [String] the resource name of the resource to delete.
3529
- def self.feed_item(path)
3530
- require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
3531
- op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
3532
- op["remove"] = path
3533
- op
3534
- end
3535
-
3536
3569
  # A convenience method for creationg an FeedItemTargetOperation instance with
3537
3570
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3538
3571
  #
@@ -3544,28 +3577,6 @@ module Google
3544
3577
  op
3545
3578
  end
3546
3579
 
3547
- # A convenience method for creationg an FeedMappingOperation instance with
3548
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3549
- #
3550
- # @param path [String] the resource name of the resource to delete.
3551
- def self.feed_mapping(path)
3552
- require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
3553
- op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
3554
- op["remove"] = path
3555
- op
3556
- end
3557
-
3558
- # A convenience method for creationg an FeedOperation instance with
3559
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3560
- #
3561
- # @param path [String] the resource name of the resource to delete.
3562
- def self.feed(path)
3563
- require "google/ads/google_ads/v1/services/feed_service_pb.rb"
3564
- op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
3565
- op["remove"] = path
3566
- op
3567
- end
3568
-
3569
3580
  # A convenience method for creationg an LabelOperation instance with
3570
3581
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3571
3582
  #
@@ -3588,13 +3599,13 @@ module Google
3588
3599
  op
3589
3600
  end
3590
3601
 
3591
- # A convenience method for creationg an SharedCriterionOperation instance with
3602
+ # A convenience method for creationg an RemarketingActionOperation instance with
3592
3603
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3593
3604
  #
3594
3605
  # @param path [String] the resource name of the resource to delete.
3595
- def self.shared_criterion(path)
3596
- require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
3597
- op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
3606
+ def self.remarketing_action(path)
3607
+ require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
3608
+ op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
3598
3609
  op["remove"] = path
3599
3610
  op
3600
3611
  end
@@ -3632,17 +3643,6 @@ module Google
3632
3643
  op
3633
3644
  end
3634
3645
 
3635
- # A convenience method for creationg an KeywordPlanKeywordOperation instance with
3636
- # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3637
- #
3638
- # @param path [String] the resource name of the resource to delete.
3639
- def self.keyword_plan_keyword(path)
3640
- require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
3641
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
3642
- op["remove"] = path
3643
- op
3644
- end
3645
-
3646
3646
  # A convenience method for creationg an ApplyRecommendationOperation instance with
3647
3647
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3648
3648
  #
@@ -3665,24 +3665,24 @@ module Google
3665
3665
  op
3666
3666
  end
3667
3667
 
3668
- # A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
3668
+ # A convenience method for creationg an KeywordPlanCampaignOperation instance with
3669
3669
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3670
3670
  #
3671
3671
  # @param path [String] the resource name of the resource to delete.
3672
- def self.keyword_plan_negative_keyword(path)
3673
- require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
3674
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
3672
+ def self.keyword_plan_campaign(path)
3673
+ require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
3674
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
3675
3675
  op["remove"] = path
3676
3676
  op
3677
3677
  end
3678
3678
 
3679
- # A convenience method for creationg an KeywordPlanOperation instance with
3679
+ # A convenience method for creationg an BillingSetupOperation instance with
3680
3680
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3681
3681
  #
3682
3682
  # @param path [String] the resource name of the resource to delete.
3683
- def self.keyword_plan(path)
3684
- require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
3685
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
3683
+ def self.billing_setup(path)
3684
+ require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
3685
+ op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
3686
3686
  op["remove"] = path
3687
3687
  op
3688
3688
  end
@@ -3698,57 +3698,57 @@ module Google
3698
3698
  op
3699
3699
  end
3700
3700
 
3701
- # A convenience method for creationg an CustomerManagerLinkOperation instance with
3701
+ # A convenience method for creationg an KeywordPlanOperation instance with
3702
3702
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3703
3703
  #
3704
3704
  # @param path [String] the resource name of the resource to delete.
3705
- def self.customer_manager_link(path)
3706
- require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
3707
- op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
3705
+ def self.keyword_plan(path)
3706
+ require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
3707
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
3708
3708
  op["remove"] = path
3709
3709
  op
3710
3710
  end
3711
3711
 
3712
- # A convenience method for creationg an AccountBudgetProposalOperation instance with
3712
+ # A convenience method for creationg an CustomerManagerLinkOperation instance with
3713
3713
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3714
3714
  #
3715
3715
  # @param path [String] the resource name of the resource to delete.
3716
- def self.account_budget_proposal(path)
3717
- require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
3718
- op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
3716
+ def self.customer_manager_link(path)
3717
+ require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
3718
+ op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
3719
3719
  op["remove"] = path
3720
3720
  op
3721
3721
  end
3722
3722
 
3723
- # A convenience method for creationg an CustomerClientLinkOperation instance with
3723
+ # A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
3724
3724
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3725
3725
  #
3726
3726
  # @param path [String] the resource name of the resource to delete.
3727
- def self.customer_client_link(path)
3728
- require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
3729
- op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
3727
+ def self.keyword_plan_negative_keyword(path)
3728
+ require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
3729
+ op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
3730
3730
  op["remove"] = path
3731
3731
  op
3732
3732
  end
3733
3733
 
3734
- # A convenience method for creationg an BillingSetupOperation instance with
3734
+ # A convenience method for creationg an CustomInterestOperation instance with
3735
3735
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3736
3736
  #
3737
3737
  # @param path [String] the resource name of the resource to delete.
3738
- def self.billing_setup(path)
3739
- require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
3740
- op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
3738
+ def self.custom_interest(path)
3739
+ require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
3740
+ op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
3741
3741
  op["remove"] = path
3742
3742
  op
3743
3743
  end
3744
3744
 
3745
- # A convenience method for creationg an KeywordPlanAdGroupOperation instance with
3745
+ # A convenience method for creationg an CustomerClientLinkOperation instance with
3746
3746
  # its "remove" field preopulated with a resource path corresponding to the resource to be removed.
3747
3747
  #
3748
3748
  # @param path [String] the resource name of the resource to delete.
3749
- def self.keyword_plan_ad_group(path)
3750
- require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
3751
- op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
3749
+ def self.customer_client_link(path)
3750
+ require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
3751
+ op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
3752
3752
  op["remove"] = path
3753
3753
  op
3754
3754
  end