google-api-client 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  5. data/generated/google/apis/admob_v1.rb +4 -1
  6. data/generated/google/apis/admob_v1/service.rb +4 -0
  7. data/generated/google/apis/admob_v1beta.rb +38 -0
  8. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  9. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  10. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  11. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  12. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +8 -32
  13. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +0 -16
  14. data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -32
  15. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  16. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  17. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/apigee_v1/classes.rb +114 -11
  20. data/generated/google/apis/apigee_v1/representations.rb +39 -1
  21. data/generated/google/apis/apigee_v1/service.rb +370 -2
  22. data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -6
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  26. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  27. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +22 -10
  28. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  29. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +1 -5
  30. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  31. data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
  32. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
  34. data/generated/google/apis/cloudasset_v1.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1/classes.rb +425 -6
  36. data/generated/google/apis/cloudasset_v1/representations.rb +170 -1
  37. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  38. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -6
  39. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  40. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
  42. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
  43. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  44. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
  45. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
  46. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +0 -6
  48. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +0 -1
  49. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  50. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -6
  51. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -1
  52. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  53. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  54. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudidentity_v1beta1/service.rb +7 -3
  56. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +323 -6
  58. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +248 -1
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +323 -6
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +248 -1
  62. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +323 -6
  64. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +248 -1
  65. data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
  66. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +323 -6
  68. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +248 -1
  69. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
  70. data/generated/google/apis/compute_v1.rb +1 -1
  71. data/generated/google/apis/compute_v1/classes.rb +35 -13
  72. data/generated/google/apis/compute_v1/representations.rb +2 -0
  73. data/generated/google/apis/compute_v1/service.rb +2 -1
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +3 -1
  76. data/generated/google/apis/content_v2_1.rb +1 -1
  77. data/generated/google/apis/content_v2_1/classes.rb +446 -4
  78. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  79. data/generated/google/apis/content_v2_1/service.rb +36 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +2 -2
  81. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  82. data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
  83. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +0 -31
  86. data/generated/google/apis/dialogflow_v2/representations.rb +0 -15
  87. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  88. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -31
  89. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -15
  90. data/generated/google/apis/dialogflow_v2beta1/service.rb +12 -6
  91. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  92. data/generated/google/apis/dialogflow_v3beta1/classes.rb +0 -31
  93. data/generated/google/apis/dialogflow_v3beta1/representations.rb +0 -15
  94. data/generated/google/apis/displayvideo_v1.rb +1 -1
  95. data/generated/google/apis/displayvideo_v1/classes.rb +5 -5
  96. data/generated/google/apis/displayvideo_v1/service.rb +1 -1
  97. data/generated/google/apis/dlp_v2.rb +1 -1
  98. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  99. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  100. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  101. data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
  102. data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
  103. data/generated/google/apis/domains_v1beta1.rb +1 -1
  104. data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
  105. data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
  106. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  107. data/generated/google/apis/drive_v2.rb +1 -1
  108. data/generated/google/apis/drive_v2/classes.rb +2 -2
  109. data/generated/google/apis/drive_v3.rb +1 -1
  110. data/generated/google/apis/drive_v3/classes.rb +2 -2
  111. data/generated/google/apis/healthcare_v1.rb +1 -1
  112. data/generated/google/apis/healthcare_v1/classes.rb +6 -0
  113. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  114. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  115. data/generated/google/apis/healthcare_v1beta1/classes.rb +12 -54
  116. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -29
  117. data/generated/google/apis/logging_v2.rb +1 -1
  118. data/generated/google/apis/logging_v2/classes.rb +4 -2
  119. data/generated/google/apis/logging_v2/service.rb +20 -20
  120. data/generated/google/apis/managedidentities_v1.rb +1 -1
  121. data/generated/google/apis/managedidentities_v1/classes.rb +345 -4
  122. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  123. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  124. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +345 -4
  125. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -0
  126. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  127. data/generated/google/apis/managedidentities_v1beta1/classes.rb +345 -4
  128. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -0
  129. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  130. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  131. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  132. data/generated/google/apis/notebooks_v1.rb +34 -0
  133. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  134. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  135. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  136. data/generated/google/apis/people_v1.rb +1 -1
  137. data/generated/google/apis/people_v1/service.rb +9 -6
  138. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  139. data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
  140. data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
  141. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  142. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
  143. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
  144. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  145. data/generated/google/apis/privateca_v1beta1/classes.rb +0 -6
  146. data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
  147. data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
  148. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  149. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  150. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  151. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  152. data/generated/google/apis/redis_v1.rb +1 -1
  153. data/generated/google/apis/redis_v1/classes.rb +58 -0
  154. data/generated/google/apis/redis_v1/representations.rb +20 -0
  155. data/generated/google/apis/redis_v1beta1.rb +1 -1
  156. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  157. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  158. data/generated/google/apis/run_v1.rb +1 -1
  159. data/generated/google/apis/run_v1/classes.rb +0 -6
  160. data/generated/google/apis/run_v1/representations.rb +0 -1
  161. data/generated/google/apis/run_v1alpha1.rb +1 -1
  162. data/generated/google/apis/run_v1alpha1/classes.rb +0 -6
  163. data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
  164. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  165. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
  166. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/secretmanager_v1.rb +1 -1
  168. data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
  169. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  170. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  171. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
  172. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  173. data/generated/google/apis/securitycenter_v1.rb +1 -1
  174. data/generated/google/apis/securitycenter_v1/classes.rb +0 -6
  175. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  176. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  177. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -6
  178. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  179. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  180. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -6
  181. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  182. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  183. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  184. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  185. data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
  186. data/generated/google/apis/storage_v1.rb +1 -1
  187. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  188. data/generated/google/apis/storagetransfer_v1/classes.rb +31 -16
  189. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  190. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  191. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  192. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  193. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  194. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  195. data/generated/google/apis/translate_v3.rb +1 -1
  196. data/generated/google/apis/translate_v3beta1.rb +1 -1
  197. data/generated/google/apis/youtube_v3.rb +1 -1
  198. data/generated/google/apis/youtube_v3/service.rb +6 -6
  199. data/lib/google/apis/version.rb +1 -1
  200. metadata +15 -3
