google-api-client 0.15.0 → 0.16.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.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +75 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -35
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +958 -82
  7. data/generated/google/apis/admin_directory_v1.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1/classes.rb +147 -0
  9. data/generated/google/apis/admin_directory_v1/representations.rb +54 -0
  10. data/generated/google/apis/admin_directory_v1/service.rb +71 -1
  11. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  12. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -19
  13. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  14. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  15. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -11
  16. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -189
  18. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -120
  19. data/generated/google/apis/androidpublisher_v2/service.rb +0 -35
  20. data/generated/google/apis/appengine_v1.rb +1 -1
  21. data/generated/google/apis/appengine_v1/classes.rb +1 -46
  22. data/generated/google/apis/appengine_v1/representations.rb +0 -17
  23. data/generated/google/apis/appengine_v1/service.rb +5 -1
  24. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  25. data/generated/google/apis/appengine_v1alpha/classes.rb +0 -45
  26. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -17
  27. data/generated/google/apis/appengine_v1alpha/service.rb +5 -1
  28. data/generated/google/apis/appengine_v1beta.rb +1 -1
  29. data/generated/google/apis/appengine_v1beta/classes.rb +5 -47
  30. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  31. data/generated/google/apis/appengine_v1beta/service.rb +5 -1
  32. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  33. data/generated/google/apis/appengine_v1beta4/classes.rb +44 -45
  34. data/generated/google/apis/appengine_v1beta4/representations.rb +16 -17
  35. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta5/classes.rb +4 -46
  37. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -17
  38. data/generated/google/apis/bigquery_v2.rb +1 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +41 -24
  40. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  41. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  42. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +3 -7
  43. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +0 -1
  44. data/generated/google/apis/calendar_v3.rb +1 -1
  45. data/generated/google/apis/calendar_v3/service.rb +15 -3
  46. data/generated/google/apis/classroom_v1.rb +4 -1
  47. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  48. data/generated/google/apis/cloudbuild_v1/classes.rb +26 -0
  49. data/generated/google/apis/cloudbuild_v1/representations.rb +14 -0
  50. data/generated/google/apis/cloudbuild_v1/service.rb +91 -0
  51. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1/classes.rb +482 -0
  53. data/generated/google/apis/cloudfunctions_v1/representations.rb +210 -0
  54. data/generated/google/apis/cloudfunctions_v1/service.rb +288 -0
  55. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  56. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +119 -0
  57. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +68 -0
  58. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +77 -0
  59. data/generated/google/apis/cloudiot_v1.rb +1 -1
  60. data/generated/google/apis/cloudiot_v1/service.rb +7 -3
  61. data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
  62. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  63. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +2 -4
  64. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
  65. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -14
  66. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  67. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -7
  68. data/generated/google/apis/cloudtrace_v2/representations.rb +2 -2
  69. data/generated/google/apis/compute_alpha.rb +1 -1
  70. data/generated/google/apis/compute_alpha/classes.rb +143 -83
  71. data/generated/google/apis/compute_alpha/representations.rb +50 -30
  72. data/generated/google/apis/compute_alpha/service.rb +171 -5
  73. data/generated/google/apis/compute_beta.rb +1 -1
  74. data/generated/google/apis/compute_beta/classes.rb +47 -43
  75. data/generated/google/apis/compute_beta/representations.rb +1 -2
  76. data/generated/google/apis/compute_beta/service.rb +60 -5
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +1326 -168
  79. data/generated/google/apis/compute_v1/representations.rb +402 -0
  80. data/generated/google/apis/compute_v1/service.rb +751 -5
  81. data/generated/google/apis/container_v1beta1.rb +1 -1
  82. data/generated/google/apis/content_v2.rb +1 -1
  83. data/generated/google/apis/content_v2/classes.rb +23 -16
  84. data/generated/google/apis/content_v2/service.rb +142 -162
  85. data/generated/google/apis/content_v2sandbox.rb +1 -1
  86. data/generated/google/apis/content_v2sandbox/service.rb +43 -43
  87. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  88. data/generated/google/apis/dataflow_v1b3/classes.rb +44 -35
  89. data/generated/google/apis/dataflow_v1b3/representations.rb +6 -17
  90. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  91. data/generated/google/apis/dataproc_v1beta2/classes.rb +39 -37
  92. data/generated/google/apis/dataproc_v1beta2/service.rb +30 -30
  93. data/generated/google/apis/datastore_v1.rb +1 -1
  94. data/generated/google/apis/datastore_v1/classes.rb +39 -60
  95. data/generated/google/apis/datastore_v1/representations.rb +27 -0
  96. data/generated/google/apis/datastore_v1/service.rb +34 -0
  97. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  98. data/generated/google/apis/datastore_v1beta3/classes.rb +39 -60
  99. data/generated/google/apis/datastore_v1beta3/representations.rb +27 -0
  100. data/generated/google/apis/datastore_v1beta3/service.rb +34 -0
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_alpha/classes.rb +108 -0
  103. data/generated/google/apis/deploymentmanager_alpha/representations.rb +50 -0
  104. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  105. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
  106. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
  107. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  108. data/generated/google/apis/dlp_v2beta1/classes.rb +116 -10
  109. data/generated/google/apis/dlp_v2beta1/representations.rb +45 -0
  110. data/generated/google/apis/dns_v1beta2.rb +43 -0
  111. data/generated/google/apis/dns_v1beta2/classes.rb +915 -0
  112. data/generated/google/apis/dns_v1beta2/representations.rb +368 -0
  113. data/generated/google/apis/dns_v1beta2/service.rb +769 -0
  114. data/generated/google/apis/drive_v2.rb +1 -1
  115. data/generated/google/apis/drive_v2/classes.rb +6 -0
  116. data/generated/google/apis/drive_v2/representations.rb +2 -0
  117. data/generated/google/apis/drive_v2/service.rb +51 -8
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +6 -0
  120. data/generated/google/apis/drive_v3/representations.rb +2 -0
  121. data/generated/google/apis/drive_v3/service.rb +45 -7
  122. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  123. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +25 -0
  124. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +15 -0
  125. data/generated/google/apis/firebaseremoteconfig_v1.rb +1 -1
  126. data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +21 -1
  127. data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +2 -0
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  131. data/generated/google/apis/firebaserules_v1/service.rb +37 -0
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +29 -146
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +8 -27
  134. data/generated/google/apis/firestore_v1beta1/service.rb +4 -8
  135. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  136. data/generated/google/apis/genomics_v1alpha2/classes.rb +18 -0
  137. data/generated/google/apis/genomics_v1alpha2/representations.rb +2 -0
  138. data/generated/google/apis/iam_v1.rb +1 -1
  139. data/generated/google/apis/iam_v1/classes.rb +5 -7
  140. data/generated/google/apis/language_v1.rb +1 -1
  141. data/generated/google/apis/language_v1/classes.rb +78 -0
  142. data/generated/google/apis/language_v1/representations.rb +45 -0
  143. data/generated/google/apis/language_v1/service.rb +30 -0
  144. data/generated/google/apis/language_v1beta2.rb +1 -1
  145. data/generated/google/apis/language_v1beta2/classes.rb +3 -1
  146. data/generated/google/apis/logging_v2.rb +1 -1
  147. data/generated/google/apis/logging_v2/classes.rb +9 -0
  148. data/generated/google/apis/logging_v2/representations.rb +1 -0
  149. data/generated/google/apis/logging_v2/service.rb +517 -0
  150. data/generated/google/apis/logging_v2beta1.rb +1 -1
  151. data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
  152. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  153. data/generated/google/apis/manufacturers_v1.rb +1 -1
  154. data/generated/google/apis/manufacturers_v1/classes.rb +6 -6
  155. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  156. data/generated/google/apis/ml_v1.rb +1 -1
  157. data/generated/google/apis/ml_v1/classes.rb +22 -6
  158. data/generated/google/apis/ml_v1/service.rb +8 -2
  159. data/generated/google/apis/monitoring_v3.rb +1 -1
  160. data/generated/google/apis/monitoring_v3/classes.rb +358 -0
  161. data/generated/google/apis/monitoring_v3/representations.rb +145 -0
  162. data/generated/google/apis/monitoring_v3/service.rb +229 -0
  163. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  164. data/generated/google/apis/oslogin_v1alpha/classes.rb +13 -8
  165. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  166. data/generated/google/apis/oslogin_v1alpha/service.rb +36 -1
  167. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  168. data/generated/google/apis/oslogin_v1beta/classes.rb +9 -4
  169. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  170. data/generated/google/apis/oslogin_v1beta/service.rb +36 -1
  171. data/generated/google/apis/partners_v2.rb +1 -1
  172. data/generated/google/apis/partners_v2/classes.rb +7 -60
  173. data/generated/google/apis/partners_v2/representations.rb +1 -0
  174. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  175. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  176. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -4
  177. data/generated/google/apis/script_v1.rb +2 -2
  178. data/generated/google/apis/script_v1/classes.rb +57 -51
  179. data/generated/google/apis/script_v1/representations.rb +0 -1
  180. data/generated/google/apis/script_v1/service.rb +2 -2
  181. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  182. data/generated/google/apis/servicecontrol_v1/classes.rb +5 -2
  183. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  184. data/generated/google/apis/servicemanagement_v1/classes.rb +13 -31
  185. data/generated/google/apis/serviceuser_v1.rb +1 -1
  186. data/generated/google/apis/serviceuser_v1/classes.rb +13 -31
  187. data/generated/google/apis/sheets_v4.rb +1 -1
  188. data/generated/google/apis/sheets_v4/classes.rb +1 -2
  189. data/generated/google/apis/slides_v1.rb +1 -1
  190. data/generated/google/apis/slides_v1/classes.rb +505 -11
  191. data/generated/google/apis/slides_v1/representations.rb +220 -0
  192. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  193. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
  194. data/generated/google/apis/speech_v1.rb +1 -1
  195. data/generated/google/apis/speech_v1/classes.rb +10 -1
  196. data/generated/google/apis/speech_v1/representations.rb +1 -0
  197. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  198. data/generated/google/apis/sqladmin_v1beta4/classes.rb +127 -0
  199. data/generated/google/apis/sqladmin_v1beta4/representations.rb +63 -0
  200. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  201. data/generated/google/apis/storage_v1.rb +1 -1
  202. data/generated/google/apis/storage_v1/service.rb +51 -72
  203. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  204. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -61
  205. data/generated/google/apis/streetviewpublish_v1/service.rb +2 -1
  206. data/generated/google/apis/testing_v1.rb +1 -1
  207. data/generated/google/apis/testing_v1/classes.rb +8 -3
  208. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  209. data/generated/google/apis/toolresults_v1beta3/classes.rb +17 -16
  210. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  211. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  212. data/generated/google/apis/youtube_partner_v1/classes.rb +108 -0
  213. data/generated/google/apis/youtube_partner_v1/representations.rb +49 -0
  214. data/generated/google/apis/youtube_partner_v1/service.rb +42 -0
  215. data/google-api-client.gemspec +1 -1
  216. data/lib/google/apis/generator/model.rb +9 -3
  217. data/lib/google/apis/generator/templates/_class.tmpl +1 -1
  218. data/lib/google/apis/version.rb +1 -1
  219. metadata +14 -12
  220. data/generated/google/apis/playmoviespartner_v1.rb +0 -34
  221. data/generated/google/apis/playmoviespartner_v1/classes.rb +0 -782
  222. data/generated/google/apis/playmoviespartner_v1/representations.rb +0 -191
  223. data/generated/google/apis/playmoviespartner_v1/service.rb +0 -354
  224. data/generated/google/apis/qpx_express_v1.rb +0 -31
  225. data/generated/google/apis/qpx_express_v1/classes.rb +0 -1274
  226. data/generated/google/apis/qpx_express_v1/representations.rb +0 -473
  227. data/generated/google/apis/qpx_express_v1/service.rb +0 -101
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08cdf01b4c9a20c6688d610b8aac2ab68ba0af93
4
- data.tar.gz: b75a002482003bb13a703798cff113a00f4967ed
3
+ metadata.gz: 341d99e39cba5f49855b88a975d26e055f3b36cf
4
+ data.tar.gz: 081b80eebc1107f96dbcbfdba8cc01b66ac2b09e
5
5
  SHA512:
