google-ads-googleads 8.0.0 → 8.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 +6 -0
- data/README.md +3 -0
- data/google_ads_config.rb +10 -0
- data/lib/google/ads/google_ads/config.rb +6 -0
- data/lib/google/ads/google_ads/factories/v3/operations.rb +704 -260
- data/lib/google/ads/google_ads/factories/v4/operations.rb +780 -320
- data/lib/google/ads/google_ads/factories/v5/operations.rb +788 -322
- data/lib/google/ads/google_ads/factories/v6/operations.rb +838 -342
- data/lib/google/ads/google_ads/google_ads_client.rb +20 -2
- data/lib/google/ads/google_ads/interceptors/logging_interceptor.rb +48 -5
- data/lib/google/ads/google_ads/service_lookup.rb +20 -7
- data/lib/google/ads/google_ads/version.rb +1 -1
- metadata +2 -2
@@ -9,7 +9,13 @@ module Google
|
|
9
9
|
# @return [Google::Ads::GoogleAds::V4::Resources::FeedAttributeOperation] the operation
|
10
10
|
def self.feed_attribute
|
11
11
|
require "google/ads/google_ads/v4/resources/feed_pb"
|
12
|
-
|
12
|
+
if block_given?
|
13
|
+
op = Google::Ads::GoogleAds::V4::Resources::FeedAttributeOperation.new
|
14
|
+
yield op
|
15
|
+
op
|
16
|
+
else
|
17
|
+
Google::Ads::GoogleAds::V4::Resources::FeedAttributeOperation.new
|
18
|
+
end
|
13
19
|
end
|
14
20
|
|
15
21
|
# Create a new TargetRestrictionOperation
|
@@ -17,7 +23,13 @@ module Google
|
|
17
23
|
# @return [Google::Ads::GoogleAds::V4::Common::TargetRestrictionOperation] the operation
|
18
24
|
def self.target_restriction
|
19
25
|
require "google/ads/google_ads/v4/common/targeting_setting_pb"
|
20
|
-
|
26
|
+
if block_given?
|
27
|
+
op = Google::Ads::GoogleAds::V4::Common::TargetRestrictionOperation.new
|
28
|
+
yield op
|
29
|
+
op
|
30
|
+
else
|
31
|
+
Google::Ads::GoogleAds::V4::Common::TargetRestrictionOperation.new
|
32
|
+
end
|
21
33
|
end
|
22
34
|
|
23
35
|
# Create a new CustomerClientLinkOperation
|
@@ -25,7 +37,13 @@ module Google
|
|
25
37
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerClientLinkOperation] the operation
|
26
38
|
def self.customer_client_link
|
27
39
|
require "google/ads/google_ads/v4/services/customer_client_link_service_pb"
|
28
|
-
|
40
|
+
if block_given?
|
41
|
+
op = Google::Ads::GoogleAds::V4::Services::CustomerClientLinkOperation.new
|
42
|
+
yield op
|
43
|
+
op
|
44
|
+
else
|
45
|
+
Google::Ads::GoogleAds::V4::Services::CustomerClientLinkOperation.new
|
46
|
+
end
|
29
47
|
end
|
30
48
|
|
31
49
|
# Create a new CustomInterestOperation
|
@@ -33,7 +51,13 @@ module Google
|
|
33
51
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomInterestOperation] the operation
|
34
52
|
def self.custom_interest
|
35
53
|
require "google/ads/google_ads/v4/services/custom_interest_service_pb"
|
36
|
-
|
54
|
+
if block_given?
|
55
|
+
op = Google::Ads::GoogleAds::V4::Services::CustomInterestOperation.new
|
56
|
+
yield op
|
57
|
+
op
|
58
|
+
else
|
59
|
+
Google::Ads::GoogleAds::V4::Services::CustomInterestOperation.new
|
60
|
+
end
|
37
61
|
end
|
38
62
|
|
39
63
|
# Create a new CustomerNegativeCriterionOperation
|
@@ -41,7 +65,13 @@ module Google
|
|
41
65
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerNegativeCriterionOperation] the operation
|
42
66
|
def self.customer_negative_criterion
|
43
67
|
require "google/ads/google_ads/v4/services/customer_negative_criterion_service_pb"
|
44
|
-
|
68
|
+
if block_given?
|
69
|
+
op = Google::Ads::GoogleAds::V4::Services::CustomerNegativeCriterionOperation.new
|
70
|
+
yield op
|
71
|
+
op
|
72
|
+
else
|
73
|
+
Google::Ads::GoogleAds::V4::Services::CustomerNegativeCriterionOperation.new
|
74
|
+
end
|
45
75
|
end
|
46
76
|
|
47
77
|
# Create a new SharedCriterionOperation
|
@@ -49,7 +79,13 @@ module Google
|
|
49
79
|
# @return [Google::Ads::GoogleAds::V4::Services::SharedCriterionOperation] the operation
|
50
80
|
def self.shared_criterion
|
51
81
|
require "google/ads/google_ads/v4/services/shared_criterion_service_pb"
|
52
|
-
|
82
|
+
if block_given?
|
83
|
+
op = Google::Ads::GoogleAds::V4::Services::SharedCriterionOperation.new
|
84
|
+
yield op
|
85
|
+
op
|
86
|
+
else
|
87
|
+
Google::Ads::GoogleAds::V4::Services::SharedCriterionOperation.new
|
88
|
+
end
|
53
89
|
end
|
54
90
|
|
55
91
|
# Create a new KeywordPlanAdGroupKeywordOperation
|
@@ -57,7 +93,13 @@ module Google
|
|
57
93
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupKeywordOperation] the operation
|
58
94
|
def self.keyword_plan_ad_group_keyword
|
59
95
|
require "google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_pb"
|
60
|
-
|
96
|
+
if block_given?
|
97
|
+
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupKeywordOperation.new
|
98
|
+
yield op
|
99
|
+
op
|
100
|
+
else
|
101
|
+
Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupKeywordOperation.new
|
102
|
+
end
|
61
103
|
end
|
62
104
|
|
63
105
|
# Create a new FeedMappingOperation
|
@@ -65,7 +107,13 @@ module Google
|
|
65
107
|
# @return [Google::Ads::GoogleAds::V4::Services::FeedMappingOperation] the operation
|
66
108
|
def self.feed_mapping
|
67
109
|
require "google/ads/google_ads/v4/services/feed_mapping_service_pb"
|
68
|
-
|
110
|
+
if block_given?
|
111
|
+
op = Google::Ads::GoogleAds::V4::Services::FeedMappingOperation.new
|
112
|
+
yield op
|
113
|
+
op
|
114
|
+
else
|
115
|
+
Google::Ads::GoogleAds::V4::Services::FeedMappingOperation.new
|
116
|
+
end
|
69
117
|
end
|
70
118
|
|
71
119
|
# Create a new AdGroupOperation
|
@@ -73,7 +121,13 @@ module Google
|
|
73
121
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupOperation] the operation
|
74
122
|
def self.ad_group
|
75
123
|
require "google/ads/google_ads/v4/services/ad_group_service_pb"
|
76
|
-
|
124
|
+
if block_given?
|
125
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupOperation.new
|
126
|
+
yield op
|
127
|
+
op
|
128
|
+
else
|
129
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupOperation.new
|
130
|
+
end
|
77
131
|
end
|
78
132
|
|
79
133
|
# Create a new CampaignBidModifierOperation
|
@@ -81,7 +135,13 @@ module Google
|
|
81
135
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignBidModifierOperation] the operation
|
82
136
|
def self.campaign_bid_modifier
|
83
137
|
require "google/ads/google_ads/v4/services/campaign_bid_modifier_service_pb"
|
84
|
-
|
138
|
+
if block_given?
|
139
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignBidModifierOperation.new
|
140
|
+
yield op
|
141
|
+
op
|
142
|
+
else
|
143
|
+
Google::Ads::GoogleAds::V4::Services::CampaignBidModifierOperation.new
|
144
|
+
end
|
85
145
|
end
|
86
146
|
|
87
147
|
# Create a new CustomerManagerLinkOperation
|
@@ -89,7 +149,13 @@ module Google
|
|
89
149
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerManagerLinkOperation] the operation
|
90
150
|
def self.customer_manager_link
|
91
151
|
require "google/ads/google_ads/v4/services/customer_manager_link_service_pb"
|
92
|
-
|
152
|
+
if block_given?
|
153
|
+
op = Google::Ads::GoogleAds::V4::Services::CustomerManagerLinkOperation.new
|
154
|
+
yield op
|
155
|
+
op
|
156
|
+
else
|
157
|
+
Google::Ads::GoogleAds::V4::Services::CustomerManagerLinkOperation.new
|
158
|
+
end
|
93
159
|
end
|
94
160
|
|
95
161
|
# Create a new CampaignDraftOperation
|
@@ -97,7 +163,13 @@ module Google
|
|
97
163
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignDraftOperation] the operation
|
98
164
|
def self.campaign_draft
|
99
165
|
require "google/ads/google_ads/v4/services/campaign_draft_service_pb"
|
100
|
-
|
166
|
+
if block_given?
|
167
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignDraftOperation.new
|
168
|
+
yield op
|
169
|
+
op
|
170
|
+
else
|
171
|
+
Google::Ads::GoogleAds::V4::Services::CampaignDraftOperation.new
|
172
|
+
end
|
101
173
|
end
|
102
174
|
|
103
175
|
# Create a new UserListOperation
|
@@ -105,7 +177,13 @@ module Google
|
|
105
177
|
# @return [Google::Ads::GoogleAds::V4::Services::UserListOperation] the operation
|
106
178
|
def self.user_list
|
107
179
|
require "google/ads/google_ads/v4/services/user_list_service_pb"
|
108
|
-
|
180
|
+
if block_given?
|
181
|
+
op = Google::Ads::GoogleAds::V4::Services::UserListOperation.new
|
182
|
+
yield op
|
183
|
+
op
|
184
|
+
else
|
185
|
+
Google::Ads::GoogleAds::V4::Services::UserListOperation.new
|
186
|
+
end
|
109
187
|
end
|
110
188
|
|
111
189
|
# Create a new CustomerOperation
|
@@ -113,7 +191,13 @@ module Google
|
|
113
191
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerOperation] the operation
|
114
192
|
def self.customer
|
115
193
|
require "google/ads/google_ads/v4/services/customer_service_pb"
|
116
|
-
|
194
|
+
if block_given?
|
195
|
+
op = Google::Ads::GoogleAds::V4::Services::CustomerOperation.new
|
196
|
+
yield op
|
197
|
+
op
|
198
|
+
else
|
199
|
+
Google::Ads::GoogleAds::V4::Services::CustomerOperation.new
|
200
|
+
end
|
117
201
|
end
|
118
202
|
|
119
203
|
# Create a new SharedSetOperation
|
@@ -121,7 +205,13 @@ module Google
|
|
121
205
|
# @return [Google::Ads::GoogleAds::V4::Services::SharedSetOperation] the operation
|
122
206
|
def self.shared_set
|
123
207
|
require "google/ads/google_ads/v4/services/shared_set_service_pb"
|
124
|
-
|
208
|
+
if block_given?
|
209
|
+
op = Google::Ads::GoogleAds::V4::Services::SharedSetOperation.new
|
210
|
+
yield op
|
211
|
+
op
|
212
|
+
else
|
213
|
+
Google::Ads::GoogleAds::V4::Services::SharedSetOperation.new
|
214
|
+
end
|
125
215
|
end
|
126
216
|
|
127
217
|
# Create a new AdGroupCriterionLabelOperation
|
@@ -129,7 +219,13 @@ module Google
|
|
129
219
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupCriterionLabelOperation] the operation
|
130
220
|
def self.ad_group_criterion_label
|
131
221
|
require "google/ads/google_ads/v4/services/ad_group_criterion_label_service_pb"
|
132
|
-
|
222
|
+
if block_given?
|
223
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupCriterionLabelOperation.new
|
224
|
+
yield op
|
225
|
+
op
|
226
|
+
else
|
227
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupCriterionLabelOperation.new
|
228
|
+
end
|
133
229
|
end
|
134
230
|
|
135
231
|
# Create a new LabelOperation
|
@@ -137,7 +233,13 @@ module Google
|
|
137
233
|
# @return [Google::Ads::GoogleAds::V4::Services::LabelOperation] the operation
|
138
234
|
def self.label
|
139
235
|
require "google/ads/google_ads/v4/services/label_service_pb"
|
140
|
-
|
236
|
+
if block_given?
|
237
|
+
op = Google::Ads::GoogleAds::V4::Services::LabelOperation.new
|
238
|
+
yield op
|
239
|
+
op
|
240
|
+
else
|
241
|
+
Google::Ads::GoogleAds::V4::Services::LabelOperation.new
|
242
|
+
end
|
141
243
|
end
|
142
244
|
|
143
245
|
# Create a new AdGroupAdLabelOperation
|
@@ -145,7 +247,13 @@ module Google
|
|
145
247
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupAdLabelOperation] the operation
|
146
248
|
def self.ad_group_ad_label
|
147
249
|
require "google/ads/google_ads/v4/services/ad_group_ad_label_service_pb"
|
148
|
-
|
250
|
+
if block_given?
|
251
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupAdLabelOperation.new
|
252
|
+
yield op
|
253
|
+
op
|
254
|
+
else
|
255
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupAdLabelOperation.new
|
256
|
+
end
|
149
257
|
end
|
150
258
|
|
151
259
|
# Create a new AdGroupAdOperation
|
@@ -153,7 +261,13 @@ module Google
|
|
153
261
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupAdOperation] the operation
|
154
262
|
def self.ad_group_ad
|
155
263
|
require "google/ads/google_ads/v4/services/ad_group_ad_service_pb"
|
156
|
-
|
264
|
+
if block_given?
|
265
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupAdOperation.new
|
266
|
+
yield op
|
267
|
+
op
|
268
|
+
else
|
269
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupAdOperation.new
|
270
|
+
end
|
157
271
|
end
|
158
272
|
|
159
273
|
# Create a new AdGroupBidModifierOperation
|
@@ -161,7 +275,13 @@ module Google
|
|
161
275
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupBidModifierOperation] the operation
|
162
276
|
def self.ad_group_bid_modifier
|
163
277
|
require "google/ads/google_ads/v4/services/ad_group_bid_modifier_service_pb"
|
164
|
-
|
278
|
+
if block_given?
|
279
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupBidModifierOperation.new
|
280
|
+
yield op
|
281
|
+
op
|
282
|
+
else
|
283
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupBidModifierOperation.new
|
284
|
+
end
|
165
285
|
end
|
166
286
|
|
167
287
|
# Create a new AdGroupCriterionOperation
|
@@ -169,7 +289,13 @@ module Google
|
|
169
289
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupCriterionOperation] the operation
|
170
290
|
def self.ad_group_criterion
|
171
291
|
require "google/ads/google_ads/v4/services/ad_group_criterion_service_pb"
|
172
|
-
|
292
|
+
if block_given?
|
293
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupCriterionOperation.new
|
294
|
+
yield op
|
295
|
+
op
|
296
|
+
else
|
297
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupCriterionOperation.new
|
298
|
+
end
|
173
299
|
end
|
174
300
|
|
175
301
|
# Create a new AdGroupExtensionSettingOperation
|
@@ -177,7 +303,13 @@ module Google
|
|
177
303
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupExtensionSettingOperation] the operation
|
178
304
|
def self.ad_group_extension_setting
|
179
305
|
require "google/ads/google_ads/v4/services/ad_group_extension_setting_service_pb"
|
180
|
-
|
306
|
+
if block_given?
|
307
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupExtensionSettingOperation.new
|
308
|
+
yield op
|
309
|
+
op
|
310
|
+
else
|
311
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupExtensionSettingOperation.new
|
312
|
+
end
|
181
313
|
end
|
182
314
|
|
183
315
|
# Create a new AdGroupFeedOperation
|
@@ -185,7 +317,13 @@ module Google
|
|
185
317
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupFeedOperation] the operation
|
186
318
|
def self.ad_group_feed
|
187
319
|
require "google/ads/google_ads/v4/services/ad_group_feed_service_pb"
|
188
|
-
|
320
|
+
if block_given?
|
321
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupFeedOperation.new
|
322
|
+
yield op
|
323
|
+
op
|
324
|
+
else
|
325
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupFeedOperation.new
|
326
|
+
end
|
189
327
|
end
|
190
328
|
|
191
329
|
# Create a new AdGroupLabelOperation
|
@@ -193,7 +331,13 @@ module Google
|
|
193
331
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupLabelOperation] the operation
|
194
332
|
def self.ad_group_label
|
195
333
|
require "google/ads/google_ads/v4/services/ad_group_label_service_pb"
|
196
|
-
|
334
|
+
if block_given?
|
335
|
+
op = Google::Ads::GoogleAds::V4::Services::AdGroupLabelOperation.new
|
336
|
+
yield op
|
337
|
+
op
|
338
|
+
else
|
339
|
+
Google::Ads::GoogleAds::V4::Services::AdGroupLabelOperation.new
|
340
|
+
end
|
197
341
|
end
|
198
342
|
|
199
343
|
# Create a new AdParameterOperation
|
@@ -201,7 +345,13 @@ module Google
|
|
201
345
|
# @return [Google::Ads::GoogleAds::V4::Services::AdParameterOperation] the operation
|
202
346
|
def self.ad_parameter
|
203
347
|
require "google/ads/google_ads/v4/services/ad_parameter_service_pb"
|
204
|
-
|
348
|
+
if block_given?
|
349
|
+
op = Google::Ads::GoogleAds::V4::Services::AdParameterOperation.new
|
350
|
+
yield op
|
351
|
+
op
|
352
|
+
else
|
353
|
+
Google::Ads::GoogleAds::V4::Services::AdParameterOperation.new
|
354
|
+
end
|
205
355
|
end
|
206
356
|
|
207
357
|
# Create a new AdOperation
|
@@ -209,7 +359,13 @@ module Google
|
|
209
359
|
# @return [Google::Ads::GoogleAds::V4::Services::AdOperation] the operation
|
210
360
|
def self.ad
|
211
361
|
require "google/ads/google_ads/v4/services/ad_service_pb"
|
212
|
-
|
362
|
+
if block_given?
|
363
|
+
op = Google::Ads::GoogleAds::V4::Services::AdOperation.new
|
364
|
+
yield op
|
365
|
+
op
|
366
|
+
else
|
367
|
+
Google::Ads::GoogleAds::V4::Services::AdOperation.new
|
368
|
+
end
|
213
369
|
end
|
214
370
|
|
215
371
|
# Create a new AssetOperation
|
@@ -217,7 +373,13 @@ module Google
|
|
217
373
|
# @return [Google::Ads::GoogleAds::V4::Services::AssetOperation] the operation
|
218
374
|
def self.asset
|
219
375
|
require "google/ads/google_ads/v4/services/asset_service_pb"
|
220
|
-
|
376
|
+
if block_given?
|
377
|
+
op = Google::Ads::GoogleAds::V4::Services::AssetOperation.new
|
378
|
+
yield op
|
379
|
+
op
|
380
|
+
else
|
381
|
+
Google::Ads::GoogleAds::V4::Services::AssetOperation.new
|
382
|
+
end
|
221
383
|
end
|
222
384
|
|
223
385
|
# Create a new BiddingStrategyOperation
|
@@ -225,7 +387,13 @@ module Google
|
|
225
387
|
# @return [Google::Ads::GoogleAds::V4::Services::BiddingStrategyOperation] the operation
|
226
388
|
def self.bidding_strategy
|
227
389
|
require "google/ads/google_ads/v4/services/bidding_strategy_service_pb"
|
228
|
-
|
390
|
+
if block_given?
|
391
|
+
op = Google::Ads::GoogleAds::V4::Services::BiddingStrategyOperation.new
|
392
|
+
yield op
|
393
|
+
op
|
394
|
+
else
|
395
|
+
Google::Ads::GoogleAds::V4::Services::BiddingStrategyOperation.new
|
396
|
+
end
|
229
397
|
end
|
230
398
|
|
231
399
|
# Create a new CampaignBudgetOperation
|
@@ -233,7 +401,13 @@ module Google
|
|
233
401
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignBudgetOperation] the operation
|
234
402
|
def self.campaign_budget
|
235
403
|
require "google/ads/google_ads/v4/services/campaign_budget_service_pb"
|
236
|
-
|
404
|
+
if block_given?
|
405
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignBudgetOperation.new
|
406
|
+
yield op
|
407
|
+
op
|
408
|
+
else
|
409
|
+
Google::Ads::GoogleAds::V4::Services::CampaignBudgetOperation.new
|
410
|
+
end
|
237
411
|
end
|
238
412
|
|
239
413
|
# Create a new CampaignCriterionOperation
|
@@ -241,7 +415,13 @@ module Google
|
|
241
415
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignCriterionOperation] the operation
|
242
416
|
def self.campaign_criterion
|
243
417
|
require "google/ads/google_ads/v4/services/campaign_criterion_service_pb"
|
244
|
-
|
418
|
+
if block_given?
|
419
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignCriterionOperation.new
|
420
|
+
yield op
|
421
|
+
op
|
422
|
+
else
|
423
|
+
Google::Ads::GoogleAds::V4::Services::CampaignCriterionOperation.new
|
424
|
+
end
|
245
425
|
end
|
246
426
|
|
247
427
|
# Create a new CampaignExperimentOperation
|
@@ -249,7 +429,13 @@ module Google
|
|
249
429
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignExperimentOperation] the operation
|
250
430
|
def self.campaign_experiment
|
251
431
|
require "google/ads/google_ads/v4/services/campaign_experiment_service_pb"
|
252
|
-
|
432
|
+
if block_given?
|
433
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignExperimentOperation.new
|
434
|
+
yield op
|
435
|
+
op
|
436
|
+
else
|
437
|
+
Google::Ads::GoogleAds::V4::Services::CampaignExperimentOperation.new
|
438
|
+
end
|
253
439
|
end
|
254
440
|
|
255
441
|
# Create a new CampaignExtensionSettingOperation
|
@@ -257,7 +443,13 @@ module Google
|
|
257
443
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignExtensionSettingOperation] the operation
|
258
444
|
def self.campaign_extension_setting
|
259
445
|
require "google/ads/google_ads/v4/services/campaign_extension_setting_service_pb"
|
260
|
-
|
446
|
+
if block_given?
|
447
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignExtensionSettingOperation.new
|
448
|
+
yield op
|
449
|
+
op
|
450
|
+
else
|
451
|
+
Google::Ads::GoogleAds::V4::Services::CampaignExtensionSettingOperation.new
|
452
|
+
end
|
261
453
|
end
|
262
454
|
|
263
455
|
# Create a new CampaignFeedOperation
|
@@ -265,7 +457,13 @@ module Google
|
|
265
457
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignFeedOperation] the operation
|
266
458
|
def self.campaign_feed
|
267
459
|
require "google/ads/google_ads/v4/services/campaign_feed_service_pb"
|
268
|
-
|
460
|
+
if block_given?
|
461
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignFeedOperation.new
|
462
|
+
yield op
|
463
|
+
op
|
464
|
+
else
|
465
|
+
Google::Ads::GoogleAds::V4::Services::CampaignFeedOperation.new
|
466
|
+
end
|
269
467
|
end
|
270
468
|
|
271
469
|
# Create a new CampaignLabelOperation
|
@@ -273,7 +471,13 @@ module Google
|
|
273
471
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignLabelOperation] the operation
|
274
472
|
def self.campaign_label
|
275
473
|
require "google/ads/google_ads/v4/services/campaign_label_service_pb"
|
276
|
-
|
474
|
+
if block_given?
|
475
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignLabelOperation.new
|
476
|
+
yield op
|
477
|
+
op
|
478
|
+
else
|
479
|
+
Google::Ads::GoogleAds::V4::Services::CampaignLabelOperation.new
|
480
|
+
end
|
277
481
|
end
|
278
482
|
|
279
483
|
# Create a new CampaignOperation
|
@@ -281,7 +485,13 @@ module Google
|
|
281
485
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignOperation] the operation
|
282
486
|
def self.campaign
|
283
487
|
require "google/ads/google_ads/v4/services/campaign_service_pb"
|
284
|
-
|
488
|
+
if block_given?
|
489
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignOperation.new
|
490
|
+
yield op
|
491
|
+
op
|
492
|
+
else
|
493
|
+
Google::Ads::GoogleAds::V4::Services::CampaignOperation.new
|
494
|
+
end
|
285
495
|
end
|
286
496
|
|
287
497
|
# Create a new CampaignSharedSetOperation
|
@@ -289,7 +499,13 @@ module Google
|
|
289
499
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignSharedSetOperation] the operation
|
290
500
|
def self.campaign_shared_set
|
291
501
|
require "google/ads/google_ads/v4/services/campaign_shared_set_service_pb"
|
292
|
-
|
502
|
+
if block_given?
|
503
|
+
op = Google::Ads::GoogleAds::V4::Services::CampaignSharedSetOperation.new
|
504
|
+
yield op
|
505
|
+
op
|
506
|
+
else
|
507
|
+
Google::Ads::GoogleAds::V4::Services::CampaignSharedSetOperation.new
|
508
|
+
end
|
293
509
|
end
|
294
510
|
|
295
511
|
# Create a new ConversionActionOperation
|
@@ -297,7 +513,13 @@ module Google
|
|
297
513
|
# @return [Google::Ads::GoogleAds::V4::Services::ConversionActionOperation] the operation
|
298
514
|
def self.conversion_action
|
299
515
|
require "google/ads/google_ads/v4/services/conversion_action_service_pb"
|
300
|
-
|
516
|
+
if block_given?
|
517
|
+
op = Google::Ads::GoogleAds::V4::Services::ConversionActionOperation.new
|
518
|
+
yield op
|
519
|
+
op
|
520
|
+
else
|
521
|
+
Google::Ads::GoogleAds::V4::Services::ConversionActionOperation.new
|
522
|
+
end
|
301
523
|
end
|
302
524
|
|
303
525
|
# Create a new CustomerExtensionSettingOperation
|
@@ -305,7 +527,13 @@ module Google
|
|
305
527
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerExtensionSettingOperation] the operation
|
306
528
|
def self.customer_extension_setting
|
307
529
|
require "google/ads/google_ads/v4/services/customer_extension_setting_service_pb"
|
308
|
-
|
530
|
+
if block_given?
|
531
|
+
op = Google::Ads::GoogleAds::V4::Services::CustomerExtensionSettingOperation.new
|
532
|
+
yield op
|
533
|
+
op
|
534
|
+
else
|
535
|
+
Google::Ads::GoogleAds::V4::Services::CustomerExtensionSettingOperation.new
|
536
|
+
end
|
309
537
|
end
|
310
538
|
|
311
539
|
# Create a new CustomerFeedOperation
|
@@ -313,7 +541,13 @@ module Google
|
|
313
541
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerFeedOperation] the operation
|
314
542
|
def self.customer_feed
|
315
543
|
require "google/ads/google_ads/v4/services/customer_feed_service_pb"
|
316
|
-
|
544
|
+
if block_given?
|
545
|
+
op = Google::Ads::GoogleAds::V4::Services::CustomerFeedOperation.new
|
546
|
+
yield op
|
547
|
+
op
|
548
|
+
else
|
549
|
+
Google::Ads::GoogleAds::V4::Services::CustomerFeedOperation.new
|
550
|
+
end
|
317
551
|
end
|
318
552
|
|
319
553
|
# Create a new CustomerLabelOperation
|
@@ -321,7 +555,13 @@ module Google
|
|
321
555
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerLabelOperation] the operation
|
322
556
|
def self.customer_label
|
323
557
|
require "google/ads/google_ads/v4/services/customer_label_service_pb"
|
324
|
-
|
558
|
+
if block_given?
|
559
|
+
op = Google::Ads::GoogleAds::V4::Services::CustomerLabelOperation.new
|
560
|
+
yield op
|
561
|
+
op
|
562
|
+
else
|
563
|
+
Google::Ads::GoogleAds::V4::Services::CustomerLabelOperation.new
|
564
|
+
end
|
325
565
|
end
|
326
566
|
|
327
567
|
# Create a new ExtensionFeedItemOperation
|
@@ -329,7 +569,13 @@ module Google
|
|
329
569
|
# @return [Google::Ads::GoogleAds::V4::Services::ExtensionFeedItemOperation] the operation
|
330
570
|
def self.extension_feed_item
|
331
571
|
require "google/ads/google_ads/v4/services/extension_feed_item_service_pb"
|
332
|
-
|
572
|
+
if block_given?
|
573
|
+
op = Google::Ads::GoogleAds::V4::Services::ExtensionFeedItemOperation.new
|
574
|
+
yield op
|
575
|
+
op
|
576
|
+
else
|
577
|
+
Google::Ads::GoogleAds::V4::Services::ExtensionFeedItemOperation.new
|
578
|
+
end
|
333
579
|
end
|
334
580
|
|
335
581
|
# Create a new FeedItemOperation
|
@@ -337,7 +583,13 @@ module Google
|
|
337
583
|
# @return [Google::Ads::GoogleAds::V4::Services::FeedItemOperation] the operation
|
338
584
|
def self.feed_item
|
339
585
|
require "google/ads/google_ads/v4/services/feed_item_service_pb"
|
340
|
-
|
586
|
+
if block_given?
|
587
|
+
op = Google::Ads::GoogleAds::V4::Services::FeedItemOperation.new
|
588
|
+
yield op
|
589
|
+
op
|
590
|
+
else
|
591
|
+
Google::Ads::GoogleAds::V4::Services::FeedItemOperation.new
|
592
|
+
end
|
341
593
|
end
|
342
594
|
|
343
595
|
# Create a new FeedItemTargetOperation
|
@@ -345,7 +597,13 @@ module Google
|
|
345
597
|
# @return [Google::Ads::GoogleAds::V4::Services::FeedItemTargetOperation] the operation
|
346
598
|
def self.feed_item_target
|
347
599
|
require "google/ads/google_ads/v4/services/feed_item_target_service_pb"
|
348
|
-
|
600
|
+
if block_given?
|
601
|
+
op = Google::Ads::GoogleAds::V4::Services::FeedItemTargetOperation.new
|
602
|
+
yield op
|
603
|
+
op
|
604
|
+
else
|
605
|
+
Google::Ads::GoogleAds::V4::Services::FeedItemTargetOperation.new
|
606
|
+
end
|
349
607
|
end
|
350
608
|
|
351
609
|
# Create a new FeedOperation
|
@@ -353,7 +611,13 @@ module Google
|
|
353
611
|
# @return [Google::Ads::GoogleAds::V4::Services::FeedOperation] the operation
|
354
612
|
def self.feed
|
355
613
|
require "google/ads/google_ads/v4/services/feed_service_pb"
|
356
|
-
|
614
|
+
if block_given?
|
615
|
+
op = Google::Ads::GoogleAds::V4::Services::FeedOperation.new
|
616
|
+
yield op
|
617
|
+
op
|
618
|
+
else
|
619
|
+
Google::Ads::GoogleAds::V4::Services::FeedOperation.new
|
620
|
+
end
|
357
621
|
end
|
358
622
|
|
359
623
|
# Create a new KeywordPlanAdGroupOperation
|
@@ -361,7 +625,13 @@ module Google
|
|
361
625
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupOperation] the operation
|
362
626
|
def self.keyword_plan_ad_group
|
363
627
|
require "google/ads/google_ads/v4/services/keyword_plan_ad_group_service_pb"
|
364
|
-
|
628
|
+
if block_given?
|
629
|
+
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupOperation.new
|
630
|
+
yield op
|
631
|
+
op
|
632
|
+
else
|
633
|
+
Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupOperation.new
|
634
|
+
end
|
365
635
|
end
|
366
636
|
|
367
637
|
# Create a new KeywordPlanCampaignKeywordOperation
|
@@ -369,7 +639,13 @@ module Google
|
|
369
639
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignKeywordOperation] the operation
|
370
640
|
def self.keyword_plan_campaign_keyword
|
371
641
|
require "google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_pb"
|
372
|
-
|
642
|
+
if block_given?
|
643
|
+
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignKeywordOperation.new
|
644
|
+
yield op
|
645
|
+
op
|
646
|
+
else
|
647
|
+
Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignKeywordOperation.new
|
648
|
+
end
|
373
649
|
end
|
374
650
|
|
375
651
|
# Create a new KeywordPlanCampaignOperation
|
@@ -377,7 +653,13 @@ module Google
|
|
377
653
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignOperation] the operation
|
378
654
|
def self.keyword_plan_campaign
|
379
655
|
require "google/ads/google_ads/v4/services/keyword_plan_campaign_service_pb"
|
380
|
-
|
656
|
+
if block_given?
|
657
|
+
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignOperation.new
|
658
|
+
yield op
|
659
|
+
op
|
660
|
+
else
|
661
|
+
Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignOperation.new
|
662
|
+
end
|
381
663
|
end
|
382
664
|
|
383
665
|
# Create a new KeywordPlanOperation
|
@@ -385,7 +667,13 @@ module Google
|
|
385
667
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanOperation] the operation
|
386
668
|
def self.keyword_plan
|
387
669
|
require "google/ads/google_ads/v4/services/keyword_plan_service_pb"
|
388
|
-
|
670
|
+
if block_given?
|
671
|
+
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanOperation.new
|
672
|
+
yield op
|
673
|
+
op
|
674
|
+
else
|
675
|
+
Google::Ads::GoogleAds::V4::Services::KeywordPlanOperation.new
|
676
|
+
end
|
389
677
|
end
|
390
678
|
|
391
679
|
# Create a new MediaFileOperation
|
@@ -393,7 +681,13 @@ module Google
|
|
393
681
|
# @return [Google::Ads::GoogleAds::V4::Services::MediaFileOperation] the operation
|
394
682
|
def self.media_file
|
395
683
|
require "google/ads/google_ads/v4/services/media_file_service_pb"
|
396
|
-
|
684
|
+
if block_given?
|
685
|
+
op = Google::Ads::GoogleAds::V4::Services::MediaFileOperation.new
|
686
|
+
yield op
|
687
|
+
op
|
688
|
+
else
|
689
|
+
Google::Ads::GoogleAds::V4::Services::MediaFileOperation.new
|
690
|
+
end
|
397
691
|
end
|
398
692
|
|
399
693
|
# Create a new RemarketingActionOperation
|
@@ -401,7 +695,13 @@ module Google
|
|
401
695
|
# @return [Google::Ads::GoogleAds::V4::Services::RemarketingActionOperation] the operation
|
402
696
|
def self.remarketing_action
|
403
697
|
require "google/ads/google_ads/v4/services/remarketing_action_service_pb"
|
404
|
-
|
698
|
+
if block_given?
|
699
|
+
op = Google::Ads::GoogleAds::V4::Services::RemarketingActionOperation.new
|
700
|
+
yield op
|
701
|
+
op
|
702
|
+
else
|
703
|
+
Google::Ads::GoogleAds::V4::Services::RemarketingActionOperation.new
|
704
|
+
end
|
405
705
|
end
|
406
706
|
|
407
707
|
# Create a new MutateOperation
|
@@ -409,7 +709,13 @@ module Google
|
|
409
709
|
# @return [Google::Ads::GoogleAds::V4::Services::MutateOperation] the operation
|
410
710
|
def self.mutate
|
411
711
|
require "google/ads/google_ads/v4/services/google_ads_service_pb"
|
412
|
-
|
712
|
+
if block_given?
|
713
|
+
op = Google::Ads::GoogleAds::V4::Services::MutateOperation.new
|
714
|
+
yield op
|
715
|
+
op
|
716
|
+
else
|
717
|
+
Google::Ads::GoogleAds::V4::Services::MutateOperation.new
|
718
|
+
end
|
413
719
|
end
|
414
720
|
|
415
721
|
# Create a new BatchJobOperation
|
@@ -417,7 +723,13 @@ module Google
|
|
417
723
|
# @return [Google::Ads::GoogleAds::V4::Services::BatchJobOperation] the operation
|
418
724
|
def self.batch_job
|
419
725
|
require "google/ads/google_ads/v4/services/batch_job_service_pb"
|
420
|
-
|
726
|
+
if block_given?
|
727
|
+
op = Google::Ads::GoogleAds::V4::Services::BatchJobOperation.new
|
728
|
+
yield op
|
729
|
+
op
|
730
|
+
else
|
731
|
+
Google::Ads::GoogleAds::V4::Services::BatchJobOperation.new
|
732
|
+
end
|
421
733
|
end
|
422
734
|
|
423
735
|
# Create a new OfflineUserDataJobOperation
|
@@ -425,7 +737,13 @@ module Google
|
|
425
737
|
# @return [Google::Ads::GoogleAds::V4::Services::OfflineUserDataJobOperation] the operation
|
426
738
|
def self.offline_user_data_job
|
427
739
|
require "google/ads/google_ads/v4/services/offline_user_data_job_service_pb"
|
428
|
-
|
740
|
+
if block_given?
|
741
|
+
op = Google::Ads::GoogleAds::V4::Services::OfflineUserDataJobOperation.new
|
742
|
+
yield op
|
743
|
+
op
|
744
|
+
else
|
745
|
+
Google::Ads::GoogleAds::V4::Services::OfflineUserDataJobOperation.new
|
746
|
+
end
|
429
747
|
end
|
430
748
|
|
431
749
|
# Create a new UserDataOperation
|
@@ -433,7 +751,13 @@ module Google
|
|
433
751
|
# @return [Google::Ads::GoogleAds::V4::Services::UserDataOperation] the operation
|
434
752
|
def self.user_data
|
435
753
|
require "google/ads/google_ads/v4/services/user_data_service_pb"
|
436
|
-
|
754
|
+
if block_given?
|
755
|
+
op = Google::Ads::GoogleAds::V4::Services::UserDataOperation.new
|
756
|
+
yield op
|
757
|
+
op
|
758
|
+
else
|
759
|
+
Google::Ads::GoogleAds::V4::Services::UserDataOperation.new
|
760
|
+
end
|
437
761
|
end
|
438
762
|
|
439
763
|
# Create a new AccountBudgetProposalOperation
|
@@ -441,7 +765,13 @@ module Google
|
|
441
765
|
# @return [Google::Ads::GoogleAds::V4::Services::AccountBudgetProposalOperation] the operation
|
442
766
|
def self.account_budget_proposal
|
443
767
|
require "google/ads/google_ads/v4/services/account_budget_proposal_service_pb"
|
444
|
-
|
768
|
+
if block_given?
|
769
|
+
op = Google::Ads::GoogleAds::V4::Services::AccountBudgetProposalOperation.new
|
770
|
+
yield op
|
771
|
+
op
|
772
|
+
else
|
773
|
+
Google::Ads::GoogleAds::V4::Services::AccountBudgetProposalOperation.new
|
774
|
+
end
|
445
775
|
end
|
446
776
|
|
447
777
|
# Create a new ApplyRecommendationOperation
|
@@ -449,7 +779,13 @@ module Google
|
|
449
779
|
# @return [Google::Ads::GoogleAds::V4::Services::ApplyRecommendationOperation] the operation
|
450
780
|
def self.apply_recommendation
|
451
781
|
require "google/ads/google_ads/v4/services/recommendation_service_pb"
|
452
|
-
|
782
|
+
if block_given?
|
783
|
+
op = Google::Ads::GoogleAds::V4::Services::ApplyRecommendationOperation.new
|
784
|
+
yield op
|
785
|
+
op
|
786
|
+
else
|
787
|
+
Google::Ads::GoogleAds::V4::Services::ApplyRecommendationOperation.new
|
788
|
+
end
|
453
789
|
end
|
454
790
|
|
455
791
|
# Create a new DismissRecommendationOperation
|
@@ -457,7 +793,13 @@ module Google
|
|
457
793
|
# @return [Google::Ads::GoogleAds::V4::Services::DismissRecommendationRequest::DismissRecommendationOperation] the operation
|
458
794
|
def self.dismiss_recommendation
|
459
795
|
require "google/ads/google_ads/v4/services/recommendation_service_pb"
|
460
|
-
|
796
|
+
if block_given?
|
797
|
+
op = Google::Ads::GoogleAds::V4::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
|
798
|
+
yield op
|
799
|
+
op
|
800
|
+
else
|
801
|
+
Google::Ads::GoogleAds::V4::Services::DismissRecommendationRequest::DismissRecommendationOperation.new
|
802
|
+
end
|
461
803
|
end
|
462
804
|
|
463
805
|
# Create a new AccountLinkOperation
|
@@ -465,7 +807,13 @@ module Google
|
|
465
807
|
# @return [Google::Ads::GoogleAds::V4::Services::AccountLinkOperation] the operation
|
466
808
|
def self.account_link
|
467
809
|
require "google/ads/google_ads/v4/services/account_link_service_pb"
|
468
|
-
|
810
|
+
if block_given?
|
811
|
+
op = Google::Ads::GoogleAds::V4::Services::AccountLinkOperation.new
|
812
|
+
yield op
|
813
|
+
op
|
814
|
+
else
|
815
|
+
Google::Ads::GoogleAds::V4::Services::AccountLinkOperation.new
|
816
|
+
end
|
469
817
|
end
|
470
818
|
|
471
819
|
# Create a new MerchantCenterLinkOperation
|
@@ -473,7 +821,13 @@ module Google
|
|
473
821
|
# @return [Google::Ads::GoogleAds::V4::Services::MerchantCenterLinkOperation] the operation
|
474
822
|
def self.merchant_center_link
|
475
823
|
require "google/ads/google_ads/v4/services/merchant_center_link_service_pb"
|
476
|
-
|
824
|
+
if block_given?
|
825
|
+
op = Google::Ads::GoogleAds::V4::Services::MerchantCenterLinkOperation.new
|
826
|
+
yield op
|
827
|
+
op
|
828
|
+
else
|
829
|
+
Google::Ads::GoogleAds::V4::Services::MerchantCenterLinkOperation.new
|
830
|
+
end
|
477
831
|
end
|
478
832
|
|
479
833
|
# Create a new BillingSetupOperation
|
@@ -481,7 +835,13 @@ module Google
|
|
481
835
|
# @return [Google::Ads::GoogleAds::V4::Services::BillingSetupOperation] the operation
|
482
836
|
def self.billing_setup
|
483
837
|
require "google/ads/google_ads/v4/services/billing_setup_service_pb"
|
484
|
-
|
838
|
+
if block_given?
|
839
|
+
op = Google::Ads::GoogleAds::V4::Services::BillingSetupOperation.new
|
840
|
+
yield op
|
841
|
+
op
|
842
|
+
else
|
843
|
+
Google::Ads::GoogleAds::V4::Services::BillingSetupOperation.new
|
844
|
+
end
|
485
845
|
end
|
486
846
|
|
487
847
|
# Get a reference module containing convenience methods for creating
|
@@ -522,13 +882,15 @@ module Google
|
|
522
882
|
# a resource instance to be used for creation in this operation.
|
523
883
|
#
|
524
884
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerClientLinkOperation] instance that will create the resource
|
525
|
-
def self.customer_client_link(res=nil, &blk)
|
885
|
+
def self.customer_client_link(res = nil, &blk)
|
526
886
|
require "google/ads/google_ads/v4/services/customer_client_link_service_pb"
|
527
887
|
op = Google::Ads::GoogleAds::V4::Services::CustomerClientLinkOperation.new
|
528
|
-
if !res.nil?
|
529
|
-
|
888
|
+
op["create"] = if !res.nil?
|
889
|
+
res
|
530
890
|
elsif !blk.nil?
|
531
|
-
|
891
|
+
Factories::V4::Resources.customer_client_link(&blk)
|
892
|
+
else
|
893
|
+
Factories::V4::Resources.customer_client_link
|
532
894
|
end
|
533
895
|
|
534
896
|
op
|
@@ -547,13 +909,15 @@ module Google
|
|
547
909
|
# a resource instance to be used for creation in this operation.
|
548
910
|
#
|
549
911
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomInterestOperation] instance that will create the resource
|
550
|
-
def self.custom_interest(res=nil, &blk)
|
912
|
+
def self.custom_interest(res = nil, &blk)
|
551
913
|
require "google/ads/google_ads/v4/services/custom_interest_service_pb"
|
552
914
|
op = Google::Ads::GoogleAds::V4::Services::CustomInterestOperation.new
|
553
|
-
if !res.nil?
|
554
|
-
|
915
|
+
op["create"] = if !res.nil?
|
916
|
+
res
|
555
917
|
elsif !blk.nil?
|
556
|
-
|
918
|
+
Factories::V4::Resources.custom_interest(&blk)
|
919
|
+
else
|
920
|
+
Factories::V4::Resources.custom_interest
|
557
921
|
end
|
558
922
|
|
559
923
|
op
|
@@ -572,13 +936,15 @@ module Google
|
|
572
936
|
# a resource instance to be used for creation in this operation.
|
573
937
|
#
|
574
938
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerNegativeCriterionOperation] instance that will create the resource
|
575
|
-
def self.customer_negative_criterion(res=nil, &blk)
|
939
|
+
def self.customer_negative_criterion(res = nil, &blk)
|
576
940
|
require "google/ads/google_ads/v4/services/customer_negative_criterion_service_pb"
|
577
941
|
op = Google::Ads::GoogleAds::V4::Services::CustomerNegativeCriterionOperation.new
|
578
|
-
if !res.nil?
|
579
|
-
|
942
|
+
op["create"] = if !res.nil?
|
943
|
+
res
|
580
944
|
elsif !blk.nil?
|
581
|
-
|
945
|
+
Factories::V4::Resources.customer_negative_criterion(&blk)
|
946
|
+
else
|
947
|
+
Factories::V4::Resources.customer_negative_criterion
|
582
948
|
end
|
583
949
|
|
584
950
|
op
|
@@ -597,13 +963,15 @@ module Google
|
|
597
963
|
# a resource instance to be used for creation in this operation.
|
598
964
|
#
|
599
965
|
# @return [Google::Ads::GoogleAds::V4::Services::SharedCriterionOperation] instance that will create the resource
|
600
|
-
def self.shared_criterion(res=nil, &blk)
|
966
|
+
def self.shared_criterion(res = nil, &blk)
|
601
967
|
require "google/ads/google_ads/v4/services/shared_criterion_service_pb"
|
602
968
|
op = Google::Ads::GoogleAds::V4::Services::SharedCriterionOperation.new
|
603
|
-
if !res.nil?
|
604
|
-
|
969
|
+
op["create"] = if !res.nil?
|
970
|
+
res
|
605
971
|
elsif !blk.nil?
|
606
|
-
|
972
|
+
Factories::V4::Resources.shared_criterion(&blk)
|
973
|
+
else
|
974
|
+
Factories::V4::Resources.shared_criterion
|
607
975
|
end
|
608
976
|
|
609
977
|
op
|
@@ -622,13 +990,15 @@ module Google
|
|
622
990
|
# a resource instance to be used for creation in this operation.
|
623
991
|
#
|
624
992
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupKeywordOperation] instance that will create the resource
|
625
|
-
def self.keyword_plan_ad_group_keyword(res=nil, &blk)
|
993
|
+
def self.keyword_plan_ad_group_keyword(res = nil, &blk)
|
626
994
|
require "google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_pb"
|
627
995
|
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupKeywordOperation.new
|
628
|
-
if !res.nil?
|
629
|
-
|
996
|
+
op["create"] = if !res.nil?
|
997
|
+
res
|
630
998
|
elsif !blk.nil?
|
631
|
-
|
999
|
+
Factories::V4::Resources.keyword_plan_ad_group_keyword(&blk)
|
1000
|
+
else
|
1001
|
+
Factories::V4::Resources.keyword_plan_ad_group_keyword
|
632
1002
|
end
|
633
1003
|
|
634
1004
|
op
|
@@ -647,13 +1017,15 @@ module Google
|
|
647
1017
|
# a resource instance to be used for creation in this operation.
|
648
1018
|
#
|
649
1019
|
# @return [Google::Ads::GoogleAds::V4::Services::FeedMappingOperation] instance that will create the resource
|
650
|
-
def self.feed_mapping(res=nil, &blk)
|
1020
|
+
def self.feed_mapping(res = nil, &blk)
|
651
1021
|
require "google/ads/google_ads/v4/services/feed_mapping_service_pb"
|
652
1022
|
op = Google::Ads::GoogleAds::V4::Services::FeedMappingOperation.new
|
653
|
-
if !res.nil?
|
654
|
-
|
1023
|
+
op["create"] = if !res.nil?
|
1024
|
+
res
|
655
1025
|
elsif !blk.nil?
|
656
|
-
|
1026
|
+
Factories::V4::Resources.feed_mapping(&blk)
|
1027
|
+
else
|
1028
|
+
Factories::V4::Resources.feed_mapping
|
657
1029
|
end
|
658
1030
|
|
659
1031
|
op
|
@@ -672,13 +1044,15 @@ module Google
|
|
672
1044
|
# a resource instance to be used for creation in this operation.
|
673
1045
|
#
|
674
1046
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupOperation] instance that will create the resource
|
675
|
-
def self.ad_group(res=nil, &blk)
|
1047
|
+
def self.ad_group(res = nil, &blk)
|
676
1048
|
require "google/ads/google_ads/v4/services/ad_group_service_pb"
|
677
1049
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupOperation.new
|
678
|
-
if !res.nil?
|
679
|
-
|
1050
|
+
op["create"] = if !res.nil?
|
1051
|
+
res
|
680
1052
|
elsif !blk.nil?
|
681
|
-
|
1053
|
+
Factories::V4::Resources.ad_group(&blk)
|
1054
|
+
else
|
1055
|
+
Factories::V4::Resources.ad_group
|
682
1056
|
end
|
683
1057
|
|
684
1058
|
op
|
@@ -697,13 +1071,15 @@ module Google
|
|
697
1071
|
# a resource instance to be used for creation in this operation.
|
698
1072
|
#
|
699
1073
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignBidModifierOperation] instance that will create the resource
|
700
|
-
def self.campaign_bid_modifier(res=nil, &blk)
|
1074
|
+
def self.campaign_bid_modifier(res = nil, &blk)
|
701
1075
|
require "google/ads/google_ads/v4/services/campaign_bid_modifier_service_pb"
|
702
1076
|
op = Google::Ads::GoogleAds::V4::Services::CampaignBidModifierOperation.new
|
703
|
-
if !res.nil?
|
704
|
-
|
1077
|
+
op["create"] = if !res.nil?
|
1078
|
+
res
|
705
1079
|
elsif !blk.nil?
|
706
|
-
|
1080
|
+
Factories::V4::Resources.campaign_bid_modifier(&blk)
|
1081
|
+
else
|
1082
|
+
Factories::V4::Resources.campaign_bid_modifier
|
707
1083
|
end
|
708
1084
|
|
709
1085
|
op
|
@@ -722,13 +1098,15 @@ module Google
|
|
722
1098
|
# a resource instance to be used for creation in this operation.
|
723
1099
|
#
|
724
1100
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignDraftOperation] instance that will create the resource
|
725
|
-
def self.campaign_draft(res=nil, &blk)
|
1101
|
+
def self.campaign_draft(res = nil, &blk)
|
726
1102
|
require "google/ads/google_ads/v4/services/campaign_draft_service_pb"
|
727
1103
|
op = Google::Ads::GoogleAds::V4::Services::CampaignDraftOperation.new
|
728
|
-
if !res.nil?
|
729
|
-
|
1104
|
+
op["create"] = if !res.nil?
|
1105
|
+
res
|
730
1106
|
elsif !blk.nil?
|
731
|
-
|
1107
|
+
Factories::V4::Resources.campaign_draft(&blk)
|
1108
|
+
else
|
1109
|
+
Factories::V4::Resources.campaign_draft
|
732
1110
|
end
|
733
1111
|
|
734
1112
|
op
|
@@ -747,13 +1125,15 @@ module Google
|
|
747
1125
|
# a resource instance to be used for creation in this operation.
|
748
1126
|
#
|
749
1127
|
# @return [Google::Ads::GoogleAds::V4::Services::UserListOperation] instance that will create the resource
|
750
|
-
def self.user_list(res=nil, &blk)
|
1128
|
+
def self.user_list(res = nil, &blk)
|
751
1129
|
require "google/ads/google_ads/v4/services/user_list_service_pb"
|
752
1130
|
op = Google::Ads::GoogleAds::V4::Services::UserListOperation.new
|
753
|
-
if !res.nil?
|
754
|
-
|
1131
|
+
op["create"] = if !res.nil?
|
1132
|
+
res
|
755
1133
|
elsif !blk.nil?
|
756
|
-
|
1134
|
+
Factories::V4::Resources.user_list(&blk)
|
1135
|
+
else
|
1136
|
+
Factories::V4::Resources.user_list
|
757
1137
|
end
|
758
1138
|
|
759
1139
|
op
|
@@ -772,13 +1152,15 @@ module Google
|
|
772
1152
|
# a resource instance to be used for creation in this operation.
|
773
1153
|
#
|
774
1154
|
# @return [Google::Ads::GoogleAds::V4::Services::SharedSetOperation] instance that will create the resource
|
775
|
-
def self.shared_set(res=nil, &blk)
|
1155
|
+
def self.shared_set(res = nil, &blk)
|
776
1156
|
require "google/ads/google_ads/v4/services/shared_set_service_pb"
|
777
1157
|
op = Google::Ads::GoogleAds::V4::Services::SharedSetOperation.new
|
778
|
-
if !res.nil?
|
779
|
-
|
1158
|
+
op["create"] = if !res.nil?
|
1159
|
+
res
|
780
1160
|
elsif !blk.nil?
|
781
|
-
|
1161
|
+
Factories::V4::Resources.shared_set(&blk)
|
1162
|
+
else
|
1163
|
+
Factories::V4::Resources.shared_set
|
782
1164
|
end
|
783
1165
|
|
784
1166
|
op
|
@@ -797,13 +1179,15 @@ module Google
|
|
797
1179
|
# a resource instance to be used for creation in this operation.
|
798
1180
|
#
|
799
1181
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupCriterionLabelOperation] instance that will create the resource
|
800
|
-
def self.ad_group_criterion_label(res=nil, &blk)
|
1182
|
+
def self.ad_group_criterion_label(res = nil, &blk)
|
801
1183
|
require "google/ads/google_ads/v4/services/ad_group_criterion_label_service_pb"
|
802
1184
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupCriterionLabelOperation.new
|
803
|
-
if !res.nil?
|
804
|
-
|
1185
|
+
op["create"] = if !res.nil?
|
1186
|
+
res
|
805
1187
|
elsif !blk.nil?
|
806
|
-
|
1188
|
+
Factories::V4::Resources.ad_group_criterion_label(&blk)
|
1189
|
+
else
|
1190
|
+
Factories::V4::Resources.ad_group_criterion_label
|
807
1191
|
end
|
808
1192
|
|
809
1193
|
op
|
@@ -822,13 +1206,15 @@ module Google
|
|
822
1206
|
# a resource instance to be used for creation in this operation.
|
823
1207
|
#
|
824
1208
|
# @return [Google::Ads::GoogleAds::V4::Services::LabelOperation] instance that will create the resource
|
825
|
-
def self.label(res=nil, &blk)
|
1209
|
+
def self.label(res = nil, &blk)
|
826
1210
|
require "google/ads/google_ads/v4/services/label_service_pb"
|
827
1211
|
op = Google::Ads::GoogleAds::V4::Services::LabelOperation.new
|
828
|
-
if !res.nil?
|
829
|
-
|
1212
|
+
op["create"] = if !res.nil?
|
1213
|
+
res
|
830
1214
|
elsif !blk.nil?
|
831
|
-
|
1215
|
+
Factories::V4::Resources.label(&blk)
|
1216
|
+
else
|
1217
|
+
Factories::V4::Resources.label
|
832
1218
|
end
|
833
1219
|
|
834
1220
|
op
|
@@ -847,13 +1233,15 @@ module Google
|
|
847
1233
|
# a resource instance to be used for creation in this operation.
|
848
1234
|
#
|
849
1235
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupAdLabelOperation] instance that will create the resource
|
850
|
-
def self.ad_group_ad_label(res=nil, &blk)
|
1236
|
+
def self.ad_group_ad_label(res = nil, &blk)
|
851
1237
|
require "google/ads/google_ads/v4/services/ad_group_ad_label_service_pb"
|
852
1238
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupAdLabelOperation.new
|
853
|
-
if !res.nil?
|
854
|
-
|
1239
|
+
op["create"] = if !res.nil?
|
1240
|
+
res
|
855
1241
|
elsif !blk.nil?
|
856
|
-
|
1242
|
+
Factories::V4::Resources.ad_group_ad_label(&blk)
|
1243
|
+
else
|
1244
|
+
Factories::V4::Resources.ad_group_ad_label
|
857
1245
|
end
|
858
1246
|
|
859
1247
|
op
|
@@ -872,13 +1260,15 @@ module Google
|
|
872
1260
|
# a resource instance to be used for creation in this operation.
|
873
1261
|
#
|
874
1262
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupAdOperation] instance that will create the resource
|
875
|
-
def self.ad_group_ad(res=nil, &blk)
|
1263
|
+
def self.ad_group_ad(res = nil, &blk)
|
876
1264
|
require "google/ads/google_ads/v4/services/ad_group_ad_service_pb"
|
877
1265
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupAdOperation.new
|
878
|
-
if !res.nil?
|
879
|
-
|
1266
|
+
op["create"] = if !res.nil?
|
1267
|
+
res
|
880
1268
|
elsif !blk.nil?
|
881
|
-
|
1269
|
+
Factories::V4::Resources.ad_group_ad(&blk)
|
1270
|
+
else
|
1271
|
+
Factories::V4::Resources.ad_group_ad
|
882
1272
|
end
|
883
1273
|
|
884
1274
|
op
|
@@ -897,13 +1287,15 @@ module Google
|
|
897
1287
|
# a resource instance to be used for creation in this operation.
|
898
1288
|
#
|
899
1289
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupBidModifierOperation] instance that will create the resource
|
900
|
-
def self.ad_group_bid_modifier(res=nil, &blk)
|
1290
|
+
def self.ad_group_bid_modifier(res = nil, &blk)
|
901
1291
|
require "google/ads/google_ads/v4/services/ad_group_bid_modifier_service_pb"
|
902
1292
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupBidModifierOperation.new
|
903
|
-
if !res.nil?
|
904
|
-
|
1293
|
+
op["create"] = if !res.nil?
|
1294
|
+
res
|
905
1295
|
elsif !blk.nil?
|
906
|
-
|
1296
|
+
Factories::V4::Resources.ad_group_bid_modifier(&blk)
|
1297
|
+
else
|
1298
|
+
Factories::V4::Resources.ad_group_bid_modifier
|
907
1299
|
end
|
908
1300
|
|
909
1301
|
op
|
@@ -922,13 +1314,15 @@ module Google
|
|
922
1314
|
# a resource instance to be used for creation in this operation.
|
923
1315
|
#
|
924
1316
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupCriterionOperation] instance that will create the resource
|
925
|
-
def self.ad_group_criterion(res=nil, &blk)
|
1317
|
+
def self.ad_group_criterion(res = nil, &blk)
|
926
1318
|
require "google/ads/google_ads/v4/services/ad_group_criterion_service_pb"
|
927
1319
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupCriterionOperation.new
|
928
|
-
if !res.nil?
|
929
|
-
|
1320
|
+
op["create"] = if !res.nil?
|
1321
|
+
res
|
930
1322
|
elsif !blk.nil?
|
931
|
-
|
1323
|
+
Factories::V4::Resources.ad_group_criterion(&blk)
|
1324
|
+
else
|
1325
|
+
Factories::V4::Resources.ad_group_criterion
|
932
1326
|
end
|
933
1327
|
|
934
1328
|
op
|
@@ -947,13 +1341,15 @@ module Google
|
|
947
1341
|
# a resource instance to be used for creation in this operation.
|
948
1342
|
#
|
949
1343
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupExtensionSettingOperation] instance that will create the resource
|
950
|
-
def self.ad_group_extension_setting(res=nil, &blk)
|
1344
|
+
def self.ad_group_extension_setting(res = nil, &blk)
|
951
1345
|
require "google/ads/google_ads/v4/services/ad_group_extension_setting_service_pb"
|
952
1346
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupExtensionSettingOperation.new
|
953
|
-
if !res.nil?
|
954
|
-
|
1347
|
+
op["create"] = if !res.nil?
|
1348
|
+
res
|
955
1349
|
elsif !blk.nil?
|
956
|
-
|
1350
|
+
Factories::V4::Resources.ad_group_extension_setting(&blk)
|
1351
|
+
else
|
1352
|
+
Factories::V4::Resources.ad_group_extension_setting
|
957
1353
|
end
|
958
1354
|
|
959
1355
|
op
|
@@ -972,13 +1368,15 @@ module Google
|
|
972
1368
|
# a resource instance to be used for creation in this operation.
|
973
1369
|
#
|
974
1370
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupFeedOperation] instance that will create the resource
|
975
|
-
def self.ad_group_feed(res=nil, &blk)
|
1371
|
+
def self.ad_group_feed(res = nil, &blk)
|
976
1372
|
require "google/ads/google_ads/v4/services/ad_group_feed_service_pb"
|
977
1373
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupFeedOperation.new
|
978
|
-
if !res.nil?
|
979
|
-
|
1374
|
+
op["create"] = if !res.nil?
|
1375
|
+
res
|
980
1376
|
elsif !blk.nil?
|
981
|
-
|
1377
|
+
Factories::V4::Resources.ad_group_feed(&blk)
|
1378
|
+
else
|
1379
|
+
Factories::V4::Resources.ad_group_feed
|
982
1380
|
end
|
983
1381
|
|
984
1382
|
op
|
@@ -997,13 +1395,15 @@ module Google
|
|
997
1395
|
# a resource instance to be used for creation in this operation.
|
998
1396
|
#
|
999
1397
|
# @return [Google::Ads::GoogleAds::V4::Services::AdGroupLabelOperation] instance that will create the resource
|
1000
|
-
def self.ad_group_label(res=nil, &blk)
|
1398
|
+
def self.ad_group_label(res = nil, &blk)
|
1001
1399
|
require "google/ads/google_ads/v4/services/ad_group_label_service_pb"
|
1002
1400
|
op = Google::Ads::GoogleAds::V4::Services::AdGroupLabelOperation.new
|
1003
|
-
if !res.nil?
|
1004
|
-
|
1401
|
+
op["create"] = if !res.nil?
|
1402
|
+
res
|
1005
1403
|
elsif !blk.nil?
|
1006
|
-
|
1404
|
+
Factories::V4::Resources.ad_group_label(&blk)
|
1405
|
+
else
|
1406
|
+
Factories::V4::Resources.ad_group_label
|
1007
1407
|
end
|
1008
1408
|
|
1009
1409
|
op
|
@@ -1022,13 +1422,15 @@ module Google
|
|
1022
1422
|
# a resource instance to be used for creation in this operation.
|
1023
1423
|
#
|
1024
1424
|
# @return [Google::Ads::GoogleAds::V4::Services::AdParameterOperation] instance that will create the resource
|
1025
|
-
def self.ad_parameter(res=nil, &blk)
|
1425
|
+
def self.ad_parameter(res = nil, &blk)
|
1026
1426
|
require "google/ads/google_ads/v4/services/ad_parameter_service_pb"
|
1027
1427
|
op = Google::Ads::GoogleAds::V4::Services::AdParameterOperation.new
|
1028
|
-
if !res.nil?
|
1029
|
-
|
1428
|
+
op["create"] = if !res.nil?
|
1429
|
+
res
|
1030
1430
|
elsif !blk.nil?
|
1031
|
-
|
1431
|
+
Factories::V4::Resources.ad_parameter(&blk)
|
1432
|
+
else
|
1433
|
+
Factories::V4::Resources.ad_parameter
|
1032
1434
|
end
|
1033
1435
|
|
1034
1436
|
op
|
@@ -1047,13 +1449,15 @@ module Google
|
|
1047
1449
|
# a resource instance to be used for creation in this operation.
|
1048
1450
|
#
|
1049
1451
|
# @return [Google::Ads::GoogleAds::V4::Services::AssetOperation] instance that will create the resource
|
1050
|
-
def self.asset(res=nil, &blk)
|
1452
|
+
def self.asset(res = nil, &blk)
|
1051
1453
|
require "google/ads/google_ads/v4/services/asset_service_pb"
|
1052
1454
|
op = Google::Ads::GoogleAds::V4::Services::AssetOperation.new
|
1053
|
-
if !res.nil?
|
1054
|
-
|
1455
|
+
op["create"] = if !res.nil?
|
1456
|
+
res
|
1055
1457
|
elsif !blk.nil?
|
1056
|
-
|
1458
|
+
Factories::V4::Resources.asset(&blk)
|
1459
|
+
else
|
1460
|
+
Factories::V4::Resources.asset
|
1057
1461
|
end
|
1058
1462
|
|
1059
1463
|
op
|
@@ -1072,13 +1476,15 @@ module Google
|
|
1072
1476
|
# a resource instance to be used for creation in this operation.
|
1073
1477
|
#
|
1074
1478
|
# @return [Google::Ads::GoogleAds::V4::Services::BiddingStrategyOperation] instance that will create the resource
|
1075
|
-
def self.bidding_strategy(res=nil, &blk)
|
1479
|
+
def self.bidding_strategy(res = nil, &blk)
|
1076
1480
|
require "google/ads/google_ads/v4/services/bidding_strategy_service_pb"
|
1077
1481
|
op = Google::Ads::GoogleAds::V4::Services::BiddingStrategyOperation.new
|
1078
|
-
if !res.nil?
|
1079
|
-
|
1482
|
+
op["create"] = if !res.nil?
|
1483
|
+
res
|
1080
1484
|
elsif !blk.nil?
|
1081
|
-
|
1485
|
+
Factories::V4::Resources.bidding_strategy(&blk)
|
1486
|
+
else
|
1487
|
+
Factories::V4::Resources.bidding_strategy
|
1082
1488
|
end
|
1083
1489
|
|
1084
1490
|
op
|
@@ -1097,13 +1503,15 @@ module Google
|
|
1097
1503
|
# a resource instance to be used for creation in this operation.
|
1098
1504
|
#
|
1099
1505
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignBudgetOperation] instance that will create the resource
|
1100
|
-
def self.campaign_budget(res=nil, &blk)
|
1506
|
+
def self.campaign_budget(res = nil, &blk)
|
1101
1507
|
require "google/ads/google_ads/v4/services/campaign_budget_service_pb"
|
1102
1508
|
op = Google::Ads::GoogleAds::V4::Services::CampaignBudgetOperation.new
|
1103
|
-
if !res.nil?
|
1104
|
-
|
1509
|
+
op["create"] = if !res.nil?
|
1510
|
+
res
|
1105
1511
|
elsif !blk.nil?
|
1106
|
-
|
1512
|
+
Factories::V4::Resources.campaign_budget(&blk)
|
1513
|
+
else
|
1514
|
+
Factories::V4::Resources.campaign_budget
|
1107
1515
|
end
|
1108
1516
|
|
1109
1517
|
op
|
@@ -1122,13 +1530,15 @@ module Google
|
|
1122
1530
|
# a resource instance to be used for creation in this operation.
|
1123
1531
|
#
|
1124
1532
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignCriterionOperation] instance that will create the resource
|
1125
|
-
def self.campaign_criterion(res=nil, &blk)
|
1533
|
+
def self.campaign_criterion(res = nil, &blk)
|
1126
1534
|
require "google/ads/google_ads/v4/services/campaign_criterion_service_pb"
|
1127
1535
|
op = Google::Ads::GoogleAds::V4::Services::CampaignCriterionOperation.new
|
1128
|
-
if !res.nil?
|
1129
|
-
|
1536
|
+
op["create"] = if !res.nil?
|
1537
|
+
res
|
1130
1538
|
elsif !blk.nil?
|
1131
|
-
|
1539
|
+
Factories::V4::Resources.campaign_criterion(&blk)
|
1540
|
+
else
|
1541
|
+
Factories::V4::Resources.campaign_criterion
|
1132
1542
|
end
|
1133
1543
|
|
1134
1544
|
op
|
@@ -1147,13 +1557,15 @@ module Google
|
|
1147
1557
|
# a resource instance to be used for creation in this operation.
|
1148
1558
|
#
|
1149
1559
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignExtensionSettingOperation] instance that will create the resource
|
1150
|
-
def self.campaign_extension_setting(res=nil, &blk)
|
1560
|
+
def self.campaign_extension_setting(res = nil, &blk)
|
1151
1561
|
require "google/ads/google_ads/v4/services/campaign_extension_setting_service_pb"
|
1152
1562
|
op = Google::Ads::GoogleAds::V4::Services::CampaignExtensionSettingOperation.new
|
1153
|
-
if !res.nil?
|
1154
|
-
|
1563
|
+
op["create"] = if !res.nil?
|
1564
|
+
res
|
1155
1565
|
elsif !blk.nil?
|
1156
|
-
|
1566
|
+
Factories::V4::Resources.campaign_extension_setting(&blk)
|
1567
|
+
else
|
1568
|
+
Factories::V4::Resources.campaign_extension_setting
|
1157
1569
|
end
|
1158
1570
|
|
1159
1571
|
op
|
@@ -1172,13 +1584,15 @@ module Google
|
|
1172
1584
|
# a resource instance to be used for creation in this operation.
|
1173
1585
|
#
|
1174
1586
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignFeedOperation] instance that will create the resource
|
1175
|
-
def self.campaign_feed(res=nil, &blk)
|
1587
|
+
def self.campaign_feed(res = nil, &blk)
|
1176
1588
|
require "google/ads/google_ads/v4/services/campaign_feed_service_pb"
|
1177
1589
|
op = Google::Ads::GoogleAds::V4::Services::CampaignFeedOperation.new
|
1178
|
-
if !res.nil?
|
1179
|
-
|
1590
|
+
op["create"] = if !res.nil?
|
1591
|
+
res
|
1180
1592
|
elsif !blk.nil?
|
1181
|
-
|
1593
|
+
Factories::V4::Resources.campaign_feed(&blk)
|
1594
|
+
else
|
1595
|
+
Factories::V4::Resources.campaign_feed
|
1182
1596
|
end
|
1183
1597
|
|
1184
1598
|
op
|
@@ -1197,13 +1611,15 @@ module Google
|
|
1197
1611
|
# a resource instance to be used for creation in this operation.
|
1198
1612
|
#
|
1199
1613
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignLabelOperation] instance that will create the resource
|
1200
|
-
def self.campaign_label(res=nil, &blk)
|
1614
|
+
def self.campaign_label(res = nil, &blk)
|
1201
1615
|
require "google/ads/google_ads/v4/services/campaign_label_service_pb"
|
1202
1616
|
op = Google::Ads::GoogleAds::V4::Services::CampaignLabelOperation.new
|
1203
|
-
if !res.nil?
|
1204
|
-
|
1617
|
+
op["create"] = if !res.nil?
|
1618
|
+
res
|
1205
1619
|
elsif !blk.nil?
|
1206
|
-
|
1620
|
+
Factories::V4::Resources.campaign_label(&blk)
|
1621
|
+
else
|
1622
|
+
Factories::V4::Resources.campaign_label
|
1207
1623
|
end
|
1208
1624
|
|
1209
1625
|
op
|
@@ -1222,13 +1638,15 @@ module Google
|
|
1222
1638
|
# a resource instance to be used for creation in this operation.
|
1223
1639
|
#
|
1224
1640
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignOperation] instance that will create the resource
|
1225
|
-
def self.campaign(res=nil, &blk)
|
1641
|
+
def self.campaign(res = nil, &blk)
|
1226
1642
|
require "google/ads/google_ads/v4/services/campaign_service_pb"
|
1227
1643
|
op = Google::Ads::GoogleAds::V4::Services::CampaignOperation.new
|
1228
|
-
if !res.nil?
|
1229
|
-
|
1644
|
+
op["create"] = if !res.nil?
|
1645
|
+
res
|
1230
1646
|
elsif !blk.nil?
|
1231
|
-
|
1647
|
+
Factories::V4::Resources.campaign(&blk)
|
1648
|
+
else
|
1649
|
+
Factories::V4::Resources.campaign
|
1232
1650
|
end
|
1233
1651
|
|
1234
1652
|
op
|
@@ -1247,13 +1665,15 @@ module Google
|
|
1247
1665
|
# a resource instance to be used for creation in this operation.
|
1248
1666
|
#
|
1249
1667
|
# @return [Google::Ads::GoogleAds::V4::Services::CampaignSharedSetOperation] instance that will create the resource
|
1250
|
-
def self.campaign_shared_set(res=nil, &blk)
|
1668
|
+
def self.campaign_shared_set(res = nil, &blk)
|
1251
1669
|
require "google/ads/google_ads/v4/services/campaign_shared_set_service_pb"
|
1252
1670
|
op = Google::Ads::GoogleAds::V4::Services::CampaignSharedSetOperation.new
|
1253
|
-
if !res.nil?
|
1254
|
-
|
1671
|
+
op["create"] = if !res.nil?
|
1672
|
+
res
|
1255
1673
|
elsif !blk.nil?
|
1256
|
-
|
1674
|
+
Factories::V4::Resources.campaign_shared_set(&blk)
|
1675
|
+
else
|
1676
|
+
Factories::V4::Resources.campaign_shared_set
|
1257
1677
|
end
|
1258
1678
|
|
1259
1679
|
op
|
@@ -1272,13 +1692,15 @@ module Google
|
|
1272
1692
|
# a resource instance to be used for creation in this operation.
|
1273
1693
|
#
|
1274
1694
|
# @return [Google::Ads::GoogleAds::V4::Services::ConversionActionOperation] instance that will create the resource
|
1275
|
-
def self.conversion_action(res=nil, &blk)
|
1695
|
+
def self.conversion_action(res = nil, &blk)
|
1276
1696
|
require "google/ads/google_ads/v4/services/conversion_action_service_pb"
|
1277
1697
|
op = Google::Ads::GoogleAds::V4::Services::ConversionActionOperation.new
|
1278
|
-
if !res.nil?
|
1279
|
-
|
1698
|
+
op["create"] = if !res.nil?
|
1699
|
+
res
|
1280
1700
|
elsif !blk.nil?
|
1281
|
-
|
1701
|
+
Factories::V4::Resources.conversion_action(&blk)
|
1702
|
+
else
|
1703
|
+
Factories::V4::Resources.conversion_action
|
1282
1704
|
end
|
1283
1705
|
|
1284
1706
|
op
|
@@ -1297,13 +1719,15 @@ module Google
|
|
1297
1719
|
# a resource instance to be used for creation in this operation.
|
1298
1720
|
#
|
1299
1721
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerExtensionSettingOperation] instance that will create the resource
|
1300
|
-
def self.customer_extension_setting(res=nil, &blk)
|
1722
|
+
def self.customer_extension_setting(res = nil, &blk)
|
1301
1723
|
require "google/ads/google_ads/v4/services/customer_extension_setting_service_pb"
|
1302
1724
|
op = Google::Ads::GoogleAds::V4::Services::CustomerExtensionSettingOperation.new
|
1303
|
-
if !res.nil?
|
1304
|
-
|
1725
|
+
op["create"] = if !res.nil?
|
1726
|
+
res
|
1305
1727
|
elsif !blk.nil?
|
1306
|
-
|
1728
|
+
Factories::V4::Resources.customer_extension_setting(&blk)
|
1729
|
+
else
|
1730
|
+
Factories::V4::Resources.customer_extension_setting
|
1307
1731
|
end
|
1308
1732
|
|
1309
1733
|
op
|
@@ -1322,13 +1746,15 @@ module Google
|
|
1322
1746
|
# a resource instance to be used for creation in this operation.
|
1323
1747
|
#
|
1324
1748
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerFeedOperation] instance that will create the resource
|
1325
|
-
def self.customer_feed(res=nil, &blk)
|
1749
|
+
def self.customer_feed(res = nil, &blk)
|
1326
1750
|
require "google/ads/google_ads/v4/services/customer_feed_service_pb"
|
1327
1751
|
op = Google::Ads::GoogleAds::V4::Services::CustomerFeedOperation.new
|
1328
|
-
if !res.nil?
|
1329
|
-
|
1752
|
+
op["create"] = if !res.nil?
|
1753
|
+
res
|
1330
1754
|
elsif !blk.nil?
|
1331
|
-
|
1755
|
+
Factories::V4::Resources.customer_feed(&blk)
|
1756
|
+
else
|
1757
|
+
Factories::V4::Resources.customer_feed
|
1332
1758
|
end
|
1333
1759
|
|
1334
1760
|
op
|
@@ -1347,13 +1773,15 @@ module Google
|
|
1347
1773
|
# a resource instance to be used for creation in this operation.
|
1348
1774
|
#
|
1349
1775
|
# @return [Google::Ads::GoogleAds::V4::Services::CustomerLabelOperation] instance that will create the resource
|
1350
|
-
def self.customer_label(res=nil, &blk)
|
1776
|
+
def self.customer_label(res = nil, &blk)
|
1351
1777
|
require "google/ads/google_ads/v4/services/customer_label_service_pb"
|
1352
1778
|
op = Google::Ads::GoogleAds::V4::Services::CustomerLabelOperation.new
|
1353
|
-
if !res.nil?
|
1354
|
-
|
1779
|
+
op["create"] = if !res.nil?
|
1780
|
+
res
|
1355
1781
|
elsif !blk.nil?
|
1356
|
-
|
1782
|
+
Factories::V4::Resources.customer_label(&blk)
|
1783
|
+
else
|
1784
|
+
Factories::V4::Resources.customer_label
|
1357
1785
|
end
|
1358
1786
|
|
1359
1787
|
op
|
@@ -1372,13 +1800,15 @@ module Google
|
|
1372
1800
|
# a resource instance to be used for creation in this operation.
|
1373
1801
|
#
|
1374
1802
|
# @return [Google::Ads::GoogleAds::V4::Services::ExtensionFeedItemOperation] instance that will create the resource
|
1375
|
-
def self.extension_feed_item(res=nil, &blk)
|
1803
|
+
def self.extension_feed_item(res = nil, &blk)
|
1376
1804
|
require "google/ads/google_ads/v4/services/extension_feed_item_service_pb"
|
1377
1805
|
op = Google::Ads::GoogleAds::V4::Services::ExtensionFeedItemOperation.new
|
1378
|
-
if !res.nil?
|
1379
|
-
|
1806
|
+
op["create"] = if !res.nil?
|
1807
|
+
res
|
1380
1808
|
elsif !blk.nil?
|
1381
|
-
|
1809
|
+
Factories::V4::Resources.extension_feed_item(&blk)
|
1810
|
+
else
|
1811
|
+
Factories::V4::Resources.extension_feed_item
|
1382
1812
|
end
|
1383
1813
|
|
1384
1814
|
op
|
@@ -1397,13 +1827,15 @@ module Google
|
|
1397
1827
|
# a resource instance to be used for creation in this operation.
|
1398
1828
|
#
|
1399
1829
|
# @return [Google::Ads::GoogleAds::V4::Services::FeedItemOperation] instance that will create the resource
|
1400
|
-
def self.feed_item(res=nil, &blk)
|
1830
|
+
def self.feed_item(res = nil, &blk)
|
1401
1831
|
require "google/ads/google_ads/v4/services/feed_item_service_pb"
|
1402
1832
|
op = Google::Ads::GoogleAds::V4::Services::FeedItemOperation.new
|
1403
|
-
if !res.nil?
|
1404
|
-
|
1833
|
+
op["create"] = if !res.nil?
|
1834
|
+
res
|
1405
1835
|
elsif !blk.nil?
|
1406
|
-
|
1836
|
+
Factories::V4::Resources.feed_item(&blk)
|
1837
|
+
else
|
1838
|
+
Factories::V4::Resources.feed_item
|
1407
1839
|
end
|
1408
1840
|
|
1409
1841
|
op
|
@@ -1422,13 +1854,15 @@ module Google
|
|
1422
1854
|
# a resource instance to be used for creation in this operation.
|
1423
1855
|
#
|
1424
1856
|
# @return [Google::Ads::GoogleAds::V4::Services::FeedItemTargetOperation] instance that will create the resource
|
1425
|
-
def self.feed_item_target(res=nil, &blk)
|
1857
|
+
def self.feed_item_target(res = nil, &blk)
|
1426
1858
|
require "google/ads/google_ads/v4/services/feed_item_target_service_pb"
|
1427
1859
|
op = Google::Ads::GoogleAds::V4::Services::FeedItemTargetOperation.new
|
1428
|
-
if !res.nil?
|
1429
|
-
|
1860
|
+
op["create"] = if !res.nil?
|
1861
|
+
res
|
1430
1862
|
elsif !blk.nil?
|
1431
|
-
|
1863
|
+
Factories::V4::Resources.feed_item_target(&blk)
|
1864
|
+
else
|
1865
|
+
Factories::V4::Resources.feed_item_target
|
1432
1866
|
end
|
1433
1867
|
|
1434
1868
|
op
|
@@ -1447,13 +1881,15 @@ module Google
|
|
1447
1881
|
# a resource instance to be used for creation in this operation.
|
1448
1882
|
#
|
1449
1883
|
# @return [Google::Ads::GoogleAds::V4::Services::FeedOperation] instance that will create the resource
|
1450
|
-
def self.feed(res=nil, &blk)
|
1884
|
+
def self.feed(res = nil, &blk)
|
1451
1885
|
require "google/ads/google_ads/v4/services/feed_service_pb"
|
1452
1886
|
op = Google::Ads::GoogleAds::V4::Services::FeedOperation.new
|
1453
|
-
if !res.nil?
|
1454
|
-
|
1887
|
+
op["create"] = if !res.nil?
|
1888
|
+
res
|
1455
1889
|
elsif !blk.nil?
|
1456
|
-
|
1890
|
+
Factories::V4::Resources.feed(&blk)
|
1891
|
+
else
|
1892
|
+
Factories::V4::Resources.feed
|
1457
1893
|
end
|
1458
1894
|
|
1459
1895
|
op
|
@@ -1472,13 +1908,15 @@ module Google
|
|
1472
1908
|
# a resource instance to be used for creation in this operation.
|
1473
1909
|
#
|
1474
1910
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupOperation] instance that will create the resource
|
1475
|
-
def self.keyword_plan_ad_group(res=nil, &blk)
|
1911
|
+
def self.keyword_plan_ad_group(res = nil, &blk)
|
1476
1912
|
require "google/ads/google_ads/v4/services/keyword_plan_ad_group_service_pb"
|
1477
1913
|
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanAdGroupOperation.new
|
1478
|
-
if !res.nil?
|
1479
|
-
|
1914
|
+
op["create"] = if !res.nil?
|
1915
|
+
res
|
1480
1916
|
elsif !blk.nil?
|
1481
|
-
|
1917
|
+
Factories::V4::Resources.keyword_plan_ad_group(&blk)
|
1918
|
+
else
|
1919
|
+
Factories::V4::Resources.keyword_plan_ad_group
|
1482
1920
|
end
|
1483
1921
|
|
1484
1922
|
op
|
@@ -1497,13 +1935,15 @@ module Google
|
|
1497
1935
|
# a resource instance to be used for creation in this operation.
|
1498
1936
|
#
|
1499
1937
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignKeywordOperation] instance that will create the resource
|
1500
|
-
def self.keyword_plan_campaign_keyword(res=nil, &blk)
|
1938
|
+
def self.keyword_plan_campaign_keyword(res = nil, &blk)
|
1501
1939
|
require "google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_pb"
|
1502
1940
|
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignKeywordOperation.new
|
1503
|
-
if !res.nil?
|
1504
|
-
|
1941
|
+
op["create"] = if !res.nil?
|
1942
|
+
res
|
1505
1943
|
elsif !blk.nil?
|
1506
|
-
|
1944
|
+
Factories::V4::Resources.keyword_plan_campaign_keyword(&blk)
|
1945
|
+
else
|
1946
|
+
Factories::V4::Resources.keyword_plan_campaign_keyword
|
1507
1947
|
end
|
1508
1948
|
|
1509
1949
|
op
|
@@ -1522,13 +1962,15 @@ module Google
|
|
1522
1962
|
# a resource instance to be used for creation in this operation.
|
1523
1963
|
#
|
1524
1964
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignOperation] instance that will create the resource
|
1525
|
-
def self.keyword_plan_campaign(res=nil, &blk)
|
1965
|
+
def self.keyword_plan_campaign(res = nil, &blk)
|
1526
1966
|
require "google/ads/google_ads/v4/services/keyword_plan_campaign_service_pb"
|
1527
1967
|
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanCampaignOperation.new
|
1528
|
-
if !res.nil?
|
1529
|
-
|
1968
|
+
op["create"] = if !res.nil?
|
1969
|
+
res
|
1530
1970
|
elsif !blk.nil?
|
1531
|
-
|
1971
|
+
Factories::V4::Resources.keyword_plan_campaign(&blk)
|
1972
|
+
else
|
1973
|
+
Factories::V4::Resources.keyword_plan_campaign
|
1532
1974
|
end
|
1533
1975
|
|
1534
1976
|
op
|
@@ -1547,13 +1989,15 @@ module Google
|
|
1547
1989
|
# a resource instance to be used for creation in this operation.
|
1548
1990
|
#
|
1549
1991
|
# @return [Google::Ads::GoogleAds::V4::Services::KeywordPlanOperation] instance that will create the resource
|
1550
|
-
def self.keyword_plan(res=nil, &blk)
|
1992
|
+
def self.keyword_plan(res = nil, &blk)
|
1551
1993
|
require "google/ads/google_ads/v4/services/keyword_plan_service_pb"
|
1552
1994
|
op = Google::Ads::GoogleAds::V4::Services::KeywordPlanOperation.new
|
1553
|
-
if !res.nil?
|
1554
|
-
|
1995
|
+
op["create"] = if !res.nil?
|
1996
|
+
res
|
1555
1997
|
elsif !blk.nil?
|
1556
|
-
|
1998
|
+
Factories::V4::Resources.keyword_plan(&blk)
|
1999
|
+
else
|
2000
|
+
Factories::V4::Resources.keyword_plan
|
1557
2001
|
end
|
1558
2002
|
|
1559
2003
|
op
|
@@ -1572,13 +2016,15 @@ module Google
|
|
1572
2016
|
# a resource instance to be used for creation in this operation.
|
1573
2017
|
#
|
1574
2018
|
# @return [Google::Ads::GoogleAds::V4::Services::MediaFileOperation] instance that will create the resource
|
1575
|
-
def self.media_file(res=nil, &blk)
|
2019
|
+
def self.media_file(res = nil, &blk)
|
1576
2020
|
require "google/ads/google_ads/v4/services/media_file_service_pb"
|
1577
2021
|
op = Google::Ads::GoogleAds::V4::Services::MediaFileOperation.new
|
1578
|
-
if !res.nil?
|
1579
|
-
|
2022
|
+
op["create"] = if !res.nil?
|
2023
|
+
res
|
1580
2024
|
elsif !blk.nil?
|
1581
|
-
|
2025
|
+
Factories::V4::Resources.media_file(&blk)
|
2026
|
+
else
|
2027
|
+
Factories::V4::Resources.media_file
|
1582
2028
|
end
|
1583
2029
|
|
1584
2030
|
op
|
@@ -1597,13 +2043,15 @@ module Google
|
|
1597
2043
|
# a resource instance to be used for creation in this operation.
|
1598
2044
|
#
|
1599
2045
|
# @return [Google::Ads::GoogleAds::V4::Services::RemarketingActionOperation] instance that will create the resource
|
1600
|
-
def self.remarketing_action(res=nil, &blk)
|
2046
|
+
def self.remarketing_action(res = nil, &blk)
|
1601
2047
|
require "google/ads/google_ads/v4/services/remarketing_action_service_pb"
|
1602
2048
|
op = Google::Ads::GoogleAds::V4::Services::RemarketingActionOperation.new
|
1603
|
-
if !res.nil?
|
1604
|
-
|
2049
|
+
op["create"] = if !res.nil?
|
2050
|
+
res
|
1605
2051
|
elsif !blk.nil?
|
1606
|
-
|
2052
|
+
Factories::V4::Resources.remarketing_action(&blk)
|
2053
|
+
else
|
2054
|
+
Factories::V4::Resources.remarketing_action
|
1607
2055
|
end
|
1608
2056
|
|
1609
2057
|
op
|
@@ -1622,13 +2070,15 @@ module Google
|
|
1622
2070
|
# a resource instance to be used for creation in this operation.
|
1623
2071
|
#
|
1624
2072
|
# @return [Google::Ads::GoogleAds::V4::Services::BatchJobOperation] instance that will create the resource
|
1625
|
-
def self.batch_job(res=nil, &blk)
|
2073
|
+
def self.batch_job(res = nil, &blk)
|
1626
2074
|
require "google/ads/google_ads/v4/services/batch_job_service_pb"
|
1627
2075
|
op = Google::Ads::GoogleAds::V4::Services::BatchJobOperation.new
|
1628
|
-
if !res.nil?
|
1629
|
-
|
2076
|
+
op["create"] = if !res.nil?
|
2077
|
+
res
|
1630
2078
|
elsif !blk.nil?
|
1631
|
-
|
2079
|
+
Factories::V4::Resources.batch_job(&blk)
|
2080
|
+
else
|
2081
|
+
Factories::V4::Resources.batch_job
|
1632
2082
|
end
|
1633
2083
|
|
1634
2084
|
op
|
@@ -1647,13 +2097,15 @@ module Google
|
|
1647
2097
|
# a resource instance to be used for creation in this operation.
|
1648
2098
|
#
|
1649
2099
|
# @return [Google::Ads::GoogleAds::V4::Services::OfflineUserDataJobOperation] instance that will create the resource
|
1650
|
-
def self.offline_user_data_job(res=nil, &blk)
|
2100
|
+
def self.offline_user_data_job(res = nil, &blk)
|
1651
2101
|
require "google/ads/google_ads/v4/services/offline_user_data_job_service_pb"
|
1652
2102
|
op = Google::Ads::GoogleAds::V4::Services::OfflineUserDataJobOperation.new
|
1653
|
-
if !res.nil?
|
1654
|
-
|
2103
|
+
op["create"] = if !res.nil?
|
2104
|
+
res
|
1655
2105
|
elsif !blk.nil?
|
1656
|
-
|
2106
|
+
Factories::V4::Resources.user_data(&blk)
|
2107
|
+
else
|
2108
|
+
Factories::V4::Resources.user_data
|
1657
2109
|
end
|
1658
2110
|
|
1659
2111
|
op
|
@@ -1672,13 +2124,15 @@ module Google
|
|
1672
2124
|
# a resource instance to be used for creation in this operation.
|
1673
2125
|
#
|
1674
2126
|
# @return [Google::Ads::GoogleAds::V4::Services::UserDataOperation] instance that will create the resource
|
1675
|
-
def self.user_data(res=nil, &blk)
|
2127
|
+
def self.user_data(res = nil, &blk)
|
1676
2128
|
require "google/ads/google_ads/v4/services/user_data_service_pb"
|
1677
2129
|
op = Google::Ads::GoogleAds::V4::Services::UserDataOperation.new
|
1678
|
-
if !res.nil?
|
1679
|
-
|
2130
|
+
op["create"] = if !res.nil?
|
2131
|
+
res
|
1680
2132
|
elsif !blk.nil?
|
1681
|
-
|
2133
|
+
Factories::V4::Resources.user_data(&blk)
|
2134
|
+
else
|
2135
|
+
Factories::V4::Resources.user_data
|
1682
2136
|
end
|
1683
2137
|
|
1684
2138
|
op
|
@@ -1697,13 +2151,15 @@ module Google
|
|
1697
2151
|
# a resource instance to be used for creation in this operation.
|
1698
2152
|
#
|
1699
2153
|
# @return [Google::Ads::GoogleAds::V4::Services::AccountBudgetProposalOperation] instance that will create the resource
|
1700
|
-
def self.account_budget_proposal(res=nil, &blk)
|
2154
|
+
def self.account_budget_proposal(res = nil, &blk)
|
1701
2155
|
require "google/ads/google_ads/v4/services/account_budget_proposal_service_pb"
|
1702
2156
|
op = Google::Ads::GoogleAds::V4::Services::AccountBudgetProposalOperation.new
|
1703
|
-
if !res.nil?
|
1704
|
-
|
2157
|
+
op["create"] = if !res.nil?
|
2158
|
+
res
|
1705
2159
|
elsif !blk.nil?
|
1706
|
-
|
2160
|
+
Factories::V4::Resources.account_budget_proposal(&blk)
|
2161
|
+
else
|
2162
|
+
Factories::V4::Resources.account_budget_proposal
|
1707
2163
|
end
|
1708
2164
|
|
1709
2165
|
op
|
@@ -1722,13 +2178,15 @@ module Google
|
|
1722
2178
|
# a resource instance to be used for creation in this operation.
|
1723
2179
|
#
|
1724
2180
|
# @return [Google::Ads::GoogleAds::V4::Services::AccountLinkOperation] instance that will create the resource
|
1725
|
-
def self.account_link(res=nil, &blk)
|
2181
|
+
def self.account_link(res = nil, &blk)
|
1726
2182
|
require "google/ads/google_ads/v4/services/account_link_service_pb"
|
1727
2183
|
op = Google::Ads::GoogleAds::V4::Services::AccountLinkOperation.new
|
1728
|
-
if !res.nil?
|
1729
|
-
|
2184
|
+
op["create"] = if !res.nil?
|
2185
|
+
res
|
1730
2186
|
elsif !blk.nil?
|
1731
|
-
|
2187
|
+
Factories::V4::Resources.account_link(&blk)
|
2188
|
+
else
|
2189
|
+
Factories::V4::Resources.account_link
|
1732
2190
|
end
|
1733
2191
|
|
1734
2192
|
op
|
@@ -1747,13 +2205,15 @@ module Google
|
|
1747
2205
|
# a resource instance to be used for creation in this operation.
|
1748
2206
|
#
|
1749
2207
|
# @return [Google::Ads::GoogleAds::V4::Services::BillingSetupOperation] instance that will create the resource
|
1750
|
-
def self.billing_setup(res=nil, &blk)
|
2208
|
+
def self.billing_setup(res = nil, &blk)
|
1751
2209
|
require "google/ads/google_ads/v4/services/billing_setup_service_pb"
|
1752
2210
|
op = Google::Ads::GoogleAds::V4::Services::BillingSetupOperation.new
|
1753
|
-
if !res.nil?
|
1754
|
-
|
2211
|
+
op["create"] = if !res.nil?
|
2212
|
+
res
|
1755
2213
|
elsif !blk.nil?
|
1756
|
-
|
2214
|
+
Factories::V4::Resources.billing_setup(&blk)
|
2215
|
+
else
|
2216
|
+
Factories::V4::Resources.billing_setup
|
1757
2217
|
end
|
1758
2218
|
|
1759
2219
|
op
|
@@ -3206,7 +3666,7 @@ module Google
|
|
3206
3666
|
end
|
3207
3667
|
|
3208
3668
|
module RemoveResource
|
3209
|
-
# A convenience method for
|
3669
|
+
# A convenience method for creating an FeedAttributeOperation instance with
|
3210
3670
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3211
3671
|
#
|
3212
3672
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3217,7 +3677,7 @@ module Google
|
|
3217
3677
|
op
|
3218
3678
|
end
|
3219
3679
|
|
3220
|
-
# A convenience method for
|
3680
|
+
# A convenience method for creating an TargetRestrictionOperation instance with
|
3221
3681
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3222
3682
|
#
|
3223
3683
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3228,7 +3688,7 @@ module Google
|
|
3228
3688
|
op
|
3229
3689
|
end
|
3230
3690
|
|
3231
|
-
# A convenience method for
|
3691
|
+
# A convenience method for creating an CustomerClientLinkOperation instance with
|
3232
3692
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3233
3693
|
#
|
3234
3694
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3239,7 +3699,7 @@ module Google
|
|
3239
3699
|
op
|
3240
3700
|
end
|
3241
3701
|
|
3242
|
-
# A convenience method for
|
3702
|
+
# A convenience method for creating an CustomInterestOperation instance with
|
3243
3703
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3244
3704
|
#
|
3245
3705
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3250,7 +3710,7 @@ module Google
|
|
3250
3710
|
op
|
3251
3711
|
end
|
3252
3712
|
|
3253
|
-
# A convenience method for
|
3713
|
+
# A convenience method for creating an CustomerNegativeCriterionOperation instance with
|
3254
3714
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3255
3715
|
#
|
3256
3716
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3261,7 +3721,7 @@ module Google
|
|
3261
3721
|
op
|
3262
3722
|
end
|
3263
3723
|
|
3264
|
-
# A convenience method for
|
3724
|
+
# A convenience method for creating an SharedCriterionOperation instance with
|
3265
3725
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3266
3726
|
#
|
3267
3727
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3272,7 +3732,7 @@ module Google
|
|
3272
3732
|
op
|
3273
3733
|
end
|
3274
3734
|
|
3275
|
-
# A convenience method for
|
3735
|
+
# A convenience method for creating an KeywordPlanAdGroupKeywordOperation instance with
|
3276
3736
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3277
3737
|
#
|
3278
3738
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3283,7 +3743,7 @@ module Google
|
|
3283
3743
|
op
|
3284
3744
|
end
|
3285
3745
|
|
3286
|
-
# A convenience method for
|
3746
|
+
# A convenience method for creating an FeedMappingOperation instance with
|
3287
3747
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3288
3748
|
#
|
3289
3749
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3294,7 +3754,7 @@ module Google
|
|
3294
3754
|
op
|
3295
3755
|
end
|
3296
3756
|
|
3297
|
-
# A convenience method for
|
3757
|
+
# A convenience method for creating an AdGroupOperation instance with
|
3298
3758
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3299
3759
|
#
|
3300
3760
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3305,7 +3765,7 @@ module Google
|
|
3305
3765
|
op
|
3306
3766
|
end
|
3307
3767
|
|
3308
|
-
# A convenience method for
|
3768
|
+
# A convenience method for creating an CampaignBidModifierOperation instance with
|
3309
3769
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3310
3770
|
#
|
3311
3771
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3316,7 +3776,7 @@ module Google
|
|
3316
3776
|
op
|
3317
3777
|
end
|
3318
3778
|
|
3319
|
-
# A convenience method for
|
3779
|
+
# A convenience method for creating an CustomerManagerLinkOperation instance with
|
3320
3780
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3321
3781
|
#
|
3322
3782
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3327,7 +3787,7 @@ module Google
|
|
3327
3787
|
op
|
3328
3788
|
end
|
3329
3789
|
|
3330
|
-
# A convenience method for
|
3790
|
+
# A convenience method for creating an CampaignDraftOperation instance with
|
3331
3791
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3332
3792
|
#
|
3333
3793
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3338,7 +3798,7 @@ module Google
|
|
3338
3798
|
op
|
3339
3799
|
end
|
3340
3800
|
|
3341
|
-
# A convenience method for
|
3801
|
+
# A convenience method for creating an UserListOperation instance with
|
3342
3802
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3343
3803
|
#
|
3344
3804
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3349,7 +3809,7 @@ module Google
|
|
3349
3809
|
op
|
3350
3810
|
end
|
3351
3811
|
|
3352
|
-
# A convenience method for
|
3812
|
+
# A convenience method for creating an CustomerOperation instance with
|
3353
3813
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3354
3814
|
#
|
3355
3815
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3360,7 +3820,7 @@ module Google
|
|
3360
3820
|
op
|
3361
3821
|
end
|
3362
3822
|
|
3363
|
-
# A convenience method for
|
3823
|
+
# A convenience method for creating an SharedSetOperation instance with
|
3364
3824
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3365
3825
|
#
|
3366
3826
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3371,7 +3831,7 @@ module Google
|
|
3371
3831
|
op
|
3372
3832
|
end
|
3373
3833
|
|
3374
|
-
# A convenience method for
|
3834
|
+
# A convenience method for creating an AdGroupCriterionLabelOperation instance with
|
3375
3835
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3376
3836
|
#
|
3377
3837
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3382,7 +3842,7 @@ module Google
|
|
3382
3842
|
op
|
3383
3843
|
end
|
3384
3844
|
|
3385
|
-
# A convenience method for
|
3845
|
+
# A convenience method for creating an LabelOperation instance with
|
3386
3846
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3387
3847
|
#
|
3388
3848
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3393,7 +3853,7 @@ module Google
|
|
3393
3853
|
op
|
3394
3854
|
end
|
3395
3855
|
|
3396
|
-
# A convenience method for
|
3856
|
+
# A convenience method for creating an AdGroupAdLabelOperation instance with
|
3397
3857
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3398
3858
|
#
|
3399
3859
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3404,7 +3864,7 @@ module Google
|
|
3404
3864
|
op
|
3405
3865
|
end
|
3406
3866
|
|
3407
|
-
# A convenience method for
|
3867
|
+
# A convenience method for creating an AdGroupAdOperation instance with
|
3408
3868
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3409
3869
|
#
|
3410
3870
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3415,7 +3875,7 @@ module Google
|
|
3415
3875
|
op
|
3416
3876
|
end
|
3417
3877
|
|
3418
|
-
# A convenience method for
|
3878
|
+
# A convenience method for creating an AdGroupBidModifierOperation instance with
|
3419
3879
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3420
3880
|
#
|
3421
3881
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3426,7 +3886,7 @@ module Google
|
|
3426
3886
|
op
|
3427
3887
|
end
|
3428
3888
|
|
3429
|
-
# A convenience method for
|
3889
|
+
# A convenience method for creating an AdGroupCriterionOperation instance with
|
3430
3890
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3431
3891
|
#
|
3432
3892
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3437,7 +3897,7 @@ module Google
|
|
3437
3897
|
op
|
3438
3898
|
end
|
3439
3899
|
|
3440
|
-
# A convenience method for
|
3900
|
+
# A convenience method for creating an AdGroupExtensionSettingOperation instance with
|
3441
3901
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3442
3902
|
#
|
3443
3903
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3448,7 +3908,7 @@ module Google
|
|
3448
3908
|
op
|
3449
3909
|
end
|
3450
3910
|
|
3451
|
-
# A convenience method for
|
3911
|
+
# A convenience method for creating an AdGroupFeedOperation instance with
|
3452
3912
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3453
3913
|
#
|
3454
3914
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3459,7 +3919,7 @@ module Google
|
|
3459
3919
|
op
|
3460
3920
|
end
|
3461
3921
|
|
3462
|
-
# A convenience method for
|
3922
|
+
# A convenience method for creating an AdGroupLabelOperation instance with
|
3463
3923
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3464
3924
|
#
|
3465
3925
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3470,7 +3930,7 @@ module Google
|
|
3470
3930
|
op
|
3471
3931
|
end
|
3472
3932
|
|
3473
|
-
# A convenience method for
|
3933
|
+
# A convenience method for creating an AdParameterOperation instance with
|
3474
3934
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3475
3935
|
#
|
3476
3936
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3481,7 +3941,7 @@ module Google
|
|
3481
3941
|
op
|
3482
3942
|
end
|
3483
3943
|
|
3484
|
-
# A convenience method for
|
3944
|
+
# A convenience method for creating an AdOperation instance with
|
3485
3945
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3486
3946
|
#
|
3487
3947
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3492,7 +3952,7 @@ module Google
|
|
3492
3952
|
op
|
3493
3953
|
end
|
3494
3954
|
|
3495
|
-
# A convenience method for
|
3955
|
+
# A convenience method for creating an AssetOperation instance with
|
3496
3956
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3497
3957
|
#
|
3498
3958
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3503,7 +3963,7 @@ module Google
|
|
3503
3963
|
op
|
3504
3964
|
end
|
3505
3965
|
|
3506
|
-
# A convenience method for
|
3966
|
+
# A convenience method for creating an BiddingStrategyOperation instance with
|
3507
3967
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3508
3968
|
#
|
3509
3969
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3514,7 +3974,7 @@ module Google
|
|
3514
3974
|
op
|
3515
3975
|
end
|
3516
3976
|
|
3517
|
-
# A convenience method for
|
3977
|
+
# A convenience method for creating an CampaignBudgetOperation instance with
|
3518
3978
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3519
3979
|
#
|
3520
3980
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3525,7 +3985,7 @@ module Google
|
|
3525
3985
|
op
|
3526
3986
|
end
|
3527
3987
|
|
3528
|
-
# A convenience method for
|
3988
|
+
# A convenience method for creating an CampaignCriterionOperation instance with
|
3529
3989
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3530
3990
|
#
|
3531
3991
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3536,7 +3996,7 @@ module Google
|
|
3536
3996
|
op
|
3537
3997
|
end
|
3538
3998
|
|
3539
|
-
# A convenience method for
|
3999
|
+
# A convenience method for creating an CampaignExperimentOperation instance with
|
3540
4000
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3541
4001
|
#
|
3542
4002
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3547,7 +4007,7 @@ module Google
|
|
3547
4007
|
op
|
3548
4008
|
end
|
3549
4009
|
|
3550
|
-
# A convenience method for
|
4010
|
+
# A convenience method for creating an CampaignExtensionSettingOperation instance with
|
3551
4011
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3552
4012
|
#
|
3553
4013
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3558,7 +4018,7 @@ module Google
|
|
3558
4018
|
op
|
3559
4019
|
end
|
3560
4020
|
|
3561
|
-
# A convenience method for
|
4021
|
+
# A convenience method for creating an CampaignFeedOperation instance with
|
3562
4022
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3563
4023
|
#
|
3564
4024
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3569,7 +4029,7 @@ module Google
|
|
3569
4029
|
op
|
3570
4030
|
end
|
3571
4031
|
|
3572
|
-
# A convenience method for
|
4032
|
+
# A convenience method for creating an CampaignLabelOperation instance with
|
3573
4033
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3574
4034
|
#
|
3575
4035
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3580,7 +4040,7 @@ module Google
|
|
3580
4040
|
op
|
3581
4041
|
end
|
3582
4042
|
|
3583
|
-
# A convenience method for
|
4043
|
+
# A convenience method for creating an CampaignOperation instance with
|
3584
4044
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3585
4045
|
#
|
3586
4046
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3591,7 +4051,7 @@ module Google
|
|
3591
4051
|
op
|
3592
4052
|
end
|
3593
4053
|
|
3594
|
-
# A convenience method for
|
4054
|
+
# A convenience method for creating an CampaignSharedSetOperation instance with
|
3595
4055
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3596
4056
|
#
|
3597
4057
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3602,7 +4062,7 @@ module Google
|
|
3602
4062
|
op
|
3603
4063
|
end
|
3604
4064
|
|
3605
|
-
# A convenience method for
|
4065
|
+
# A convenience method for creating an ConversionActionOperation instance with
|
3606
4066
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3607
4067
|
#
|
3608
4068
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3613,7 +4073,7 @@ module Google
|
|
3613
4073
|
op
|
3614
4074
|
end
|
3615
4075
|
|
3616
|
-
# A convenience method for
|
4076
|
+
# A convenience method for creating an CustomerExtensionSettingOperation instance with
|
3617
4077
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3618
4078
|
#
|
3619
4079
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3624,7 +4084,7 @@ module Google
|
|
3624
4084
|
op
|
3625
4085
|
end
|
3626
4086
|
|
3627
|
-
# A convenience method for
|
4087
|
+
# A convenience method for creating an CustomerFeedOperation instance with
|
3628
4088
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3629
4089
|
#
|
3630
4090
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3635,7 +4095,7 @@ module Google
|
|
3635
4095
|
op
|
3636
4096
|
end
|
3637
4097
|
|
3638
|
-
# A convenience method for
|
4098
|
+
# A convenience method for creating an CustomerLabelOperation instance with
|
3639
4099
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3640
4100
|
#
|
3641
4101
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3646,7 +4106,7 @@ module Google
|
|
3646
4106
|
op
|
3647
4107
|
end
|
3648
4108
|
|
3649
|
-
# A convenience method for
|
4109
|
+
# A convenience method for creating an ExtensionFeedItemOperation instance with
|
3650
4110
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3651
4111
|
#
|
3652
4112
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3657,7 +4117,7 @@ module Google
|
|
3657
4117
|
op
|
3658
4118
|
end
|
3659
4119
|
|
3660
|
-
# A convenience method for
|
4120
|
+
# A convenience method for creating an FeedItemOperation instance with
|
3661
4121
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3662
4122
|
#
|
3663
4123
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3668,7 +4128,7 @@ module Google
|
|
3668
4128
|
op
|
3669
4129
|
end
|
3670
4130
|
|
3671
|
-
# A convenience method for
|
4131
|
+
# A convenience method for creating an FeedItemTargetOperation instance with
|
3672
4132
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3673
4133
|
#
|
3674
4134
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3679,7 +4139,7 @@ module Google
|
|
3679
4139
|
op
|
3680
4140
|
end
|
3681
4141
|
|
3682
|
-
# A convenience method for
|
4142
|
+
# A convenience method for creating an FeedOperation instance with
|
3683
4143
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3684
4144
|
#
|
3685
4145
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3690,7 +4150,7 @@ module Google
|
|
3690
4150
|
op
|
3691
4151
|
end
|
3692
4152
|
|
3693
|
-
# A convenience method for
|
4153
|
+
# A convenience method for creating an KeywordPlanAdGroupOperation instance with
|
3694
4154
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3695
4155
|
#
|
3696
4156
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3701,7 +4161,7 @@ module Google
|
|
3701
4161
|
op
|
3702
4162
|
end
|
3703
4163
|
|
3704
|
-
# A convenience method for
|
4164
|
+
# A convenience method for creating an KeywordPlanCampaignKeywordOperation instance with
|
3705
4165
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3706
4166
|
#
|
3707
4167
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3712,7 +4172,7 @@ module Google
|
|
3712
4172
|
op
|
3713
4173
|
end
|
3714
4174
|
|
3715
|
-
# A convenience method for
|
4175
|
+
# A convenience method for creating an KeywordPlanCampaignOperation instance with
|
3716
4176
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3717
4177
|
#
|
3718
4178
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3723,7 +4183,7 @@ module Google
|
|
3723
4183
|
op
|
3724
4184
|
end
|
3725
4185
|
|
3726
|
-
# A convenience method for
|
4186
|
+
# A convenience method for creating an KeywordPlanOperation instance with
|
3727
4187
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3728
4188
|
#
|
3729
4189
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3734,7 +4194,7 @@ module Google
|
|
3734
4194
|
op
|
3735
4195
|
end
|
3736
4196
|
|
3737
|
-
# A convenience method for
|
4197
|
+
# A convenience method for creating an MediaFileOperation instance with
|
3738
4198
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3739
4199
|
#
|
3740
4200
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3745,7 +4205,7 @@ module Google
|
|
3745
4205
|
op
|
3746
4206
|
end
|
3747
4207
|
|
3748
|
-
# A convenience method for
|
4208
|
+
# A convenience method for creating an RemarketingActionOperation instance with
|
3749
4209
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3750
4210
|
#
|
3751
4211
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3756,7 +4216,7 @@ module Google
|
|
3756
4216
|
op
|
3757
4217
|
end
|
3758
4218
|
|
3759
|
-
# A convenience method for
|
4219
|
+
# A convenience method for creating an MutateOperation instance with
|
3760
4220
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3761
4221
|
#
|
3762
4222
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3767,7 +4227,7 @@ module Google
|
|
3767
4227
|
op
|
3768
4228
|
end
|
3769
4229
|
|
3770
|
-
# A convenience method for
|
4230
|
+
# A convenience method for creating an BatchJobOperation instance with
|
3771
4231
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3772
4232
|
#
|
3773
4233
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3778,7 +4238,7 @@ module Google
|
|
3778
4238
|
op
|
3779
4239
|
end
|
3780
4240
|
|
3781
|
-
# A convenience method for
|
4241
|
+
# A convenience method for creating an OfflineUserDataJobOperation instance with
|
3782
4242
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3783
4243
|
#
|
3784
4244
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3789,7 +4249,7 @@ module Google
|
|
3789
4249
|
op
|
3790
4250
|
end
|
3791
4251
|
|
3792
|
-
# A convenience method for
|
4252
|
+
# A convenience method for creating an UserDataOperation instance with
|
3793
4253
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3794
4254
|
#
|
3795
4255
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3800,7 +4260,7 @@ module Google
|
|
3800
4260
|
op
|
3801
4261
|
end
|
3802
4262
|
|
3803
|
-
# A convenience method for
|
4263
|
+
# A convenience method for creating an AccountBudgetProposalOperation instance with
|
3804
4264
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3805
4265
|
#
|
3806
4266
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3811,7 +4271,7 @@ module Google
|
|
3811
4271
|
op
|
3812
4272
|
end
|
3813
4273
|
|
3814
|
-
# A convenience method for
|
4274
|
+
# A convenience method for creating an ApplyRecommendationOperation instance with
|
3815
4275
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3816
4276
|
#
|
3817
4277
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3822,7 +4282,7 @@ module Google
|
|
3822
4282
|
op
|
3823
4283
|
end
|
3824
4284
|
|
3825
|
-
# A convenience method for
|
4285
|
+
# A convenience method for creating an DismissRecommendationOperation instance with
|
3826
4286
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3827
4287
|
#
|
3828
4288
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3833,7 +4293,7 @@ module Google
|
|
3833
4293
|
op
|
3834
4294
|
end
|
3835
4295
|
|
3836
|
-
# A convenience method for
|
4296
|
+
# A convenience method for creating an AccountLinkOperation instance with
|
3837
4297
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3838
4298
|
#
|
3839
4299
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3844,7 +4304,7 @@ module Google
|
|
3844
4304
|
op
|
3845
4305
|
end
|
3846
4306
|
|
3847
|
-
# A convenience method for
|
4307
|
+
# A convenience method for creating an MerchantCenterLinkOperation instance with
|
3848
4308
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3849
4309
|
#
|
3850
4310
|
# @param path [String] the resource name of the resource to delete.
|
@@ -3855,7 +4315,7 @@ module Google
|
|
3855
4315
|
op
|
3856
4316
|
end
|
3857
4317
|
|
3858
|
-
# A convenience method for
|
4318
|
+
# A convenience method for creating an BillingSetupOperation instance with
|
3859
4319
|
# its "remove" field preopulated with a resource path corresponding to the resource to be removed.
|
3860
4320
|
#
|
3861
4321
|
# @param path [String] the resource name of the resource to delete.
|