@@ -22,12 +22,42 @@ module Google
22
22
  module Apis
23
23
  module RealtimebiddingV1
24
24
 
25
+ class ActivatePretargetingConfigRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AddTargetedAppsRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AddTargetedPublishersRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AddTargetedSitesRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
25
49
  class AdvertiserAndBrand
26
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
51
 
28
52
  include Google::Apis::Core::JsonObjectSupport
29
53
  end
30
54
 
55
+ class AppTargeting
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
31
61
  class CloseUserListRequest
32
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
63
 
@@ -40,6 +70,12 @@ module Google
40
70
  include Google::Apis::Core::JsonObjectSupport
41
71
  end
42
72
 
73
+ class CreativeDimensions
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
43
79
  class CreativeServingDecision
44
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
81
 
@@ -88,6 +124,12 @@ module Google
88
124
  include Google::Apis::Core::JsonObjectSupport
89
125
  end
90
126
 
127
+ class Empty
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
91
133
  class GetRemarketingTagResponse
92
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
135
 
@@ -124,6 +166,12 @@ module Google
124
166
  include Google::Apis::Core::JsonObjectSupport
125
167
  end
126
168
 
169
+ class ListPretargetingConfigsResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
127
175
  class ListUserListsResponse
128
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
177
 
@@ -142,6 +190,12 @@ module Google
142
190
  include Google::Apis::Core::JsonObjectSupport
143
191
  end
144
192
 
193
+ class NumericTargetingDimension
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
145
199
  class OpenUserListRequest
146
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
201
 
@@ -166,6 +220,42 @@ module Google
166
220
  include Google::Apis::Core::JsonObjectSupport
167
221
  end
168
222
 
223
+ class PretargetingConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class RemoveTargetedAppsRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class RemoveTargetedPublishersRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class RemoveTargetedSitesRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class StringTargetingDimension
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class SuspendPretargetingConfigRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
169
259
  class UrlDownloadSize
170
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
261
 
@@ -208,6 +298,36 @@ module Google
208
298
  include Google::Apis::Core::JsonObjectSupport
209
299
  end
210
300
 
301
+ class ActivatePretargetingConfigRequest
302
+ # @private
303
+ class Representation < Google::Apis::Core::JsonRepresentation
304
+ end
305
+ end
306
+
307
+ class AddTargetedAppsRequest
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ collection :app_ids, as: 'appIds'
311
+ property :targeting_mode, as: 'targetingMode'
312
+ end
313
+ end
314
+
315
+ class AddTargetedPublishersRequest
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ collection :publisher_ids, as: 'publisherIds'
319
+ property :targeting_mode, as: 'targetingMode'
320
+ end
321
+ end
322
+
323
+ class AddTargetedSitesRequest
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ collection :sites, as: 'sites'
327
+ property :targeting_mode, as: 'targetingMode'
328
+ end
329
+ end
330
+
211
331
  class AdvertiserAndBrand