6
- metadata.gz: f3e15ed69e3dc3bf2af9bfe458798bbcab6f2355efcf2262a89a3df2d0cd8ecd04d1e0fc54fd32ce6a819ff3d5bd13c388dfc368539845134070cf1a456e44ad
7
- data.tar.gz: 14072fd389316b0fb0f14623206411505d01752645324cd5acd1f6decd5742f57d6f9810fcda851a97fcd9724249af10a0085449ccc21f01148398a9db845506
6
+ metadata.gz: 924e966723b808d72cf6ca811f735a837430fde7064f5ddcfd19203e82e494bc53aba603bdac2db21a9522e6e321391c7f5f102662d34a69a070917bc23e0e4e
7
+ data.tar.gz: 6efd66109c5597b0e032778dcc9ee2ef0bf2766dbea08529cc2e3c33d17553ace23d86f1506a62edd8f9789a5d84b740f40b3187d5a03784319927aab1053cdb
@@ -1,3 +1,78 @@
1
+ # 0.16.0
2
+ * Breaking changes:
3
+ * Deleted `playmoviespartner_v1`
4
+ * Deleted `qpx_express_v1`
5
+ * Backwards compatible changes:
6
+ * Added `dns_v1beta2`
7
+ * Updated `adexchangebuyer2_v2beta1`
8
+ * Updated `admin_directory_v1`
9
+ * Updated `androidenterprise_v1`
10
+ * Updated `androidmanagement_v1`
11
+ * Updated `androidpublisher_v2`
12
+ * Updated `appengine_v1`
13
+ * Updated `appengine_v1alpha`
14
+ * Updated `appengine_v1beta`
15
+ * Updated `appengine_v1beta4`
16
+ * Updated `appengine_v1beta5`
17
+ * Updated `bigquery_v2`
18
+ * Updated `bigquerydatatransfer_v1`
19
+ * Updated `calendar_v3`
20
+ * Updated `classroom_v1`
21
+ * Updated `cloudbuild_v1`
22
+ * Updated `cloudfunctions_v1`
23
+ * Updated `cloudfunctions_v1beta2`
24
+ * Updated `cloudiot_v1`
25
+ * Updated `cloudiot_v1beta1`
26
+ * Updated `cloudtasks_v2beta2`
27
+ * Updated `cloudtrace_v2`
28
+ * Updated `compute_alpha`
29
+ * Updated `compute_beta`
30
+ * Updated `compute_v1`
31
+ * Updated `container_v1beta1`
32
+ * Updated `content_v2`
33
+ * Updated `content_v2sandbox`
34
+ * Updated `dataflow_v1b3`
35
+ * Updated `dataproc_v1beta2`
36
+ * Updated `datastore_v1`
37
+ * Updated `datastore_v1beta3`
38
+ * Updated `deploymentmanager_alpha`
39
+ * Updated `deploymentmanager_v2beta`
40
+ * Updated `dlp_v2beta1`
41
+ * Updated `drive_v2`
42
+ * Updated `drive_v3`
43
+ * Updated `firebasedynamiclinks_v1`
44
+ * Updated `firebaseremoteconfig_v1`
45
+ * Updated `firebaserules_v1`
46
+ * Updated `genomics_v1alpha2`
47
+ * Updated `iam_v1`
48
+ * Updated `language_v1`
49
+ * Updated `language_v1beta2`
50
+ * Updated `logging_v2`
51
+ * Updated `logging_v2beta1`
52
+ * Updated `manufacturers_v1`
53
+ * Updated `ml_v1`
54
+ * Updated `monitoring_v3`
55
+ * Updated `oslogin_v1alpha`
56
+ * Updated `oslogin_v1beta`
57
+ * Updated `partners_v2`
58
+ * Updated `proximitybeacon_v1beta1`
59
+ * Updated `runtimeconfig_v1beta1`
60
+ * Updated `script_v1`
61
+ * Updated `servicecontrol_v1`
62
+ * Updated `servicemanagement_v1`
63
+ * Updated `serviceuser_v1`
64
+ * Updated `sheets_v4`
65
+ * Updated `slides_v1`
66
+ * Updated `sourcerepo_v1`
67
+ * Updated `speech_v1`
68
+ * Updated `sqladmin_v1beta4`
69
+ * Updated `storage_v1`
70
+ * Updated `streetviewpublish_v1`
71
+ * Updated `testing_v1`
72
+ * Updated `toolresults_v1beta3`
73
+ * Updated `videointelligence_v1beta1`
74
+ * Updated `youtube_partner_v1`
75
+
1
76
  # 0.15.0
2
77
  * Breaking changes:
