google-ads-googleads 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +3 -0
- data/lib/google/ads/google_ads/factories/v1/enums.rb +1170 -1170
- data/lib/google/ads/google_ads/factories/v1/operations.rb +1236 -1236
- data/lib/google/ads/google_ads/factories/v1/resources.rb +2366 -2366
- data/lib/google/ads/google_ads/factories/v1/services.rb +298 -298
- data/lib/google/ads/google_ads/factories/v2/enums.rb +1140 -1116
- data/lib/google/ads/google_ads/factories/v2/operations.rb +1331 -1331
- data/lib/google/ads/google_ads/factories/v2/resources.rb +2573 -2417
- data/lib/google/ads/google_ads/factories/v2/services.rb +329 -309
- data/lib/google/ads/google_ads/v2/common/ad_type_infos_pb.rb +1 -0
- data/lib/google/ads/google_ads/v2/common/metrics_pb.rb +1 -0
- data/lib/google/ads/google_ads/v2/enums/policy_review_status_pb.rb +1 -0
- data/lib/google/ads/google_ads/v2/enums/reach_plan_ad_length_pb.rb +22 -0
- data/lib/google/ads/google_ads/v2/enums/reach_plan_age_range_pb.rb +45 -0
- data/lib/google/ads/google_ads/v2/errors/authorization_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v2/errors/billing_setup_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v2/errors/errors_pb.rb +2 -0
- data/lib/google/ads/google_ads/v2/errors/feed_item_validation_error_pb.rb +2 -0
- data/lib/google/ads/google_ads/v2/errors/reach_plan_error_pb.rb +19 -0
- data/lib/google/ads/google_ads/v2/resources/campaign_criterion_pb.rb +1 -0
- data/lib/google/ads/google_ads/v2/resources/campaign_pb.rb +13 -13
- data/lib/google/ads/google_ads/v2/resources/customer_client_pb.rb +6 -0
- data/lib/google/ads/google_ads/v2/resources/recommendation_pb.rb +19 -19
- data/lib/google/ads/google_ads/v2/services/billing_setup_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v2/services/billing_setup_service_services_pb.rb +2 -2
- data/lib/google/ads/google_ads/v2/services/campaign_draft_service_client.rb +0 -1
- data/lib/google/ads/google_ads/v2/services/campaign_experiment_service_client.rb +0 -1
- data/lib/google/ads/google_ads/v2/services/label_service_pb.rb +0 -1
- data/lib/google/ads/google_ads/v2/services/media_file_service_pb.rb +0 -1
- data/lib/google/ads/google_ads/v2/services/mutate_job_service_client.rb +0 -1
- data/lib/google/ads/google_ads/v2/services/payments_account_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v2/services/payments_account_service_services_pb.rb +3 -3
- data/lib/google/ads/google_ads/v2/services/reach_plan_service_client.rb +436 -0
- data/lib/google/ads/google_ads/v2/services/reach_plan_service_client_config.json +46 -0
- data/lib/google/ads/google_ads/v2/services/reach_plan_service_pb.rb +126 -0
- data/lib/google/ads/google_ads/v2/services/reach_plan_service_services_pb.rb +55 -0
- data/lib/google/ads/google_ads/v2/services/remarketing_action_service_pb.rb +0 -1
- data/lib/google/ads/google_ads/v2/services/shared_criterion_service_pb.rb +0 -1
- data/lib/google/ads/google_ads/v2/services/shared_set_service_pb.rb +0 -1
- data/lib/google/ads/google_ads/v2/services/user_list_service_pb.rb +0 -1
- data/lib/google/ads/google_ads/version.rb +1 -1
- metadata +10 -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
|
15
|
+
# Create a new KeywordPlanKeywordOperation
|
16
16
|
#
|
17
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
18
|
-
def self.
|
19
|
-
require "google/ads/google_ads/v1/services/
|
20
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
23
|
+
# Create a new FeedMappingOperation
|
24
24
|
#
|
25
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
26
|
-
def self.
|
27
|
-
require "google/ads/google_ads/v1/services/
|
28
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
31
|
+
# Create a new FeedOperation
|
32
32
|
#
|
33
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
34
|
-
def self.
|
35
|
-
require "google/ads/google_ads/v1/services/
|
36
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
39
|
+
# Create a new AdGroupCriterionLabelOperation
|
40
40
|
#
|
41
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
42
|
-
def self.
|
43
|
-
require "google/ads/google_ads/v1/services/
|
44
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
47
|
+
# Create a new ConversionActionOperation
|
48
48
|
#
|
49
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
50
|
-
def self.
|
51
|
-
require "google/ads/google_ads/v1/services/
|
52
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
95
|
+
# Create a new CustomerOperation
|
64
96
|
#
|
65
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
66
|
-
def self.
|
67
|
-
require "google/ads/google_ads/v1/services/
|
68
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
327
|
+
# Create a new RemarketingActionOperation
|
320
328
|
#
|
321
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
322
|
-
def self.
|
323
|
-
require "google/ads/google_ads/v1/services/
|
324
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
375
|
+
# Create a new KeywordPlanCampaignOperation
|
376
376
|
#
|
377
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
378
|
-
def self.
|
379
|
-
require "google/ads/google_ads/v1/services/
|
380
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
383
|
+
# Create a new BillingSetupOperation
|
384
384
|
#
|
385
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
386
|
-
def self.
|
387
|
-
require "google/ads/google_ads/v1/services/
|
388
|
-
Google::Ads::GoogleAds::V1::Services::
|
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
|
415
|
+
# Create a new KeywordPlanNegativeKeywordOperation
|
408
416
|
#
|
409
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
410
|
-
def self.
|
411
|
-
require "google/ads/google_ads/v1/services/
|
412
|
-
Google::Ads::GoogleAds::V1::Services::
|
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,551 +461,676 @@ module Google
|
|
461
461
|
end
|
462
462
|
|
463
463
|
module CreateResource
|
464
|
-
# A convenience method for creating an
|
465
|
-
# its "create" field prepopulated with an
|
464
|
+
# A convenience method for creating an KeywordPlanKeywordOperation instance with
|
465
|
+
# its "create" field prepopulated with an KeywordPlanKeyword instance.
|
466
466
|
#
|
467
|
-
# @overload
|
468
|
-
# creates an operation instance, yielding a newly fabricated
|
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
|
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::
|
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::
|
477
|
-
def self.
|
478
|
-
require "google/ads/google_ads/v1/services/
|
479
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
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.
|
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
|
490
|
-
# its "create" field prepopulated with an
|
489
|
+
# A convenience method for creating an FeedMappingOperation instance with
|
490
|
+
# its "create" field prepopulated with an FeedMapping instance.
|
491
491
|
#
|
492
|
-
# @overload
|
493
|
-
# creates an operation instance, yielding a newly fabricated
|
492
|
+
# @overload feed_mapping
|
493
|
+
# creates an operation instance, yielding a newly fabricated FeedMapping
|
494
494
|
# which can be used for setting attributes on the newly created resource
|
495
|
-
# @overload
|
495
|
+
# @overload feed_mapping(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::
|
498
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::FeedMapping]
|
499
499
|
# a resource instance to be used for creation in this operation.
|
500
500
|
#
|
501
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
502
|
-
def self.
|
503
|
-
require "google/ads/google_ads/v1/services/
|
504
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
501
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] instance that will create the resource
|
502
|
+
def self.feed_mapping(res = nil, &blk)
|
503
|
+
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
504
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
505
505
|
if !res.nil?
|
506
506
|
op["create"] = res
|
507
507
|
elsif !blk.nil?
|
508
|
-
op["create"] = Factories::V1::Resources.
|
508
|
+
op["create"] = Factories::V1::Resources.feed_mapping(&blk)
|
509
509
|
end
|
510
510
|
|
511
511
|
op
|
512
512
|
end
|
513
513
|
|
514
|
-
# A convenience method for creating an
|
515
|
-
# its "create" field prepopulated with an
|
514
|
+
# A convenience method for creating an FeedOperation instance with
|
515
|
+
# its "create" field prepopulated with an Feed instance.
|
516
516
|
#
|
517
|
-
# @overload
|
518
|
-
# creates an operation instance, yielding a newly fabricated
|
517
|
+
# @overload feed
|
518
|
+
# creates an operation instance, yielding a newly fabricated Feed
|
519
519
|
# which can be used for setting attributes on the newly created resource
|
520
|
-
# @overload
|
520
|
+
# @overload feed(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::
|
523
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::Feed]
|
524
524
|
# a resource instance to be used for creation in this operation.
|
525
525
|
#
|
526
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
527
|
-
def self.
|
528
|
-
require "google/ads/google_ads/v1/services/
|
529
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
526
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] instance that will create the resource
|
527
|
+
def self.feed(res = nil, &blk)
|
528
|
+
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
529
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
530
530
|
if !res.nil?
|
531
531
|
op["create"] = res
|
532
532
|
elsif !blk.nil?
|
533
|
-
op["create"] = Factories::V1::Resources.
|
533
|
+
op["create"] = Factories::V1::Resources.feed(&blk)
|
534
534
|
end
|
535
535
|
|
536
536
|
op
|
537
537
|
end
|
538
538
|
|
539
|
-
# A convenience method for creating an
|
540
|
-
# its "create" field prepopulated with an
|
539
|
+
# A convenience method for creating an AdGroupCriterionLabelOperation instance with
|
540
|
+
# its "create" field prepopulated with an AdGroupCriterionLabel instance.
|
541
541
|
#
|
542
|
-
# @overload
|
543
|
-
# creates an operation instance, yielding a newly fabricated
|
542
|
+
# @overload ad_group_criterion_label
|
543
|
+
# creates an operation instance, yielding a newly fabricated AdGroupCriterionLabel
|
544
544
|
# which can be used for setting attributes on the newly created resource
|
545
|
-
# @overload
|
545
|
+
# @overload ad_group_criterion_label(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::
|
548
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterionLabel]
|
549
549
|
# a resource instance to be used for creation in this operation.
|
550
550
|
#
|
551
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
552
|
-
def self.
|
553
|
-
require "google/ads/google_ads/v1/services/
|
554
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
551
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation] instance that will create the resource
|
552
|
+
def self.ad_group_criterion_label(res = nil, &blk)
|
553
|
+
require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
|
554
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
|
555
555
|
if !res.nil?
|
556
556
|
op["create"] = res
|
557
557
|
elsif !blk.nil?
|
558
|
-
op["create"] = Factories::V1::Resources.
|
558
|
+
op["create"] = Factories::V1::Resources.ad_group_criterion_label(&blk)
|
559
559
|
end
|
560
560
|
|
561
561
|
op
|
562
562
|
end
|
563
563
|
|
564
|
-
# A convenience method for creating an
|
565
|
-
# its "create" field prepopulated with an
|
564
|
+
# A convenience method for creating an ConversionActionOperation instance with
|
565
|
+
# its "create" field prepopulated with an ConversionAction instance.
|
566
566
|
#
|
567
|
-
# @overload
|
568
|
-
# creates an operation instance, yielding a newly fabricated
|
567
|
+
# @overload conversion_action
|
568
|
+
# creates an operation instance, yielding a newly fabricated ConversionAction
|
569
569
|
# which can be used for setting attributes on the newly created resource
|
570
|
-
# @overload
|
570
|
+
# @overload conversion_action(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::
|
573
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::ConversionAction]
|
574
574
|
# a resource instance to be used for creation in this operation.
|
575
575
|
#
|
576
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
577
|
-
def self.
|
578
|
-
require "google/ads/google_ads/v1/services/
|
579
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
576
|
+
# @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] instance that will create the resource
|
577
|
+
def self.conversion_action(res = nil, &blk)
|
578
|
+
require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
|
579
|
+
op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
|
580
580
|
if !res.nil?
|
581
581
|
op["create"] = res
|
582
582
|
elsif !blk.nil?
|
583
|
-
op["create"] = Factories::V1::Resources.
|
583
|
+
op["create"] = Factories::V1::Resources.conversion_action(&blk)
|
584
584
|
end
|
585
585
|
|
586
586
|
op
|
587
587
|
end
|
588
588
|
|
589
|
-
# A convenience method for creating an
|
590
|
-
# its "create" field prepopulated with an
|
589
|
+
# A convenience method for creating an BiddingStrategyOperation instance with
|
590
|
+
# its "create" field prepopulated with an BiddingStrategy instance.
|
591
591
|
#
|
592
|
-
# @overload
|
593
|
-
# creates an operation instance, yielding a newly fabricated
|
592
|
+
# @overload bidding_strategy
|
593
|
+
# creates an operation instance, yielding a newly fabricated BiddingStrategy
|
594
594
|
# which can be used for setting attributes on the newly created resource
|
595
|
-
# @overload
|
595
|
+
# @overload bidding_strategy(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::
|
598
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy]
|
599
599
|
# a resource instance to be used for creation in this operation.
|
600
600
|
#
|
601
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
602
|
-
def self.
|
603
|
-
require "google/ads/google_ads/v1/services/
|
604
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
601
|
+
# @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] instance that will create the resource
|
602
|
+
def self.bidding_strategy(res = nil, &blk)
|
603
|
+
require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
|
604
|
+
op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
|
605
605
|
if !res.nil?
|
606
606
|
op["create"] = res
|
607
607
|
elsif !blk.nil?
|
608
|
-
op["create"] = Factories::V1::Resources.
|
608
|
+
op["create"] = Factories::V1::Resources.bidding_strategy(&blk)
|
609
609
|
end
|
610
610
|
|
611
611
|
op
|
612
612
|
end
|
613
613
|
|
614
|
-
# A convenience method for creating an
|
615
|
-
# its "create" field prepopulated with an
|
614
|
+
# A convenience method for creating an AccountBudgetProposalOperation instance with
|
615
|
+
# its "create" field prepopulated with an AccountBudgetProposal instance.
|
616
616
|
#
|
617
|
-
# @overload
|
618
|
-
# creates an operation instance, yielding a newly fabricated
|
617
|
+
# @overload account_budget_proposal
|
618
|
+
# creates an operation instance, yielding a newly fabricated AccountBudgetProposal
|
619
619
|
# which can be used for setting attributes on the newly created resource
|
620
|
-
# @overload
|
620
|
+
# @overload account_budget_proposal(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::
|
623
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AccountBudgetProposal]
|
624
624
|
# a resource instance to be used for creation in this operation.
|
625
625
|
#
|
626
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
627
|
-
def self.
|
628
|
-
require "google/ads/google_ads/v1/services/
|
629
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
626
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation] instance that will create the resource
|
627
|
+
def self.account_budget_proposal(res = nil, &blk)
|
628
|
+
require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
|
629
|
+
op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
|
630
630
|
if !res.nil?
|
631
631
|
op["create"] = res
|
632
632
|
elsif !blk.nil?
|
633
|
-
op["create"] = Factories::V1::Resources.
|
633
|
+
op["create"] = Factories::V1::Resources.account_budget_proposal(&blk)
|
634
634
|
end
|
635
635
|
|
636
636
|
op
|
637
637
|
end
|
638
638
|
|
639
|
-
# A convenience method for creating an
|
640
|
-
# its "create" field prepopulated with an
|
639
|
+
# A convenience method for creating an FeedItemOperation instance with
|
640
|
+
# its "create" field prepopulated with an FeedItem instance.
|
641
641
|
#
|
642
|
-
# @overload
|
643
|
-
# creates an operation instance, yielding a newly fabricated
|
642
|
+
# @overload feed_item
|
643
|
+
# creates an operation instance, yielding a newly fabricated FeedItem
|
644
644
|
# which can be used for setting attributes on the newly created resource
|
645
|
-
# @overload
|
645
|
+
# @overload feed_item(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::
|
648
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::FeedItem]
|
649
649
|
# a resource instance to be used for creation in this operation.
|
650
650
|
#
|
651
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
652
|
-
def self.
|
653
|
-
require "google/ads/google_ads/v1/services/
|
654
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
651
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] instance that will create the resource
|
652
|
+
def self.feed_item(res = nil, &blk)
|
653
|
+
require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
|
654
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
|
655
655
|
if !res.nil?
|
656
656
|
op["create"] = res
|
657
657
|
elsif !blk.nil?
|
658
|
-
op["create"] = Factories::V1::Resources.
|
658
|
+
op["create"] = Factories::V1::Resources.feed_item(&blk)
|
659
659
|
end
|
660
660
|
|
661
661
|
op
|
662
662
|
end
|
663
663
|
|
664
|
-
# A convenience method for creating an
|
665
|
-
# its "create" field prepopulated with an
|
664
|
+
# A convenience method for creating an CampaignBudgetOperation instance with
|
665
|
+
# its "create" field prepopulated with an CampaignBudget instance.
|
666
666
|
#
|
667
|
-
# @overload
|
668
|
-
# creates an operation instance, yielding a newly fabricated
|
667
|
+
# @overload campaign_budget
|
668
|
+
# creates an operation instance, yielding a newly fabricated CampaignBudget
|
669
669
|
# which can be used for setting attributes on the newly created resource
|
670
|
-
# @overload
|
670
|
+
# @overload campaign_budget(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::
|
673
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignBudget]
|
674
674
|
# a resource instance to be used for creation in this operation.
|
675
675
|
#
|
676
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
677
|
-
def self.
|
678
|
-
require "google/ads/google_ads/v1/services/
|
679
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
676
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] instance that will create the resource
|
677
|
+
def self.campaign_budget(res = nil, &blk)
|
678
|
+
require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
|
679
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
|
680
680
|
if !res.nil?
|
681
681
|
op["create"] = res
|
682
682
|
elsif !blk.nil?
|
683
|
-
op["create"] = Factories::V1::Resources.
|
683
|
+
op["create"] = Factories::V1::Resources.campaign_budget(&blk)
|
684
684
|
end
|
685
685
|
|
686
686
|
op
|
687
687
|
end
|
688
688
|
|
689
|
-
# A convenience method for creating an
|
690
|
-
# its "create" field prepopulated with an
|
689
|
+
# A convenience method for creating an AdGroupBidModifierOperation instance with
|
690
|
+
# its "create" field prepopulated with an AdGroupBidModifier instance.
|
691
691
|
#
|
692
|
-
# @overload
|
693
|
-
# creates an operation instance, yielding a newly fabricated
|
692
|
+
# @overload ad_group_bid_modifier
|
693
|
+
# creates an operation instance, yielding a newly fabricated AdGroupBidModifier
|
694
694
|
# which can be used for setting attributes on the newly created resource
|
695
|
-
# @overload
|
695
|
+
# @overload ad_group_bid_modifier(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::
|
698
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier]
|
699
699
|
# a resource instance to be used for creation in this operation.
|
700
700
|
#
|
701
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
702
|
-
def self.
|
703
|
-
require "google/ads/google_ads/v1/services/
|
704
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
701
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] instance that will create the resource
|
702
|
+
def self.ad_group_bid_modifier(res = nil, &blk)
|
703
|
+
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
|
704
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
|
705
705
|
if !res.nil?
|
706
706
|
op["create"] = res
|
707
707
|
elsif !blk.nil?
|
708
|
-
op["create"] = Factories::V1::Resources.
|
708
|
+
op["create"] = Factories::V1::Resources.ad_group_bid_modifier(&blk)
|
709
709
|
end
|
710
710
|
|
711
711
|
op
|
712
712
|
end
|
713
713
|
|
714
|
-
# A convenience method for creating an
|
715
|
-
# its "create" field prepopulated with an
|
714
|
+
# A convenience method for creating an CampaignLabelOperation instance with
|
715
|
+
# its "create" field prepopulated with an CampaignLabel instance.
|
716
716
|
#
|
717
|
-
# @overload
|
718
|
-
# creates an operation instance, yielding a newly fabricated
|
717
|
+
# @overload campaign_label
|
718
|
+
# creates an operation instance, yielding a newly fabricated CampaignLabel
|
719
719
|
# which can be used for setting attributes on the newly created resource
|
720
|
-
# @overload
|
720
|
+
# @overload campaign_label(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::
|
723
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignLabel]
|
724
724
|
# a resource instance to be used for creation in this operation.
|
725
725
|
#
|
726
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
727
|
-
def self.
|
728
|
-
require "google/ads/google_ads/v1/services/
|
729
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
726
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation] instance that will create the resource
|
727
|
+
def self.campaign_label(res = nil, &blk)
|
728
|
+
require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
|
729
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
|
730
730
|
if !res.nil?
|
731
731
|
op["create"] = res
|
732
732
|
elsif !blk.nil?
|
733
|
-
op["create"] = Factories::V1::Resources.
|
733
|
+
op["create"] = Factories::V1::Resources.campaign_label(&blk)
|
734
734
|
end
|
735
735
|
|
736
736
|
op
|
737
737
|
end
|
738
738
|
|
739
|
-
# A convenience method for creating an
|
740
|
-
# its "create" field prepopulated with an
|
739
|
+
# A convenience method for creating an SharedCriterionOperation instance with
|
740
|
+
# its "create" field prepopulated with an SharedCriterion instance.
|
741
741
|
#
|
742
|
-
# @overload
|
743
|
-
# creates an operation instance, yielding a newly fabricated
|
742
|
+
# @overload shared_criterion
|
743
|
+
# creates an operation instance, yielding a newly fabricated SharedCriterion
|
744
744
|
# which can be used for setting attributes on the newly created resource
|
745
|
-
# @overload
|
745
|
+
# @overload shared_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::
|
748
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::SharedCriterion]
|
749
749
|
# a resource instance to be used for creation in this operation.
|
750
750
|
#
|
751
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
752
|
-
def self.
|
753
|
-
require "google/ads/google_ads/v1/services/
|
754
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
751
|
+
# @return [Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation] instance that will create the resource
|
752
|
+
def self.shared_criterion(res = nil, &blk)
|
753
|
+
require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
|
754
|
+
op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
|
755
755
|
if !res.nil?
|
756
756
|
op["create"] = res
|
757
757
|
elsif !blk.nil?
|
758
|
-
op["create"] = Factories::V1::Resources.
|
758
|
+
op["create"] = Factories::V1::Resources.shared_criterion(&blk)
|
759
759
|
end
|
760
760
|
|
761
761
|
op
|
762
762
|
end
|
763
763
|
|
764
|
-
# A convenience method for creating an
|
765
|
-
# its "create" field prepopulated with an
|
764
|
+
# A convenience method for creating an KeywordPlanAdGroupOperation instance with
|
765
|
+
# its "create" field prepopulated with an KeywordPlanAdGroup instance.
|
766
766
|
#
|
767
|
-
# @overload
|
768
|
-
# creates an operation instance, yielding a newly fabricated
|
767
|
+
# @overload keyword_plan_ad_group
|
768
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanAdGroup
|
769
769
|
# which can be used for setting attributes on the newly created resource
|
770
|
-
# @overload
|
770
|
+
# @overload keyword_plan_ad_group(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::
|
773
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup]
|
774
774
|
# a resource instance to be used for creation in this operation.
|
775
775
|
#
|
776
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
777
|
-
def self.
|
778
|
-
require "google/ads/google_ads/v1/services/
|
779
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
776
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] instance that will create the resource
|
777
|
+
def self.keyword_plan_ad_group(res = nil, &blk)
|
778
|
+
require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
|
779
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
|
780
780
|
if !res.nil?
|
781
781
|
op["create"] = res
|
782
782
|
elsif !blk.nil?
|
783
|
-
op["create"] = Factories::V1::Resources.
|
783
|
+
op["create"] = Factories::V1::Resources.keyword_plan_ad_group(&blk)
|
784
784
|
end
|
785
785
|
|
786
786
|
op
|
787
787
|
end
|
788
788
|
|
789
|
-
# A convenience method for creating an
|
790
|
-
# its "create" field prepopulated with an
|
789
|
+
# A convenience method for creating an CampaignDraftOperation instance with
|
790
|
+
# its "create" field prepopulated with an CampaignDraft instance.
|
791
791
|
#
|
792
|
-
# @overload
|
793
|
-
# creates an operation instance, yielding a newly fabricated
|
792
|
+
# @overload campaign_draft
|
793
|
+
# creates an operation instance, yielding a newly fabricated CampaignDraft
|
794
794
|
# which can be used for setting attributes on the newly created resource
|
795
|
-
# @overload
|
795
|
+
# @overload campaign_draft(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::
|
798
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignDraft]
|
799
799
|
# a resource instance to be used for creation in this operation.
|
800
800
|
#
|
801
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
802
|
-
def self.
|
803
|
-
require "google/ads/google_ads/v1/services/
|
804
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
801
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] instance that will create the resource
|
802
|
+
def self.campaign_draft(res = nil, &blk)
|
803
|
+
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
804
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
805
805
|
if !res.nil?
|
806
806
|
op["create"] = res
|
807
807
|
elsif !blk.nil?
|
808
|
-
op["create"] = Factories::V1::Resources.
|
808
|
+
op["create"] = Factories::V1::Resources.campaign_draft(&blk)
|
809
809
|
end
|
810
810
|
|
811
811
|
op
|
812
812
|
end
|
813
813
|
|
814
|
-
# A convenience method for creating an
|
815
|
-
# its "create" field prepopulated with an
|
814
|
+
# A convenience method for creating an CampaignFeedOperation instance with
|
815
|
+
# its "create" field prepopulated with an CampaignFeed instance.
|
816
816
|
#
|
817
|
-
# @overload
|
818
|
-
# creates an operation instance, yielding a newly fabricated
|
817
|
+
# @overload campaign_feed
|
818
|
+
# creates an operation instance, yielding a newly fabricated CampaignFeed
|
819
819
|
# which can be used for setting attributes on the newly created resource
|
820
|
-
# @overload
|
820
|
+
# @overload campaign_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::
|
823
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignFeed]
|
824
824
|
# a resource instance to be used for creation in this operation.
|
825
825
|
#
|
826
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
827
|
-
def self.
|
828
|
-
require "google/ads/google_ads/v1/services/
|
829
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
826
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] instance that will create the resource
|
827
|
+
def self.campaign_feed(res = nil, &blk)
|
828
|
+
require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
|
829
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
830
830
|
if !res.nil?
|
831
831
|
op["create"] = res
|
832
832
|
elsif !blk.nil?
|
833
|
-
op["create"] = Factories::V1::Resources.
|
833
|
+
op["create"] = Factories::V1::Resources.campaign_feed(&blk)
|
834
834
|
end
|
835
835
|
|
836
836
|
op
|
837
837
|
end
|
838
838
|
|
839
|
-
# A convenience method for creating an
|
840
|
-
# its "create" field prepopulated with an
|
839
|
+
# A convenience method for creating an AdGroupCriterionOperation instance with
|
840
|
+
# its "create" field prepopulated with an AdGroupCriterion instance.
|
841
841
|
#
|
842
|
-
# @overload
|
843
|
-
# creates an operation instance, yielding a newly fabricated
|
842
|
+
# @overload ad_group_criterion
|
843
|
+
# creates an operation instance, yielding a newly fabricated AdGroupCriterion
|
844
844
|
# which can be used for setting attributes on the newly created resource
|
845
|
-
# @overload
|
845
|
+
# @overload ad_group_criterion(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::
|
848
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion]
|
849
849
|
# a resource instance to be used for creation in this operation.
|
850
850
|
#
|
851
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
852
|
-
def self.
|
853
|
-
require "google/ads/google_ads/v1/services/
|
854
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
851
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] instance that will create the resource
|
852
|
+
def self.ad_group_criterion(res = nil, &blk)
|
853
|
+
require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
|
854
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
|
855
855
|
if !res.nil?
|
856
856
|
op["create"] = res
|
857
857
|
elsif !blk.nil?
|
858
|
-
op["create"] = Factories::V1::Resources.
|
858
|
+
op["create"] = Factories::V1::Resources.ad_group_criterion(&blk)
|
859
859
|
end
|
860
860
|
|
861
861
|
op
|
862
862
|
end
|
863
863
|
|
864
|
-
# A convenience method for creating an
|
865
|
-
# its "create" field prepopulated with an
|
864
|
+
# A convenience method for creating an AdGroupAdLabelOperation instance with
|
865
|
+
# its "create" field prepopulated with an AdGroupAdLabel instance.
|
866
866
|
#
|
867
|
-
# @overload
|
868
|
-
# creates an operation instance, yielding a newly fabricated
|
867
|
+
# @overload ad_group_ad_label
|
868
|
+
# creates an operation instance, yielding a newly fabricated AdGroupAdLabel
|
869
869
|
# which can be used for setting attributes on the newly created resource
|
870
|
-
# @overload
|
870
|
+
# @overload ad_group_ad_label(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::
|
873
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAdLabel]
|
874
874
|
# a resource instance to be used for creation in this operation.
|
875
875
|
#
|
876
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
877
|
-
def self.
|
878
|
-
require "google/ads/google_ads/v1/services/
|
879
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
876
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation] instance that will create the resource
|
877
|
+
def self.ad_group_ad_label(res = nil, &blk)
|
878
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
|
879
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
|
880
880
|
if !res.nil?
|
881
881
|
op["create"] = res
|
882
882
|
elsif !blk.nil?
|
883
|
-
op["create"] = Factories::V1::Resources.
|
883
|
+
op["create"] = Factories::V1::Resources.ad_group_ad_label(&blk)
|
884
884
|
end
|
885
885
|
|
886
886
|
op
|
887
887
|
end
|
888
888
|
|
889
|
-
# A convenience method for creating an
|
890
|
-
# its "create" field prepopulated with an
|
889
|
+
# A convenience method for creating an AdGroupAdOperation instance with
|
890
|
+
# its "create" field prepopulated with an AdGroupAd instance.
|
891
891
|
#
|
892
|
-
# @overload
|
893
|
-
# creates an operation instance, yielding a newly fabricated
|
892
|
+
# @overload ad_group_ad
|
893
|
+
# creates an operation instance, yielding a newly fabricated AdGroupAd
|
894
894
|
# which can be used for setting attributes on the newly created resource
|
895
|
-
# @overload
|
895
|
+
# @overload ad_group_ad(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::
|
898
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupAd]
|
899
899
|
# a resource instance to be used for creation in this operation.
|
900
900
|
#
|
901
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
902
|
-
def self.
|
903
|
-
require "google/ads/google_ads/v1/services/
|
904
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
901
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] instance that will create the resource
|
902
|
+
def self.ad_group_ad(res = nil, &blk)
|
903
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
|
904
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
|
905
905
|
if !res.nil?
|
906
906
|
op["create"] = res
|
907
907
|
elsif !blk.nil?
|
908
|
-
op["create"] = Factories::V1::Resources.
|
908
|
+
op["create"] = Factories::V1::Resources.ad_group_ad(&blk)
|
909
909
|
end
|
910
910
|
|
911
911
|
op
|
912
912
|
end
|
913
913
|
|
914
|
-
# A convenience method for creating an
|
915
|
-
# its "create" field prepopulated with an
|
914
|
+
# A convenience method for creating an AdGroupExtensionSettingOperation instance with
|
915
|
+
# its "create" field prepopulated with an AdGroupExtensionSetting instance.
|
916
916
|
#
|
917
|
-
# @overload
|
918
|
-
# creates an operation instance, yielding a newly fabricated
|
917
|
+
# @overload ad_group_extension_setting
|
918
|
+
# creates an operation instance, yielding a newly fabricated AdGroupExtensionSetting
|
919
919
|
# which can be used for setting attributes on the newly created resource
|
920
|
-
# @overload
|
920
|
+
# @overload ad_group_extension_setting(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::
|
923
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupExtensionSetting]
|
924
924
|
# a resource instance to be used for creation in this operation.
|
925
925
|
#
|
926
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
927
|
-
def self.
|
928
|
-
require "google/ads/google_ads/v1/services/
|
929
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
926
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation] instance that will create the resource
|
927
|
+
def self.ad_group_extension_setting(res = nil, &blk)
|
928
|
+
require "google/ads/google_ads/v1/services/ad_group_extension_setting_service_pb.rb"
|
929
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupExtensionSettingOperation.new
|
930
930
|
if !res.nil?
|
931
931
|
op["create"] = res
|
932
932
|
elsif !blk.nil?
|
933
|
-
op["create"] = Factories::V1::Resources.
|
933
|
+
op["create"] = Factories::V1::Resources.ad_group_extension_setting(&blk)
|
934
934
|
end
|
935
935
|
|
936
936
|
op
|
937
937
|
end
|
938
938
|
|
939
|
-
# A convenience method for creating an
|
940
|
-
# its "create" field prepopulated with an
|
939
|
+
# A convenience method for creating an AdGroupFeedOperation instance with
|
940
|
+
# its "create" field prepopulated with an AdGroupFeed instance.
|
941
941
|
#
|
942
|
-
# @overload
|
943
|
-
# creates an operation instance, yielding a newly fabricated
|
942
|
+
# @overload ad_group_feed
|
943
|
+
# creates an operation instance, yielding a newly fabricated AdGroupFeed
|
944
944
|
# which can be used for setting attributes on the newly created resource
|
945
|
-
# @overload
|
945
|
+
# @overload ad_group_feed(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::
|
948
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupFeed]
|
949
949
|
# a resource instance to be used for creation in this operation.
|
950
950
|
#
|
951
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
952
|
-
def self.
|
953
|
-
require "google/ads/google_ads/v1/services/
|
954
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
951
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation] instance that will create the resource
|
952
|
+
def self.ad_group_feed(res = nil, &blk)
|
953
|
+
require "google/ads/google_ads/v1/services/ad_group_feed_service_pb.rb"
|
954
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupFeedOperation.new
|
955
955
|
if !res.nil?
|
956
956
|
op["create"] = res
|
957
957
|
elsif !blk.nil?
|
958
|
-
op["create"] = Factories::V1::Resources.
|
958
|
+
op["create"] = Factories::V1::Resources.ad_group_feed(&blk)
|
959
959
|
end
|
960
960
|
|
961
961
|
op
|
962
962
|
end
|
963
963
|
|
964
|
-
# A convenience method for creating an
|
965
|
-
# its "create" field prepopulated with an
|
964
|
+
# A convenience method for creating an AdGroupLabelOperation instance with
|
965
|
+
# its "create" field prepopulated with an AdGroupLabel instance.
|
966
966
|
#
|
967
|
-
# @overload
|
968
|
-
# creates an operation instance, yielding a newly fabricated
|
967
|
+
# @overload ad_group_label
|
968
|
+
# creates an operation instance, yielding a newly fabricated AdGroupLabel
|
969
969
|
# which can be used for setting attributes on the newly created resource
|
970
|
-
# @overload
|
970
|
+
# @overload ad_group_label(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::
|
973
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroupLabel]
|
974
974
|
# a resource instance to be used for creation in this operation.
|
975
975
|
#
|
976
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
977
|
-
def self.
|
978
|
-
require "google/ads/google_ads/v1/services/
|
979
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
976
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation] instance that will create the resource
|
977
|
+
def self.ad_group_label(res = nil, &blk)
|
978
|
+
require "google/ads/google_ads/v1/services/ad_group_label_service_pb.rb"
|
979
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupLabelOperation.new
|
980
980
|
if !res.nil?
|
981
981
|
op["create"] = res
|
982
982
|
elsif !blk.nil?
|
983
|
-
op["create"] = Factories::V1::Resources.
|
983
|
+
op["create"] = Factories::V1::Resources.ad_group_label(&blk)
|
984
984
|
end
|
985
985
|
|
986
986
|
op
|
987
987
|
end
|
988
988
|
|
989
|
-
# A convenience method for creating an
|
990
|
-
# its "create" field prepopulated with an
|
989
|
+
# A convenience method for creating an AdGroupOperation instance with
|
990
|
+
# its "create" field prepopulated with an AdGroup instance.
|
991
991
|
#
|
992
|
-
# @overload
|
993
|
-
# creates an operation instance, yielding a newly fabricated
|
992
|
+
# @overload ad_group
|
993
|
+
# creates an operation instance, yielding a newly fabricated AdGroup
|
994
994
|
# which can be used for setting attributes on the newly created resource
|
995
|
-
# @overload
|
995
|
+
# @overload ad_group(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::
|
998
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdGroup]
|
999
999
|
# a resource instance to be used for creation in this operation.
|
1000
1000
|
#
|
1001
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1002
|
-
def self.
|
1003
|
-
require "google/ads/google_ads/v1/services/
|
1004
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1001
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupOperation] instance that will create the resource
|
1002
|
+
def self.ad_group(res = nil, &blk)
|
1003
|
+
require "google/ads/google_ads/v1/services/ad_group_service_pb.rb"
|
1004
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupOperation.new
|
1005
1005
|
if !res.nil?
|
1006
1006
|
op["create"] = res
|
1007
1007
|
elsif !blk.nil?
|
1008
|
-
op["create"] = Factories::V1::Resources.
|
1008
|
+
op["create"] = Factories::V1::Resources.ad_group(&blk)
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
op
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# A convenience method for creating an AdParameterOperation instance with
|
1015
|
+
# its "create" field prepopulated with an AdParameter instance.
|
1016
|
+
#
|
1017
|
+
# @overload ad_parameter
|
1018
|
+
# creates an operation instance, yielding a newly fabricated AdParameter
|
1019
|
+
# which can be used for setting attributes on the newly created resource
|
1020
|
+
# @overload ad_parameter(res)
|
1021
|
+
# creates an operation instance, with the resource to be created
|
1022
|
+
# set to the passed value (res)
|
1023
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::AdParameter]
|
1024
|
+
# a resource instance to be used for creation in this operation.
|
1025
|
+
#
|
1026
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdParameterOperation] instance that will create the resource
|
1027
|
+
def self.ad_parameter(res = nil, &blk)
|
1028
|
+
require "google/ads/google_ads/v1/services/ad_parameter_service_pb.rb"
|
1029
|
+
op = Google::Ads::GoogleAds::V1::Services::AdParameterOperation.new
|
1030
|
+
if !res.nil?
|
1031
|
+
op["create"] = res
|
1032
|
+
elsif !blk.nil?
|
1033
|
+
op["create"] = Factories::V1::Resources.ad_parameter(&blk)
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
op
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# A convenience method for creating an AssetOperation instance with
|
1040
|
+
# its "create" field prepopulated with an Asset instance.
|
1041
|
+
#
|
1042
|
+
# @overload asset
|
1043
|
+
# creates an operation instance, yielding a newly fabricated Asset
|
1044
|
+
# which can be used for setting attributes on the newly created resource
|
1045
|
+
# @overload asset(res)
|
1046
|
+
# creates an operation instance, with the resource to be created
|
1047
|
+
# set to the passed value (res)
|
1048
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::Asset]
|
1049
|
+
# a resource instance to be used for creation in this operation.
|
1050
|
+
#
|
1051
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AssetOperation] instance that will create the resource
|
1052
|
+
def self.asset(res = nil, &blk)
|
1053
|
+
require "google/ads/google_ads/v1/services/asset_service_pb.rb"
|
1054
|
+
op = Google::Ads::GoogleAds::V1::Services::AssetOperation.new
|
1055
|
+
if !res.nil?
|
1056
|
+
op["create"] = res
|
1057
|
+
elsif !blk.nil?
|
1058
|
+
op["create"] = Factories::V1::Resources.asset(&blk)
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
op
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# A convenience method for creating an CampaignBidModifierOperation instance with
|
1065
|
+
# its "create" field prepopulated with an CampaignBidModifier instance.
|
1066
|
+
#
|
1067
|
+
# @overload campaign_bid_modifier
|
1068
|
+
# creates an operation instance, yielding a newly fabricated CampaignBidModifier
|
1069
|
+
# which can be used for setting attributes on the newly created resource
|
1070
|
+
# @overload campaign_bid_modifier(res)
|
1071
|
+
# creates an operation instance, with the resource to be created
|
1072
|
+
# set to the passed value (res)
|
1073
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignBidModifier]
|
1074
|
+
# a resource instance to be used for creation in this operation.
|
1075
|
+
#
|
1076
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation] instance that will create the resource
|
1077
|
+
def self.campaign_bid_modifier(res = nil, &blk)
|
1078
|
+
require "google/ads/google_ads/v1/services/campaign_bid_modifier_service_pb.rb"
|
1079
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
1080
|
+
if !res.nil?
|
1081
|
+
op["create"] = res
|
1082
|
+
elsif !blk.nil?
|
1083
|
+
op["create"] = Factories::V1::Resources.campaign_bid_modifier(&blk)
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
op
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# A convenience method for creating an CampaignCriterionOperation instance with
|
1090
|
+
# its "create" field prepopulated with an CampaignCriterion instance.
|
1091
|
+
#
|
1092
|
+
# @overload campaign_criterion
|
1093
|
+
# creates an operation instance, yielding a newly fabricated CampaignCriterion
|
1094
|
+
# which can be used for setting attributes on the newly created resource
|
1095
|
+
# @overload campaign_criterion(res)
|
1096
|
+
# creates an operation instance, with the resource to be created
|
1097
|
+
# set to the passed value (res)
|
1098
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion]
|
1099
|
+
# a resource instance to be used for creation in this operation.
|
1100
|
+
#
|
1101
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] instance that will create the resource
|
1102
|
+
def self.campaign_criterion(res = nil, &blk)
|
1103
|
+
require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
|
1104
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
|
1105
|
+
if !res.nil?
|
1106
|
+
op["create"] = res
|
1107
|
+
elsif !blk.nil?
|
1108
|
+
op["create"] = Factories::V1::Resources.campaign_criterion(&blk)
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
op
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# A convenience method for creating an CampaignExtensionSettingOperation instance with
|
1115
|
+
# its "create" field prepopulated with an CampaignExtensionSetting instance.
|
1116
|
+
#
|
1117
|
+
# @overload campaign_extension_setting
|
1118
|
+
# creates an operation instance, yielding a newly fabricated CampaignExtensionSetting
|
1119
|
+
# which can be used for setting attributes on the newly created resource
|
1120
|
+
# @overload campaign_extension_setting(res)
|
1121
|
+
# creates an operation instance, with the resource to be created
|
1122
|
+
# set to the passed value (res)
|
1123
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CampaignExtensionSetting]
|
1124
|
+
# a resource instance to be used for creation in this operation.
|
1125
|
+
#
|
1126
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation] instance that will create the resource
|
1127
|
+
def self.campaign_extension_setting(res = nil, &blk)
|
1128
|
+
require "google/ads/google_ads/v1/services/campaign_extension_setting_service_pb.rb"
|
1129
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignExtensionSettingOperation.new
|
1130
|
+
if !res.nil?
|
1131
|
+
op["create"] = res
|
1132
|
+
elsif !blk.nil?
|
1133
|
+
op["create"] = Factories::V1::Resources.campaign_extension_setting(&blk)
|
1009
1134
|
end
|
1010
1135
|
|
1011
1136
|
op
|
@@ -1061,31 +1186,6 @@ module Google
|
|
1061
1186
|
op
|
1062
1187
|
end
|
1063
1188
|
|
1064
|
-
# A convenience method for creating an ConversionActionOperation instance with
|
1065
|
-
# its "create" field prepopulated with an ConversionAction instance.
|
1066
|
-
#
|
1067
|
-
# @overload conversion_action
|
1068
|
-
# creates an operation instance, yielding a newly fabricated ConversionAction
|
1069
|
-
# which can be used for setting attributes on the newly created resource
|
1070
|
-
# @overload conversion_action(res)
|
1071
|
-
# creates an operation instance, with the resource to be created
|
1072
|
-
# set to the passed value (res)
|
1073
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::ConversionAction]
|
1074
|
-
# a resource instance to be used for creation in this operation.
|
1075
|
-
#
|
1076
|
-
# @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] instance that will create the resource
|
1077
|
-
def self.conversion_action(res = nil, &blk)
|
1078
|
-
require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
|
1079
|
-
op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
|
1080
|
-
if !res.nil?
|
1081
|
-
op["create"] = res
|
1082
|
-
elsif !blk.nil?
|
1083
|
-
op["create"] = Factories::V1::Resources.conversion_action(&blk)
|
1084
|
-
end
|
1085
|
-
|
1086
|
-
op
|
1087
|
-
end
|
1088
|
-
|
1089
1189
|
# A convenience method for creating an CustomerExtensionSettingOperation instance with
|
1090
1190
|
# its "create" field prepopulated with an CustomerExtensionSetting instance.
|
1091
1191
|
#
|
@@ -1211,31 +1311,6 @@ module Google
|
|
1211
1311
|
op
|
1212
1312
|
end
|
1213
1313
|
|
1214
|
-
# A convenience method for creating an FeedItemOperation instance with
|
1215
|
-
# its "create" field prepopulated with an FeedItem instance.
|
1216
|
-
#
|
1217
|
-
# @overload feed_item
|
1218
|
-
# creates an operation instance, yielding a newly fabricated FeedItem
|
1219
|
-
# which can be used for setting attributes on the newly created resource
|
1220
|
-
# @overload feed_item(res)
|
1221
|
-
# creates an operation instance, with the resource to be created
|
1222
|
-
# set to the passed value (res)
|
1223
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::FeedItem]
|
1224
|
-
# a resource instance to be used for creation in this operation.
|
1225
|
-
#
|
1226
|
-
# @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] instance that will create the resource
|
1227
|
-
def self.feed_item(res = nil, &blk)
|
1228
|
-
require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
|
1229
|
-
op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
|
1230
|
-
if !res.nil?
|
1231
|
-
op["create"] = res
|
1232
|
-
elsif !blk.nil?
|
1233
|
-
op["create"] = Factories::V1::Resources.feed_item(&blk)
|
1234
|
-
end
|
1235
|
-
|
1236
|
-
op
|
1237
|
-
end
|
1238
|
-
|
1239
1314
|
# A convenience method for creating an FeedItemTargetOperation instance with
|
1240
1315
|
# its "create" field prepopulated with an FeedItemTarget instance.
|
1241
1316
|
#
|
@@ -1261,56 +1336,6 @@ module Google
|
|
1261
1336
|
op
|
1262
1337
|
end
|
1263
1338
|
|
1264
|
-
# A convenience method for creating an FeedMappingOperation instance with
|
1265
|
-
# its "create" field prepopulated with an FeedMapping instance.
|
1266
|
-
#
|
1267
|
-
# @overload feed_mapping
|
1268
|
-
# creates an operation instance, yielding a newly fabricated FeedMapping
|
1269
|
-
# which can be used for setting attributes on the newly created resource
|
1270
|
-
# @overload feed_mapping(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::FeedMapping]
|
1274
|
-
# a resource instance to be used for creation in this operation.
|
1275
|
-
#
|
1276
|
-
# @return [Google::Ads::GoogleAds::V1::Services::FeedMappingOperation] instance that will create the resource
|
1277
|
-
def self.feed_mapping(res = nil, &blk)
|
1278
|
-
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
1279
|
-
op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
1280
|
-
if !res.nil?
|
1281
|
-
op["create"] = res
|
1282
|
-
elsif !blk.nil?
|
1283
|
-
op["create"] = Factories::V1::Resources.feed_mapping(&blk)
|
1284
|
-
end
|
1285
|
-
|
1286
|
-
op
|
1287
|
-
end
|
1288
|
-
|
1289
|
-
# A convenience method for creating an FeedOperation instance with
|
1290
|
-
# its "create" field prepopulated with an Feed instance.
|
1291
|
-
#
|
1292
|
-
# @overload feed
|
1293
|
-
# creates an operation instance, yielding a newly fabricated Feed
|
1294
|
-
# which can be used for setting attributes on the newly created resource
|
1295
|
-
# @overload feed(res)
|
1296
|
-
# creates an operation instance, with the resource to be created
|
1297
|
-
# set to the passed value (res)
|
1298
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::Feed]
|
1299
|
-
# a resource instance to be used for creation in this operation.
|
1300
|
-
#
|
1301
|
-
# @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] instance that will create the resource
|
1302
|
-
def self.feed(res = nil, &blk)
|
1303
|
-
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
1304
|
-
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
1305
|
-
if !res.nil?
|
1306
|
-
op["create"] = res
|
1307
|
-
elsif !blk.nil?
|
1308
|
-
op["create"] = Factories::V1::Resources.feed(&blk)
|
1309
|
-
end
|
1310
|
-
|
1311
|
-
op
|
1312
|
-
end
|
1313
|
-
|
1314
1339
|
# A convenience method for creating an LabelOperation instance with
|
1315
1340
|
# its "create" field prepopulated with an Label instance.
|
1316
1341
|
#
|
@@ -1361,26 +1386,26 @@ module Google
|
|
1361
1386
|
op
|
1362
1387
|
end
|
1363
1388
|
|
1364
|
-
# A convenience method for creating an
|
1365
|
-
# its "create" field prepopulated with an
|
1389
|
+
# A convenience method for creating an RemarketingActionOperation instance with
|
1390
|
+
# its "create" field prepopulated with an RemarketingAction instance.
|
1366
1391
|
#
|
1367
|
-
# @overload
|
1368
|
-
# creates an operation instance, yielding a newly fabricated
|
1369
|
-
# which can be used for setting attributes on the newly created resource
|
1370
|
-
# @overload
|
1392
|
+
# @overload remarketing_action
|
1393
|
+
# creates an operation instance, yielding a newly fabricated RemarketingAction
|
1394
|
+
# which can be used for setting attributes on the newly created resource
|
1395
|
+
# @overload remarketing_action(res)
|
1371
1396
|
# creates an operation instance, with the resource to be created
|
1372
1397
|
# set to the passed value (res)
|
1373
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1398
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::RemarketingAction]
|
1374
1399
|
# a resource instance to be used for creation in this operation.
|
1375
1400
|
#
|
1376
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1377
|
-
def self.
|
1378
|
-
require "google/ads/google_ads/v1/services/
|
1379
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1401
|
+
# @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] instance that will create the resource
|
1402
|
+
def self.remarketing_action(res = nil, &blk)
|
1403
|
+
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
1404
|
+
op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
1380
1405
|
if !res.nil?
|
1381
1406
|
op["create"] = res
|
1382
1407
|
elsif !blk.nil?
|
1383
|
-
op["create"] = Factories::V1::Resources.
|
1408
|
+
op["create"] = Factories::V1::Resources.remarketing_action(&blk)
|
1384
1409
|
end
|
1385
1410
|
|
1386
1411
|
op
|
@@ -1436,51 +1461,51 @@ module Google
|
|
1436
1461
|
op
|
1437
1462
|
end
|
1438
1463
|
|
1439
|
-
# A convenience method for creating an
|
1440
|
-
# its "create" field prepopulated with an
|
1464
|
+
# A convenience method for creating an KeywordPlanCampaignOperation instance with
|
1465
|
+
# its "create" field prepopulated with an KeywordPlanCampaign instance.
|
1441
1466
|
#
|
1442
|
-
# @overload
|
1443
|
-
# creates an operation instance, yielding a newly fabricated
|
1467
|
+
# @overload keyword_plan_campaign
|
1468
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanCampaign
|
1444
1469
|
# which can be used for setting attributes on the newly created resource
|
1445
|
-
# @overload
|
1470
|
+
# @overload keyword_plan_campaign(res)
|
1446
1471
|
# creates an operation instance, with the resource to be created
|
1447
1472
|
# set to the passed value (res)
|
1448
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1473
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign]
|
1449
1474
|
# a resource instance to be used for creation in this operation.
|
1450
1475
|
#
|
1451
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1452
|
-
def self.
|
1453
|
-
require "google/ads/google_ads/v1/services/
|
1454
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1476
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] instance that will create the resource
|
1477
|
+
def self.keyword_plan_campaign(res = nil, &blk)
|
1478
|
+
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
|
1479
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
|
1455
1480
|
if !res.nil?
|
1456
1481
|
op["create"] = res
|
1457
1482
|
elsif !blk.nil?
|
1458
|
-
op["create"] = Factories::V1::Resources.
|
1483
|
+
op["create"] = Factories::V1::Resources.keyword_plan_campaign(&blk)
|
1459
1484
|
end
|
1460
1485
|
|
1461
1486
|
op
|
1462
1487
|
end
|
1463
1488
|
|
1464
|
-
# A convenience method for creating an
|
1465
|
-
# its "create" field prepopulated with an
|
1489
|
+
# A convenience method for creating an BillingSetupOperation instance with
|
1490
|
+
# its "create" field prepopulated with an BillingSetup instance.
|
1466
1491
|
#
|
1467
|
-
# @overload
|
1468
|
-
# creates an operation instance, yielding a newly fabricated
|
1492
|
+
# @overload billing_setup
|
1493
|
+
# creates an operation instance, yielding a newly fabricated BillingSetup
|
1469
1494
|
# which can be used for setting attributes on the newly created resource
|
1470
|
-
# @overload
|
1495
|
+
# @overload billing_setup(res)
|
1471
1496
|
# creates an operation instance, with the resource to be created
|
1472
1497
|
# set to the passed value (res)
|
1473
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1498
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::BillingSetup]
|
1474
1499
|
# a resource instance to be used for creation in this operation.
|
1475
1500
|
#
|
1476
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1477
|
-
def self.
|
1478
|
-
require "google/ads/google_ads/v1/services/
|
1479
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1501
|
+
# @return [Google::Ads::GoogleAds::V1::Services::BillingSetupOperation] instance that will create the resource
|
1502
|
+
def self.billing_setup(res = nil, &blk)
|
1503
|
+
require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
|
1504
|
+
op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
|
1480
1505
|
if !res.nil?
|
1481
1506
|
op["create"] = res
|
1482
1507
|
elsif !blk.nil?
|
1483
|
-
op["create"] = Factories::V1::Resources.
|
1508
|
+
op["create"] = Factories::V1::Resources.billing_setup(&blk)
|
1484
1509
|
end
|
1485
1510
|
|
1486
1511
|
op
|
@@ -1511,26 +1536,51 @@ module Google
|
|
1511
1536
|
op
|
1512
1537
|
end
|
1513
1538
|
|
1514
|
-
# A convenience method for creating an
|
1515
|
-
# its "create" field prepopulated with an
|
1539
|
+
# A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
|
1540
|
+
# its "create" field prepopulated with an KeywordPlanNegativeKeyword instance.
|
1516
1541
|
#
|
1517
|
-
# @overload
|
1518
|
-
# creates an operation instance, yielding a newly fabricated
|
1542
|
+
# @overload keyword_plan_negative_keyword
|
1543
|
+
# creates an operation instance, yielding a newly fabricated KeywordPlanNegativeKeyword
|
1519
1544
|
# which can be used for setting attributes on the newly created resource
|
1520
|
-
# @overload
|
1545
|
+
# @overload keyword_plan_negative_keyword(res)
|
1521
1546
|
# creates an operation instance, with the resource to be created
|
1522
1547
|
# set to the passed value (res)
|
1523
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::
|
1548
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword]
|
1524
1549
|
# a resource instance to be used for creation in this operation.
|
1525
1550
|
#
|
1526
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1527
|
-
def self.
|
1528
|
-
require "google/ads/google_ads/v1/services/
|
1529
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1551
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] instance that will create the resource
|
1552
|
+
def self.keyword_plan_negative_keyword(res = nil, &blk)
|
1553
|
+
require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
|
1554
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
|
1530
1555
|
if !res.nil?
|
1531
1556
|
op["create"] = res
|
1532
1557
|
elsif !blk.nil?
|
1533
|
-
op["create"] = Factories::V1::Resources.
|
1558
|
+
op["create"] = Factories::V1::Resources.keyword_plan_negative_keyword(&blk)
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
op
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# A convenience method for creating an CustomInterestOperation instance with
|
1565
|
+
# its "create" field prepopulated with an CustomInterest instance.
|
1566
|
+
#
|
1567
|
+
# @overload custom_interest
|
1568
|
+
# creates an operation instance, yielding a newly fabricated CustomInterest
|
1569
|
+
# which can be used for setting attributes on the newly created resource
|
1570
|
+
# @overload custom_interest(res)
|
1571
|
+
# creates an operation instance, with the resource to be created
|
1572
|
+
# set to the passed value (res)
|
1573
|
+
# @param res [Google::Ads::GoogleAds::V1::Resources::CustomInterest]
|
1574
|
+
# a resource instance to be used for creation in this operation.
|
1575
|
+
#
|
1576
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] instance that will create the resource
|
1577
|
+
def self.custom_interest(res = nil, &blk)
|
1578
|
+
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
1579
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
1580
|
+
if !res.nil?
|
1581
|
+
op["create"] = res
|
1582
|
+
elsif !blk.nil?
|
1583
|
+
op["create"] = Factories::V1::Resources.custom_interest(&blk)
|
1534
1584
|
end
|
1535
1585
|
|
1536
1586
|
op
|
@@ -1560,84 +1610,307 @@ module Google
|
|
1560
1610
|
|
1561
1611
|
op
|
1562
1612
|
end
|
1613
|
+
end
|
1563
1614
|
|
1564
|
-
|
1565
|
-
#
|
1615
|
+
module UpdateResource
|
1616
|
+
# A convenience method for creating an KeywordPlanKeywordOperation instance with
|
1617
|
+
# its "update" field prepopulated with an KeywordPlanKeyword instance, and
|
1618
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
1566
1619
|
#
|
1567
|
-
# @overload
|
1568
|
-
#
|
1569
|
-
#
|
1570
|
-
#
|
1571
|
-
# creates an operation instance, with the resource to be created
|
1572
|
-
# set to the passed value (res)
|
1573
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::BillingSetup]
|
1574
|
-
# a resource instance to be used for creation in this operation.
|
1620
|
+
# @overload #keyword_plan_keyword(path, &blk)
|
1621
|
+
# @param path [String] a resource path for the resource to update
|
1622
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a new instance of the resource for this update operation, on
|
1623
|
+
# which fields can be set to update
|
1575
1624
|
#
|
1576
|
-
# @
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1625
|
+
# @overload #keyword_plan_keyword(resource, &blk)
|
1626
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword] a resource instance to update
|
1627
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1628
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation] the operation instance to update the resource
|
1629
|
+
def self.keyword_plan_keyword(resource_or_path, &blk)
|
1630
|
+
require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
|
1631
|
+
res = case resource_or_path
|
1632
|
+
when Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword
|
1633
|
+
resource_or_path
|
1634
|
+
# got a resource path
|
1635
|
+
when String
|
1636
|
+
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword.new
|
1637
|
+
obj.resource_name = resource_or_path
|
1638
|
+
obj
|
1639
|
+
else
|
1640
|
+
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanKeyword === res
|
1641
|
+
raise ArgumentError.new(
|
1642
|
+
"Called #{__method__} with instance of wrong type:"\
|
1643
|
+
" #{res.class} want #{operation.update_class}"\
|
1644
|
+
" or String representing resource name"
|
1645
|
+
)
|
1646
|
+
end
|
1584
1647
|
end
|
1585
1648
|
|
1649
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
|
1650
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1651
|
+
op["update"] = res
|
1586
1652
|
op
|
1587
1653
|
end
|
1588
1654
|
|
1589
|
-
# A convenience method for creating an
|
1590
|
-
# its "
|
1655
|
+
# A convenience method for creating an FeedOperation instance with
|
1656
|
+
# its "update" field prepopulated with an Feed instance, and
|
1657
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
1591
1658
|
#
|
1592
|
-
# @overload
|
1593
|
-
#
|
1594
|
-
#
|
1595
|
-
#
|
1596
|
-
# creates an operation instance, with the resource to be created
|
1597
|
-
# set to the passed value (res)
|
1598
|
-
# @param res [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup]
|
1599
|
-
# a resource instance to be used for creation in this operation.
|
1659
|
+
# @overload #feed(path, &blk)
|
1660
|
+
# @param path [String] a resource path for the resource to update
|
1661
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::Feed] a new instance of the resource for this update operation, on
|
1662
|
+
# which fields can be set to update
|
1600
1663
|
#
|
1601
|
-
# @
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1664
|
+
# @overload #feed(resource, &blk)
|
1665
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::Feed] a resource instance to update
|
1666
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1667
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedOperation] the operation instance to update the resource
|
1668
|
+
def self.feed(resource_or_path, &blk)
|
1669
|
+
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
1670
|
+
res = case resource_or_path
|
1671
|
+
when Google::Ads::GoogleAds::V1::Resources::Feed
|
1672
|
+
resource_or_path
|
1673
|
+
# got a resource path
|
1674
|
+
when String
|
1675
|
+
obj = Google::Ads::GoogleAds::V1::Resources::Feed.new
|
1676
|
+
obj.resource_name = resource_or_path
|
1677
|
+
obj
|
1678
|
+
else
|
1679
|
+
unless Google::Ads::GoogleAds::V1::Resources::Feed === res
|
1680
|
+
raise ArgumentError.new(
|
1681
|
+
"Called #{__method__} with instance of wrong type:"\
|
1682
|
+
" #{res.class} want #{operation.update_class}"\
|
1683
|
+
" or String representing resource name"
|
1684
|
+
)
|
1685
|
+
end
|
1609
1686
|
end
|
1610
1687
|
|
1688
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
1689
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1690
|
+
op["update"] = res
|
1611
1691
|
op
|
1612
1692
|
end
|
1613
|
-
end
|
1614
1693
|
|
1615
|
-
|
1616
|
-
#
|
1617
|
-
# its "update" field prepopulated with an CustomInterest instance, and
|
1694
|
+
# A convenience method for creating an ConversionActionOperation instance with
|
1695
|
+
# its "update" field prepopulated with an ConversionAction instance, and
|
1618
1696
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1619
1697
|
#
|
1620
|
-
# @overload #
|
1698
|
+
# @overload #conversion_action(path, &blk)
|
1621
1699
|
# @param path [String] a resource path for the resource to update
|
1622
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1700
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::ConversionAction] a new instance of the resource for this update operation, on
|
1623
1701
|
# which fields can be set to update
|
1624
1702
|
#
|
1625
|
-
# @overload #
|
1626
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1703
|
+
# @overload #conversion_action(resource, &blk)
|
1704
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::ConversionAction] a resource instance to update
|
1627
1705
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1628
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1629
|
-
def self.
|
1630
|
-
require "google/ads/google_ads/v1/services/
|
1706
|
+
# @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] the operation instance to update the resource
|
1707
|
+
def self.conversion_action(resource_or_path, &blk)
|
1708
|
+
require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
|
1709
|
+
res = case resource_or_path
|
1710
|
+
when Google::Ads::GoogleAds::V1::Resources::ConversionAction
|
1711
|
+
resource_or_path
|
1712
|
+
# got a resource path
|
1713
|
+
when String
|
1714
|
+
obj = Google::Ads::GoogleAds::V1::Resources::ConversionAction.new
|
1715
|
+
obj.resource_name = resource_or_path
|
1716
|
+
obj
|
1717
|
+
else
|
1718
|
+
unless Google::Ads::GoogleAds::V1::Resources::ConversionAction === res
|
1719
|
+
raise ArgumentError.new(
|
1720
|
+
"Called #{__method__} with instance of wrong type:"\
|
1721
|
+
" #{res.class} want #{operation.update_class}"\
|
1722
|
+
" or String representing resource name"
|
1723
|
+
)
|
1724
|
+
end
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
|
1728
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1729
|
+
op["update"] = res
|
1730
|
+
op
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
# A convenience method for creating an BiddingStrategyOperation instance with
|
1734
|
+
# its "update" field prepopulated with an BiddingStrategy instance, and
|
1735
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
1736
|
+
#
|
1737
|
+
# @overload #bidding_strategy(path, &blk)
|
1738
|
+
# @param path [String] a resource path for the resource to update
|
1739
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy] a new instance of the resource for this update operation, on
|
1740
|
+
# which fields can be set to update
|
1741
|
+
#
|
1742
|
+
# @overload #bidding_strategy(resource, &blk)
|
1743
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy] a resource instance to update
|
1744
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1745
|
+
# @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] the operation instance to update the resource
|
1746
|
+
def self.bidding_strategy(resource_or_path, &blk)
|
1747
|
+
require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
|
1748
|
+
res = case resource_or_path
|
1749
|
+
when Google::Ads::GoogleAds::V1::Resources::BiddingStrategy
|
1750
|
+
resource_or_path
|
1751
|
+
# got a resource path
|
1752
|
+
when String
|
1753
|
+
obj = Google::Ads::GoogleAds::V1::Resources::BiddingStrategy.new
|
1754
|
+
obj.resource_name = resource_or_path
|
1755
|
+
obj
|
1756
|
+
else
|
1757
|
+
unless Google::Ads::GoogleAds::V1::Resources::BiddingStrategy === res
|
1758
|
+
raise ArgumentError.new(
|
1759
|
+
"Called #{__method__} with instance of wrong type:"\
|
1760
|
+
" #{res.class} want #{operation.update_class}"\
|
1761
|
+
" or String representing resource name"
|
1762
|
+
)
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
|
1767
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1768
|
+
op["update"] = res
|
1769
|
+
op
|
1770
|
+
end
|
1771
|
+
|
1772
|
+
# A convenience method for creating an FeedItemOperation instance with
|
1773
|
+
# its "update" field prepopulated with an FeedItem instance, and
|
1774
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
1775
|
+
#
|
1776
|
+
# @overload #feed_item(path, &blk)
|
1777
|
+
# @param path [String] a resource path for the resource to update
|
1778
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::FeedItem] a new instance of the resource for this update operation, on
|
1779
|
+
# which fields can be set to update
|
1780
|
+
#
|
1781
|
+
# @overload #feed_item(resource, &blk)
|
1782
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItem] a resource instance to update
|
1783
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1784
|
+
# @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation instance to update the resource
|
1785
|
+
def self.feed_item(resource_or_path, &blk)
|
1786
|
+
require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
|
1787
|
+
res = case resource_or_path
|
1788
|
+
when Google::Ads::GoogleAds::V1::Resources::FeedItem
|
1789
|
+
resource_or_path
|
1790
|
+
# got a resource path
|
1791
|
+
when String
|
1792
|
+
obj = Google::Ads::GoogleAds::V1::Resources::FeedItem.new
|
1793
|
+
obj.resource_name = resource_or_path
|
1794
|
+
obj
|
1795
|
+
else
|
1796
|
+
unless Google::Ads::GoogleAds::V1::Resources::FeedItem === res
|
1797
|
+
raise ArgumentError.new(
|
1798
|
+
"Called #{__method__} with instance of wrong type:"\
|
1799
|
+
" #{res.class} want #{operation.update_class}"\
|
1800
|
+
" or String representing resource name"
|
1801
|
+
)
|
1802
|
+
end
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
|
1806
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1807
|
+
op["update"] = res
|
1808
|
+
op
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
# A convenience method for creating an CampaignBudgetOperation instance with
|
1812
|
+
# its "update" field prepopulated with an CampaignBudget instance, and
|
1813
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
1814
|
+
#
|
1815
|
+
# @overload #campaign_budget(path, &blk)
|
1816
|
+
# @param path [String] a resource path for the resource to update
|
1817
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignBudget] a new instance of the resource for this update operation, on
|
1818
|
+
# which fields can be set to update
|
1819
|
+
#
|
1820
|
+
# @overload #campaign_budget(resource, &blk)
|
1821
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignBudget] a resource instance to update
|
1822
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1823
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] the operation instance to update the resource
|
1824
|
+
def self.campaign_budget(resource_or_path, &blk)
|
1825
|
+
require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
|
1826
|
+
res = case resource_or_path
|
1827
|
+
when Google::Ads::GoogleAds::V1::Resources::CampaignBudget
|
1828
|
+
resource_or_path
|
1829
|
+
# got a resource path
|
1830
|
+
when String
|
1831
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CampaignBudget.new
|
1832
|
+
obj.resource_name = resource_or_path
|
1833
|
+
obj
|
1834
|
+
else
|
1835
|
+
unless Google::Ads::GoogleAds::V1::Resources::CampaignBudget === res
|
1836
|
+
raise ArgumentError.new(
|
1837
|
+
"Called #{__method__} with instance of wrong type:"\
|
1838
|
+
" #{res.class} want #{operation.update_class}"\
|
1839
|
+
" or String representing resource name"
|
1840
|
+
)
|
1841
|
+
end
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
|
1845
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1846
|
+
op["update"] = res
|
1847
|
+
op
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
# A convenience method for creating an AdGroupBidModifierOperation instance with
|
1851
|
+
# its "update" field prepopulated with an AdGroupBidModifier instance, and
|
1852
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
1853
|
+
#
|
1854
|
+
# @overload #ad_group_bid_modifier(path, &blk)
|
1855
|
+
# @param path [String] a resource path for the resource to update
|
1856
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a new instance of the resource for this update operation, on
|
1857
|
+
# which fields can be set to update
|
1858
|
+
#
|
1859
|
+
# @overload #ad_group_bid_modifier(resource, &blk)
|
1860
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier] a resource instance to update
|
1861
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1862
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation] the operation instance to update the resource
|
1863
|
+
def self.ad_group_bid_modifier(resource_or_path, &blk)
|
1864
|
+
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
|
1865
|
+
res = case resource_or_path
|
1866
|
+
when Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier
|
1867
|
+
resource_or_path
|
1868
|
+
# got a resource path
|
1869
|
+
when String
|
1870
|
+
obj = Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier.new
|
1871
|
+
obj.resource_name = resource_or_path
|
1872
|
+
obj
|
1873
|
+
else
|
1874
|
+
unless Google::Ads::GoogleAds::V1::Resources::AdGroupBidModifier === res
|
1875
|
+
raise ArgumentError.new(
|
1876
|
+
"Called #{__method__} with instance of wrong type:"\
|
1877
|
+
" #{res.class} want #{operation.update_class}"\
|
1878
|
+
" or String representing resource name"
|
1879
|
+
)
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
|
1884
|
+
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1885
|
+
op["update"] = res
|
1886
|
+
op
|
1887
|
+
end
|
1888
|
+
|
1889
|
+
# A convenience method for creating an CustomerOperation instance with
|
1890
|
+
# its "update" field prepopulated with an Customer instance, and
|
1891
|
+
# its "update_mask" field populated as needed to send the updates to the API.
|
1892
|
+
#
|
1893
|
+
# @overload #customer(path, &blk)
|
1894
|
+
# @param path [String] a resource path for the resource to update
|
1895
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::Customer] a new instance of the resource for this update operation, on
|
1896
|
+
# which fields can be set to update
|
1897
|
+
#
|
1898
|
+
# @overload #customer(resource, &blk)
|
1899
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::Customer] a resource instance to update
|
1900
|
+
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1901
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] the operation instance to update the resource
|
1902
|
+
def self.customer(resource_or_path, &blk)
|
1903
|
+
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
1631
1904
|
res = case resource_or_path
|
1632
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1905
|
+
when Google::Ads::GoogleAds::V1::Resources::Customer
|
1633
1906
|
resource_or_path
|
1634
1907
|
# got a resource path
|
1635
1908
|
when String
|
1636
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1909
|
+
obj = Google::Ads::GoogleAds::V1::Resources::Customer.new
|
1637
1910
|
obj.resource_name = resource_or_path
|
1638
1911
|
obj
|
1639
1912
|
else
|
1640
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1913
|
+
unless Google::Ads::GoogleAds::V1::Resources::Customer === res
|
1641
1914
|
raise ArgumentError.new(
|
1642
1915
|
"Called #{__method__} with instance of wrong type:"\
|
1643
1916
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1646,37 +1919,37 @@ module Google
|
|
1646
1919
|
end
|
1647
1920
|
end
|
1648
1921
|
|
1649
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1922
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
1650
1923
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1651
1924
|
op["update"] = res
|
1652
1925
|
op
|
1653
1926
|
end
|
1654
1927
|
|
1655
|
-
# A convenience method for creating an
|
1656
|
-
# its "update" field prepopulated with an
|
1928
|
+
# A convenience method for creating an KeywordPlanAdGroupOperation instance with
|
1929
|
+
# its "update" field prepopulated with an KeywordPlanAdGroup instance, and
|
1657
1930
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1658
1931
|
#
|
1659
|
-
# @overload #
|
1932
|
+
# @overload #keyword_plan_ad_group(path, &blk)
|
1660
1933
|
# @param path [String] a resource path for the resource to update
|
1661
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1934
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a new instance of the resource for this update operation, on
|
1662
1935
|
# which fields can be set to update
|
1663
1936
|
#
|
1664
|
-
# @overload #
|
1665
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1937
|
+
# @overload #keyword_plan_ad_group(resource, &blk)
|
1938
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup] a resource instance to update
|
1666
1939
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1667
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1668
|
-
def self.
|
1669
|
-
require "google/ads/google_ads/v1/services/
|
1940
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation] the operation instance to update the resource
|
1941
|
+
def self.keyword_plan_ad_group(resource_or_path, &blk)
|
1942
|
+
require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
|
1670
1943
|
res = case resource_or_path
|
1671
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1944
|
+
when Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup
|
1672
1945
|
resource_or_path
|
1673
1946
|
# got a resource path
|
1674
1947
|
when String
|
1675
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1948
|
+
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup.new
|
1676
1949
|
obj.resource_name = resource_or_path
|
1677
1950
|
obj
|
1678
1951
|
else
|
1679
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1952
|
+
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanAdGroup === res
|
1680
1953
|
raise ArgumentError.new(
|
1681
1954
|
"Called #{__method__} with instance of wrong type:"\
|
1682
1955
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1685,37 +1958,37 @@ module Google
|
|
1685
1958
|
end
|
1686
1959
|
end
|
1687
1960
|
|
1688
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
1961
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
|
1689
1962
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1690
1963
|
op["update"] = res
|
1691
1964
|
op
|
1692
1965
|
end
|
1693
1966
|
|
1694
|
-
# A convenience method for creating an
|
1695
|
-
# its "update" field prepopulated with an
|
1967
|
+
# A convenience method for creating an CampaignDraftOperation instance with
|
1968
|
+
# its "update" field prepopulated with an CampaignDraft instance, and
|
1696
1969
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1697
1970
|
#
|
1698
|
-
# @overload #
|
1971
|
+
# @overload #campaign_draft(path, &blk)
|
1699
1972
|
# @param path [String] a resource path for the resource to update
|
1700
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
1973
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a new instance of the resource for this update operation, on
|
1701
1974
|
# which fields can be set to update
|
1702
1975
|
#
|
1703
|
-
# @overload #
|
1704
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
1976
|
+
# @overload #campaign_draft(resource, &blk)
|
1977
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignDraft] a resource instance to update
|
1705
1978
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1706
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1707
|
-
def self.
|
1708
|
-
require "google/ads/google_ads/v1/services/
|
1979
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation] the operation instance to update the resource
|
1980
|
+
def self.campaign_draft(resource_or_path, &blk)
|
1981
|
+
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
1709
1982
|
res = case resource_or_path
|
1710
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
1983
|
+
when Google::Ads::GoogleAds::V1::Resources::CampaignDraft
|
1711
1984
|
resource_or_path
|
1712
1985
|
# got a resource path
|
1713
1986
|
when String
|
1714
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
1987
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CampaignDraft.new
|
1715
1988
|
obj.resource_name = resource_or_path
|
1716
1989
|
obj
|
1717
1990
|
else
|
1718
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
1991
|
+
unless Google::Ads::GoogleAds::V1::Resources::CampaignDraft === res
|
1719
1992
|
raise ArgumentError.new(
|
1720
1993
|
"Called #{__method__} with instance of wrong type:"\
|
1721
1994
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1724,37 +1997,37 @@ module Google
|
|
1724
1997
|
end
|
1725
1998
|
end
|
1726
1999
|
|
1727
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2000
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
1728
2001
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1729
2002
|
op["update"] = res
|
1730
2003
|
op
|
1731
2004
|
end
|
1732
2005
|
|
1733
|
-
# A convenience method for creating an
|
1734
|
-
# its "update" field prepopulated with an
|
2006
|
+
# A convenience method for creating an CampaignFeedOperation instance with
|
2007
|
+
# its "update" field prepopulated with an CampaignFeed instance, and
|
1735
2008
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1736
2009
|
#
|
1737
|
-
# @overload #
|
2010
|
+
# @overload #campaign_feed(path, &blk)
|
1738
2011
|
# @param path [String] a resource path for the resource to update
|
1739
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2012
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a new instance of the resource for this update operation, on
|
1740
2013
|
# which fields can be set to update
|
1741
2014
|
#
|
1742
|
-
# @overload #
|
1743
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2015
|
+
# @overload #campaign_feed(resource, &blk)
|
2016
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a resource instance to update
|
1744
2017
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1745
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1746
|
-
def self.
|
1747
|
-
require "google/ads/google_ads/v1/services/
|
2018
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation instance to update the resource
|
2019
|
+
def self.campaign_feed(resource_or_path, &blk)
|
2020
|
+
require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
|
1748
2021
|
res = case resource_or_path
|
1749
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2022
|
+
when Google::Ads::GoogleAds::V1::Resources::CampaignFeed
|
1750
2023
|
resource_or_path
|
1751
2024
|
# got a resource path
|
1752
2025
|
when String
|
1753
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2026
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CampaignFeed.new
|
1754
2027
|
obj.resource_name = resource_or_path
|
1755
2028
|
obj
|
1756
2029
|
else
|
1757
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2030
|
+
unless Google::Ads::GoogleAds::V1::Resources::CampaignFeed === res
|
1758
2031
|
raise ArgumentError.new(
|
1759
2032
|
"Called #{__method__} with instance of wrong type:"\
|
1760
2033
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1763,37 +2036,37 @@ module Google
|
|
1763
2036
|
end
|
1764
2037
|
end
|
1765
2038
|
|
1766
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2039
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
1767
2040
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1768
2041
|
op["update"] = res
|
1769
2042
|
op
|
1770
2043
|
end
|
1771
2044
|
|
1772
|
-
# A convenience method for creating an
|
1773
|
-
# its "update" field prepopulated with an
|
2045
|
+
# A convenience method for creating an AdGroupCriterionOperation instance with
|
2046
|
+
# its "update" field prepopulated with an AdGroupCriterion instance, and
|
1774
2047
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1775
2048
|
#
|
1776
|
-
# @overload #
|
2049
|
+
# @overload #ad_group_criterion(path, &blk)
|
1777
2050
|
# @param path [String] a resource path for the resource to update
|
1778
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2051
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion] a new instance of the resource for this update operation, on
|
1779
2052
|
# which fields can be set to update
|
1780
2053
|
#
|
1781
|
-
# @overload #
|
1782
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2054
|
+
# @overload #ad_group_criterion(resource, &blk)
|
2055
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion] a resource instance to update
|
1783
2056
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1784
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1785
|
-
def self.
|
1786
|
-
require "google/ads/google_ads/v1/services/
|
2057
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation] the operation instance to update the resource
|
2058
|
+
def self.ad_group_criterion(resource_or_path, &blk)
|
2059
|
+
require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
|
1787
2060
|
res = case resource_or_path
|
1788
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2061
|
+
when Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion
|
1789
2062
|
resource_or_path
|
1790
2063
|
# got a resource path
|
1791
2064
|
when String
|
1792
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2065
|
+
obj = Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion.new
|
1793
2066
|
obj.resource_name = resource_or_path
|
1794
2067
|
obj
|
1795
2068
|
else
|
1796
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2069
|
+
unless Google::Ads::GoogleAds::V1::Resources::AdGroupCriterion === res
|
1797
2070
|
raise ArgumentError.new(
|
1798
2071
|
"Called #{__method__} with instance of wrong type:"\
|
1799
2072
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1802,37 +2075,37 @@ module Google
|
|
1802
2075
|
end
|
1803
2076
|
end
|
1804
2077
|
|
1805
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2078
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
|
1806
2079
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1807
2080
|
op["update"] = res
|
1808
2081
|
op
|
1809
2082
|
end
|
1810
2083
|
|
1811
|
-
# A convenience method for creating an
|
1812
|
-
# its "update" field prepopulated with an
|
2084
|
+
# A convenience method for creating an AdGroupAdOperation instance with
|
2085
|
+
# its "update" field prepopulated with an AdGroupAd instance, and
|
1813
2086
|
# its "update_mask" field populated as needed to send the updates to the API.
|
1814
2087
|
#
|
1815
|
-
# @overload #
|
2088
|
+
# @overload #ad_group_ad(path, &blk)
|
1816
2089
|
# @param path [String] a resource path for the resource to update
|
1817
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2090
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::AdGroupAd] a new instance of the resource for this update operation, on
|
1818
2091
|
# which fields can be set to update
|
1819
2092
|
#
|
1820
|
-
# @overload #
|
1821
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2093
|
+
# @overload #ad_group_ad(resource, &blk)
|
2094
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::AdGroupAd] a resource instance to update
|
1822
2095
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
1823
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
1824
|
-
def self.
|
1825
|
-
require "google/ads/google_ads/v1/services/
|
2096
|
+
# @return [Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation] the operation instance to update the resource
|
2097
|
+
def self.ad_group_ad(resource_or_path, &blk)
|
2098
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
|
1826
2099
|
res = case resource_or_path
|
1827
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2100
|
+
when Google::Ads::GoogleAds::V1::Resources::AdGroupAd
|
1828
2101
|
resource_or_path
|
1829
2102
|
# got a resource path
|
1830
2103
|
when String
|
1831
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2104
|
+
obj = Google::Ads::GoogleAds::V1::Resources::AdGroupAd.new
|
1832
2105
|
obj.resource_name = resource_or_path
|
1833
2106
|
obj
|
1834
2107
|
else
|
1835
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2108
|
+
unless Google::Ads::GoogleAds::V1::Resources::AdGroupAd === res
|
1836
2109
|
raise ArgumentError.new(
|
1837
2110
|
"Called #{__method__} with instance of wrong type:"\
|
1838
2111
|
" #{res.class} want #{operation.update_class}"\
|
@@ -1841,7 +2114,7 @@ module Google
|
|
1841
2114
|
end
|
1842
2115
|
end
|
1843
2116
|
|
1844
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2117
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
|
1845
2118
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
1846
2119
|
op["update"] = res
|
1847
2120
|
op
|
@@ -2003,45 +2276,6 @@ module Google
|
|
2003
2276
|
op
|
2004
2277
|
end
|
2005
2278
|
|
2006
|
-
# A convenience method for creating an BiddingStrategyOperation instance with
|
2007
|
-
# its "update" field prepopulated with an BiddingStrategy instance, and
|
2008
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2009
|
-
#
|
2010
|
-
# @overload #bidding_strategy(path, &blk)
|
2011
|
-
# @param path [String] a resource path for the resource to update
|
2012
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy] a new instance of the resource for this update operation, on
|
2013
|
-
# which fields can be set to update
|
2014
|
-
#
|
2015
|
-
# @overload #bidding_strategy(resource, &blk)
|
2016
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::BiddingStrategy] a resource instance to update
|
2017
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2018
|
-
# @return [Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation] the operation instance to update the resource
|
2019
|
-
def self.bidding_strategy(resource_or_path, &blk)
|
2020
|
-
require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
|
2021
|
-
res = case resource_or_path
|
2022
|
-
when Google::Ads::GoogleAds::V1::Resources::BiddingStrategy
|
2023
|
-
resource_or_path
|
2024
|
-
# got a resource path
|
2025
|
-
when String
|
2026
|
-
obj = Google::Ads::GoogleAds::V1::Resources::BiddingStrategy.new
|
2027
|
-
obj.resource_name = resource_or_path
|
2028
|
-
obj
|
2029
|
-
else
|
2030
|
-
unless Google::Ads::GoogleAds::V1::Resources::BiddingStrategy === res
|
2031
|
-
raise ArgumentError.new(
|
2032
|
-
"Called #{__method__} with instance of wrong type:"\
|
2033
|
-
" #{res.class} want #{operation.update_class}"\
|
2034
|
-
" or String representing resource name"
|
2035
|
-
)
|
2036
|
-
end
|
2037
|
-
end
|
2038
|
-
|
2039
|
-
op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
|
2040
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2041
|
-
op["update"] = res
|
2042
|
-
op
|
2043
|
-
end
|
2044
|
-
|
2045
2279
|
# A convenience method for creating an CampaignBidModifierOperation instance with
|
2046
2280
|
# its "update" field prepopulated with an CampaignBidModifier instance, and
|
2047
2281
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2075,115 +2309,37 @@ module Google
|
|
2075
2309
|
end
|
2076
2310
|
end
|
2077
2311
|
|
2078
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
2079
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2080
|
-
op["update"] = res
|
2081
|
-
op
|
2082
|
-
end
|
2083
|
-
|
2084
|
-
# A convenience method for creating an CampaignBudgetOperation instance with
|
2085
|
-
# its "update" field prepopulated with an CampaignBudget instance, and
|
2086
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2087
|
-
#
|
2088
|
-
# @overload #campaign_budget(path, &blk)
|
2089
|
-
# @param path [String] a resource path for the resource to update
|
2090
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignBudget] a new instance of the resource for this update operation, on
|
2091
|
-
# which fields can be set to update
|
2092
|
-
#
|
2093
|
-
# @overload #campaign_budget(resource, &blk)
|
2094
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignBudget] a resource instance to update
|
2095
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2096
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation] the operation instance to update the resource
|
2097
|
-
def self.campaign_budget(resource_or_path, &blk)
|
2098
|
-
require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
|
2099
|
-
res = case resource_or_path
|
2100
|
-
when Google::Ads::GoogleAds::V1::Resources::CampaignBudget
|
2101
|
-
resource_or_path
|
2102
|
-
# got a resource path
|
2103
|
-
when String
|
2104
|
-
obj = Google::Ads::GoogleAds::V1::Resources::CampaignBudget.new
|
2105
|
-
obj.resource_name = resource_or_path
|
2106
|
-
obj
|
2107
|
-
else
|
2108
|
-
unless Google::Ads::GoogleAds::V1::Resources::CampaignBudget === res
|
2109
|
-
raise ArgumentError.new(
|
2110
|
-
"Called #{__method__} with instance of wrong type:"\
|
2111
|
-
" #{res.class} want #{operation.update_class}"\
|
2112
|
-
" or String representing resource name"
|
2113
|
-
)
|
2114
|
-
end
|
2115
|
-
end
|
2116
|
-
|
2117
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
|
2118
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2119
|
-
op["update"] = res
|
2120
|
-
op
|
2121
|
-
end
|
2122
|
-
|
2123
|
-
# A convenience method for creating an CampaignCriterionOperation instance with
|
2124
|
-
# its "update" field prepopulated with an CampaignCriterion instance, and
|
2125
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2126
|
-
#
|
2127
|
-
# @overload #campaign_criterion(path, &blk)
|
2128
|
-
# @param path [String] a resource path for the resource to update
|
2129
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a new instance of the resource for this update operation, on
|
2130
|
-
# which fields can be set to update
|
2131
|
-
#
|
2132
|
-
# @overload #campaign_criterion(resource, &blk)
|
2133
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a resource instance to update
|
2134
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2135
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation instance to update the resource
|
2136
|
-
def self.campaign_criterion(resource_or_path, &blk)
|
2137
|
-
require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
|
2138
|
-
res = case resource_or_path
|
2139
|
-
when Google::Ads::GoogleAds::V1::Resources::CampaignCriterion
|
2140
|
-
resource_or_path
|
2141
|
-
# got a resource path
|
2142
|
-
when String
|
2143
|
-
obj = Google::Ads::GoogleAds::V1::Resources::CampaignCriterion.new
|
2144
|
-
obj.resource_name = resource_or_path
|
2145
|
-
obj
|
2146
|
-
else
|
2147
|
-
unless Google::Ads::GoogleAds::V1::Resources::CampaignCriterion === res
|
2148
|
-
raise ArgumentError.new(
|
2149
|
-
"Called #{__method__} with instance of wrong type:"\
|
2150
|
-
" #{res.class} want #{operation.update_class}"\
|
2151
|
-
" or String representing resource name"
|
2152
|
-
)
|
2153
|
-
end
|
2154
|
-
end
|
2155
|
-
|
2156
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
|
2312
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignBidModifierOperation.new
|
2157
2313
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2158
2314
|
op["update"] = res
|
2159
2315
|
op
|
2160
2316
|
end
|
2161
2317
|
|
2162
|
-
# A convenience method for creating an
|
2163
|
-
# its "update" field prepopulated with an
|
2318
|
+
# A convenience method for creating an CampaignCriterionOperation instance with
|
2319
|
+
# its "update" field prepopulated with an CampaignCriterion instance, and
|
2164
2320
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2165
2321
|
#
|
2166
|
-
# @overload #
|
2322
|
+
# @overload #campaign_criterion(path, &blk)
|
2167
2323
|
# @param path [String] a resource path for the resource to update
|
2168
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2324
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a new instance of the resource for this update operation, on
|
2169
2325
|
# which fields can be set to update
|
2170
2326
|
#
|
2171
|
-
# @overload #
|
2172
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2327
|
+
# @overload #campaign_criterion(resource, &blk)
|
2328
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignCriterion] a resource instance to update
|
2173
2329
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2174
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2175
|
-
def self.
|
2176
|
-
require "google/ads/google_ads/v1/services/
|
2330
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation] the operation instance to update the resource
|
2331
|
+
def self.campaign_criterion(resource_or_path, &blk)
|
2332
|
+
require "google/ads/google_ads/v1/services/campaign_criterion_service_pb.rb"
|
2177
2333
|
res = case resource_or_path
|
2178
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2334
|
+
when Google::Ads::GoogleAds::V1::Resources::CampaignCriterion
|
2179
2335
|
resource_or_path
|
2180
2336
|
# got a resource path
|
2181
2337
|
when String
|
2182
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2338
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CampaignCriterion.new
|
2183
2339
|
obj.resource_name = resource_or_path
|
2184
2340
|
obj
|
2185
2341
|
else
|
2186
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2342
|
+
unless Google::Ads::GoogleAds::V1::Resources::CampaignCriterion === res
|
2187
2343
|
raise ArgumentError.new(
|
2188
2344
|
"Called #{__method__} with instance of wrong type:"\
|
2189
2345
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2192,7 +2348,7 @@ module Google
|
|
2192
2348
|
end
|
2193
2349
|
end
|
2194
2350
|
|
2195
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2351
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignCriterionOperation.new
|
2196
2352
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2197
2353
|
op["update"] = res
|
2198
2354
|
op
|
@@ -2276,45 +2432,6 @@ module Google
|
|
2276
2432
|
op
|
2277
2433
|
end
|
2278
2434
|
|
2279
|
-
# A convenience method for creating an CampaignFeedOperation instance with
|
2280
|
-
# its "update" field prepopulated with an CampaignFeed instance, and
|
2281
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2282
|
-
#
|
2283
|
-
# @overload #campaign_feed(path, &blk)
|
2284
|
-
# @param path [String] a resource path for the resource to update
|
2285
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a new instance of the resource for this update operation, on
|
2286
|
-
# which fields can be set to update
|
2287
|
-
#
|
2288
|
-
# @overload #campaign_feed(resource, &blk)
|
2289
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::CampaignFeed] a resource instance to update
|
2290
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2291
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation] the operation instance to update the resource
|
2292
|
-
def self.campaign_feed(resource_or_path, &blk)
|
2293
|
-
require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
|
2294
|
-
res = case resource_or_path
|
2295
|
-
when Google::Ads::GoogleAds::V1::Resources::CampaignFeed
|
2296
|
-
resource_or_path
|
2297
|
-
# got a resource path
|
2298
|
-
when String
|
2299
|
-
obj = Google::Ads::GoogleAds::V1::Resources::CampaignFeed.new
|
2300
|
-
obj.resource_name = resource_or_path
|
2301
|
-
obj
|
2302
|
-
else
|
2303
|
-
unless Google::Ads::GoogleAds::V1::Resources::CampaignFeed === res
|
2304
|
-
raise ArgumentError.new(
|
2305
|
-
"Called #{__method__} with instance of wrong type:"\
|
2306
|
-
" #{res.class} want #{operation.update_class}"\
|
2307
|
-
" or String representing resource name"
|
2308
|
-
)
|
2309
|
-
end
|
2310
|
-
end
|
2311
|
-
|
2312
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
2313
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2314
|
-
op["update"] = res
|
2315
|
-
op
|
2316
|
-
end
|
2317
|
-
|
2318
2435
|
# A convenience method for creating an CampaignOperation instance with
|
2319
2436
|
# its "update" field prepopulated with an Campaign instance, and
|
2320
2437
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2354,45 +2471,6 @@ module Google
|
|
2354
2471
|
op
|
2355
2472
|
end
|
2356
2473
|
|
2357
|
-
# A convenience method for creating an ConversionActionOperation instance with
|
2358
|
-
# its "update" field prepopulated with an ConversionAction instance, and
|
2359
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2360
|
-
#
|
2361
|
-
# @overload #conversion_action(path, &blk)
|
2362
|
-
# @param path [String] a resource path for the resource to update
|
2363
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::ConversionAction] a new instance of the resource for this update operation, on
|
2364
|
-
# which fields can be set to update
|
2365
|
-
#
|
2366
|
-
# @overload #conversion_action(resource, &blk)
|
2367
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::ConversionAction] a resource instance to update
|
2368
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2369
|
-
# @return [Google::Ads::GoogleAds::V1::Services::ConversionActionOperation] the operation instance to update the resource
|
2370
|
-
def self.conversion_action(resource_or_path, &blk)
|
2371
|
-
require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
|
2372
|
-
res = case resource_or_path
|
2373
|
-
when Google::Ads::GoogleAds::V1::Resources::ConversionAction
|
2374
|
-
resource_or_path
|
2375
|
-
# got a resource path
|
2376
|
-
when String
|
2377
|
-
obj = Google::Ads::GoogleAds::V1::Resources::ConversionAction.new
|
2378
|
-
obj.resource_name = resource_or_path
|
2379
|
-
obj
|
2380
|
-
else
|
2381
|
-
unless Google::Ads::GoogleAds::V1::Resources::ConversionAction === res
|
2382
|
-
raise ArgumentError.new(
|
2383
|
-
"Called #{__method__} with instance of wrong type:"\
|
2384
|
-
" #{res.class} want #{operation.update_class}"\
|
2385
|
-
" or String representing resource name"
|
2386
|
-
)
|
2387
|
-
end
|
2388
|
-
end
|
2389
|
-
|
2390
|
-
op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
|
2391
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2392
|
-
op["update"] = res
|
2393
|
-
op
|
2394
|
-
end
|
2395
|
-
|
2396
2474
|
# A convenience method for creating an CustomerExtensionSettingOperation instance with
|
2397
2475
|
# its "update" field prepopulated with an CustomerExtensionSetting instance, and
|
2398
2476
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2471,45 +2549,6 @@ module Google
|
|
2471
2549
|
op
|
2472
2550
|
end
|
2473
2551
|
|
2474
|
-
# A convenience method for creating an CustomerOperation instance with
|
2475
|
-
# its "update" field prepopulated with an Customer instance, and
|
2476
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2477
|
-
#
|
2478
|
-
# @overload #customer(path, &blk)
|
2479
|
-
# @param path [String] a resource path for the resource to update
|
2480
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::Customer] a new instance of the resource for this update operation, on
|
2481
|
-
# which fields can be set to update
|
2482
|
-
#
|
2483
|
-
# @overload #customer(resource, &blk)
|
2484
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::Customer] a resource instance to update
|
2485
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2486
|
-
# @return [Google::Ads::GoogleAds::V1::Services::CustomerOperation] the operation instance to update the resource
|
2487
|
-
def self.customer(resource_or_path, &blk)
|
2488
|
-
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
2489
|
-
res = case resource_or_path
|
2490
|
-
when Google::Ads::GoogleAds::V1::Resources::Customer
|
2491
|
-
resource_or_path
|
2492
|
-
# got a resource path
|
2493
|
-
when String
|
2494
|
-
obj = Google::Ads::GoogleAds::V1::Resources::Customer.new
|
2495
|
-
obj.resource_name = resource_or_path
|
2496
|
-
obj
|
2497
|
-
else
|
2498
|
-
unless Google::Ads::GoogleAds::V1::Resources::Customer === res
|
2499
|
-
raise ArgumentError.new(
|
2500
|
-
"Called #{__method__} with instance of wrong type:"\
|
2501
|
-
" #{res.class} want #{operation.update_class}"\
|
2502
|
-
" or String representing resource name"
|
2503
|
-
)
|
2504
|
-
end
|
2505
|
-
end
|
2506
|
-
|
2507
|
-
op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
2508
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2509
|
-
op["update"] = res
|
2510
|
-
op
|
2511
|
-
end
|
2512
|
-
|
2513
2552
|
# A convenience method for creating an ExtensionFeedItemOperation instance with
|
2514
2553
|
# its "update" field prepopulated with an ExtensionFeedItem instance, and
|
2515
2554
|
# its "update_mask" field populated as needed to send the updates to the API.
|
@@ -2549,70 +2588,31 @@ module Google
|
|
2549
2588
|
op
|
2550
2589
|
end
|
2551
2590
|
|
2552
|
-
# A convenience method for creating an
|
2553
|
-
# its "update" field prepopulated with an
|
2554
|
-
# its "update_mask" field populated as needed to send the updates to the API.
|
2555
|
-
#
|
2556
|
-
# @overload #feed_item(path, &blk)
|
2557
|
-
# @param path [String] a resource path for the resource to update
|
2558
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::FeedItem] a new instance of the resource for this update operation, on
|
2559
|
-
# which fields can be set to update
|
2560
|
-
#
|
2561
|
-
# @overload #feed_item(resource, &blk)
|
2562
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::FeedItem] a resource instance to update
|
2563
|
-
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2564
|
-
# @return [Google::Ads::GoogleAds::V1::Services::FeedItemOperation] the operation instance to update the resource
|
2565
|
-
def self.feed_item(resource_or_path, &blk)
|
2566
|
-
require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
|
2567
|
-
res = case resource_or_path
|
2568
|
-
when Google::Ads::GoogleAds::V1::Resources::FeedItem
|
2569
|
-
resource_or_path
|
2570
|
-
# got a resource path
|
2571
|
-
when String
|
2572
|
-
obj = Google::Ads::GoogleAds::V1::Resources::FeedItem.new
|
2573
|
-
obj.resource_name = resource_or_path
|
2574
|
-
obj
|
2575
|
-
else
|
2576
|
-
unless Google::Ads::GoogleAds::V1::Resources::FeedItem === res
|
2577
|
-
raise ArgumentError.new(
|
2578
|
-
"Called #{__method__} with instance of wrong type:"\
|
2579
|
-
" #{res.class} want #{operation.update_class}"\
|
2580
|
-
" or String representing resource name"
|
2581
|
-
)
|
2582
|
-
end
|
2583
|
-
end
|
2584
|
-
|
2585
|
-
op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
|
2586
|
-
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2587
|
-
op["update"] = res
|
2588
|
-
op
|
2589
|
-
end
|
2590
|
-
|
2591
|
-
# A convenience method for creating an FeedOperation instance with
|
2592
|
-
# its "update" field prepopulated with an Feed instance, and
|
2591
|
+
# A convenience method for creating an LabelOperation instance with
|
2592
|
+
# its "update" field prepopulated with an Label instance, and
|
2593
2593
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2594
2594
|
#
|
2595
|
-
# @overload #
|
2595
|
+
# @overload #label(path, &blk)
|
2596
2596
|
# @param path [String] a resource path for the resource to update
|
2597
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2597
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::Label] a new instance of the resource for this update operation, on
|
2598
2598
|
# which fields can be set to update
|
2599
2599
|
#
|
2600
|
-
# @overload #
|
2601
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2600
|
+
# @overload #label(resource, &blk)
|
2601
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::Label] a resource instance to update
|
2602
2602
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2603
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2604
|
-
def self.
|
2605
|
-
require "google/ads/google_ads/v1/services/
|
2603
|
+
# @return [Google::Ads::GoogleAds::V1::Services::LabelOperation] the operation instance to update the resource
|
2604
|
+
def self.label(resource_or_path, &blk)
|
2605
|
+
require "google/ads/google_ads/v1/services/label_service_pb.rb"
|
2606
2606
|
res = case resource_or_path
|
2607
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2607
|
+
when Google::Ads::GoogleAds::V1::Resources::Label
|
2608
2608
|
resource_or_path
|
2609
2609
|
# got a resource path
|
2610
2610
|
when String
|
2611
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2611
|
+
obj = Google::Ads::GoogleAds::V1::Resources::Label.new
|
2612
2612
|
obj.resource_name = resource_or_path
|
2613
2613
|
obj
|
2614
2614
|
else
|
2615
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2615
|
+
unless Google::Ads::GoogleAds::V1::Resources::Label === res
|
2616
2616
|
raise ArgumentError.new(
|
2617
2617
|
"Called #{__method__} with instance of wrong type:"\
|
2618
2618
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2621,37 +2621,37 @@ module Google
|
|
2621
2621
|
end
|
2622
2622
|
end
|
2623
2623
|
|
2624
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2624
|
+
op = Google::Ads::GoogleAds::V1::Services::LabelOperation.new
|
2625
2625
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2626
2626
|
op["update"] = res
|
2627
2627
|
op
|
2628
2628
|
end
|
2629
2629
|
|
2630
|
-
# A convenience method for creating an
|
2631
|
-
# its "update" field prepopulated with an
|
2630
|
+
# A convenience method for creating an RemarketingActionOperation instance with
|
2631
|
+
# its "update" field prepopulated with an RemarketingAction instance, and
|
2632
2632
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2633
2633
|
#
|
2634
|
-
# @overload #
|
2634
|
+
# @overload #remarketing_action(path, &blk)
|
2635
2635
|
# @param path [String] a resource path for the resource to update
|
2636
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2636
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a new instance of the resource for this update operation, on
|
2637
2637
|
# which fields can be set to update
|
2638
2638
|
#
|
2639
|
-
# @overload #
|
2640
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2639
|
+
# @overload #remarketing_action(resource, &blk)
|
2640
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::RemarketingAction] a resource instance to update
|
2641
2641
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2642
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2643
|
-
def self.
|
2644
|
-
require "google/ads/google_ads/v1/services/
|
2642
|
+
# @return [Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation] the operation instance to update the resource
|
2643
|
+
def self.remarketing_action(resource_or_path, &blk)
|
2644
|
+
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
2645
2645
|
res = case resource_or_path
|
2646
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2646
|
+
when Google::Ads::GoogleAds::V1::Resources::RemarketingAction
|
2647
2647
|
resource_or_path
|
2648
2648
|
# got a resource path
|
2649
2649
|
when String
|
2650
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2650
|
+
obj = Google::Ads::GoogleAds::V1::Resources::RemarketingAction.new
|
2651
2651
|
obj.resource_name = resource_or_path
|
2652
2652
|
obj
|
2653
2653
|
else
|
2654
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2654
|
+
unless Google::Ads::GoogleAds::V1::Resources::RemarketingAction === res
|
2655
2655
|
raise ArgumentError.new(
|
2656
2656
|
"Called #{__method__} with instance of wrong type:"\
|
2657
2657
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2660,7 +2660,7 @@ module Google
|
|
2660
2660
|
end
|
2661
2661
|
end
|
2662
2662
|
|
2663
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2663
|
+
op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
2664
2664
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2665
2665
|
op["update"] = res
|
2666
2666
|
op
|
@@ -2744,31 +2744,31 @@ module Google
|
|
2744
2744
|
op
|
2745
2745
|
end
|
2746
2746
|
|
2747
|
-
# A convenience method for creating an
|
2748
|
-
# its "update" field prepopulated with an
|
2747
|
+
# A convenience method for creating an KeywordPlanCampaignOperation instance with
|
2748
|
+
# its "update" field prepopulated with an KeywordPlanCampaign instance, and
|
2749
2749
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2750
2750
|
#
|
2751
|
-
# @overload #
|
2751
|
+
# @overload #keyword_plan_campaign(path, &blk)
|
2752
2752
|
# @param path [String] a resource path for the resource to update
|
2753
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2753
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a new instance of the resource for this update operation, on
|
2754
2754
|
# which fields can be set to update
|
2755
2755
|
#
|
2756
|
-
# @overload #
|
2757
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2756
|
+
# @overload #keyword_plan_campaign(resource, &blk)
|
2757
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign] a resource instance to update
|
2758
2758
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2759
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2760
|
-
def self.
|
2761
|
-
require "google/ads/google_ads/v1/services/
|
2759
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation] the operation instance to update the resource
|
2760
|
+
def self.keyword_plan_campaign(resource_or_path, &blk)
|
2761
|
+
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
|
2762
2762
|
res = case resource_or_path
|
2763
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2763
|
+
when Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign
|
2764
2764
|
resource_or_path
|
2765
2765
|
# got a resource path
|
2766
2766
|
when String
|
2767
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2767
|
+
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign.new
|
2768
2768
|
obj.resource_name = resource_or_path
|
2769
2769
|
obj
|
2770
2770
|
else
|
2771
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2771
|
+
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanCampaign === res
|
2772
2772
|
raise ArgumentError.new(
|
2773
2773
|
"Called #{__method__} with instance of wrong type:"\
|
2774
2774
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2777,37 +2777,37 @@ module Google
|
|
2777
2777
|
end
|
2778
2778
|
end
|
2779
2779
|
|
2780
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2780
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
|
2781
2781
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2782
2782
|
op["update"] = res
|
2783
2783
|
op
|
2784
2784
|
end
|
2785
2785
|
|
2786
|
-
# A convenience method for creating an
|
2787
|
-
# its "update" field prepopulated with an
|
2786
|
+
# A convenience method for creating an MerchantCenterLinkOperation instance with
|
2787
|
+
# its "update" field prepopulated with an MerchantCenterLink instance, and
|
2788
2788
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2789
2789
|
#
|
2790
|
-
# @overload #
|
2790
|
+
# @overload #merchant_center_link(path, &blk)
|
2791
2791
|
# @param path [String] a resource path for the resource to update
|
2792
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2792
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink] a new instance of the resource for this update operation, on
|
2793
2793
|
# which fields can be set to update
|
2794
2794
|
#
|
2795
|
-
# @overload #
|
2796
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2795
|
+
# @overload #merchant_center_link(resource, &blk)
|
2796
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink] a resource instance to update
|
2797
2797
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2798
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2799
|
-
def self.
|
2800
|
-
require "google/ads/google_ads/v1/services/
|
2798
|
+
# @return [Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation] the operation instance to update the resource
|
2799
|
+
def self.merchant_center_link(resource_or_path, &blk)
|
2800
|
+
require "google/ads/google_ads/v1/services/merchant_center_link_service_pb.rb"
|
2801
2801
|
res = case resource_or_path
|
2802
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2802
|
+
when Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink
|
2803
2803
|
resource_or_path
|
2804
2804
|
# got a resource path
|
2805
2805
|
when String
|
2806
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2806
|
+
obj = Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink.new
|
2807
2807
|
obj.resource_name = resource_or_path
|
2808
2808
|
obj
|
2809
2809
|
else
|
2810
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2810
|
+
unless Google::Ads::GoogleAds::V1::Resources::MerchantCenterLink === res
|
2811
2811
|
raise ArgumentError.new(
|
2812
2812
|
"Called #{__method__} with instance of wrong type:"\
|
2813
2813
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2816,7 +2816,7 @@ module Google
|
|
2816
2816
|
end
|
2817
2817
|
end
|
2818
2818
|
|
2819
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2819
|
+
op = Google::Ads::GoogleAds::V1::Services::MerchantCenterLinkOperation.new
|
2820
2820
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2821
2821
|
op["update"] = res
|
2822
2822
|
op
|
@@ -2861,31 +2861,31 @@ module Google
|
|
2861
2861
|
op
|
2862
2862
|
end
|
2863
2863
|
|
2864
|
-
# A convenience method for creating an
|
2865
|
-
# its "update" field prepopulated with an
|
2864
|
+
# A convenience method for creating an CustomerManagerLinkOperation instance with
|
2865
|
+
# its "update" field prepopulated with an CustomerManagerLink instance, and
|
2866
2866
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2867
2867
|
#
|
2868
|
-
# @overload #
|
2868
|
+
# @overload #customer_manager_link(path, &blk)
|
2869
2869
|
# @param path [String] a resource path for the resource to update
|
2870
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2870
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink] a new instance of the resource for this update operation, on
|
2871
2871
|
# which fields can be set to update
|
2872
2872
|
#
|
2873
|
-
# @overload #
|
2874
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2873
|
+
# @overload #customer_manager_link(resource, &blk)
|
2874
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink] a resource instance to update
|
2875
2875
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2876
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2877
|
-
def self.
|
2878
|
-
require "google/ads/google_ads/v1/services/
|
2876
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation] the operation instance to update the resource
|
2877
|
+
def self.customer_manager_link(resource_or_path, &blk)
|
2878
|
+
require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
|
2879
2879
|
res = case resource_or_path
|
2880
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2880
|
+
when Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink
|
2881
2881
|
resource_or_path
|
2882
2882
|
# got a resource path
|
2883
2883
|
when String
|
2884
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2884
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink.new
|
2885
2885
|
obj.resource_name = resource_or_path
|
2886
2886
|
obj
|
2887
2887
|
else
|
2888
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2888
|
+
unless Google::Ads::GoogleAds::V1::Resources::CustomerManagerLink === res
|
2889
2889
|
raise ArgumentError.new(
|
2890
2890
|
"Called #{__method__} with instance of wrong type:"\
|
2891
2891
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2894,37 +2894,37 @@ module Google
|
|
2894
2894
|
end
|
2895
2895
|
end
|
2896
2896
|
|
2897
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2897
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
|
2898
2898
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2899
2899
|
op["update"] = res
|
2900
2900
|
op
|
2901
2901
|
end
|
2902
2902
|
|
2903
|
-
# A convenience method for creating an
|
2904
|
-
# its "update" field prepopulated with an
|
2903
|
+
# A convenience method for creating an KeywordPlanNegativeKeywordOperation instance with
|
2904
|
+
# its "update" field prepopulated with an KeywordPlanNegativeKeyword instance, and
|
2905
2905
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2906
2906
|
#
|
2907
|
-
# @overload #
|
2907
|
+
# @overload #keyword_plan_negative_keyword(path, &blk)
|
2908
2908
|
# @param path [String] a resource path for the resource to update
|
2909
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2909
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword] a new instance of the resource for this update operation, on
|
2910
2910
|
# which fields can be set to update
|
2911
2911
|
#
|
2912
|
-
# @overload #
|
2913
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2912
|
+
# @overload #keyword_plan_negative_keyword(resource, &blk)
|
2913
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword] a resource instance to update
|
2914
2914
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2915
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2916
|
-
def self.
|
2917
|
-
require "google/ads/google_ads/v1/services/
|
2915
|
+
# @return [Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation] the operation instance to update the resource
|
2916
|
+
def self.keyword_plan_negative_keyword(resource_or_path, &blk)
|
2917
|
+
require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
|
2918
2918
|
res = case resource_or_path
|
2919
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2919
|
+
when Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword
|
2920
2920
|
resource_or_path
|
2921
2921
|
# got a resource path
|
2922
2922
|
when String
|
2923
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2923
|
+
obj = Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword.new
|
2924
2924
|
obj.resource_name = resource_or_path
|
2925
2925
|
obj
|
2926
2926
|
else
|
2927
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2927
|
+
unless Google::Ads::GoogleAds::V1::Resources::KeywordPlanNegativeKeyword === res
|
2928
2928
|
raise ArgumentError.new(
|
2929
2929
|
"Called #{__method__} with instance of wrong type:"\
|
2930
2930
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2933,37 +2933,37 @@ module Google
|
|
2933
2933
|
end
|
2934
2934
|
end
|
2935
2935
|
|
2936
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2936
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
|
2937
2937
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2938
2938
|
op["update"] = res
|
2939
2939
|
op
|
2940
2940
|
end
|
2941
2941
|
|
2942
|
-
# A convenience method for creating an
|
2943
|
-
# its "update" field prepopulated with an
|
2942
|
+
# A convenience method for creating an CustomInterestOperation instance with
|
2943
|
+
# its "update" field prepopulated with an CustomInterest instance, and
|
2944
2944
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2945
2945
|
#
|
2946
|
-
# @overload #
|
2946
|
+
# @overload #custom_interest(path, &blk)
|
2947
2947
|
# @param path [String] a resource path for the resource to update
|
2948
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2948
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a new instance of the resource for this update operation, on
|
2949
2949
|
# which fields can be set to update
|
2950
2950
|
#
|
2951
|
-
# @overload #
|
2952
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2951
|
+
# @overload #custom_interest(resource, &blk)
|
2952
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CustomInterest] a resource instance to update
|
2953
2953
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2954
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2955
|
-
def self.
|
2956
|
-
require "google/ads/google_ads/v1/services/
|
2954
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomInterestOperation] the operation instance to update the resource
|
2955
|
+
def self.custom_interest(resource_or_path, &blk)
|
2956
|
+
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
2957
2957
|
res = case resource_or_path
|
2958
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2958
|
+
when Google::Ads::GoogleAds::V1::Resources::CustomInterest
|
2959
2959
|
resource_or_path
|
2960
2960
|
# got a resource path
|
2961
2961
|
when String
|
2962
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
2962
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CustomInterest.new
|
2963
2963
|
obj.resource_name = resource_or_path
|
2964
2964
|
obj
|
2965
2965
|
else
|
2966
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
2966
|
+
unless Google::Ads::GoogleAds::V1::Resources::CustomInterest === res
|
2967
2967
|
raise ArgumentError.new(
|
2968
2968
|
"Called #{__method__} with instance of wrong type:"\
|
2969
2969
|
" #{res.class} want #{operation.update_class}"\
|
@@ -2972,37 +2972,37 @@ module Google
|
|
2972
2972
|
end
|
2973
2973
|
end
|
2974
2974
|
|
2975
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
2975
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
2976
2976
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
2977
2977
|
op["update"] = res
|
2978
2978
|
op
|
2979
2979
|
end
|
2980
2980
|
|
2981
|
-
# A convenience method for creating an
|
2982
|
-
# its "update" field prepopulated with an
|
2981
|
+
# A convenience method for creating an CustomerClientLinkOperation instance with
|
2982
|
+
# its "update" field prepopulated with an CustomerClientLink instance, and
|
2983
2983
|
# its "update_mask" field populated as needed to send the updates to the API.
|
2984
2984
|
#
|
2985
|
-
# @overload #
|
2985
|
+
# @overload #customer_client_link(path, &blk)
|
2986
2986
|
# @param path [String] a resource path for the resource to update
|
2987
|
-
# @yield [Google::Ads::GoogleAds::V1::Resources::
|
2987
|
+
# @yield [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a new instance of the resource for this update operation, on
|
2988
2988
|
# which fields can be set to update
|
2989
2989
|
#
|
2990
|
-
# @overload #
|
2991
|
-
# @param resource [Google::Ads::GoogleAds::V1::Resources::
|
2990
|
+
# @overload #customer_client_link(resource, &blk)
|
2991
|
+
# @param resource [Google::Ads::GoogleAds::V1::Resources::CustomerClientLink] a resource instance to update
|
2992
2992
|
# @yield the passed block is called and updates against `resource` are recordered in the update mask
|
2993
|
-
# @return [Google::Ads::GoogleAds::V1::Services::
|
2994
|
-
def self.
|
2995
|
-
require "google/ads/google_ads/v1/services/
|
2993
|
+
# @return [Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation] the operation instance to update the resource
|
2994
|
+
def self.customer_client_link(resource_or_path, &blk)
|
2995
|
+
require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
|
2996
2996
|
res = case resource_or_path
|
2997
|
-
when Google::Ads::GoogleAds::V1::Resources::
|
2997
|
+
when Google::Ads::GoogleAds::V1::Resources::CustomerClientLink
|
2998
2998
|
resource_or_path
|
2999
2999
|
# got a resource path
|
3000
3000
|
when String
|
3001
|
-
obj = Google::Ads::GoogleAds::V1::Resources::
|
3001
|
+
obj = Google::Ads::GoogleAds::V1::Resources::CustomerClientLink.new
|
3002
3002
|
obj.resource_name = resource_or_path
|
3003
3003
|
obj
|
3004
3004
|
else
|
3005
|
-
unless Google::Ads::GoogleAds::V1::Resources::
|
3005
|
+
unless Google::Ads::GoogleAds::V1::Resources::CustomerClientLink === res
|
3006
3006
|
raise ArgumentError.new(
|
3007
3007
|
"Called #{__method__} with instance of wrong type:"\
|
3008
3008
|
" #{res.class} want #{operation.update_class}"\
|
@@ -3011,7 +3011,7 @@ module Google
|
|
3011
3011
|
end
|
3012
3012
|
end
|
3013
3013
|
|
3014
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3014
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
|
3015
3015
|
op["update_mask"] = Google::Ads::GoogleAds::FieldMaskUtil.with(res, &blk)
|
3016
3016
|
op["update"] = res
|
3017
3017
|
op
|
@@ -3023,97 +3023,218 @@ module Google
|
|
3023
3023
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3024
3024
|
#
|
3025
3025
|
# @param path [String] the resource name of the resource to delete.
|
3026
|
-
def self.feed_attribute(path)
|
3027
|
-
require "google/ads/google_ads/v1/resources/feed_pb.rb"
|
3028
|
-
op = Google::Ads::GoogleAds::V1::Resources::FeedAttributeOperation.new
|
3026
|
+
def self.feed_attribute(path)
|
3027
|
+
require "google/ads/google_ads/v1/resources/feed_pb.rb"
|
3028
|
+
op = Google::Ads::GoogleAds::V1::Resources::FeedAttributeOperation.new
|
3029
|
+
op["remove"] = path
|
3030
|
+
op
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
# A convenience method for creationg an KeywordPlanKeywordOperation instance with
|
3034
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3035
|
+
#
|
3036
|
+
# @param path [String] the resource name of the resource to delete.
|
3037
|
+
def self.keyword_plan_keyword(path)
|
3038
|
+
require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
|
3039
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
|
3040
|
+
op["remove"] = path
|
3041
|
+
op
|
3042
|
+
end
|
3043
|
+
|
3044
|
+
# A convenience method for creationg an FeedMappingOperation instance with
|
3045
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3046
|
+
#
|
3047
|
+
# @param path [String] the resource name of the resource to delete.
|
3048
|
+
def self.feed_mapping(path)
|
3049
|
+
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
3050
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
3051
|
+
op["remove"] = path
|
3052
|
+
op
|
3053
|
+
end
|
3054
|
+
|
3055
|
+
# A convenience method for creationg an FeedOperation instance with
|
3056
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3057
|
+
#
|
3058
|
+
# @param path [String] the resource name of the resource to delete.
|
3059
|
+
def self.feed(path)
|
3060
|
+
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
3061
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
3062
|
+
op["remove"] = path
|
3063
|
+
op
|
3064
|
+
end
|
3065
|
+
|
3066
|
+
# A convenience method for creationg an AdGroupCriterionLabelOperation instance with
|
3067
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3068
|
+
#
|
3069
|
+
# @param path [String] the resource name of the resource to delete.
|
3070
|
+
def self.ad_group_criterion_label(path)
|
3071
|
+
require "google/ads/google_ads/v1/services/ad_group_criterion_label_service_pb.rb"
|
3072
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionLabelOperation.new
|
3073
|
+
op["remove"] = path
|
3074
|
+
op
|
3075
|
+
end
|
3076
|
+
|
3077
|
+
# A convenience method for creationg an ConversionActionOperation instance with
|
3078
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3079
|
+
#
|
3080
|
+
# @param path [String] the resource name of the resource to delete.
|
3081
|
+
def self.conversion_action(path)
|
3082
|
+
require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
|
3083
|
+
op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
|
3084
|
+
op["remove"] = path
|
3085
|
+
op
|
3086
|
+
end
|
3087
|
+
|
3088
|
+
# A convenience method for creationg an BiddingStrategyOperation instance with
|
3089
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3090
|
+
#
|
3091
|
+
# @param path [String] the resource name of the resource to delete.
|
3092
|
+
def self.bidding_strategy(path)
|
3093
|
+
require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
|
3094
|
+
op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
|
3095
|
+
op["remove"] = path
|
3096
|
+
op
|
3097
|
+
end
|
3098
|
+
|
3099
|
+
# A convenience method for creationg an AccountBudgetProposalOperation instance with
|
3100
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3101
|
+
#
|
3102
|
+
# @param path [String] the resource name of the resource to delete.
|
3103
|
+
def self.account_budget_proposal(path)
|
3104
|
+
require "google/ads/google_ads/v1/services/account_budget_proposal_service_pb.rb"
|
3105
|
+
op = Google::Ads::GoogleAds::V1::Services::AccountBudgetProposalOperation.new
|
3106
|
+
op["remove"] = path
|
3107
|
+
op
|
3108
|
+
end
|
3109
|
+
|
3110
|
+
# A convenience method for creationg an FeedItemOperation instance with
|
3111
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3112
|
+
#
|
3113
|
+
# @param path [String] the resource name of the resource to delete.
|
3114
|
+
def self.feed_item(path)
|
3115
|
+
require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
|
3116
|
+
op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
|
3117
|
+
op["remove"] = path
|
3118
|
+
op
|
3119
|
+
end
|
3120
|
+
|
3121
|
+
# A convenience method for creationg an CampaignBudgetOperation instance with
|
3122
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3123
|
+
#
|
3124
|
+
# @param path [String] the resource name of the resource to delete.
|
3125
|
+
def self.campaign_budget(path)
|
3126
|
+
require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
|
3127
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
|
3128
|
+
op["remove"] = path
|
3129
|
+
op
|
3130
|
+
end
|
3131
|
+
|
3132
|
+
# A convenience method for creationg an AdGroupBidModifierOperation instance with
|
3133
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3134
|
+
#
|
3135
|
+
# @param path [String] the resource name of the resource to delete.
|
3136
|
+
def self.ad_group_bid_modifier(path)
|
3137
|
+
require "google/ads/google_ads/v1/services/ad_group_bid_modifier_service_pb.rb"
|
3138
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupBidModifierOperation.new
|
3139
|
+
op["remove"] = path
|
3140
|
+
op
|
3141
|
+
end
|
3142
|
+
|
3143
|
+
# A convenience method for creationg an CustomerOperation instance with
|
3144
|
+
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3145
|
+
#
|
3146
|
+
# @param path [String] the resource name of the resource to delete.
|
3147
|
+
def self.customer(path)
|
3148
|
+
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
3149
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
3029
3150
|
op["remove"] = path
|
3030
3151
|
op
|
3031
3152
|
end
|
3032
3153
|
|
3033
|
-
# A convenience method for creationg an
|
3154
|
+
# A convenience method for creationg an CampaignLabelOperation instance with
|
3034
3155
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3035
3156
|
#
|
3036
3157
|
# @param path [String] the resource name of the resource to delete.
|
3037
|
-
def self.
|
3038
|
-
require "google/ads/google_ads/v1/services/
|
3039
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3158
|
+
def self.campaign_label(path)
|
3159
|
+
require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
|
3160
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
|
3040
3161
|
op["remove"] = path
|
3041
3162
|
op
|
3042
3163
|
end
|
3043
3164
|
|
3044
|
-
# A convenience method for creationg an
|
3165
|
+
# A convenience method for creationg an SharedCriterionOperation instance with
|
3045
3166
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3046
3167
|
#
|
3047
3168
|
# @param path [String] the resource name of the resource to delete.
|
3048
|
-
def self.
|
3049
|
-
require "google/ads/google_ads/v1/services/
|
3050
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3169
|
+
def self.shared_criterion(path)
|
3170
|
+
require "google/ads/google_ads/v1/services/shared_criterion_service_pb.rb"
|
3171
|
+
op = Google::Ads::GoogleAds::V1::Services::SharedCriterionOperation.new
|
3051
3172
|
op["remove"] = path
|
3052
3173
|
op
|
3053
3174
|
end
|
3054
3175
|
|
3055
|
-
# A convenience method for creationg an
|
3176
|
+
# A convenience method for creationg an KeywordPlanAdGroupOperation instance with
|
3056
3177
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3057
3178
|
#
|
3058
3179
|
# @param path [String] the resource name of the resource to delete.
|
3059
|
-
def self.
|
3060
|
-
require "google/ads/google_ads/v1/services/
|
3061
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3180
|
+
def self.keyword_plan_ad_group(path)
|
3181
|
+
require "google/ads/google_ads/v1/services/keyword_plan_ad_group_service_pb.rb"
|
3182
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanAdGroupOperation.new
|
3062
3183
|
op["remove"] = path
|
3063
3184
|
op
|
3064
3185
|
end
|
3065
3186
|
|
3066
|
-
# A convenience method for creationg an
|
3187
|
+
# A convenience method for creationg an CampaignDraftOperation instance with
|
3067
3188
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3068
3189
|
#
|
3069
3190
|
# @param path [String] the resource name of the resource to delete.
|
3070
|
-
def self.
|
3071
|
-
require "google/ads/google_ads/v1/services/
|
3072
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3191
|
+
def self.campaign_draft(path)
|
3192
|
+
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
3193
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
3073
3194
|
op["remove"] = path
|
3074
3195
|
op
|
3075
3196
|
end
|
3076
3197
|
|
3077
|
-
# A convenience method for creationg an
|
3198
|
+
# A convenience method for creationg an CampaignFeedOperation instance with
|
3078
3199
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3079
3200
|
#
|
3080
3201
|
# @param path [String] the resource name of the resource to delete.
|
3081
|
-
def self.
|
3082
|
-
require "google/ads/google_ads/v1/services/
|
3083
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3202
|
+
def self.campaign_feed(path)
|
3203
|
+
require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
|
3204
|
+
op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
3084
3205
|
op["remove"] = path
|
3085
3206
|
op
|
3086
3207
|
end
|
3087
3208
|
|
3088
|
-
# A convenience method for creationg an
|
3209
|
+
# A convenience method for creationg an AdGroupCriterionOperation instance with
|
3089
3210
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3090
3211
|
#
|
3091
3212
|
# @param path [String] the resource name of the resource to delete.
|
3092
|
-
def self.
|
3093
|
-
require "google/ads/google_ads/v1/services/
|
3094
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3213
|
+
def self.ad_group_criterion(path)
|
3214
|
+
require "google/ads/google_ads/v1/services/ad_group_criterion_service_pb.rb"
|
3215
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupCriterionOperation.new
|
3095
3216
|
op["remove"] = path
|
3096
3217
|
op
|
3097
3218
|
end
|
3098
3219
|
|
3099
|
-
# A convenience method for creationg an
|
3220
|
+
# A convenience method for creationg an AdGroupAdLabelOperation instance with
|
3100
3221
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3101
3222
|
#
|
3102
3223
|
# @param path [String] the resource name of the resource to delete.
|
3103
|
-
def self.
|
3104
|
-
require "google/ads/google_ads/v1/services/
|
3105
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3224
|
+
def self.ad_group_ad_label(path)
|
3225
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_label_service_pb.rb"
|
3226
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdLabelOperation.new
|
3106
3227
|
op["remove"] = path
|
3107
3228
|
op
|
3108
3229
|
end
|
3109
3230
|
|
3110
|
-
# A convenience method for creationg an
|
3231
|
+
# A convenience method for creationg an AdGroupAdOperation instance with
|
3111
3232
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3112
3233
|
#
|
3113
3234
|
# @param path [String] the resource name of the resource to delete.
|
3114
|
-
def self.
|
3115
|
-
require "google/ads/google_ads/v1/services/
|
3116
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3235
|
+
def self.ad_group_ad(path)
|
3236
|
+
require "google/ads/google_ads/v1/services/ad_group_ad_service_pb.rb"
|
3237
|
+
op = Google::Ads::GoogleAds::V1::Services::AdGroupAdOperation.new
|
3117
3238
|
op["remove"] = path
|
3118
3239
|
op
|
3119
3240
|
end
|
@@ -3184,17 +3305,6 @@ module Google
|
|
3184
3305
|
op
|
3185
3306
|
end
|
3186
3307
|
|
3187
|
-
# A convenience method for creationg an BiddingStrategyOperation instance with
|
3188
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3189
|
-
#
|
3190
|
-
# @param path [String] the resource name of the resource to delete.
|
3191
|
-
def self.bidding_strategy(path)
|
3192
|
-
require "google/ads/google_ads/v1/services/bidding_strategy_service_pb.rb"
|
3193
|
-
op = Google::Ads::GoogleAds::V1::Services::BiddingStrategyOperation.new
|
3194
|
-
op["remove"] = path
|
3195
|
-
op
|
3196
|
-
end
|
3197
|
-
|
3198
3308
|
# A convenience method for creationg an CampaignBidModifierOperation instance with
|
3199
3309
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3200
3310
|
#
|
@@ -3206,17 +3316,6 @@ module Google
|
|
3206
3316
|
op
|
3207
3317
|
end
|
3208
3318
|
|
3209
|
-
# A convenience method for creationg an CampaignBudgetOperation instance with
|
3210
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3211
|
-
#
|
3212
|
-
# @param path [String] the resource name of the resource to delete.
|
3213
|
-
def self.campaign_budget(path)
|
3214
|
-
require "google/ads/google_ads/v1/services/campaign_budget_service_pb.rb"
|
3215
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignBudgetOperation.new
|
3216
|
-
op["remove"] = path
|
3217
|
-
op
|
3218
|
-
end
|
3219
|
-
|
3220
3319
|
# A convenience method for creationg an CampaignCriterionOperation instance with
|
3221
3320
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3222
3321
|
#
|
@@ -3228,17 +3327,6 @@ module Google
|
|
3228
3327
|
op
|
3229
3328
|
end
|
3230
3329
|
|
3231
|
-
# A convenience method for creationg an CampaignDraftOperation instance with
|
3232
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3233
|
-
#
|
3234
|
-
# @param path [String] the resource name of the resource to delete.
|
3235
|
-
def self.campaign_draft(path)
|
3236
|
-
require "google/ads/google_ads/v1/services/campaign_draft_service_pb.rb"
|
3237
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignDraftOperation.new
|
3238
|
-
op["remove"] = path
|
3239
|
-
op
|
3240
|
-
end
|
3241
|
-
|
3242
3330
|
# A convenience method for creationg an CampaignExperimentOperation instance with
|
3243
3331
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3244
3332
|
#
|
@@ -3261,28 +3349,6 @@ module Google
|
|
3261
3349
|
op
|
3262
3350
|
end
|
3263
3351
|
|
3264
|
-
# A convenience method for creationg an CampaignFeedOperation instance with
|
3265
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3266
|
-
#
|
3267
|
-
# @param path [String] the resource name of the resource to delete.
|
3268
|
-
def self.campaign_feed(path)
|
3269
|
-
require "google/ads/google_ads/v1/services/campaign_feed_service_pb.rb"
|
3270
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignFeedOperation.new
|
3271
|
-
op["remove"] = path
|
3272
|
-
op
|
3273
|
-
end
|
3274
|
-
|
3275
|
-
# A convenience method for creationg an CampaignLabelOperation instance with
|
3276
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3277
|
-
#
|
3278
|
-
# @param path [String] the resource name of the resource to delete.
|
3279
|
-
def self.campaign_label(path)
|
3280
|
-
require "google/ads/google_ads/v1/services/campaign_label_service_pb.rb"
|
3281
|
-
op = Google::Ads::GoogleAds::V1::Services::CampaignLabelOperation.new
|
3282
|
-
op["remove"] = path
|
3283
|
-
op
|
3284
|
-
end
|
3285
|
-
|
3286
3352
|
# A convenience method for creationg an CampaignOperation instance with
|
3287
3353
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3288
3354
|
#
|
@@ -3305,17 +3371,6 @@ module Google
|
|
3305
3371
|
op
|
3306
3372
|
end
|
3307
3373
|
|
3308
|
-
# A convenience method for creationg an ConversionActionOperation instance with
|
3309
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3310
|
-
#
|
3311
|
-
# @param path [String] the resource name of the resource to delete.
|
3312
|
-
def self.conversion_action(path)
|
3313
|
-
require "google/ads/google_ads/v1/services/conversion_action_service_pb.rb"
|
3314
|
-
op = Google::Ads::GoogleAds::V1::Services::ConversionActionOperation.new
|
3315
|
-
op["remove"] = path
|
3316
|
-
op
|
3317
|
-
end
|
3318
|
-
|
3319
3374
|
# A convenience method for creationg an CustomerExtensionSettingOperation instance with
|
3320
3375
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3321
3376
|
#
|
@@ -3360,17 +3415,6 @@ module Google
|
|
3360
3415
|
op
|
3361
3416
|
end
|
3362
3417
|
|
3363
|
-
# A convenience method for creationg an CustomerOperation instance with
|
3364
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3365
|
-
#
|
3366
|
-
# @param path [String] the resource name of the resource to delete.
|
3367
|
-
def self.customer(path)
|
3368
|
-
require "google/ads/google_ads/v1/services/customer_service_pb.rb"
|
3369
|
-
op = Google::Ads::GoogleAds::V1::Services::CustomerOperation.new
|
3370
|
-
op["remove"] = path
|
3371
|
-
op
|
3372
|
-
end
|
3373
|
-
|
3374
3418
|
# A convenience method for creationg an ExtensionFeedItemOperation instance with
|
3375
3419
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3376
3420
|
#
|
@@ -3382,17 +3426,6 @@ module Google
|
|
3382
3426
|
op
|
3383
3427
|
end
|
3384
3428
|
|
3385
|
-
# A convenience method for creationg an FeedItemOperation instance with
|
3386
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3387
|
-
#
|
3388
|
-
# @param path [String] the resource name of the resource to delete.
|
3389
|
-
def self.feed_item(path)
|
3390
|
-
require "google/ads/google_ads/v1/services/feed_item_service_pb.rb"
|
3391
|
-
op = Google::Ads::GoogleAds::V1::Services::FeedItemOperation.new
|
3392
|
-
op["remove"] = path
|
3393
|
-
op
|
3394
|
-
end
|
3395
|
-
|
3396
3429
|
# A convenience method for creationg an FeedItemTargetOperation instance with
|
3397
3430
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3398
3431
|
#
|
@@ -3404,28 +3437,6 @@ module Google
|
|
3404
3437
|
op
|
3405
3438
|
end
|
3406
3439
|
|
3407
|
-
# A convenience method for creationg an FeedMappingOperation instance with
|
3408
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3409
|
-
#
|
3410
|
-
# @param path [String] the resource name of the resource to delete.
|
3411
|
-
def self.feed_mapping(path)
|
3412
|
-
require "google/ads/google_ads/v1/services/feed_mapping_service_pb.rb"
|
3413
|
-
op = Google::Ads::GoogleAds::V1::Services::FeedMappingOperation.new
|
3414
|
-
op["remove"] = path
|
3415
|
-
op
|
3416
|
-
end
|
3417
|
-
|
3418
|
-
# A convenience method for creationg an FeedOperation instance with
|
3419
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3420
|
-
#
|
3421
|
-
# @param path [String] the resource name of the resource to delete.
|
3422
|
-
def self.feed(path)
|
3423
|
-
require "google/ads/google_ads/v1/services/feed_service_pb.rb"
|
3424
|
-
op = Google::Ads::GoogleAds::V1::Services::FeedOperation.new
|
3425
|
-
op["remove"] = path
|
3426
|
-
op
|
3427
|
-
end
|
3428
|
-
|
3429
3440
|
# A convenience method for creationg an LabelOperation instance with
|
3430
3441
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3431
3442
|
#
|
@@ -3448,13 +3459,13 @@ module Google
|
|
3448
3459
|
op
|
3449
3460
|
end
|
3450
3461
|
|
3451
|
-
# A convenience method for creationg an
|
3462
|
+
# A convenience method for creationg an RemarketingActionOperation instance with
|
3452
3463
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3453
3464
|
#
|
3454
3465
|
# @param path [String] the resource name of the resource to delete.
|
3455
|
-
def self.
|
3456
|
-
require "google/ads/google_ads/v1/services/
|
3457
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3466
|
+
def self.remarketing_action(path)
|
3467
|
+
require "google/ads/google_ads/v1/services/remarketing_action_service_pb.rb"
|
3468
|
+
op = Google::Ads::GoogleAds::V1::Services::RemarketingActionOperation.new
|
3458
3469
|
op["remove"] = path
|
3459
3470
|
op
|
3460
3471
|
end
|
@@ -3492,17 +3503,6 @@ module Google
|
|
3492
3503
|
op
|
3493
3504
|
end
|
3494
3505
|
|
3495
|
-
# A convenience method for creationg an KeywordPlanKeywordOperation instance with
|
3496
|
-
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3497
|
-
#
|
3498
|
-
# @param path [String] the resource name of the resource to delete.
|
3499
|
-
def self.keyword_plan_keyword(path)
|
3500
|
-
require "google/ads/google_ads/v1/services/keyword_plan_keyword_service_pb.rb"
|
3501
|
-
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanKeywordOperation.new
|
3502
|
-
op["remove"] = path
|
3503
|
-
op
|
3504
|
-
end
|
3505
|
-
|
3506
3506
|
# A convenience method for creationg an ApplyRecommendationOperation instance with
|
3507
3507
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3508
3508
|
#
|
@@ -3525,24 +3525,24 @@ module Google
|
|
3525
3525
|
op
|
3526
3526
|
end
|
3527
3527
|
|
3528
|
-
# A convenience method for creationg an
|
3528
|
+
# A convenience method for creationg an KeywordPlanCampaignOperation instance with
|
3529
3529
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3530
3530
|
#
|
3531
3531
|
# @param path [String] the resource name of the resource to delete.
|
3532
|
-
def self.
|
3533
|
-
require "google/ads/google_ads/v1/services/
|
3534
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3532
|
+
def self.keyword_plan_campaign(path)
|
3533
|
+
require "google/ads/google_ads/v1/services/keyword_plan_campaign_service_pb.rb"
|
3534
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanCampaignOperation.new
|
3535
3535
|
op["remove"] = path
|
3536
3536
|
op
|
3537
3537
|
end
|
3538
3538
|
|
3539
|
-
# A convenience method for creationg an
|
3539
|
+
# A convenience method for creationg an BillingSetupOperation instance with
|
3540
3540
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3541
3541
|
#
|
3542
3542
|
# @param path [String] the resource name of the resource to delete.
|
3543
|
-
def self.
|
3544
|
-
require "google/ads/google_ads/v1/services/
|
3545
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3543
|
+
def self.billing_setup(path)
|
3544
|
+
require "google/ads/google_ads/v1/services/billing_setup_service_pb.rb"
|
3545
|
+
op = Google::Ads::GoogleAds::V1::Services::BillingSetupOperation.new
|
3546
3546
|
op["remove"] = path
|
3547
3547
|
op
|
3548
3548
|
end
|
@@ -3558,57 +3558,57 @@ module Google
|
|
3558
3558
|
op
|
3559
3559
|
end
|
3560
3560
|
|
3561
|
-
# A convenience method for creationg an
|
3561
|
+
# A convenience method for creationg an KeywordPlanOperation instance with
|
3562
3562
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3563
3563
|
#
|
3564
3564
|
# @param path [String] the resource name of the resource to delete.
|
3565
|
-
def self.
|
3566
|
-
require "google/ads/google_ads/v1/services/
|
3567
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3565
|
+
def self.keyword_plan(path)
|
3566
|
+
require "google/ads/google_ads/v1/services/keyword_plan_service_pb.rb"
|
3567
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanOperation.new
|
3568
3568
|
op["remove"] = path
|
3569
3569
|
op
|
3570
3570
|
end
|
3571
3571
|
|
3572
|
-
# A convenience method for creationg an
|
3572
|
+
# A convenience method for creationg an CustomerManagerLinkOperation instance with
|
3573
3573
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3574
3574
|
#
|
3575
3575
|
# @param path [String] the resource name of the resource to delete.
|
3576
|
-
def self.
|
3577
|
-
require "google/ads/google_ads/v1/services/
|
3578
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3576
|
+
def self.customer_manager_link(path)
|
3577
|
+
require "google/ads/google_ads/v1/services/customer_manager_link_service_pb.rb"
|
3578
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerManagerLinkOperation.new
|
3579
3579
|
op["remove"] = path
|
3580
3580
|
op
|
3581
3581
|
end
|
3582
3582
|
|
3583
|
-
# A convenience method for creationg an
|
3583
|
+
# A convenience method for creationg an KeywordPlanNegativeKeywordOperation instance with
|
3584
3584
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3585
3585
|
#
|
3586
3586
|
# @param path [String] the resource name of the resource to delete.
|
3587
|
-
def self.
|
3588
|
-
require "google/ads/google_ads/v1/services/
|
3589
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3587
|
+
def self.keyword_plan_negative_keyword(path)
|
3588
|
+
require "google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_pb.rb"
|
3589
|
+
op = Google::Ads::GoogleAds::V1::Services::KeywordPlanNegativeKeywordOperation.new
|
3590
3590
|
op["remove"] = path
|
3591
3591
|
op
|
3592
3592
|
end
|
3593
3593
|
|
3594
|
-
# A convenience method for creationg an
|
3594
|
+
# A convenience method for creationg an CustomInterestOperation instance with
|
3595
3595
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3596
3596
|
#
|
3597
3597
|
# @param path [String] the resource name of the resource to delete.
|
3598
|
-
def self.
|
3599
|
-
require "google/ads/google_ads/v1/services/
|
3600
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3598
|
+
def self.custom_interest(path)
|
3599
|
+
require "google/ads/google_ads/v1/services/custom_interest_service_pb.rb"
|
3600
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomInterestOperation.new
|
3601
3601
|
op["remove"] = path
|
3602
3602
|
op
|
3603
3603
|
end
|
3604
3604
|
|
3605
|
-
# A convenience method for creationg an
|
3605
|
+
# A convenience method for creationg an CustomerClientLinkOperation instance with
|
3606
3606
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3607
3607
|
#
|
3608
3608
|
# @param path [String] the resource name of the resource to delete.
|
3609
|
-
def self.
|
3610
|
-
require "google/ads/google_ads/v1/services/
|
3611
|
-
op = Google::Ads::GoogleAds::V1::Services::
|
3609
|
+
def self.customer_client_link(path)
|
3610
|
+
require "google/ads/google_ads/v1/services/customer_client_link_service_pb.rb"
|
3611
|
+
op = Google::Ads::GoogleAds::V1::Services::CustomerClientLinkOperation.new
|
3612
3612
|
op["remove"] = path
|
3613
3613
|
op
|
3614
3614
|
end
|