212
332
  # @private
213
333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -218,6 +338,16 @@ module Google
218
338
  end
219
339
  end
220
340
 
341
+ class AppTargeting
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :mobile_app_category_targeting, as: 'mobileAppCategoryTargeting', class: Google::Apis::RealtimebiddingV1::NumericTargetingDimension, decorator: Google::Apis::RealtimebiddingV1::NumericTargetingDimension::Representation
345
+
346
+ property :mobile_app_targeting, as: 'mobileAppTargeting', class: Google::Apis::RealtimebiddingV1::StringTargetingDimension, decorator: Google::Apis::RealtimebiddingV1::StringTargetingDimension::Representation
347
+
348
+ end
349
+ end
350
+
221
351
  class CloseUserListRequest
222
352
  # @private
223
353
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -254,6 +384,14 @@ module Google
254
384
  end
255
385
  end
256
386
 
387
+ class CreativeDimensions
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :height, :numeric_string => true, as: 'height'
391
+ property :width, :numeric_string => true, as: 'width'
392
+ end
393
+ end
394
+
257
395
  class CreativeServingDecision
258
396
  # @private
259
397
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -345,6 +483,12 @@ module Google
345
483
  end
346
484
  end
347
485
 
486
+ class Empty
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ end
490
+ end
491
+
348
492
  class GetRemarketingTagResponse
349
493
  # @private
350
494
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -394,6 +538,15 @@ module Google
394
538
  end
395
539
  end
396
540
 
541
+ class ListPretargetingConfigsResponse
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :next_page_token, as: 'nextPageToken'
545
+ collection :pretargeting_configs, as: 'pretargetingConfigs', class: Google::Apis::RealtimebiddingV1::PretargetingConfig, decorator: Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
546
+
547
+ end
548
+ end
549
+
397
550
  class ListUserListsResponse
398
551
  # @private
399
552
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -432,6 +585,14 @@ module Google
432
585
  end
433
586
  end
434
587
 
588
+ class NumericTargetingDimension
589
+ # @private
590
+ class Representation < Google::Apis::Core::JsonRepresentation
591
+ collection :excluded_ids, as: 'excludedIds'
592
+ collection :included_ids, as: 'includedIds'
593
+ end
594
+ end
595
+
435
596
  class OpenUserListRequest
436
597
  # @private
437
598
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -477,6 +638,77 @@ module Google
477
638
  end
478
639
  end
479
640
 
641
+ class PretargetingConfig
642
+ # @private
643
+ class Representation < Google::Apis::Core::JsonRepresentation
644
+ collection :allowed_user_targeting_modes, as: 'allowedUserTargetingModes'
645
+ property :app_targeting, as: 'appTargeting', class: Google::Apis::RealtimebiddingV1::AppTargeting, decorator: Google::Apis::RealtimebiddingV1::AppTargeting::Representation
646
+
647
+ property :billing_id, :numeric_string => true, as: 'billingId'
648
+ property :display_name, as: 'displayName'
649
+ collection :excluded_content_label_ids, as: 'excludedContentLabelIds'
650
+ property :geo_targeting, as: 'geoTargeting', class: Google::Apis::RealtimebiddingV1::NumericTargetingDimension, decorator: Google::Apis::RealtimebiddingV1::NumericTargetingDimension::Representation
651
+
652
+ collection :included_creative_dimensions, as: 'includedCreativeDimensions', class: Google::Apis::RealtimebiddingV1::CreativeDimensions, decorator: Google::Apis::RealtimebiddingV1::CreativeDimensions::Representation
653
+
654
+ collection :included_environments, as: 'includedEnvironments'
655
+ collection :included_formats, as: 'includedFormats'
656
+ collection :included_languages, as: 'includedLanguages'
657
+ collection :included_mobile_operating_system_ids, as: 'includedMobileOperatingSystemIds'
658
+ collection :included_platforms, as: 'includedPlatforms'
659
+ collection :included_user_id_types, as: 'includedUserIdTypes'
660
+ property :interstitial_targeting, as: 'interstitialTargeting'
661
+ collection :invalid_geo_ids, as: 'invalidGeoIds'
662
+ property :maximum_qps, :numeric_string => true, as: 'maximumQps'
663
+ property :minimum_viewability_decile, as: 'minimumViewabilityDecile'
664
+ property :name, as: 'name'
665
+ property :publisher_targeting, as: 'publisherTargeting', class: Google::Apis::RealtimebiddingV1::StringTargetingDimension, decorator: Google::Apis::RealtimebiddingV1::StringTargetingDimension::Representation
666
+
667
+ property :state, as: 'state'
668
+ property :user_list_targeting, as: 'userListTargeting', class: Google::Apis::RealtimebiddingV1::NumericTargetingDimension, decorator: Google::Apis::RealtimebiddingV1::NumericTargetingDimension::Representation
669
+
670
+ property :vertical_targeting, as: 'verticalTargeting', class: Google::Apis::RealtimebiddingV1::NumericTargetingDimension, decorator: Google::Apis::RealtimebiddingV1::NumericTargetingDimension::Representation
671
+
672
+ property :web_targeting, as: 'webTargeting', class: Google::Apis::RealtimebiddingV1::StringTargetingDimension, decorator: Google::Apis::RealtimebiddingV1::StringTargetingDimension::Representation
673
+
674
+ end
675
+ end
676
+
677
+ class RemoveTargetedAppsRequest
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ collection :app_ids, as: 'appIds'
681
+ end
682
+ end
683
+
684
+ class RemoveTargetedPublishersRequest
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ collection :publisher_ids, as: 'publisherIds'
688
+ end
689
+ end
690
+
691
+ class RemoveTargetedSitesRequest
692
+ # @private
693
+ class Representation < Google::Apis::Core::JsonRepresentation
694
+ collection :sites, as: 'sites'
695
+ end
696
+ end
697
+
698
+ class StringTargetingDimension
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :targeting_mode, as: 'targetingMode'
702
+ collection :values, as: 'values'
703
+ end
704
+ end
705
+
706
+ class SuspendPretargetingConfigRequest
707
+ # @private
708
+ class Representation < Google::Apis::Core::JsonRepresentation
709
+ end
710
+ end
711
+
480
712
  class UrlDownloadSize