3
78
  * Deleted `ml_v1beta1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20171005'
29
+ REVISION = '20171030'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -837,17 +837,16 @@ module Google
837
837
  # @return [Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange]
838
838
  attr_accessor :absolute_date_range
839
839
 
840
- # The ID of the buyer account on which to filter; optional.
841
- # Corresponds to the JSON property `buyerAccountId`
842
- # @return [Fixnum]
843
- attr_accessor :buyer_account_id
844
-
845
- # The ID of the creative on which to filter; optional.
840
+ # The ID of the creative on which to filter; optional. This field may be set
841
+ # only for a filter set that accesses buyer-level troubleshooting data, i.e.
842
+ # one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.
846
843
  # Corresponds to the JSON property `creativeId`
847
844
  # @return [String]
848
845
  attr_accessor :creative_id
849
846
 
850
- # The ID of the deal on which to filter; optional.
847
+ # The ID of the deal on which to filter; optional. This field may be set
848
+ # only for a filter set that accesses buyer-level troubleshooting data, i.e.
849
+ # one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern.
851
850
  # Corresponds to the JSON property `dealId`
852
851
  # @return [Fixnum]
853
852
  attr_accessor :deal_id
@@ -875,16 +874,11 @@ module Google
875
874
  # data)
876
875
  # - `bidders/*/accounts/*/filterSets/*` (for accessing buyer-level
877
876
  # troubleshooting data)
877
+ # This field is required in create operations.
878
878
  # Corresponds to the JSON property `name`
879
879
  # @return [String]
880
880
  attr_accessor :name
881
881
 
882
- # The account ID of the buyer who owns this filter set.
883
- # The value of this field is ignored in create operations.
884
- # Corresponds to the JSON property `ownerAccountId`
885
- # @return [Fixnum]
886
- attr_accessor :owner_account_id
887
-
888
882
  # The list of platforms on which to filter; may be empty. The filters
889
883
  # represented by multiple platforms are ORed together (i.e. if non-empty,
890
884
  # results must match any one of the platforms).
@@ -933,14 +927,12 @@ module Google
933
927
  # Update properties of this object
934
928
  def update!(**args)
935
929
  @absolute_date_range = args[:absolute_date_range] if args.key?(:absolute_date_range)
936
- @buyer_account_id = args[:buyer_account_id] if args.key?(:buyer_account_id)
937
930
  @creative_id = args[:creative_id] if args.key?(:creative_id)
938
931
  @deal_id = args[:deal_id] if args.key?(:deal_id)
939
932
  @environment = args[:environment] if args.key?(:environment)
940
933
  @filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id)
941
934
  @format = args[:format] if args.key?(:format)
942
935
  @name = args[:name] if args.key?(:name)
943
- @owner_account_id = args[:owner_account_id] if args.key?(:owner_account_id)
944
936
  @platforms = args[:platforms] if args.key?(:platforms)
945
937
  @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range)
946
938
  @relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range)
@@ -1183,8 +1175,7 @@ module Google
1183
1175
  # A token to retrieve the next page of results.
1184
1176
  # Pass this value in the
1185
1177
  # ListBidMetricsRequest.pageToken
1186
- # field in the subsequent call to the
1187
- # accounts.filterSets.bidMetrics.list
1178
+ # field in the subsequent call to the bidMetrics.list
1188
1179
  # method to retrieve the next page of results.
1189
1180
  # Corresponds to the JSON property `nextPageToken`
1190
1181
  # @return [String]
@@ -1214,8 +1205,7 @@ module Google
1214
1205
  # A token to retrieve the next page of results.
1215
1206
  # Pass this value in the
1216
1207
  # ListBidResponseErrorsRequest.pageToken
1217
- # field in the subsequent call to the
1218
- # accounts.filterSets.bidResponseErrors.list
1208
+ # field in the subsequent call to the bidResponseErrors.list
1219
1209
  # method to retrieve the next page of results.
1220
1210
  # Corresponds to the JSON property `nextPageToken`
1221
1211
  # @return [String]
@@ -1246,8 +1236,7 @@ module Google
1246
1236
  # A token to retrieve the next page of results.
1247
1237
  # Pass this value in the
1248
1238
  # ListBidResponsesWithoutBidsRequest.pageToken
1249
- # field in the subsequent call to the
1250
- # accounts.filterSets.bidResponsesWithoutBids.list
1239
+ # field in the subsequent call to the bidResponsesWithoutBids.list
1251
1240
  # method to retrieve the next page of results.
1252
1241
  # Corresponds to the JSON property `nextPageToken`
1253
1242
  # @return [String]
@@ -1370,8 +1359,7 @@ module Google
1370
1359
  # A token to retrieve the next page of results.
1371
1360
  # Pass this value in the
1372
1361
  # ListCreativeStatusBreakdownByCreativeRequest.pageToken
1373
- # field in the subsequent call to the
1374
- # accounts.filterSets.filteredBids.creatives.list
1362
+ # field in the subsequent call to the filteredBids.creatives.list
1375
1363
  # method to retrieve the next page of results.
1376
1364
  # Corresponds to the JSON property `nextPageToken`
1377
1365
  # @return [String]
@@ -1407,8 +1395,7 @@ module Google
1407
1395
  # A token to retrieve the next page of results.
1408
1396
  # Pass this value in the
1409
1397
  # ListCreativeStatusBreakdownByDetailRequest.pageToken
1410
- # field in the subsequent call to the
1411
- # accounts.filterSets.filteredBids.details.list
1398
+ # field in the subsequent call to the filteredBids.details.list
1412
1399
  # method to retrieve the next page of results.
1413
1400
  # Corresponds to the JSON property `nextPageToken`
1414
1401
  # @return [String]
@@ -1528,8 +1515,7 @@ module Google
1528
1515
  # A token to retrieve the next page of results.
1529
1516
  # Pass this value in the
1530
1517
  # ListFilteredBidRequestsRequest.pageToken
1531
- # field in the subsequent call to the
1532
- # accounts.filterSets.filteredBidRequests.list
1518
+ # field in the subsequent call to the filteredBidRequests.list
1533
1519
  # method to retrieve the next page of results.
1534
1520
  # Corresponds to the JSON property `nextPageToken`
1535
1521
  # @return [String]
@@ -1560,8 +1546,7 @@ module Google
1560
1546
  # A token to retrieve the next page of results.
1561
1547
  # Pass this value in the
1562
1548
  # ListFilteredBidsRequest.pageToken
1563
- # field in the subsequent call to the
1564
- # accounts.filterSets.filteredBids.list
1549
+ # field in the subsequent call to the filteredBids.list
1565
1550
  # method to retrieve the next page of results.
1566
1551
  # Corresponds to the JSON property `nextPageToken`
1567
1552
  # @return [String]
@@ -1591,8 +1576,7 @@ module Google
1591
1576
  # A token to retrieve the next page of results.
1592
1577
  # Pass this value in the
1593
1578
  # ListImpressionMetricsRequest.pageToken
1594
- # field in the subsequent call to the
1595
- # accounts.filterSets.impressionMetrics.list
1579
+ # field in the subsequent call to the impressionMetrics.list
1596
1580
  # method to retrieve the next page of results.
1597
1581
  # Corresponds to the JSON property `nextPageToken`
1598
1582
  # @return [String]
@@ -1622,8 +1606,7 @@ module Google
1622
1606
  # A token to retrieve the next page of results.
1623
1607
  # Pass this value in the
1624
1608
  # ListLosingBidsRequest.pageToken
1625
- # field in the subsequent call to the
1626
- # accounts.filterSets.losingBids.list
1609
+ # field in the subsequent call to the losingBids.list
1627
1610
  # method to retrieve the next page of results.
1628
1611
  # Corresponds to the JSON property `nextPageToken`
1629
1612
  # @return [String]
@@ -1648,8 +1631,7 @@ module Google
1648
1631
  # A token to retrieve the next page of results.
1649
1632
  # Pass this value in the
1650
1633
  # ListNonBillableWinningBidsRequest.pageToken
1651
- # field in the subsequent call to the
1652
- # accounts.filterSets.nonBillableWinningBids.list
1634
+ # field in the subsequent call to the nonBillableWinningBids.list
1653
1635
  # method to retrieve the next page of results.
1654
1636
  # Corresponds to the JSON property `nextPageToken`
1655
1637
  # @return [String]
@@ -566,14 +566,12 @@ module Google
566
566
  class Representation < Google::Apis::Core::JsonRepresentation
567
567
  property :absolute_date_range, as: 'absoluteDateRange', class: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange::Representation
568
568
 
569
- property :buyer_account_id, :numeric_string => true, as: 'buyerAccountId'
570
569
  property :creative_id, as: 'creativeId'
571
570
  property :deal_id, :numeric_string => true, as: 'dealId'
572
571
  property :environment, as: 'environment'
573
572
  property :filter_set_id, :numeric_string => true, as: 'filterSetId'
574
573
  property :format, as: 'format'
575
574
  property :name, as: 'name'
576
- property :owner_account_id, :numeric_string => true, as: 'ownerAccountId'
577
575
  collection :platforms, as: 'platforms'
578
576
  property :realtime_time_range, as: 'realtimeTimeRange', class: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange::Representation
579
577
 
@@ -835,9 +835,765 @@ module Google
835
835
  end
836
836
 
837
837
  # Creates the specified filter set for the account with the given account ID.
838
+ # @param [String] owner_name
839
+ # Name of the owner (bidder or account) of the filter set to be created.
840
+ # For example:
841
+ # - For a bidder-level filter set for bidder 123: `bidders/123`
842
+ # - For an account-level filter set for the buyer account representing bidder
843
+ # 123: `bidders/123/accounts/123`
844
+ # - For an account-level filter set for the child seat buyer account 456
845
+ # whose bidder is 123: `bidders/123/accounts/456`
846
+ # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
847
+ # @param [Fixnum] account_id
848
+ # Account ID of the buyer.
849
+ # @param [Boolean] is_transient
850
+ # Whether the filter set is transient, or should be persisted indefinitely.
851
+ # By default, filter sets are not transient.
852
+ # If transient, it will be available for at least 1 hour after creation.
853
+ # @param [String] fields
854
+ # Selector specifying which fields to include in a partial response.
855
+ # @param [String] quota_user
856
+ # Available to use for quota purposes for server-side applications. Can be any
857
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
858
+ # @param [Google::Apis::RequestOptions] options
859
+ # Request-specific options
860
+ #
861
+ # @yield [result, err] Result & error if block supplied
862
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] parsed result object
863
+ # @yieldparam err [StandardError] error object if request failed
864
+ #
865
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet]
866
+ #
867
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
868
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
869
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
870
+ def create_bidder_account_filter_set(owner_name, filter_set_object = nil, account_id: nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
871
+ command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
872
+ command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
873
+ command.request_object = filter_set_object
874
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
875
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
876
+ command.params['ownerName'] = owner_name unless owner_name.nil?
877
+ command.query['accountId'] = account_id unless account_id.nil?
878
+ command.query['isTransient'] = is_transient unless is_transient.nil?
879
+ command.query['fields'] = fields unless fields.nil?
880
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
881
+ execute_or_queue_command(command, &block)
882
+ end
883
+
884
+ # Deletes the requested filter set from the account with the given account
885
+ # ID.
886
+ # @param [String] name
887
+ # Full name of the resource to delete.
888
+ # For example:
889
+ # - For a bidder-level filter set for bidder 123:
890
+ # `bidders/123/filterSets/abc`
891
+ # - For an account-level filter set for the buyer account representing bidder
892
+ # 123: `bidders/123/accounts/123/filterSets/abc`
893
+ # - For an account-level filter set for the child seat buyer account 456
894
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
895
+ # @param [Fixnum] account_id
896
+ # Account ID of the buyer.
897
+ # @param [Fixnum] filter_set_id
898
+ # The ID of the filter set to delete.
899
+ # @param [String] fields
900
+ # Selector specifying which fields to include in a partial response.
901
+ # @param [String] quota_user
902
+ # Available to use for quota purposes for server-side applications. Can be any
903
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
904
+ # @param [Google::Apis::RequestOptions] options
905
+ # Request-specific options
906
+ #
907
+ # @yield [result, err] Result & error if block supplied
908
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
909
+ # @yieldparam err [StandardError] error object if request failed
910
+ #
911
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
912
+ #
913
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
914
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
915
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
916
+ def delete_bidder_account_filter_set(name, account_id: nil, filter_set_id: nil, fields: nil, quota_user: nil, options: nil, &block)
917
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
918
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
919
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
920
+ command.params['name'] = name unless name.nil?
921
+ command.query['accountId'] = account_id unless account_id.nil?
922
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
923
+ command.query['fields'] = fields unless fields.nil?
924
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
925
+ execute_or_queue_command(command, &block)
926
+ end
927
+
928
+ # Retrieves the requested filter set for the account with the given account
929
+ # ID.
930
+ # @param [String] name
931
+ # Full name of the resource being requested.
932
+ # For example:
933
+ # - For a bidder-level filter set for bidder 123:
934
+ # `bidders/123/filterSets/abc`
935
+ # - For an account-level filter set for the buyer account representing bidder
936
+ # 123: `bidders/123/accounts/123/filterSets/abc`
937
+ # - For an account-level filter set for the child seat buyer account 456
938
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
939
+ # @param [Fixnum] account_id
940
+ # Account ID of the buyer.
941
+ # @param [Fixnum] filter_set_id
942
+ # The ID of the filter set to get.
943
+ # @param [String] fields
944
+ # Selector specifying which fields to include in a partial response.
945
+ # @param [String] quota_user
946
+ # Available to use for quota purposes for server-side applications. Can be any
947
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
948
+ # @param [Google::Apis::RequestOptions] options
949
+ # Request-specific options
950
+ #
951
+ # @yield [result, err] Result & error if block supplied
952
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] parsed result object
953
+ # @yieldparam err [StandardError] error object if request failed
954
+ #
955
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet]
956
+ #
957
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
958
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
959
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
960
+ def get_bidder_account_filter_set(name, account_id: nil, filter_set_id: nil, fields: nil, quota_user: nil, options: nil, &block)
961
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
962
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
963
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
964
+ command.params['name'] = name unless name.nil?
965
+ command.query['accountId'] = account_id unless account_id.nil?
966
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
967
+ command.query['fields'] = fields unless fields.nil?
968
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
969
+ execute_or_queue_command(command, &block)
970
+ end
971
+
972
+ # Lists all filter sets for the account with the given account ID.
973
+ # @param [String] owner_name
974
+ # Name of the owner (bidder or account) of the filter sets to be listed.
975
+ # For example:
976
+ # - For a bidder-level filter set for bidder 123: `bidders/123`
977
+ # - For an account-level filter set for the buyer account representing bidder
978
+ # 123: `bidders/123/accounts/123`
979
+ # - For an account-level filter set for the child seat buyer account 456
980
+ # whose bidder is 123: `bidders/123/accounts/456`
981
+ # @param [Fixnum] account_id
982
+ # Account ID of the buyer.
983
+ # @param [Fixnum] page_size
984
+ # Requested page size. The server may return fewer results than requested.
985
+ # If unspecified, the server will pick an appropriate default.
986
+ # @param [String] page_token
987
+ # A token identifying a page of results the server should return.
988
+ # Typically, this is the value of
989
+ # ListFilterSetsResponse.nextPageToken
990
+ # returned from the previous call to the
991
+ # accounts.filterSets.list
992
+ # method.
993
+ # @param [String] fields
994
+ # Selector specifying which fields to include in a partial response.
995
+ # @param [String] quota_user
996
+ # Available to use for quota purposes for server-side applications. Can be any
997
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
998
+ # @param [Google::Apis::RequestOptions] options
999
+ # Request-specific options
1000
+ #
1001
+ # @yield [result, err] Result & error if block supplied
1002
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse] parsed result object
1003
+ # @yieldparam err [StandardError] error object if request failed
1004
+ #
1005
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse]
1006
+ #
1007
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1008
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1009
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1010
+ def list_bidder_account_filter_sets(owner_name, account_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1011
+ command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
1012
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
1013
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
1014
+ command.params['ownerName'] = owner_name unless owner_name.nil?
1015
+ command.query['accountId'] = account_id unless account_id.nil?
1016
+ command.query['pageSize'] = page_size unless page_size.nil?
1017
+ command.query['pageToken'] = page_token unless page_token.nil?
1018
+ command.query['fields'] = fields unless fields.nil?
1019
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1020
+ execute_or_queue_command(command, &block)
1021
+ end
1022
+
1023
+ # Lists all metrics that are measured in terms of number of bids.
1024
+ # @param [String] filter_set_name
1025
+ # Name of the filter set that should be applied to the requested metrics.
1026
+ # For example:
1027
+ # - For a bidder-level filter set for bidder 123:
1028
+ # `bidders/123/filterSets/abc`
1029
+ # - For an account-level filter set for the buyer account representing bidder
1030
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1031
+ # - For an account-level filter set for the child seat buyer account 456
1032
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1033
+ # @param [Fixnum] account_id
1034
+ # Account ID of the buyer.
1035
+ # @param [Fixnum] filter_set_id
1036
+ # The ID of the filter set to apply.
1037
+ # @param [Fixnum] page_size
1038
+ # Requested page size. The server may return fewer results than requested.
1039
+ # If unspecified, the server will pick an appropriate default.
1040
+ # @param [String] page_token
1041
+ # A token identifying a page of results the server should return.
1042
+ # Typically, this is the value of
1043
+ # ListBidMetricsResponse.nextPageToken
1044
+ # returned from the previous call to the bidMetrics.list
1045
+ # method.
1046
+ # @param [String] fields
1047
+ # Selector specifying which fields to include in a partial response.
1048
+ # @param [String] quota_user
1049
+ # Available to use for quota purposes for server-side applications. Can be any
1050
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1051
+ # @param [Google::Apis::RequestOptions] options
1052
+ # Request-specific options
1053
+ #
1054
+ # @yield [result, err] Result & error if block supplied
1055
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse] parsed result object
1056
+ # @yieldparam err [StandardError] error object if request failed
1057
+ #
1058
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse]
1059
+ #
1060
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1061
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1062
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1063
+ def list_bidder_account_filter_set_bid_metrics(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1064
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
1065
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
1066
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
1067
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1068
+ command.query['accountId'] = account_id unless account_id.nil?
1069
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1070
+ command.query['pageSize'] = page_size unless page_size.nil?
1071
+ command.query['pageToken'] = page_token unless page_token.nil?
1072
+ command.query['fields'] = fields unless fields.nil?
1073
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1074
+ execute_or_queue_command(command, &block)
1075
+ end
1076
+
1077
+ # List all errors that occurred in bid responses, with the number of bid
1078
+ # responses affected for each reason.
1079
+ # @param [String] filter_set_name
1080
+ # Name of the filter set that should be applied to the requested metrics.
1081
+ # For example:
1082
+ # - For a bidder-level filter set for bidder 123:
1083
+ # `bidders/123/filterSets/abc`
1084
+ # - For an account-level filter set for the buyer account representing bidder
1085
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1086
+ # - For an account-level filter set for the child seat buyer account 456
1087
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1088
+ # @param [Fixnum] account_id
1089
+ # Account ID of the buyer.
1090
+ # @param [Fixnum] filter_set_id
1091
+ # The ID of the filter set to apply.
1092
+ # @param [Fixnum] page_size
1093
+ # Requested page size. The server may return fewer results than requested.
1094
+ # If unspecified, the server will pick an appropriate default.
1095
+ # @param [String] page_token
1096
+ # A token identifying a page of results the server should return.
1097
+ # Typically, this is the value of
1098
+ # ListBidResponseErrorsResponse.nextPageToken
1099
+ # returned from the previous call to the bidResponseErrors.list
1100
+ # method.
1101
+ # @param [String] fields
1102
+ # Selector specifying which fields to include in a partial response.
1103
+ # @param [String] quota_user
1104
+ # Available to use for quota purposes for server-side applications. Can be any
1105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1106
+ # @param [Google::Apis::RequestOptions] options
1107
+ # Request-specific options
1108
+ #
1109
+ # @yield [result, err] Result & error if block supplied
1110
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse] parsed result object
1111
+ # @yieldparam err [StandardError] error object if request failed
1112
+ #
1113
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse]
1114
+ #
1115
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1116
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1117
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1118
+ def list_bidder_account_filter_set_bid_response_errors(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1119
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
1120
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation
1121
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse
1122
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1123
+ command.query['accountId'] = account_id unless account_id.nil?
1124
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1125
+ command.query['pageSize'] = page_size unless page_size.nil?
1126
+ command.query['pageToken'] = page_token unless page_token.nil?
1127
+ command.query['fields'] = fields unless fields.nil?
1128
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1129
+ execute_or_queue_command(command, &block)
1130
+ end
1131
+
1132
+ # List all reasons for which bid responses were considered to have no
1133
+ # applicable bids, with the number of bid responses affected for each reason.
1134
+ # @param [String] filter_set_name
1135
+ # Name of the filter set that should be applied to the requested metrics.
1136
+ # For example:
1137
+ # - For a bidder-level filter set for bidder 123:
1138
+ # `bidders/123/filterSets/abc`
1139
+ # - For an account-level filter set for the buyer account representing bidder
1140
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1141
+ # - For an account-level filter set for the child seat buyer account 456
1142
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1143
+ # @param [Fixnum] account_id
1144
+ # Account ID of the buyer.
1145
+ # @param [Fixnum] filter_set_id
1146
+ # The ID of the filter set to apply.
1147
+ # @param [Fixnum] page_size
1148
+ # Requested page size. The server may return fewer results than requested.
1149
+ # If unspecified, the server will pick an appropriate default.
1150
+ # @param [String] page_token
1151
+ # A token identifying a page of results the server should return.
1152
+ # Typically, this is the value of
1153
+ # ListBidResponsesWithoutBidsResponse.nextPageToken
1154
+ # returned from the previous call to the bidResponsesWithoutBids.list
1155
+ # method.
1156
+ # @param [String] fields
1157
+ # Selector specifying which fields to include in a partial response.
1158
+ # @param [String] quota_user
1159
+ # Available to use for quota purposes for server-side applications. Can be any
1160
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1161
+ # @param [Google::Apis::RequestOptions] options
1162
+ # Request-specific options
1163
+ #
1164
+ # @yield [result, err] Result & error if block supplied
1165
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse] parsed result object
1166
+ # @yieldparam err [StandardError] error object if request failed
1167
+ #
1168
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse]
1169
+ #
1170
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1171
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1172
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1173
+ def list_bidder_account_filter_set_bid_responses_without_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1174
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
1175
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation
1176
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse
1177
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1178
+ command.query['accountId'] = account_id unless account_id.nil?
1179
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1180
+ command.query['pageSize'] = page_size unless page_size.nil?
1181
+ command.query['pageToken'] = page_token unless page_token.nil?
1182
+ command.query['fields'] = fields unless fields.nil?
1183
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1184
+ execute_or_queue_command(command, &block)
1185
+ end
1186
+
1187
+ # List all reasons that caused a bid request not to be sent for an
1188
+ # impression, with the number of bid requests not sent for each reason.
1189
+ # @param [String] filter_set_name
1190
+ # Name of the filter set that should be applied to the requested metrics.
1191
+ # For example:
1192
+ # - For a bidder-level filter set for bidder 123:
1193
+ # `bidders/123/filterSets/abc`
1194
+ # - For an account-level filter set for the buyer account representing bidder
1195
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1196
+ # - For an account-level filter set for the child seat buyer account 456
1197
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1198
+ # @param [Fixnum] account_id
1199
+ # Account ID of the buyer.
1200
+ # @param [Fixnum] filter_set_id
1201
+ # The ID of the filter set to apply.
1202
+ # @param [Fixnum] page_size
1203
+ # Requested page size. The server may return fewer results than requested.
1204
+ # If unspecified, the server will pick an appropriate default.
1205
+ # @param [String] page_token
1206
+ # A token identifying a page of results the server should return.
1207
+ # Typically, this is the value of
1208
+ # ListFilteredBidRequestsResponse.nextPageToken
1209
+ # returned from the previous call to the filteredBidRequests.list
1210
+ # method.
1211
+ # @param [String] fields
1212
+ # Selector specifying which fields to include in a partial response.
1213
+ # @param [String] quota_user
1214
+ # Available to use for quota purposes for server-side applications. Can be any
1215
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1216
+ # @param [Google::Apis::RequestOptions] options
1217
+ # Request-specific options
1218
+ #
1219
+ # @yield [result, err] Result & error if block supplied
1220
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse] parsed result object
1221
+ # @yieldparam err [StandardError] error object if request failed
1222
+ #
1223
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse]
1224
+ #
1225
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1226
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1227
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1228
+ def list_bidder_account_filter_set_filtered_bid_requests(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1229
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
1230
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation
1231
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse
1232
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1233
+ command.query['accountId'] = account_id unless account_id.nil?
1234
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1235
+ command.query['pageSize'] = page_size unless page_size.nil?
1236
+ command.query['pageToken'] = page_token unless page_token.nil?
1237
+ command.query['fields'] = fields unless fields.nil?
1238
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1239
+ execute_or_queue_command(command, &block)
1240
+ end
1241
+
1242
+ # List all reasons for which bids were filtered, with the number of bids
1243
+ # filtered for each reason.
1244
+ # @param [String] filter_set_name
1245
+ # Name of the filter set that should be applied to the requested metrics.
1246
+ # For example:
1247
+ # - For a bidder-level filter set for bidder 123:
1248
+ # `bidders/123/filterSets/abc`
1249
+ # - For an account-level filter set for the buyer account representing bidder
1250
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1251
+ # - For an account-level filter set for the child seat buyer account 456
1252
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1253
+ # @param [Fixnum] account_id
1254
+ # Account ID of the buyer.
1255
+ # @param [Fixnum] filter_set_id
1256
+ # The ID of the filter set to apply.
1257
+ # @param [Fixnum] page_size
1258
+ # Requested page size. The server may return fewer results than requested.
1259
+ # If unspecified, the server will pick an appropriate default.
1260
+ # @param [String] page_token
1261
+ # A token identifying a page of results the server should return.
1262
+ # Typically, this is the value of
1263
+ # ListFilteredBidsResponse.nextPageToken
1264
+ # returned from the previous call to the filteredBids.list
1265
+ # method.
1266
+ # @param [String] fields
1267
+ # Selector specifying which fields to include in a partial response.
1268
+ # @param [String] quota_user
1269
+ # Available to use for quota purposes for server-side applications. Can be any
1270
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1271
+ # @param [Google::Apis::RequestOptions] options
1272
+ # Request-specific options
1273
+ #
1274
+ # @yield [result, err] Result & error if block supplied
1275
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse] parsed result object
1276
+ # @yieldparam err [StandardError] error object if request failed
1277
+ #
1278
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse]
1279
+ #
1280
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1281
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1282
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1283
+ def list_bidder_account_filter_set_filtered_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1284
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
1285
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation
1286
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse
1287
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1288
+ command.query['accountId'] = account_id unless account_id.nil?
1289
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1290
+ command.query['pageSize'] = page_size unless page_size.nil?
1291
+ command.query['pageToken'] = page_token unless page_token.nil?
1292
+ command.query['fields'] = fields unless fields.nil?
1293
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1294
+ execute_or_queue_command(command, &block)
1295
+ end
1296
+
1297
+ # List all creatives associated with a specific reason for which bids were
1298
+ # filtered, with the number of bids filtered for each creative.
1299
+ # @param [String] filter_set_name
1300
+ # Name of the filter set that should be applied to the requested metrics.
1301
+ # For example:
1302
+ # - For a bidder-level filter set for bidder 123:
1303
+ # `bidders/123/filterSets/abc`
1304
+ # - For an account-level filter set for the buyer account representing bidder
1305
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1306
+ # - For an account-level filter set for the child seat buyer account 456
1307
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1308
+ # @param [Fixnum] creative_status_id
1309
+ # The ID of the creative status for which to retrieve a breakdown by
1310
+ # creative.
1311
+ # See
1312
+ # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
1313
+ # downloads/creative-status-codes).
1314
+ # @param [Fixnum] account_id
1315
+ # Account ID of the buyer.
1316
+ # @param [Fixnum] filter_set_id
1317
+ # The ID of the filter set to apply.
1318
+ # @param [Fixnum] page_size
1319
+ # Requested page size. The server may return fewer results than requested.
1320
+ # If unspecified, the server will pick an appropriate default.
1321
+ # @param [String] page_token
1322
+ # A token identifying a page of results the server should return.
1323
+ # Typically, this is the value of
1324
+ # ListCreativeStatusBreakdownByCreativeResponse.nextPageToken
1325
+ # returned from the previous call to the filteredBids.creatives.list
1326
+ # method.
1327
+ # @param [String] fields
1328
+ # Selector specifying which fields to include in a partial response.
1329
+ # @param [String] quota_user
1330
+ # Available to use for quota purposes for server-side applications. Can be any
1331
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1332
+ # @param [Google::Apis::RequestOptions] options
1333
+ # Request-specific options
1334
+ #
1335
+ # @yield [result, err] Result & error if block supplied
1336
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse] parsed result object
1337
+ # @yieldparam err [StandardError] error object if request failed
1338
+ #
1339
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse]
1340
+ #
1341
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1342
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1343
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1344
+ def list_bidder_account_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1345
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
1346
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation
1347
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse
1348
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1349
+ command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
1350
+ command.query['accountId'] = account_id unless account_id.nil?
1351
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1352
+ command.query['pageSize'] = page_size unless page_size.nil?
1353
+ command.query['pageToken'] = page_token unless page_token.nil?
1354
+ command.query['fields'] = fields unless fields.nil?
1355
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1356
+ execute_or_queue_command(command, &block)
1357
+ end
1358
+
1359
+ # List all details associated with a specific reason for which bids were
1360
+ # filtered, with the number of bids filtered for each detail.
1361
+ # @param [String] filter_set_name
1362
+ # Name of the filter set that should be applied to the requested metrics.
1363
+ # For example:
1364
+ # - For a bidder-level filter set for bidder 123:
1365
+ # `bidders/123/filterSets/abc`
1366
+ # - For an account-level filter set for the buyer account representing bidder
1367
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1368
+ # - For an account-level filter set for the child seat buyer account 456
1369
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1370
+ # @param [Fixnum] creative_status_id
1371
+ # The ID of the creative status for which to retrieve a breakdown by detail.
1372
+ # See
1373
+ # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
1374
+ # downloads/creative-status-codes).
1375
+ # Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.
1376
+ # @param [Fixnum] account_id
1377
+ # Account ID of the buyer.
1378
+ # @param [Fixnum] filter_set_id
1379
+ # The ID of the filter set to apply.
1380
+ # @param [Fixnum] page_size
1381
+ # Requested page size. The server may return fewer results than requested.
1382
+ # If unspecified, the server will pick an appropriate default.
1383
+ # @param [String] page_token
1384
+ # A token identifying a page of results the server should return.
1385
+ # Typically, this is the value of
1386
+ # ListCreativeStatusBreakdownByDetailResponse.nextPageToken
1387
+ # returned from the previous call to the filteredBids.details.list
1388
+ # method.
1389
+ # @param [String] fields
1390
+ # Selector specifying which fields to include in a partial response.
1391
+ # @param [String] quota_user
1392
+ # Available to use for quota purposes for server-side applications. Can be any
1393
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1394
+ # @param [Google::Apis::RequestOptions] options
1395
+ # Request-specific options
1396
+ #
1397
+ # @yield [result, err] Result & error if block supplied
1398
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse] parsed result object
1399
+ # @yieldparam err [StandardError] error object if request failed
1400
+ #
1401
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse]
1402
+ #
1403
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1404
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1405
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1406
+ def list_bidder_account_filter_set_filtered_bid_details(filter_set_name, creative_status_id, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1407
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
1408
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation
1409
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse
1410
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1411
+ command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
1412
+ command.query['accountId'] = account_id unless account_id.nil?
1413
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1414
+ command.query['pageSize'] = page_size unless page_size.nil?
1415
+ command.query['pageToken'] = page_token unless page_token.nil?
1416
+ command.query['fields'] = fields unless fields.nil?
1417
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1418
+ execute_or_queue_command(command, &block)
1419
+ end
1420
+
1421
+ # Lists all metrics that are measured in terms of number of impressions.
1422
+ # @param [String] filter_set_name
1423
+ # Name of the filter set that should be applied to the requested metrics.
1424
+ # For example:
1425
+ # - For a bidder-level filter set for bidder 123:
1426
+ # `bidders/123/filterSets/abc`
1427
+ # - For an account-level filter set for the buyer account representing bidder
1428
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1429
+ # - For an account-level filter set for the child seat buyer account 456
1430
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1431
+ # @param [Fixnum] account_id
1432
+ # Account ID of the buyer.
1433
+ # @param [Fixnum] filter_set_id
1434
+ # The ID of the filter set to apply.
1435
+ # @param [Fixnum] page_size
1436
+ # Requested page size. The server may return fewer results than requested.
1437
+ # If unspecified, the server will pick an appropriate default.
1438
+ # @param [String] page_token
1439
+ # A token identifying a page of results the server should return.
1440
+ # Typically, this is the value of
1441
+ # ListImpressionMetricsResponse.nextPageToken
1442
+ # returned from the previous call to the impressionMetrics.list
1443
+ # method.
1444
+ # @param [String] fields
1445
+ # Selector specifying which fields to include in a partial response.
1446
+ # @param [String] quota_user
1447
+ # Available to use for quota purposes for server-side applications. Can be any
1448
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1449
+ # @param [Google::Apis::RequestOptions] options
1450
+ # Request-specific options
1451
+ #
1452
+ # @yield [result, err] Result & error if block supplied
1453
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse] parsed result object
1454
+ # @yieldparam err [StandardError] error object if request failed
1455
+ #
1456
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse]
1457
+ #
1458
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1459
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1460
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1461
+ def list_bidder_account_filter_set_impression_metrics(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1462
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
1463
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
1464
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
1465
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1466
+ command.query['accountId'] = account_id unless account_id.nil?
1467
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1468
+ command.query['pageSize'] = page_size unless page_size.nil?
1469
+ command.query['pageToken'] = page_token unless page_token.nil?
1470
+ command.query['fields'] = fields unless fields.nil?
1471
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1472
+ execute_or_queue_command(command, &block)
1473
+ end
1474
+
1475
+ # List all reasons for which bids lost in the auction, with the number of
1476
+ # bids that lost for each reason.
1477
+ # @param [String] filter_set_name
1478
+ # Name of the filter set that should be applied to the requested metrics.
1479
+ # For example:
1480
+ # - For a bidder-level filter set for bidder 123:
1481
+ # `bidders/123/filterSets/abc`
1482
+ # - For an account-level filter set for the buyer account representing bidder
1483
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1484
+ # - For an account-level filter set for the child seat buyer account 456
1485
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1486
+ # @param [Fixnum] account_id
1487
+ # Account ID of the buyer.
1488
+ # @param [Fixnum] filter_set_id
1489
+ # The ID of the filter set to apply.
1490
+ # @param [Fixnum] page_size
1491
+ # Requested page size. The server may return fewer results than requested.
1492
+ # If unspecified, the server will pick an appropriate default.
1493
+ # @param [String] page_token
1494
+ # A token identifying a page of results the server should return.
1495
+ # Typically, this is the value of
1496
+ # ListLosingBidsResponse.nextPageToken
1497
+ # returned from the previous call to the losingBids.list
1498
+ # method.
1499
+ # @param [String] fields
1500
+ # Selector specifying which fields to include in a partial response.
1501
+ # @param [String] quota_user
1502
+ # Available to use for quota purposes for server-side applications. Can be any
1503
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1504
+ # @param [Google::Apis::RequestOptions] options
1505
+ # Request-specific options
1506
+ #
1507
+ # @yield [result, err] Result & error if block supplied
1508
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse] parsed result object
1509
+ # @yieldparam err [StandardError] error object if request failed
1510
+ #
1511
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse]
1512
+ #
1513
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1514
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1515
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1516
+ def list_bidder_account_filter_set_losing_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1517
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
1518
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation
1519
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse
1520
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1521
+ command.query['accountId'] = account_id unless account_id.nil?
1522
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1523
+ command.query['pageSize'] = page_size unless page_size.nil?
1524
+ command.query['pageToken'] = page_token unless page_token.nil?
1525
+ command.query['fields'] = fields unless fields.nil?
1526
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1527
+ execute_or_queue_command(command, &block)
1528
+ end
1529
+
1530
+ # List all reasons for which winning bids were not billable, with the number
1531
+ # of bids not billed for each reason.
1532
+ # @param [String] filter_set_name
1533
+ # Name of the filter set that should be applied to the requested metrics.
1534
+ # For example:
1535
+ # - For a bidder-level filter set for bidder 123:
1536
+ # `bidders/123/filterSets/abc`
1537
+ # - For an account-level filter set for the buyer account representing bidder
1538
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1539
+ # - For an account-level filter set for the child seat buyer account 456
1540
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
838
1541
  # @param [Fixnum] account_id
839
1542
  # Account ID of the buyer.
1543
+ # @param [Fixnum] filter_set_id
1544
+ # The ID of the filter set to apply.
1545
+ # @param [Fixnum] page_size
1546
+ # Requested page size. The server may return fewer results than requested.
1547
+ # If unspecified, the server will pick an appropriate default.
1548
+ # @param [String] page_token
1549
+ # A token identifying a page of results the server should return.
1550
+ # Typically, this is the value of
1551
+ # ListNonBillableWinningBidsResponse.nextPageToken
1552
+ # returned from the previous call to the nonBillableWinningBids.list
1553
+ # method.
1554
+ # @param [String] fields
1555
+ # Selector specifying which fields to include in a partial response.
1556
+ # @param [String] quota_user
1557
+ # Available to use for quota purposes for server-side applications. Can be any
1558
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1559
+ # @param [Google::Apis::RequestOptions] options
1560
+ # Request-specific options
1561
+ #
1562
+ # @yield [result, err] Result & error if block supplied
1563
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse] parsed result object
1564
+ # @yieldparam err [StandardError] error object if request failed
1565
+ #
1566
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse]
1567
+ #
1568
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1569
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1570
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1571
+ def list_bidder_account_filter_set_non_billable_winning_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1572
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
1573
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
1574
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
1575
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1576
+ command.query['accountId'] = account_id unless account_id.nil?
1577
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1578
+ command.query['pageSize'] = page_size unless page_size.nil?
1579
+ command.query['pageToken'] = page_token unless page_token.nil?
1580
+ command.query['fields'] = fields unless fields.nil?
1581
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1582
+ execute_or_queue_command(command, &block)
1583
+ end
1584
+
1585
+ # Creates the specified filter set for the account with the given account ID.
1586
+ # @param [String] owner_name
1587
+ # Name of the owner (bidder or account) of the filter set to be created.
1588
+ # For example:
1589
+ # - For a bidder-level filter set for bidder 123: `bidders/123`
1590
+ # - For an account-level filter set for the buyer account representing bidder
1591
+ # 123: `bidders/123/accounts/123`
1592
+ # - For an account-level filter set for the child seat buyer account 456
1593
+ # whose bidder is 123: `bidders/123/accounts/456`
840
1594
  # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
1595
+ # @param [Fixnum] account_id
1596
+ # Account ID of the buyer.
841
1597
  # @param [Boolean] is_transient
842
1598
  # Whether the filter set is transient, or should be persisted indefinitely.
843
1599
  # By default, filter sets are not transient.
@@ -859,13 +1615,14 @@ module Google
859
1615
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
860
1616
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
861
1617
  # @raise [Google::Apis::AuthorizationError] Authorization is required
862
- def create_account_filter_set(account_id, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
863
- command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/filterSets', options)
1618
+ def create_bidder_filter_set(owner_name, filter_set_object = nil, account_id: nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
1619
+ command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
864
1620
  command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
865
1621
  command.request_object = filter_set_object
866
1622
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
867
1623
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
868
- command.params['accountId'] = account_id unless account_id.nil?
1624
+ command.params['ownerName'] = owner_name unless owner_name.nil?
1625
+ command.query['accountId'] = account_id unless account_id.nil?
869
1626
  command.query['isTransient'] = is_transient unless is_transient.nil?
870
1627
  command.query['fields'] = fields unless fields.nil?
871
1628
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -874,6 +1631,15 @@ module Google
874
1631
 
875
1632
  # Deletes the requested filter set from the account with the given account
876
1633
  # ID.
1634
+ # @param [String] name
1635
+ # Full name of the resource to delete.
1636
+ # For example:
1637
+ # - For a bidder-level filter set for bidder 123:
1638
+ # `bidders/123/filterSets/abc`
1639
+ # - For an account-level filter set for the buyer account representing bidder
1640
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1641
+ # - For an account-level filter set for the child seat buyer account 456
1642
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
877
1643
  # @param [Fixnum] account_id
878
1644
  # Account ID of the buyer.
879
1645
  # @param [Fixnum] filter_set_id
@@ -895,12 +1661,13 @@ module Google
895
1661
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
896
1662
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
897
1663
  # @raise [Google::Apis::AuthorizationError] Authorization is required
898
- def delete_account_filter_set(account_id, filter_set_id, fields: nil, quota_user: nil, options: nil, &block)
899
- command = make_simple_command(:delete, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options)
1664
+ def delete_bidder_filter_set(name, account_id: nil, filter_set_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1665
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
900
1666
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
901
1667
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
902
- command.params['accountId'] = account_id unless account_id.nil?
903
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1668
+ command.params['name'] = name unless name.nil?
1669
+ command.query['accountId'] = account_id unless account_id.nil?
1670
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
904
1671
  command.query['fields'] = fields unless fields.nil?
905
1672
  command.query['quotaUser'] = quota_user unless quota_user.nil?
906
1673
  execute_or_queue_command(command, &block)
@@ -908,6 +1675,15 @@ module Google
908
1675
 
909
1676
  # Retrieves the requested filter set for the account with the given account
910
1677
  # ID.
1678
+ # @param [String] name
1679
+ # Full name of the resource being requested.
1680
+ # For example:
1681
+ # - For a bidder-level filter set for bidder 123:
1682
+ # `bidders/123/filterSets/abc`
1683
+ # - For an account-level filter set for the buyer account representing bidder
1684
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1685
+ # - For an account-level filter set for the child seat buyer account 456
1686
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
911
1687
  # @param [Fixnum] account_id
912
1688
  # Account ID of the buyer.
913
1689
  # @param [Fixnum] filter_set_id
@@ -929,18 +1705,27 @@ module Google
929
1705
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
930
1706
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
931
1707
  # @raise [Google::Apis::AuthorizationError] Authorization is required
932
- def get_account_filter_set(account_id, filter_set_id, fields: nil, quota_user: nil, options: nil, &block)
933
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options)
1708
+ def get_bidder_filter_set(name, account_id: nil, filter_set_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1709
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
934
1710
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
935
1711
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
936
- command.params['accountId'] = account_id unless account_id.nil?
937
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1712
+ command.params['name'] = name unless name.nil?
1713
+ command.query['accountId'] = account_id unless account_id.nil?
1714
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
938
1715
  command.query['fields'] = fields unless fields.nil?
939
1716
  command.query['quotaUser'] = quota_user unless quota_user.nil?
940
1717
  execute_or_queue_command(command, &block)
941
1718
  end
942
1719
 
943
1720
  # Lists all filter sets for the account with the given account ID.
1721
+ # @param [String] owner_name
1722
+ # Name of the owner (bidder or account) of the filter sets to be listed.
1723
+ # For example:
1724
+ # - For a bidder-level filter set for bidder 123: `bidders/123`
1725
+ # - For an account-level filter set for the buyer account representing bidder
1726
+ # 123: `bidders/123/accounts/123`
1727
+ # - For an account-level filter set for the child seat buyer account 456
1728
+ # whose bidder is 123: `bidders/123/accounts/456`
944
1729
  # @param [Fixnum] account_id
945
1730
  # Account ID of the buyer.
946
1731
  # @param [Fixnum] page_size
@@ -970,11 +1755,12 @@ module Google
970
1755
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
971
1756
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
972
1757
  # @raise [Google::Apis::AuthorizationError] Authorization is required
973
- def list_account_filter_sets(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
974
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets', options)
1758
+ def list_bidder_filter_sets(owner_name, account_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1759
+ command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
975
1760
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
976
1761
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
977
- command.params['accountId'] = account_id unless account_id.nil?
1762
+ command.params['ownerName'] = owner_name unless owner_name.nil?
1763
+ command.query['accountId'] = account_id unless account_id.nil?
978
1764
  command.query['pageSize'] = page_size unless page_size.nil?
979
1765
  command.query['pageToken'] = page_token unless page_token.nil?
980
1766
  command.query['fields'] = fields unless fields.nil?
@@ -983,6 +1769,15 @@ module Google
983
1769
  end
984
1770
 
985
1771
  # Lists all metrics that are measured in terms of number of bids.
1772
+ # @param [String] filter_set_name
1773
+ # Name of the filter set that should be applied to the requested metrics.
1774
+ # For example:
1775
+ # - For a bidder-level filter set for bidder 123:
1776
+ # `bidders/123/filterSets/abc`
1777
+ # - For an account-level filter set for the buyer account representing bidder
1778
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1779
+ # - For an account-level filter set for the child seat buyer account 456
1780
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
986
1781
  # @param [Fixnum] account_id
987
1782
  # Account ID of the buyer.
988
1783
  # @param [Fixnum] filter_set_id
@@ -994,8 +1789,7 @@ module Google
994
1789
  # A token identifying a page of results the server should return.
995
1790
  # Typically, this is the value of
996
1791
  # ListBidMetricsResponse.nextPageToken
997
- # returned from the previous call to the
998
- # accounts.filterSets.bidMetrics.list
1792
+ # returned from the previous call to the bidMetrics.list
999
1793
  # method.
1000
1794
  # @param [String] fields
1001
1795
  # Selector specifying which fields to include in a partial response.
@@ -1014,12 +1808,13 @@ module Google
1014
1808
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1015
1809
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1016
1810
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1017
- def list_account_filter_set_bid_metrics(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1018
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidMetrics', options)
1811
+ def list_bidder_filter_set_bid_metrics(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1812
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
1019
1813
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
1020
1814
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
1021
- command.params['accountId'] = account_id unless account_id.nil?
1022
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1815
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1816
+ command.query['accountId'] = account_id unless account_id.nil?
1817
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1023
1818
  command.query['pageSize'] = page_size unless page_size.nil?
1024
1819
  command.query['pageToken'] = page_token unless page_token.nil?
1025
1820
  command.query['fields'] = fields unless fields.nil?
@@ -1029,6 +1824,15 @@ module Google
1029
1824
 
1030
1825
  # List all errors that occurred in bid responses, with the number of bid
1031
1826
  # responses affected for each reason.
1827
+ # @param [String] filter_set_name
1828
+ # Name of the filter set that should be applied to the requested metrics.
1829
+ # For example:
1830
+ # - For a bidder-level filter set for bidder 123:
1831
+ # `bidders/123/filterSets/abc`
1832
+ # - For an account-level filter set for the buyer account representing bidder
1833
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1834
+ # - For an account-level filter set for the child seat buyer account 456
1835
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1032
1836
  # @param [Fixnum] account_id
1033
1837
  # Account ID of the buyer.
1034
1838
  # @param [Fixnum] filter_set_id
@@ -1040,8 +1844,7 @@ module Google
1040
1844
  # A token identifying a page of results the server should return.
1041
1845
  # Typically, this is the value of
1042
1846
  # ListBidResponseErrorsResponse.nextPageToken
1043
- # returned from the previous call to the
1044
- # accounts.filterSets.bidResponseErrors.list
1847
+ # returned from the previous call to the bidResponseErrors.list
1045
1848
  # method.
1046
1849
  # @param [String] fields
1047
1850
  # Selector specifying which fields to include in a partial response.
@@ -1060,12 +1863,13 @@ module Google
1060
1863
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1061
1864
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1062
1865
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1063
- def list_account_filter_set_bid_response_errors(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1064
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidResponseErrors', options)
1866
+ def list_bidder_filter_set_bid_response_errors(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1867
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
1065
1868
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation
1066
1869
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse
1067
- command.params['accountId'] = account_id unless account_id.nil?
1068
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1870
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1871
+ command.query['accountId'] = account_id unless account_id.nil?
1872
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1069
1873
  command.query['pageSize'] = page_size unless page_size.nil?
1070
1874
  command.query['pageToken'] = page_token unless page_token.nil?
1071
1875
  command.query['fields'] = fields unless fields.nil?
@@ -1075,6 +1879,15 @@ module Google
1075
1879
 
1076
1880
  # List all reasons for which bid responses were considered to have no
1077
1881
  # applicable bids, with the number of bid responses affected for each reason.
1882
+ # @param [String] filter_set_name
1883
+ # Name of the filter set that should be applied to the requested metrics.
1884
+ # For example:
1885
+ # - For a bidder-level filter set for bidder 123:
1886
+ # `bidders/123/filterSets/abc`
1887
+ # - For an account-level filter set for the buyer account representing bidder
1888
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1889
+ # - For an account-level filter set for the child seat buyer account 456
1890
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1078
1891
  # @param [Fixnum] account_id
1079
1892
  # Account ID of the buyer.
1080
1893
  # @param [Fixnum] filter_set_id
@@ -1086,8 +1899,7 @@ module Google
1086
1899
  # A token identifying a page of results the server should return.
1087
1900
  # Typically, this is the value of
1088
1901
  # ListBidResponsesWithoutBidsResponse.nextPageToken
1089
- # returned from the previous call to the
1090
- # accounts.filterSets.bidResponsesWithoutBids.list
1902
+ # returned from the previous call to the bidResponsesWithoutBids.list
1091
1903
  # method.
1092
1904
  # @param [String] fields
1093
1905
  # Selector specifying which fields to include in a partial response.
@@ -1106,12 +1918,13 @@ module Google
1106
1918
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1107
1919
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1108
1920
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1109
- def list_account_filter_set_bid_responses_without_bids(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1110
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidResponsesWithoutBids', options)
1921
+ def list_bidder_filter_set_bid_responses_without_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1922
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
1111
1923
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation
1112
1924
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse
1113
- command.params['accountId'] = account_id unless account_id.nil?
1114
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1925
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1926
+ command.query['accountId'] = account_id unless account_id.nil?
1927
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1115
1928
  command.query['pageSize'] = page_size unless page_size.nil?
1116
1929
  command.query['pageToken'] = page_token unless page_token.nil?
1117
1930
  command.query['fields'] = fields unless fields.nil?
@@ -1121,6 +1934,15 @@ module Google
1121
1934
 
1122
1935
  # List all reasons that caused a bid request not to be sent for an
1123
1936
  # impression, with the number of bid requests not sent for each reason.
1937
+ # @param [String] filter_set_name
1938
+ # Name of the filter set that should be applied to the requested metrics.
1939
+ # For example:
1940
+ # - For a bidder-level filter set for bidder 123:
1941
+ # `bidders/123/filterSets/abc`
1942
+ # - For an account-level filter set for the buyer account representing bidder
1943
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1944
+ # - For an account-level filter set for the child seat buyer account 456
1945
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1124
1946
  # @param [Fixnum] account_id
1125
1947
  # Account ID of the buyer.
1126
1948
  # @param [Fixnum] filter_set_id
@@ -1132,8 +1954,7 @@ module Google
1132
1954
  # A token identifying a page of results the server should return.
1133
1955
  # Typically, this is the value of
1134
1956
  # ListFilteredBidRequestsResponse.nextPageToken
1135
- # returned from the previous call to the
1136
- # accounts.filterSets.filteredBidRequests.list
1957
+ # returned from the previous call to the filteredBidRequests.list
1137
1958
  # method.
1138
1959
  # @param [String] fields
1139
1960
  # Selector specifying which fields to include in a partial response.
@@ -1152,12 +1973,13 @@ module Google
1152
1973
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1153
1974
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1154
1975
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1155
- def list_account_filter_set_filtered_bid_requests(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1156
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBidRequests', options)
1976
+ def list_bidder_filter_set_filtered_bid_requests(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1977
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
1157
1978
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation
1158
1979
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse
1159
- command.params['accountId'] = account_id unless account_id.nil?
1160
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1980
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1981
+ command.query['accountId'] = account_id unless account_id.nil?
1982
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1161
1983
  command.query['pageSize'] = page_size unless page_size.nil?
1162
1984
  command.query['pageToken'] = page_token unless page_token.nil?
1163
1985
  command.query['fields'] = fields unless fields.nil?
@@ -1167,6 +1989,15 @@ module Google
1167
1989
 
1168
1990
  # List all reasons for which bids were filtered, with the number of bids
1169
1991
  # filtered for each reason.
1992
+ # @param [String] filter_set_name
1993
+ # Name of the filter set that should be applied to the requested metrics.
1994
+ # For example:
1995
+ # - For a bidder-level filter set for bidder 123:
1996
+ # `bidders/123/filterSets/abc`
1997
+ # - For an account-level filter set for the buyer account representing bidder
1998
+ # 123: `bidders/123/accounts/123/filterSets/abc`
1999
+ # - For an account-level filter set for the child seat buyer account 456
2000
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1170
2001
  # @param [Fixnum] account_id
1171
2002
  # Account ID of the buyer.
1172
2003
  # @param [Fixnum] filter_set_id
@@ -1178,8 +2009,7 @@ module Google
1178
2009
  # A token identifying a page of results the server should return.
1179
2010
  # Typically, this is the value of
1180
2011
  # ListFilteredBidsResponse.nextPageToken
1181
- # returned from the previous call to the
1182
- # accounts.filterSets.filteredBids.list
2012
+ # returned from the previous call to the filteredBids.list
1183
2013
  # method.
1184
2014
  # @param [String] fields
1185
2015
  # Selector specifying which fields to include in a partial response.
@@ -1198,12 +2028,13 @@ module Google
1198
2028
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1199
2029
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1200
2030
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1201
- def list_account_filter_set_filtered_bids(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1202
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids', options)
2031
+ def list_bidder_filter_set_filtered_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2032
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
1203
2033
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation
1204
2034
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse
1205
- command.params['accountId'] = account_id unless account_id.nil?
1206
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
2035
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
2036
+ command.query['accountId'] = account_id unless account_id.nil?
2037
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1207
2038
  command.query['pageSize'] = page_size unless page_size.nil?
1208
2039
  command.query['pageToken'] = page_token unless page_token.nil?
1209
2040
  command.query['fields'] = fields unless fields.nil?
@@ -1213,16 +2044,25 @@ module Google
1213
2044
 
1214
2045
  # List all creatives associated with a specific reason for which bids were
1215
2046
  # filtered, with the number of bids filtered for each creative.
1216
- # @param [Fixnum] account_id
1217
- # Account ID of the buyer.
1218
- # @param [Fixnum] filter_set_id
1219
- # The ID of the filter set to apply.
2047
+ # @param [String] filter_set_name
2048
+ # Name of the filter set that should be applied to the requested metrics.
2049
+ # For example:
2050
+ # - For a bidder-level filter set for bidder 123:
2051
+ # `bidders/123/filterSets/abc`
2052
+ # - For an account-level filter set for the buyer account representing bidder
2053
+ # 123: `bidders/123/accounts/123/filterSets/abc`
2054
+ # - For an account-level filter set for the child seat buyer account 456
2055
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1220
2056
  # @param [Fixnum] creative_status_id
1221
2057
  # The ID of the creative status for which to retrieve a breakdown by
1222
2058
  # creative.
1223
2059
  # See
1224
2060
  # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
1225
2061
  # downloads/creative-status-codes).
2062
+ # @param [Fixnum] account_id
2063
+ # Account ID of the buyer.
2064
+ # @param [Fixnum] filter_set_id
2065
+ # The ID of the filter set to apply.
1226
2066
  # @param [Fixnum] page_size
1227
2067
  # Requested page size. The server may return fewer results than requested.
1228
2068
  # If unspecified, the server will pick an appropriate default.
@@ -1230,8 +2070,7 @@ module Google
1230
2070
  # A token identifying a page of results the server should return.
1231
2071
  # Typically, this is the value of
1232
2072
  # ListCreativeStatusBreakdownByCreativeResponse.nextPageToken
1233
- # returned from the previous call to the
1234
- # accounts.filterSets.filteredBids.creatives.list
2073
+ # returned from the previous call to the filteredBids.creatives.list
1235
2074
  # method.
1236
2075
  # @param [String] fields
1237
2076
  # Selector specifying which fields to include in a partial response.
@@ -1250,13 +2089,14 @@ module Google
1250
2089
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1251
2090
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1252
2091
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1253
- def list_account_filter_set_filtered_bid_creatives(account_id, filter_set_id, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1254
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids/{creativeStatusId}/creatives', options)
2092
+ def list_bidder_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2093
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
1255
2094
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation
1256
2095
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse
1257
- command.params['accountId'] = account_id unless account_id.nil?
1258
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
2096
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1259
2097
  command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
2098
+ command.query['accountId'] = account_id unless account_id.nil?
2099
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1260
2100
  command.query['pageSize'] = page_size unless page_size.nil?
1261
2101
  command.query['pageToken'] = page_token unless page_token.nil?
1262
2102
  command.query['fields'] = fields unless fields.nil?
@@ -1266,16 +2106,25 @@ module Google
1266
2106
 
1267
2107
  # List all details associated with a specific reason for which bids were
1268
2108
  # filtered, with the number of bids filtered for each detail.
1269
- # @param [Fixnum] account_id
1270
- # Account ID of the buyer.
1271
- # @param [Fixnum] filter_set_id
1272
- # The ID of the filter set to apply.
2109
+ # @param [String] filter_set_name
2110
+ # Name of the filter set that should be applied to the requested metrics.
2111
+ # For example:
2112
+ # - For a bidder-level filter set for bidder 123:
2113
+ # `bidders/123/filterSets/abc`
2114
+ # - For an account-level filter set for the buyer account representing bidder
2115
+ # 123: `bidders/123/accounts/123/filterSets/abc`
2116
+ # - For an account-level filter set for the child seat buyer account 456
2117
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1273
2118
  # @param [Fixnum] creative_status_id
1274
2119
  # The ID of the creative status for which to retrieve a breakdown by detail.
1275
2120
  # See
1276
2121
  # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
1277
2122
  # downloads/creative-status-codes).
1278
2123
  # Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.
2124
+ # @param [Fixnum] account_id
2125
+ # Account ID of the buyer.
2126
+ # @param [Fixnum] filter_set_id
2127
+ # The ID of the filter set to apply.
1279
2128
  # @param [Fixnum] page_size
1280
2129
  # Requested page size. The server may return fewer results than requested.
1281
2130
  # If unspecified, the server will pick an appropriate default.
@@ -1283,8 +2132,7 @@ module Google
1283
2132
  # A token identifying a page of results the server should return.
1284
2133
  # Typically, this is the value of
1285
2134
  # ListCreativeStatusBreakdownByDetailResponse.nextPageToken
1286
- # returned from the previous call to the
1287
- # accounts.filterSets.filteredBids.details.list
2135
+ # returned from the previous call to the filteredBids.details.list
1288
2136
  # method.
1289
2137
  # @param [String] fields
1290
2138
  # Selector specifying which fields to include in a partial response.
@@ -1303,13 +2151,14 @@ module Google
1303
2151
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1304
2152
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1305
2153
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1306
- def list_account_filter_set_filtered_bid_details(account_id, filter_set_id, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1307
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids/{creativeStatusId}/details', options)
2154
+ def list_bidder_filter_set_filtered_bid_details(filter_set_name, creative_status_id, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2155
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
1308
2156
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation
1309
2157
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse
1310
- command.params['accountId'] = account_id unless account_id.nil?
1311
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
2158
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
1312
2159
  command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
2160
+ command.query['accountId'] = account_id unless account_id.nil?
2161
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1313
2162
  command.query['pageSize'] = page_size unless page_size.nil?
1314
2163
  command.query['pageToken'] = page_token unless page_token.nil?
1315
2164
  command.query['fields'] = fields unless fields.nil?
@@ -1318,6 +2167,15 @@ module Google
1318
2167
  end
1319
2168
 
1320
2169
  # Lists all metrics that are measured in terms of number of impressions.
2170
+ # @param [String] filter_set_name
2171
+ # Name of the filter set that should be applied to the requested metrics.
2172
+ # For example:
2173
+ # - For a bidder-level filter set for bidder 123:
2174
+ # `bidders/123/filterSets/abc`
2175
+ # - For an account-level filter set for the buyer account representing bidder
2176
+ # 123: `bidders/123/accounts/123/filterSets/abc`
2177
+ # - For an account-level filter set for the child seat buyer account 456
2178
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1321
2179
  # @param [Fixnum] account_id
1322
2180
  # Account ID of the buyer.
1323
2181
  # @param [Fixnum] filter_set_id
@@ -1329,8 +2187,7 @@ module Google
1329
2187
  # A token identifying a page of results the server should return.
1330
2188
  # Typically, this is the value of
1331
2189
  # ListImpressionMetricsResponse.nextPageToken
1332
- # returned from the previous call to the
1333
- # accounts.filterSets.impressionMetrics.list
2190
+ # returned from the previous call to the impressionMetrics.list
1334
2191
  # method.
1335
2192
  # @param [String] fields
1336
2193
  # Selector specifying which fields to include in a partial response.
@@ -1349,12 +2206,13 @@ module Google
1349
2206
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1350
2207
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1351
2208
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1352
- def list_account_filter_set_impression_metrics(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1353
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/impressionMetrics', options)
2209
+ def list_bidder_filter_set_impression_metrics(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2210
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
1354
2211
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
1355
2212
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
1356
- command.params['accountId'] = account_id unless account_id.nil?
1357
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
2213
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
2214
+ command.query['accountId'] = account_id unless account_id.nil?
2215
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1358
2216
  command.query['pageSize'] = page_size unless page_size.nil?
1359
2217
  command.query['pageToken'] = page_token unless page_token.nil?
1360
2218
  command.query['fields'] = fields unless fields.nil?
@@ -1364,6 +2222,15 @@ module Google
1364
2222
 
1365
2223
  # List all reasons for which bids lost in the auction, with the number of
1366
2224
  # bids that lost for each reason.
2225
+ # @param [String] filter_set_name
2226
+ # Name of the filter set that should be applied to the requested metrics.
2227
+ # For example:
2228
+ # - For a bidder-level filter set for bidder 123:
2229
+ # `bidders/123/filterSets/abc`
2230
+ # - For an account-level filter set for the buyer account representing bidder
2231
+ # 123: `bidders/123/accounts/123/filterSets/abc`
2232
+ # - For an account-level filter set for the child seat buyer account 456
2233
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1367
2234
  # @param [Fixnum] account_id
1368
2235
  # Account ID of the buyer.
1369
2236
  # @param [Fixnum] filter_set_id
@@ -1375,8 +2242,7 @@ module Google
1375
2242
  # A token identifying a page of results the server should return.
1376
2243
  # Typically, this is the value of
1377
2244
  # ListLosingBidsResponse.nextPageToken
1378
- # returned from the previous call to the
1379
- # accounts.filterSets.losingBids.list
2245
+ # returned from the previous call to the losingBids.list
1380
2246
  # method.
1381
2247
  # @param [String] fields
1382
2248
  # Selector specifying which fields to include in a partial response.
@@ -1395,12 +2261,13 @@ module Google
1395
2261
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1396
2262
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1397
2263
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1398
- def list_account_filter_set_losing_bids(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1399
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/losingBids', options)
2264
+ def list_bidder_filter_set_losing_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2265
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
1400
2266
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation
1401
2267
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse
1402
- command.params['accountId'] = account_id unless account_id.nil?
1403
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
2268
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
2269
+ command.query['accountId'] = account_id unless account_id.nil?
2270
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1404
2271
  command.query['pageSize'] = page_size unless page_size.nil?
1405
2272
  command.query['pageToken'] = page_token unless page_token.nil?
1406
2273
  command.query['fields'] = fields unless fields.nil?
@@ -1410,6 +2277,15 @@ module Google
1410
2277
 
1411
2278
  # List all reasons for which winning bids were not billable, with the number
1412
2279
  # of bids not billed for each reason.
2280
+ # @param [String] filter_set_name
2281
+ # Name of the filter set that should be applied to the requested metrics.
2282
+ # For example:
2283
+ # - For a bidder-level filter set for bidder 123:
2284
+ # `bidders/123/filterSets/abc`
2285
+ # - For an account-level filter set for the buyer account representing bidder
2286
+ # 123: `bidders/123/accounts/123/filterSets/abc`
2287
+ # - For an account-level filter set for the child seat buyer account 456
2288
+ # whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
1413
2289
  # @param [Fixnum] account_id
1414
2290
  # Account ID of the buyer.
1415
2291
  # @param [Fixnum] filter_set_id
@@ -1421,8 +2297,7 @@ module Google
1421
2297
  # A token identifying a page of results the server should return.
1422
2298
  # Typically, this is the value of
1423
2299
  # ListNonBillableWinningBidsResponse.nextPageToken
1424
- # returned from the previous call to the
1425
- # accounts.filterSets.nonBillableWinningBids.list
2300
+ # returned from the previous call to the nonBillableWinningBids.list
1426
2301
  # method.
1427
2302
  # @param [String] fields
1428
2303
  # Selector specifying which fields to include in a partial response.
@@ -1441,12 +2316,13 @@ module Google
1441
2316
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1442
2317
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1443
2318
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1444
- def list_account_filter_set_non_billable_winning_bids(account_id, filter_set_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1445
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/nonBillableWinningBids', options)
2319
+ def list_bidder_filter_set_non_billable_winning_bids(filter_set_name, account_id: nil, filter_set_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2320
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
1446
2321
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
1447
2322
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
1448
- command.params['accountId'] = account_id unless account_id.nil?
1449
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
2323
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
2324
+ command.query['accountId'] = account_id unless account_id.nil?
2325
+ command.query['filterSetId'] = filter_set_id unless filter_set_id.nil?
1450
2326
  command.query['pageSize'] = page_size unless page_size.nil?
1451
2327
  command.query['pageToken'] = page_token unless page_token.nil?
1452
2328
  command.query['fields'] = fields unless fields.nil?