481
713
  # @private
482
714
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -152,6 +152,456 @@ module Google
152
152
  execute_or_queue_command(command, &block)
153
153
  end
154
154
 
155
+ # Activates a pretargeting configuration.
156
+ # @param [String] name
157
+ # Required. The name of the pretargeting configuration. Format: bidders/`
158
+ # bidderAccountId`/pretargetingConfig/`configId`
159
+ # @param [Google::Apis::RealtimebiddingV1::ActivatePretargetingConfigRequest] activate_pretargeting_config_request_object
160
+ # @param [String] fields
161
+ # Selector specifying which fields to include in a partial response.
162
+ # @param [String] quota_user
163
+ # Available to use for quota purposes for server-side applications. Can be any
164
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
165
+ # @param [Google::Apis::RequestOptions] options
166
+ # Request-specific options
167
+ #
168
+ # @yield [result, err] Result & error if block supplied
169
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
170
+ # @yieldparam err [StandardError] error object if request failed
171
+ #
172
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
173
+ #
174
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
175
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
176
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
177
+ def activate_pretargeting_config(name, activate_pretargeting_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
178
+ command = make_simple_command(:post, 'v1/{+name}:activate', options)
179
+ command.request_representation = Google::Apis::RealtimebiddingV1::ActivatePretargetingConfigRequest::Representation
180
+ command.request_object = activate_pretargeting_config_request_object
181
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
182
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
183
+ command.params['name'] = name unless name.nil?
184
+ command.query['fields'] = fields unless fields.nil?
185
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
186
+ execute_or_queue_command(command, &block)
187
+ end
188
+
189
+ # Adds targeted apps to the pretargeting configuration.
190
+ # @param [String] pretargeting_config
191
+ # Required. The name of the pretargeting configuration. Format: bidders/`
192
+ # bidderAccountId`/pretargetingConfig/`configId`
193
+ # @param [Google::Apis::RealtimebiddingV1::AddTargetedAppsRequest] add_targeted_apps_request_object
194
+ # @param [String] fields
195
+ # Selector specifying which fields to include in a partial response.
196
+ # @param [String] quota_user
197
+ # Available to use for quota purposes for server-side applications. Can be any
198
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
199
+ # @param [Google::Apis::RequestOptions] options
200
+ # Request-specific options
201
+ #
202
+ # @yield [result, err] Result & error if block supplied
203
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
204
+ # @yieldparam err [StandardError] error object if request failed
205
+ #
206
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
207
+ #
208
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
209
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
210
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
211
+ def add_pretargeting_config_targeted_apps(pretargeting_config, add_targeted_apps_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
212
+ command = make_simple_command(:post, 'v1/{+pretargetingConfig}:addTargetedApps', options)
213
+ command.request_representation = Google::Apis::RealtimebiddingV1::AddTargetedAppsRequest::Representation
214
+ command.request_object = add_targeted_apps_request_object
215
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
216
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
217
+ command.params['pretargetingConfig'] = pretargeting_config unless pretargeting_config.nil?
218
+ command.query['fields'] = fields unless fields.nil?
219
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
220
+ execute_or_queue_command(command, &block)
221
+ end
222
+
223
+ # Adds targeted publishers to the pretargeting config.
224
+ # @param [String] pretargeting_config
225
+ # Required. The name of the pretargeting configuration. Format: bidders/`
226
+ # bidderAccountId`/pretargetingConfig/`configId`
227
+ # @param [Google::Apis::RealtimebiddingV1::AddTargetedPublishersRequest] add_targeted_publishers_request_object
228
+ # @param [String] fields
229
+ # Selector specifying which fields to include in a partial response.
230
+ # @param [String] quota_user
231
+ # Available to use for quota purposes for server-side applications. Can be any
232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
233
+ # @param [Google::Apis::RequestOptions] options
234
+ # Request-specific options
235
+ #
236
+ # @yield [result, err] Result & error if block supplied
237
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
238
+ # @yieldparam err [StandardError] error object if request failed
239
+ #
240
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
241
+ #
242
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
243
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
245
+ def add_pretargeting_config_targeted_publishers(pretargeting_config, add_targeted_publishers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
246
+ command = make_simple_command(:post, 'v1/{+pretargetingConfig}:addTargetedPublishers', options)
247
+ command.request_representation = Google::Apis::RealtimebiddingV1::AddTargetedPublishersRequest::Representation
248
+ command.request_object = add_targeted_publishers_request_object
249
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
250
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
251
+ command.params['pretargetingConfig'] = pretargeting_config unless pretargeting_config.nil?
252
+ command.query['fields'] = fields unless fields.nil?
253
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
254
+ execute_or_queue_command(command, &block)
255
+ end
256
+
257
+ # Adds targeted sites to the pretargeting configuration.
258
+ # @param [String] pretargeting_config
259
+ # Required. The name of the pretargeting configuration. Format: bidders/`
260
+ # bidderAccountId`/pretargetingConfig/`configId`
261
+ # @param [Google::Apis::RealtimebiddingV1::AddTargetedSitesRequest] add_targeted_sites_request_object
262
+ # @param [String] fields
263
+ # Selector specifying which fields to include in a partial response.
264
+ # @param [String] quota_user
265
+ # Available to use for quota purposes for server-side applications. Can be any
266
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
267
+ # @param [Google::Apis::RequestOptions] options
268
+ # Request-specific options
269
+ #
270
+ # @yield [result, err] Result & error if block supplied
271
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
272
+ # @yieldparam err [StandardError] error object if request failed
273
+ #
274
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
275
+ #
276
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
277
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
278
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
279
+ def add_pretargeting_config_targeted_sites(pretargeting_config, add_targeted_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
280
+ command = make_simple_command(:post, 'v1/{+pretargetingConfig}:addTargetedSites', options)
281
+ command.request_representation = Google::Apis::RealtimebiddingV1::AddTargetedSitesRequest::Representation
282
+ command.request_object = add_targeted_sites_request_object
283
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
284
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
285
+ command.params['pretargetingConfig'] = pretargeting_config unless pretargeting_config.nil?
286
+ command.query['fields'] = fields unless fields.nil?
287
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
288
+ execute_or_queue_command(command, &block)
289
+ end
290
+
291
+ # Creates a pretargeting configuration. A pretargeting configuration's state (
292
+ # PretargetingConfig.state) is active upon creation, and it will start to affect
293
+ # traffic shortly after. A bidder may create a maximum of 10 pretargeting
294
+ # configurations. Attempts to exceed this maximum results in a 400 bad request
295
+ # error.
296
+ # @param [String] parent
297
+ # Required. Name of the bidder to create the pretargeting configuration for.
298
+ # Format: bidders/`bidderAccountId`
299
+ # @param [Google::Apis::RealtimebiddingV1::PretargetingConfig] pretargeting_config_object
300
+ # @param [String] fields
301
+ # Selector specifying which fields to include in a partial response.
302
+ # @param [String] quota_user
303
+ # Available to use for quota purposes for server-side applications. Can be any
304
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
305
+ # @param [Google::Apis::RequestOptions] options
306
+ # Request-specific options
307
+ #
308
+ # @yield [result, err] Result & error if block supplied
309
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
310
+ # @yieldparam err [StandardError] error object if request failed
311
+ #
312
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
313
+ #
314
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
315
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
316
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
317
+ def create_bidder_pretargeting_config(parent, pretargeting_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
318
+ command = make_simple_command(:post, 'v1/{+parent}/pretargetingConfigs', options)
319
+ command.request_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
320
+ command.request_object = pretargeting_config_object
321
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
322
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
323
+ command.params['parent'] = parent unless parent.nil?
324
+ command.query['fields'] = fields unless fields.nil?
325
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
326
+ execute_or_queue_command(command, &block)
327
+ end
328
+
329
+ # Deletes a pretargeting configuration.
330
+ # @param [String] name
331
+ # Required. The name of the pretargeting configuration to delete. Format:
332
+ # bidders/`bidderAccountId`/pretargetingConfig/`configId`
333
+ # @param [String] fields
334
+ # Selector specifying which fields to include in a partial response.
335
+ # @param [String] quota_user
336
+ # Available to use for quota purposes for server-side applications. Can be any
337
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
338
+ # @param [Google::Apis::RequestOptions] options
339
+ # Request-specific options
340
+ #
341
+ # @yield [result, err] Result & error if block supplied
342
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::Empty] parsed result object
343
+ # @yieldparam err [StandardError] error object if request failed
344
+ #
345
+ # @return [Google::Apis::RealtimebiddingV1::Empty]
346
+ #
347
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
348
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
349
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
350
+ def delete_bidder_pretargeting_config(name, fields: nil, quota_user: nil, options: nil, &block)
351
+ command = make_simple_command(:delete, 'v1/{+name}', options)
352
+ command.response_representation = Google::Apis::RealtimebiddingV1::Empty::Representation
353
+ command.response_class = Google::Apis::RealtimebiddingV1::Empty
354
+ command.params['name'] = name unless name.nil?
355
+ command.query['fields'] = fields unless fields.nil?
356
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
357
+ execute_or_queue_command(command, &block)
358
+ end
359
+
360
+ # Gets a pretargeting configuration.
361
+ # @param [String] name
362
+ # Required. Name of the pretargeting configuration to get. Format: bidders/`
363
+ # bidderAccountId`/pretargetingConfig/`configId`
364
+ # @param [String] fields
365
+ # Selector specifying which fields to include in a partial response.
366
+ # @param [String] quota_user
367
+ # Available to use for quota purposes for server-side applications. Can be any
368
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
369
+ # @param [Google::Apis::RequestOptions] options
370
+ # Request-specific options
371
+ #
372
+ # @yield [result, err] Result & error if block supplied
373
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
374
+ # @yieldparam err [StandardError] error object if request failed
375
+ #
376
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
377
+ #
378
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
379
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
380
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
381
+ def get_bidder_pretargeting_config(name, fields: nil, quota_user: nil, options: nil, &block)
382
+ command = make_simple_command(:get, 'v1/{+name}', options)
383
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
384
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
385
+ command.params['name'] = name unless name.nil?
386
+ command.query['fields'] = fields unless fields.nil?
387
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
388
+ execute_or_queue_command(command, &block)
389
+ end
390
+
391
+ # Lists all pretargeting configurations for a single bidder.
392
+ # @param [String] parent
393
+ # Required. Name of the bidder whose pretargeting configurations will be listed.
394
+ # Format: bidders/`bidderAccountId`
395
+ # @param [Fixnum] page_size
396
+ # The maximum number of pretargeting configurations to return. If unspecified,
397
+ # at most 10 pretargeting configurations will be returned. The maximum value is
398
+ # 100; values above 100 will be coerced to 100.
399
+ # @param [String] page_token
400
+ # A token identifying a page of results the server should return. This value is
401
+ # received from a previous `ListPretargetingConfigs` call in
402
+ # ListPretargetingConfigsResponse.nextPageToken.
403
+ # @param [String] fields
404
+ # Selector specifying which fields to include in a partial response.
405
+ # @param [String] quota_user
406
+ # Available to use for quota purposes for server-side applications. Can be any
407
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
408
+ # @param [Google::Apis::RequestOptions] options
409
+ # Request-specific options
410
+ #
411
+ # @yield [result, err] Result & error if block supplied
412
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::ListPretargetingConfigsResponse] parsed result object
413
+ # @yieldparam err [StandardError] error object if request failed
414
+ #
415
+ # @return [Google::Apis::RealtimebiddingV1::ListPretargetingConfigsResponse]
416
+ #
417
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
418
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
419
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
420
+ def list_bidder_pretargeting_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
421
+ command = make_simple_command(:get, 'v1/{+parent}/pretargetingConfigs', options)
422
+ command.response_representation = Google::Apis::RealtimebiddingV1::ListPretargetingConfigsResponse::Representation
423
+ command.response_class = Google::Apis::RealtimebiddingV1::ListPretargetingConfigsResponse
424
+ command.params['parent'] = parent unless parent.nil?
425
+ command.query['pageSize'] = page_size unless page_size.nil?
426
+ command.query['pageToken'] = page_token unless page_token.nil?
427
+ command.query['fields'] = fields unless fields.nil?
428
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
429
+ execute_or_queue_command(command, &block)
430
+ end
431
+
432
+ # Updates a pretargeting configuration.
433
+ # @param [String] name
434
+ # Output only. Name of the pretargeting configuration that must follow the
435
+ # pattern `bidders/`bidder_account_id`/pretargetingConfigs/`config_id``
436
+ # @param [Google::Apis::RealtimebiddingV1::PretargetingConfig] pretargeting_config_object
437
+ # @param [String] update_mask
438
+ # Field mask to use for partial in-place updates.
439
+ # @param [String] fields
440
+ # Selector specifying which fields to include in a partial response.
441
+ # @param [String] quota_user
442
+ # Available to use for quota purposes for server-side applications. Can be any
443
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
444
+ # @param [Google::Apis::RequestOptions] options
445
+ # Request-specific options
446
+ #
447
+ # @yield [result, err] Result & error if block supplied
448
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
449
+ # @yieldparam err [StandardError] error object if request failed
450
+ #
451
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
452
+ #
453
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
454
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
455
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
456
+ def patch_bidder_pretargeting_config(name, pretargeting_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
457
+ command = make_simple_command(:patch, 'v1/{+name}', options)
458
+ command.request_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
459
+ command.request_object = pretargeting_config_object
460
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
461
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
462
+ command.params['name'] = name unless name.nil?
463
+ command.query['updateMask'] = update_mask unless update_mask.nil?
464
+ command.query['fields'] = fields unless fields.nil?
465
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
466
+ execute_or_queue_command(command, &block)
467
+ end
468
+
469
+ # Removes targeted apps from the pretargeting configuration.
470
+ # @param [String] pretargeting_config
471
+ # Required. The name of the pretargeting configuration. Format: bidders/`
472
+ # bidderAccountId`/pretargetingConfig/`configId`
473
+ # @param [Google::Apis::RealtimebiddingV1::RemoveTargetedAppsRequest] remove_targeted_apps_request_object
474
+ # @param [String] fields
475
+ # Selector specifying which fields to include in a partial response.
476
+ # @param [String] quota_user
477
+ # Available to use for quota purposes for server-side applications. Can be any
478
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
479
+ # @param [Google::Apis::RequestOptions] options
480
+ # Request-specific options
481
+ #
482
+ # @yield [result, err] Result & error if block supplied
483
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
484
+ # @yieldparam err [StandardError] error object if request failed
485
+ #
486
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
487
+ #
488
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
489
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
490
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
491
+ def remove_pretargeting_config_targeted_apps(pretargeting_config, remove_targeted_apps_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
492
+ command = make_simple_command(:post, 'v1/{+pretargetingConfig}:removeTargetedApps', options)
493
+ command.request_representation = Google::Apis::RealtimebiddingV1::RemoveTargetedAppsRequest::Representation
494
+ command.request_object = remove_targeted_apps_request_object
495
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
496
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
497
+ command.params['pretargetingConfig'] = pretargeting_config unless pretargeting_config.nil?
498
+ command.query['fields'] = fields unless fields.nil?
499
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
500
+ execute_or_queue_command(command, &block)
501
+ end
502
+
503
+ # Removes targeted publishers from the pretargeting config.
504
+ # @param [String] pretargeting_config
505
+ # Required. The name of the pretargeting configuration. Format: bidders/`
506
+ # bidderAccountId`/pretargetingConfig/`configId`
507
+ # @param [Google::Apis::RealtimebiddingV1::RemoveTargetedPublishersRequest] remove_targeted_publishers_request_object
508
+ # @param [String] fields
509
+ # Selector specifying which fields to include in a partial response.
510
+ # @param [String] quota_user
511
+ # Available to use for quota purposes for server-side applications. Can be any
512
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
513
+ # @param [Google::Apis::RequestOptions] options
514
+ # Request-specific options
515
+ #
516
+ # @yield [result, err] Result & error if block supplied
517
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
518
+ # @yieldparam err [StandardError] error object if request failed
519
+ #
520
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
521
+ #
522
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
523
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
524
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
525
+ def remove_pretargeting_config_targeted_publishers(pretargeting_config, remove_targeted_publishers_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
526
+ command = make_simple_command(:post, 'v1/{+pretargetingConfig}:removeTargetedPublishers', options)
527
+ command.request_representation = Google::Apis::RealtimebiddingV1::RemoveTargetedPublishersRequest::Representation
528
+ command.request_object = remove_targeted_publishers_request_object
529
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
530
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
531
+ command.params['pretargetingConfig'] = pretargeting_config unless pretargeting_config.nil?
532
+ command.query['fields'] = fields unless fields.nil?
533
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
534
+ execute_or_queue_command(command, &block)
535
+ end
536
+
537
+ # Removes targeted sites from the pretargeting configuration.
538
+ # @param [String] pretargeting_config
539
+ # Required. The name of the pretargeting configuration. Format: bidders/`
540
+ # bidderAccountId`/pretargetingConfig/`configId`
541
+ # @param [Google::Apis::RealtimebiddingV1::RemoveTargetedSitesRequest] remove_targeted_sites_request_object
542
+ # @param [String] fields
543
+ # Selector specifying which fields to include in a partial response.
544
+ # @param [String] quota_user
545
+ # Available to use for quota purposes for server-side applications. Can be any
546
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
547
+ # @param [Google::Apis::RequestOptions] options
548
+ # Request-specific options
549
+ #
550
+ # @yield [result, err] Result & error if block supplied
551
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
552
+ # @yieldparam err [StandardError] error object if request failed
553
+ #
554
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
555
+ #
556
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
557
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
558
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
559
+ def remove_pretargeting_config_targeted_sites(pretargeting_config, remove_targeted_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
560
+ command = make_simple_command(:post, 'v1/{+pretargetingConfig}:removeTargetedSites', options)
561
+ command.request_representation = Google::Apis::RealtimebiddingV1::RemoveTargetedSitesRequest::Representation
562
+ command.request_object = remove_targeted_sites_request_object
563
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
564
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
565
+ command.params['pretargetingConfig'] = pretargeting_config unless pretargeting_config.nil?
566
+ command.query['fields'] = fields unless fields.nil?
567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
568
+ execute_or_queue_command(command, &block)
569
+ end
570
+
571
+ # Suspends a pretargeting configuration.
572
+ # @param [String] name
573
+ # Required. The name of the pretargeting configuration. Format: bidders/`
574
+ # bidderAccountId`/pretargetingConfig/`configId`
575
+ # @param [Google::Apis::RealtimebiddingV1::SuspendPretargetingConfigRequest] suspend_pretargeting_config_request_object
576
+ # @param [String] fields
577
+ # Selector specifying which fields to include in a partial response.
578
+ # @param [String] quota_user
579
+ # Available to use for quota purposes for server-side applications. Can be any
580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
581
+ # @param [Google::Apis::RequestOptions] options
582
+ # Request-specific options
583
+ #
584
+ # @yield [result, err] Result & error if block supplied
585
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::PretargetingConfig] parsed result object
586
+ # @yieldparam err [StandardError] error object if request failed
587
+ #
588
+ # @return [Google::Apis::RealtimebiddingV1::PretargetingConfig]
589
+ #
590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
593
+ def suspend_pretargeting_config(name, suspend_pretargeting_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
594
+ command = make_simple_command(:post, 'v1/{+name}:suspend', options)
595
+ command.request_representation = Google::Apis::RealtimebiddingV1::SuspendPretargetingConfigRequest::Representation
596
+ command.request_object = suspend_pretargeting_config_request_object
597
+ command.response_representation = Google::Apis::RealtimebiddingV1::PretargetingConfig::Representation
598
+ command.response_class = Google::Apis::RealtimebiddingV1::PretargetingConfig
599
+ command.params['name'] = name unless name.nil?
600
+ command.query['fields'] = fields unless fields.nil?
601
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
602
+ execute_or_queue_command(command, &block)
603
+ end
604
+
155
605
  # Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript
156
606
  # code that can be placed on a web page. When a user visits a page containing a
157
607
  # remarketing tag, Google adds the user to a user list.