google-api-client 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -31,7 +31,7 @@ module Google
31
31
  # Adexchangebuyer2 = Google::Apis::Adexchangebuyer2V2beta1 # Alias the module
32
32
  # service = Adexchangebuyer2::AdExchangeBuyerIIService.new
33
33
  #
34
- # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
34
+ # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
35
35
  class AdExchangeBuyerIIService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
@@ -48,44 +48,37 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Lists all the clients for the current sponsor buyer.
51
+ # Creates a new client buyer.
52
52
  # @param [Fixnum] account_id
53
- # Unique numerical account ID of the sponsor buyer to list the clients for.
54
- # @param [Fixnum] page_size
55
- # Requested page size. The server may return fewer clients than requested.
56
- # If unspecified, the server will pick an appropriate default.
57
- # @param [String] page_token
58
- # A token identifying a page of results the server should return.
59
- # Typically, this is the value of
60
- # ListClientsResponse.nextPageToken
61
- # returned from the previous call to the
62
- # accounts.clients.list method.
53
+ # Unique numerical account ID for the buyer of which the client buyer
54
+ # is a customer; the sponsor buyer to create a client for. (required)
55
+ # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object
56
+ # @param [String] fields
57
+ # Selector specifying which fields to include in a partial response.
63
58
  # @param [String] quota_user
64
59
  # Available to use for quota purposes for server-side applications. Can be any
65
60
  # arbitrary string assigned to a user, but should not exceed 40 characters.
66
- # @param [String] fields
67
- # Selector specifying which fields to include in a partial response.
68
61
  # @param [Google::Apis::RequestOptions] options
69
62
  # Request-specific options
70
63
  #
71
64
  # @yield [result, err] Result & error if block supplied
72
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] parsed result object
65
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object
73
66
  # @yieldparam err [StandardError] error object if request failed
74
67
  #
75
- # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse]
68
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Client]
76
69
  #
77
70
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
71
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
72
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
- def list_account_clients(account_id, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
81
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options)
82
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation
83
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse
73
+ def create_account_client(account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options)
75
+ command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
76
+ command.request_object = client_object
77
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
78
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
84
79
  command.params['accountId'] = account_id unless account_id.nil?
85
- command.query['pageSize'] = page_size unless page_size.nil?
86
- command.query['pageToken'] = page_token unless page_token.nil?
87
- command.query['quotaUser'] = quota_user unless quota_user.nil?
88
80
  command.query['fields'] = fields unless fields.nil?
81
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
82
  execute_or_queue_command(command, &block)
90
83
  end
91
84
 
@@ -94,11 +87,11 @@ module Google
94
87
  # Numerical account ID of the client's sponsor buyer. (required)
95
88
  # @param [Fixnum] client_account_id
96
89
  # Numerical account ID of the client buyer to retrieve. (required)
90
+ # @param [String] fields
91
+ # Selector specifying which fields to include in a partial response.
97
92
  # @param [String] quota_user
98
93
  # Available to use for quota purposes for server-side applications. Can be any
99
94
  # arbitrary string assigned to a user, but should not exceed 40 characters.
100
- # @param [String] fields
101
- # Selector specifying which fields to include in a partial response.
102
95
  # @param [Google::Apis::RequestOptions] options
103
96
  # Request-specific options
104
97
  #
@@ -111,64 +104,70 @@ module Google
111
104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
114
- def get_account_client(account_id, client_account_id, quota_user: nil, fields: nil, options: nil, &block)
107
+ def get_account_client(account_id, client_account_id, fields: nil, quota_user: nil, options: nil, &block)
115
108
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
116
109
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
117
110
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
118
111
  command.params['accountId'] = account_id unless account_id.nil?
119
112
  command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
120
- command.query['quotaUser'] = quota_user unless quota_user.nil?
121
113
  command.query['fields'] = fields unless fields.nil?
114
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
122
115
  execute_or_queue_command(command, &block)
123
116
  end
124
117
 
125
- # Updates an existing client buyer.
118
+ # Lists all the clients for the current sponsor buyer.
126
119
  # @param [Fixnum] account_id
127
- # Unique numerical account ID for the buyer of which the client buyer
128
- # is a customer; the sponsor buyer to update a client for. (required)
129
- # @param [Fixnum] client_account_id
130
- # Unique numerical account ID of the client to update. (required)
131
- # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object
120
+ # Unique numerical account ID of the sponsor buyer to list the clients for.
121
+ # @param [Fixnum] page_size
122
+ # Requested page size. The server may return fewer clients than requested.
123
+ # If unspecified, the server will pick an appropriate default.
124
+ # @param [String] page_token
125
+ # A token identifying a page of results the server should return.
126
+ # Typically, this is the value of
127
+ # ListClientsResponse.nextPageToken
128
+ # returned from the previous call to the
129
+ # accounts.clients.list method.
130
+ # @param [String] fields
131
+ # Selector specifying which fields to include in a partial response.
132
132
  # @param [String] quota_user
133
133
  # Available to use for quota purposes for server-side applications. Can be any
134
134
  # arbitrary string assigned to a user, but should not exceed 40 characters.
135
- # @param [String] fields
136
- # Selector specifying which fields to include in a partial response.
137
135
  # @param [Google::Apis::RequestOptions] options
138
136
  # Request-specific options
139
137
  #
140
138
  # @yield [result, err] Result & error if block supplied
141
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object
139
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] parsed result object
142
140
  # @yieldparam err [StandardError] error object if request failed
143
141
  #
144
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Client]
142
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse]
145
143
  #
146
144
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
147
145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
148
146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
149
- def update_account_client(account_id, client_account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block)
150
- command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
151
- command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
152
- command.request_object = client_object
153
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
154
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
147
+ def list_account_clients(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
148
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options)
149
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation
150
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse
155
151
  command.params['accountId'] = account_id unless account_id.nil?
156
- command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
157
- command.query['quotaUser'] = quota_user unless quota_user.nil?
152
+ command.query['pageSize'] = page_size unless page_size.nil?
153
+ command.query['pageToken'] = page_token unless page_token.nil?
158
154
  command.query['fields'] = fields unless fields.nil?
155
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
159
156
  execute_or_queue_command(command, &block)
160
157
  end
161
158
 
162
- # Creates a new client buyer.
159
+ # Updates an existing client buyer.
163
160
  # @param [Fixnum] account_id
164
161
  # Unique numerical account ID for the buyer of which the client buyer
165
- # is a customer; the sponsor buyer to create a client for. (required)
162
+ # is a customer; the sponsor buyer to update a client for. (required)
163
+ # @param [Fixnum] client_account_id
164
+ # Unique numerical account ID of the client to update. (required)
166
165
  # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object
166
+ # @param [String] fields
167
+ # Selector specifying which fields to include in a partial response.
167
168
  # @param [String] quota_user
168
169
  # Available to use for quota purposes for server-side applications. Can be any
169
170
  # arbitrary string assigned to a user, but should not exceed 40 characters.
170
- # @param [String] fields
171
- # Selector specifying which fields to include in a partial response.
172
171
  # @param [Google::Apis::RequestOptions] options
173
172
  # Request-specific options
174
173
  #
@@ -181,66 +180,54 @@ module Google
181
180
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
182
181
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
183
182
  # @raise [Google::Apis::AuthorizationError] Authorization is required
184
- def create_account_client(account_id, client_object = nil, quota_user: nil, fields: nil, options: nil, &block)
185
- command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options)
183
+ def update_account_client(account_id, client_account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block)
184
+ command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options)
186
185
  command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
187
186
  command.request_object = client_object
188
187
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation
189
188
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client
190
189
  command.params['accountId'] = account_id unless account_id.nil?
191
- command.query['quotaUser'] = quota_user unless quota_user.nil?
190
+ command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
192
191
  command.query['fields'] = fields unless fields.nil?
192
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
193
193
  execute_or_queue_command(command, &block)
194
194
  end
195
195
 
196
- # Lists all the client users invitations for a client
197
- # with a given account ID.
196
+ # Creates and sends out an email invitation to access
197
+ # an Ad Exchange client buyer account.
198
198
  # @param [Fixnum] account_id
199
199
  # Numerical account ID of the client's sponsor buyer. (required)
200
- # @param [String] client_account_id
201
- # Numerical account ID of the client buyer to list invitations for.
202
- # (required)
203
- # You must either specify a string representation of a
204
- # numerical account identifier or the `-` character
205
- # to list all the invitations for all the clients
206
- # of a given sponsor buyer.
207
- # @param [String] page_token
208
- # A token identifying a page of results the server should return.
209
- # Typically, this is the value of
210
- # ListClientUserInvitationsResponse.nextPageToken
211
- # returned from the previous call to the
212
- # clients.invitations.list
213
- # method.
214
- # @param [Fixnum] page_size
215
- # Requested page size. Server may return fewer clients than requested.
216
- # If unspecified, server will pick an appropriate default.
200
+ # @param [Fixnum] client_account_id
201
+ # Numerical account ID of the client buyer that the user
202
+ # should be associated with. (required)
203
+ # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_object
204
+ # @param [String] fields
205
+ # Selector specifying which fields to include in a partial response.
217
206
  # @param [String] quota_user
218
207
  # Available to use for quota purposes for server-side applications. Can be any
219
208
  # arbitrary string assigned to a user, but should not exceed 40 characters.
220
- # @param [String] fields
221
- # Selector specifying which fields to include in a partial response.
222
209
  # @param [Google::Apis::RequestOptions] options
223
210
  # Request-specific options
224
211
  #
225
212
  # @yield [result, err] Result & error if block supplied
226
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] parsed result object
213
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object
227
214
  # @yieldparam err [StandardError] error object if request failed
228
215
  #
229
- # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse]
216
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation]
230
217
  #
231
218
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
232
219
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
233
220
  # @raise [Google::Apis::AuthorizationError] Authorization is required
234
- def list_account_client_invitations(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
235
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
236
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation
237
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse
221
+ def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
222
+ command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
223
+ command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
224
+ command.request_object = client_user_invitation_object
225
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
226
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
238
227
  command.params['accountId'] = account_id unless account_id.nil?
239
228
  command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
240
- command.query['pageToken'] = page_token unless page_token.nil?
241
- command.query['pageSize'] = page_size unless page_size.nil?
242
- command.query['quotaUser'] = quota_user unless quota_user.nil?
243
229
  command.query['fields'] = fields unless fields.nil?
230
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
244
231
  execute_or_queue_command(command, &block)
245
232
  end
246
233
 
@@ -252,11 +239,11 @@ module Google
252
239
  # to be retrieved is associated with. (required)
253
240
  # @param [Fixnum] invitation_id
254
241
  # Numerical identifier of the user invitation to retrieve. (required)
242
+ # @param [String] fields
243
+ # Selector specifying which fields to include in a partial response.
255
244
  # @param [String] quota_user
256
245
  # Available to use for quota purposes for server-side applications. Can be any
257
246
  # arbitrary string assigned to a user, but should not exceed 40 characters.
258
- # @param [String] fields
259
- # Selector specifying which fields to include in a partial response.
260
247
  # @param [Google::Apis::RequestOptions] options
261
248
  # Request-specific options
262
249
  #
@@ -269,53 +256,66 @@ module Google
269
256
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
270
257
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
271
258
  # @raise [Google::Apis::AuthorizationError] Authorization is required
272
- def get_account_client_invitation(account_id, client_account_id, invitation_id, quota_user: nil, fields: nil, options: nil, &block)
259
+ def get_account_client_invitation(account_id, client_account_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block)
273
260
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options)
274
261
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
275
262
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
276
263
  command.params['accountId'] = account_id unless account_id.nil?
277
264
  command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
278
265
  command.params['invitationId'] = invitation_id unless invitation_id.nil?
279
- command.query['quotaUser'] = quota_user unless quota_user.nil?
280
266
  command.query['fields'] = fields unless fields.nil?
267
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
281
268
  execute_or_queue_command(command, &block)
282
269
  end
283
270
 
284
- # Creates and sends out an email invitation to access
285
- # an Ad Exchange client buyer account.
271
+ # Lists all the client users invitations for a client
272
+ # with a given account ID.
286
273
  # @param [Fixnum] account_id
287
274
  # Numerical account ID of the client's sponsor buyer. (required)
288
- # @param [Fixnum] client_account_id
289
- # Numerical account ID of the client buyer that the user
290
- # should be associated with. (required)
291
- # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_object
275
+ # @param [String] client_account_id
276
+ # Numerical account ID of the client buyer to list invitations for.
277
+ # (required)
278
+ # You must either specify a string representation of a
279
+ # numerical account identifier or the `-` character
280
+ # to list all the invitations for all the clients
281
+ # of a given sponsor buyer.
282
+ # @param [Fixnum] page_size
283
+ # Requested page size. Server may return fewer clients than requested.
284
+ # If unspecified, server will pick an appropriate default.
285
+ # @param [String] page_token
286
+ # A token identifying a page of results the server should return.
287
+ # Typically, this is the value of
288
+ # ListClientUserInvitationsResponse.nextPageToken
289
+ # returned from the previous call to the
290
+ # clients.invitations.list
291
+ # method.
292
+ # @param [String] fields
293
+ # Selector specifying which fields to include in a partial response.
292
294
  # @param [String] quota_user
293
295
  # Available to use for quota purposes for server-side applications. Can be any
294
296
  # arbitrary string assigned to a user, but should not exceed 40 characters.
295
- # @param [String] fields
296
- # Selector specifying which fields to include in a partial response.
297
297
  # @param [Google::Apis::RequestOptions] options
298
298
  # Request-specific options
299
299
  #
300
300
  # @yield [result, err] Result & error if block supplied
301
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object
301
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] parsed result object
302
302
  # @yieldparam err [StandardError] error object if request failed
303
303
  #
304
- # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation]
304
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse]
305
305
  #
306
306
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
307
307
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
308
308
  # @raise [Google::Apis::AuthorizationError] Authorization is required
309
- def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, quota_user: nil, fields: nil, options: nil, &block)
310
- command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
311
- command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
312
- command.request_object = client_user_invitation_object
313
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation
314
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation
309
+ def list_account_client_invitations(account_id, client_account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
310
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options)
311
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation
312
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse
315
313
  command.params['accountId'] = account_id unless account_id.nil?
316
314
  command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
317
- command.query['quotaUser'] = quota_user unless quota_user.nil?
315
+ command.query['pageSize'] = page_size unless page_size.nil?
316
+ command.query['pageToken'] = page_token unless page_token.nil?
318
317
  command.query['fields'] = fields unless fields.nil?
318
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
319
319
  execute_or_queue_command(command, &block)
320
320
  end
321
321
 
@@ -327,11 +327,11 @@ module Google
327
327
  # that the user to be retrieved is associated with. (required)
328
328
  # @param [Fixnum] user_id
329
329
  # Numerical identifier of the user to retrieve. (required)
330
+ # @param [String] fields
331
+ # Selector specifying which fields to include in a partial response.
330
332
  # @param [String] quota_user
331
333
  # Available to use for quota purposes for server-side applications. Can be any
332
334
  # arbitrary string assigned to a user, but should not exceed 40 characters.
333
- # @param [String] fields
334
- # Selector specifying which fields to include in a partial response.
335
335
  # @param [Google::Apis::RequestOptions] options
336
336
  # Request-specific options
337
337
  #
@@ -344,15 +344,15 @@ module Google
344
344
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
345
345
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
346
346
  # @raise [Google::Apis::AuthorizationError] Authorization is required
347
- def get_account_client_user(account_id, client_account_id, user_id, quota_user: nil, fields: nil, options: nil, &block)
347
+ def get_account_client_user(account_id, client_account_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
348
348
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
349
349
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
350
350
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser
351
351
  command.params['accountId'] = account_id unless account_id.nil?
352
352
  command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
353
353
  command.params['userId'] = user_id unless user_id.nil?
354
- command.query['quotaUser'] = quota_user unless quota_user.nil?
355
354
  command.query['fields'] = fields unless fields.nil?
355
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
356
356
  execute_or_queue_command(command, &block)
357
357
  end
358
358
 
@@ -367,20 +367,20 @@ module Google
367
367
  # numerical account identifier or the `-` character
368
368
  # to list all the client users for all the clients
369
369
  # of a given sponsor buyer.
370
+ # @param [Fixnum] page_size
371
+ # Requested page size. The server may return fewer clients than requested.
372
+ # If unspecified, the server will pick an appropriate default.
370
373
  # @param [String] page_token
371
374
  # A token identifying a page of results the server should return.
372
375
  # Typically, this is the value of
373
376
  # ListClientUsersResponse.nextPageToken
374
377
  # returned from the previous call to the
375
378
  # accounts.clients.users.list method.
376
- # @param [Fixnum] page_size
377
- # Requested page size. The server may return fewer clients than requested.
378
- # If unspecified, the server will pick an appropriate default.
379
+ # @param [String] fields
380
+ # Selector specifying which fields to include in a partial response.
379
381
  # @param [String] quota_user
380
382
  # Available to use for quota purposes for server-side applications. Can be any
381
383
  # arbitrary string assigned to a user, but should not exceed 40 characters.
382
- # @param [String] fields
383
- # Selector specifying which fields to include in a partial response.
384
384
  # @param [Google::Apis::RequestOptions] options
385
385
  # Request-specific options
386
386
  #
@@ -393,16 +393,16 @@ module Google
393
393
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
394
394
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
395
395
  # @raise [Google::Apis::AuthorizationError] Authorization is required
396
- def list_account_client_users(account_id, client_account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
396
+ def list_account_client_users(account_id, client_account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
397
397
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options)
398
398
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse::Representation
399
399
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse
400
400
  command.params['accountId'] = account_id unless account_id.nil?
401
401
  command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
402
- command.query['pageToken'] = page_token unless page_token.nil?
403
402
  command.query['pageSize'] = page_size unless page_size.nil?
404
- command.query['quotaUser'] = quota_user unless quota_user.nil?
403
+ command.query['pageToken'] = page_token unless page_token.nil?
405
404
  command.query['fields'] = fields unless fields.nil?
405
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
406
406
  execute_or_queue_command(command, &block)
407
407
  end
408
408
 
@@ -416,11 +416,11 @@ module Google
416
416
  # @param [Fixnum] user_id
417
417
  # Numerical identifier of the user to retrieve. (required)
418
418
  # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_object
419
+ # @param [String] fields
420
+ # Selector specifying which fields to include in a partial response.
419
421
  # @param [String] quota_user
420
422
  # Available to use for quota purposes for server-side applications. Can be any
421
423
  # arbitrary string assigned to a user, but should not exceed 40 characters.
422
- # @param [String] fields
423
- # Selector specifying which fields to include in a partial response.
424
424
  # @param [Google::Apis::RequestOptions] options
425
425
  # Request-specific options
426
426
  #
@@ -433,7 +433,7 @@ module Google
433
433
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
434
434
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
435
435
  # @raise [Google::Apis::AuthorizationError] Authorization is required
436
- def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, quota_user: nil, fields: nil, options: nil, &block)
436
+ def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
437
437
  command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options)
438
438
  command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation
439
439
  command.request_object = client_user_object
@@ -442,8 +442,8 @@ module Google
442
442
  command.params['accountId'] = account_id unless account_id.nil?
443
443
  command.params['clientAccountId'] = client_account_id unless client_account_id.nil?
444
444
  command.params['userId'] = user_id unless user_id.nil?
445
- command.query['quotaUser'] = quota_user unless quota_user.nil?
446
445
  command.query['fields'] = fields unless fields.nil?
446
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
447
447
  execute_or_queue_command(command, &block)
448
448
  end
449
449
 
@@ -457,11 +457,11 @@ module Google
457
457
  # @param [String] duplicate_id_mode
458
458
  # Indicates if multiple creatives can share an ID or not. Default is
459
459
  # NO_DUPLICATES (one ID per creative).
460
+ # @param [String] fields
461
+ # Selector specifying which fields to include in a partial response.
460
462
  # @param [String] quota_user
461
463
  # Available to use for quota purposes for server-side applications. Can be any
462
464
  # arbitrary string assigned to a user, but should not exceed 40 characters.
463
- # @param [String] fields
464
- # Selector specifying which fields to include in a partial response.
465
465
  # @param [Google::Apis::RequestOptions] options
466
466
  # Request-specific options
467
467
  #
@@ -474,7 +474,7 @@ module Google
474
474
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
475
475
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
476
476
  # @raise [Google::Apis::AuthorizationError] Authorization is required
477
- def create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, quota_user: nil, fields: nil, options: nil, &block)
477
+ def create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
478
478
  command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives', options)
479
479
  command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
480
480
  command.request_object = creative_object
@@ -482,120 +482,139 @@ module Google
482
482
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
483
483
  command.params['accountId'] = account_id unless account_id.nil?
484
484
  command.query['duplicateIdMode'] = duplicate_id_mode unless duplicate_id_mode.nil?
485
- command.query['quotaUser'] = quota_user unless quota_user.nil?
486
485
  command.query['fields'] = fields unless fields.nil?
486
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
487
487
  execute_or_queue_command(command, &block)
488
488
  end
489
489
 
490
- # Stops watching a creative. Will stop push notifications being sent to the
491
- # topics when the creative changes status.
490
+ # Gets a creative.
492
491
  # @param [String] account_id
493
- # The account of the creative to stop notifications for.
492
+ # The account the creative belongs to.
494
493
  # @param [String] creative_id
495
- # The creative ID of the creative to stop notifications for.
496
- # Specify "-" to specify stopping account level notifications.
497
- # @param [Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest] stop_watching_creative_request_object
494
+ # The ID of the creative to retrieve.
495
+ # @param [String] fields
496
+ # Selector specifying which fields to include in a partial response.
498
497
  # @param [String] quota_user
499
498
  # Available to use for quota purposes for server-side applications. Can be any
500
499
  # arbitrary string assigned to a user, but should not exceed 40 characters.
501
- # @param [String] fields
502
- # Selector specifying which fields to include in a partial response.
503
500
  # @param [Google::Apis::RequestOptions] options
504
501
  # Request-specific options
505
502
  #
506
503
  # @yield [result, err] Result & error if block supplied
507
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
504
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object
508
505
  # @yieldparam err [StandardError] error object if request failed
509
506
  #
510
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
507
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative]
511
508
  #
512
509
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
513
510
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
514
511
  # @raise [Google::Apis::AuthorizationError] Authorization is required
515
- def stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
516
- command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options)
517
- command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest::Representation
518
- command.request_object = stop_watching_creative_request_object
519
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
520
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
512
+ def get_account_creative(account_id, creative_id, fields: nil, quota_user: nil, options: nil, &block)
513
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
514
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
515
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
521
516
  command.params['accountId'] = account_id unless account_id.nil?
522
517
  command.params['creativeId'] = creative_id unless creative_id.nil?
523
- command.query['quotaUser'] = quota_user unless quota_user.nil?
524
518
  command.query['fields'] = fields unless fields.nil?
519
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
525
520
  execute_or_queue_command(command, &block)
526
521
  end
527
522
 
528
- # Watches a creative. Will result in push notifications being sent to the
529
- # topic when the creative changes status.
523
+ # Lists creatives.
530
524
  # @param [String] account_id
531
- # The account of the creative to watch.
532
- # @param [String] creative_id
533
- # The creative ID to watch for status changes.
534
- # Specify "-" to watch all creatives under the above account.
535
- # If both creative-level and account-level notifications are
536
- # sent, only a single notification will be sent to the
537
- # creative-level notification topic.
538
- # @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_request_object
525
+ # The account to list the creatives from.
526
+ # Specify "-" to list all creatives the current user has access to.
527
+ # @param [Fixnum] page_size
528
+ # Requested page size. The server may return fewer creatives than requested
529
+ # (due to timeout constraint) even if more are available via another call.
530
+ # If unspecified, server will pick an appropriate default.
531
+ # Acceptable values are 1 to 1000, inclusive.
532
+ # @param [String] page_token
533
+ # A token identifying a page of results the server should return.
534
+ # Typically, this is the value of
535
+ # ListCreativesResponse.next_page_token
536
+ # returned from the previous call to 'ListCreatives' method.
537
+ # @param [String] query
538
+ # An optional query string to filter creatives. If no filter is specified,
539
+ # all active creatives will be returned.
540
+ # Supported queries are:
541
+ # <ul>
542
+ # <li>accountId=<i>account_id_string</i>
543
+ # <li>creativeId=<i>creative_id_string</i>
544
+ # <li>dealsStatus: `approved, conditionally_approved, disapproved,
545
+ # not_checked`
546
+ # <li>openAuctionStatus: `approved, conditionally_approved, disapproved,
547
+ # not_checked`
548
+ # <li>attribute: `a numeric attribute from the list of attributes`
549
+ # <li>disapprovalReason: `a reason from DisapprovalReason
550
+ # </ul>
551
+ # Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:
552
+ # unacceptable_content) OR attribute:47'
553
+ # @param [String] fields
554
+ # Selector specifying which fields to include in a partial response.
539
555
  # @param [String] quota_user
540
556
  # Available to use for quota purposes for server-side applications. Can be any
541
557
  # arbitrary string assigned to a user, but should not exceed 40 characters.
542
- # @param [String] fields
543
- # Selector specifying which fields to include in a partial response.
544
558
  # @param [Google::Apis::RequestOptions] options
545
559
  # Request-specific options
546
560
  #
547
561
  # @yield [result, err] Result & error if block supplied
548
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
562
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse] parsed result object
549
563
  # @yieldparam err [StandardError] error object if request failed
550
564
  #
551
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
565
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse]
552
566
  #
553
567
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
554
568
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
555
569
  # @raise [Google::Apis::AuthorizationError] Authorization is required
556
- def watch_creative(account_id, creative_id, watch_creative_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
557
- command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options)
558
- command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation
559
- command.request_object = watch_creative_request_object
560
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
561
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
570
+ def list_account_creatives(account_id, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
571
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives', options)
572
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse::Representation
573
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse
562
574
  command.params['accountId'] = account_id unless account_id.nil?
563
- command.params['creativeId'] = creative_id unless creative_id.nil?
564
- command.query['quotaUser'] = quota_user unless quota_user.nil?
575
+ command.query['pageSize'] = page_size unless page_size.nil?
576
+ command.query['pageToken'] = page_token unless page_token.nil?
577
+ command.query['query'] = query unless query.nil?
565
578
  command.query['fields'] = fields unless fields.nil?
579
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
566
580
  execute_or_queue_command(command, &block)
567
581
  end
568
582
 
569
- # Gets a creative.
583
+ # Stops watching a creative. Will stop push notifications being sent to the
584
+ # topics when the creative changes status.
570
585
  # @param [String] account_id
571
- # The account the creative belongs to.
586
+ # The account of the creative to stop notifications for.
572
587
  # @param [String] creative_id
573
- # The ID of the creative to retrieve.
588
+ # The creative ID of the creative to stop notifications for.
589
+ # Specify "-" to specify stopping account level notifications.
590
+ # @param [Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest] stop_watching_creative_request_object
591
+ # @param [String] fields
592
+ # Selector specifying which fields to include in a partial response.
574
593
  # @param [String] quota_user
575
594
  # Available to use for quota purposes for server-side applications. Can be any
576
595
  # arbitrary string assigned to a user, but should not exceed 40 characters.
577
- # @param [String] fields
578
- # Selector specifying which fields to include in a partial response.
579
596
  # @param [Google::Apis::RequestOptions] options
580
597
  # Request-specific options
581
598
  #
582
599
  # @yield [result, err] Result & error if block supplied
583
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object
600
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
584
601
  # @yieldparam err [StandardError] error object if request failed
585
602
  #
586
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative]
603
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
587
604
  #
588
605
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
589
606
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
590
607
  # @raise [Google::Apis::AuthorizationError] Authorization is required
591
- def get_account_creative(account_id, creative_id, quota_user: nil, fields: nil, options: nil, &block)
592
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
593
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
594
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
608
+ def stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
609
+ command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options)
610
+ command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest::Representation
611
+ command.request_object = stop_watching_creative_request_object
612
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
613
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
595
614
  command.params['accountId'] = account_id unless account_id.nil?
596
615
  command.params['creativeId'] = creative_id unless creative_id.nil?
597
- command.query['quotaUser'] = quota_user unless quota_user.nil?
598
616
  command.query['fields'] = fields unless fields.nil?
617
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
599
618
  execute_or_queue_command(command, &block)
600
619
  end
601
620
 
@@ -611,11 +630,11 @@ module Google
611
630
  # creatives.list
612
631
  # method.
613
632
  # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object
633
+ # @param [String] fields
634
+ # Selector specifying which fields to include in a partial response.
614
635
  # @param [String] quota_user
615
636
  # Available to use for quota purposes for server-side applications. Can be any
616
637
  # arbitrary string assigned to a user, but should not exceed 40 characters.
617
- # @param [String] fields
618
- # Selector specifying which fields to include in a partial response.
619
638
  # @param [Google::Apis::RequestOptions] options
620
639
  # Request-specific options
621
640
  #
@@ -628,7 +647,7 @@ module Google
628
647
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
629
648
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
630
649
  # @raise [Google::Apis::AuthorizationError] Authorization is required
631
- def update_account_creative(account_id, creative_id, creative_object = nil, quota_user: nil, fields: nil, options: nil, &block)
650
+ def update_account_creative(account_id, creative_id, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block)
632
651
  command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options)
633
652
  command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation
634
653
  command.request_object = creative_object
@@ -636,68 +655,85 @@ module Google
636
655
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative
637
656
  command.params['accountId'] = account_id unless account_id.nil?
638
657
  command.params['creativeId'] = creative_id unless creative_id.nil?
639
- command.query['quotaUser'] = quota_user unless quota_user.nil?
640
658
  command.query['fields'] = fields unless fields.nil?
659
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
641
660
  execute_or_queue_command(command, &block)
642
661
  end
643
662
 
644
- # Lists creatives.
663
+ # Watches a creative. Will result in push notifications being sent to the
664
+ # topic when the creative changes status.
645
665
  # @param [String] account_id
646
- # The account to list the creatives from.
647
- # Specify "-" to list all creatives the current user has access to.
648
- # @param [String] page_token
649
- # A token identifying a page of results the server should return.
650
- # Typically, this is the value of
651
- # ListCreativesResponse.next_page_token
652
- # returned from the previous call to 'ListCreatives' method.
653
- # @param [Fixnum] page_size
654
- # Requested page size. The server may return fewer creatives than requested
655
- # (due to timeout constraint) even if more are available via another call.
656
- # If unspecified, server will pick an appropriate default.
657
- # Acceptable values are 1 to 1000, inclusive.
658
- # @param [String] query
659
- # An optional query string to filter creatives. If no filter is specified,
660
- # all active creatives will be returned.
661
- # Supported queries are:
662
- # <ul>
663
- # <li>accountId=<i>account_id_string</i>
664
- # <li>creativeId=<i>creative_id_string</i>
665
- # <li>dealsStatus: `approved, conditionally_approved, disapproved,
666
- # not_checked`
667
- # <li>openAuctionStatus: `approved, conditionally_approved, disapproved,
668
- # not_checked`
669
- # <li>attribute: `a numeric attribute from the list of attributes`
670
- # <li>disapprovalReason: `a reason from DisapprovalReason
671
- # </ul>
672
- # Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:
673
- # unacceptable_content) OR attribute:47'
666
+ # The account of the creative to watch.
667
+ # @param [String] creative_id
668
+ # The creative ID to watch for status changes.
669
+ # Specify "-" to watch all creatives under the above account.
670
+ # If both creative-level and account-level notifications are
671
+ # sent, only a single notification will be sent to the
672
+ # creative-level notification topic.
673
+ # @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_request_object
674
+ # @param [String] fields
675
+ # Selector specifying which fields to include in a partial response.
674
676
  # @param [String] quota_user
675
677
  # Available to use for quota purposes for server-side applications. Can be any
676
678
  # arbitrary string assigned to a user, but should not exceed 40 characters.
679
+ # @param [Google::Apis::RequestOptions] options
680
+ # Request-specific options
681
+ #
682
+ # @yield [result, err] Result & error if block supplied
683
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
684
+ # @yieldparam err [StandardError] error object if request failed
685
+ #
686
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
687
+ #
688
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
689
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
690
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
691
+ def watch_creative(account_id, creative_id, watch_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
692
+ command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options)
693
+ command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation
694
+ command.request_object = watch_creative_request_object
695
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
696
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
697
+ command.params['accountId'] = account_id unless account_id.nil?
698
+ command.params['creativeId'] = creative_id unless creative_id.nil?
699
+ command.query['fields'] = fields unless fields.nil?
700
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
701
+ execute_or_queue_command(command, &block)
702
+ end
703
+
704
+ # Associate an existing deal with a creative.
705
+ # @param [String] account_id
706
+ # The account the creative belongs to.
707
+ # @param [String] creative_id
708
+ # The ID of the creative associated with the deal.
709
+ # @param [Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest] add_deal_association_request_object
677
710
  # @param [String] fields
678
711
  # Selector specifying which fields to include in a partial response.
712
+ # @param [String] quota_user
713
+ # Available to use for quota purposes for server-side applications. Can be any
714
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
679
715
  # @param [Google::Apis::RequestOptions] options
680
716
  # Request-specific options
681
717
  #
682
718
  # @yield [result, err] Result & error if block supplied
683
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse] parsed result object
719
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
684
720
  # @yieldparam err [StandardError] error object if request failed
685
721
  #
686
- # @return [Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse]
722
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
687
723
  #
688
724
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
689
725
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
690
726
  # @raise [Google::Apis::AuthorizationError] Authorization is required
691
- def list_account_creatives(account_id, page_token: nil, page_size: nil, query: nil, quota_user: nil, fields: nil, options: nil, &block)
692
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives', options)
693
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse::Representation
694
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse
727
+ def add_deal_association(account_id, creative_id, add_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
728
+ command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options)
729
+ command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest::Representation
730
+ command.request_object = add_deal_association_request_object
731
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
732
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
695
733
  command.params['accountId'] = account_id unless account_id.nil?
696
- command.query['pageToken'] = page_token unless page_token.nil?
697
- command.query['pageSize'] = page_size unless page_size.nil?
698
- command.query['query'] = query unless query.nil?
699
- command.query['quotaUser'] = quota_user unless quota_user.nil?
734
+ command.params['creativeId'] = creative_id unless creative_id.nil?
700
735
  command.query['fields'] = fields unless fields.nil?
736
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
701
737
  execute_or_queue_command(command, &block)
702
738
  end
703
739
 
@@ -708,14 +744,14 @@ module Google
708
744
  # @param [String] creative_id
709
745
  # The creative ID to list the associations from.
710
746
  # Specify "-" to list all creatives under the above account.
747
+ # @param [Fixnum] page_size
748
+ # Requested page size. Server may return fewer associations than requested.
749
+ # If unspecified, server will pick an appropriate default.
711
750
  # @param [String] page_token
712
751
  # A token identifying a page of results the server should return.
713
752
  # Typically, this is the value of
714
753
  # ListDealAssociationsResponse.next_page_token
715
754
  # returned from the previous call to 'ListDealAssociations' method.
716
- # @param [Fixnum] page_size
717
- # Requested page size. Server may return fewer associations than requested.
718
- # If unspecified, server will pick an appropriate default.
719
755
  # @param [String] query
720
756
  # An optional query string to filter deal associations. If no filter is
721
757
  # specified, all associations will be returned.
@@ -730,11 +766,11 @@ module Google
730
766
  # not_checked`
731
767
  # </ul>
732
768
  # Example: 'dealsId=12345 AND dealsStatus:disapproved'
769
+ # @param [String] fields
770
+ # Selector specifying which fields to include in a partial response.
733
771
  # @param [String] quota_user
734
772
  # Available to use for quota purposes for server-side applications. Can be any
735
773
  # arbitrary string assigned to a user, but should not exceed 40 characters.
736
- # @param [String] fields
737
- # Selector specifying which fields to include in a partial response.
738
774
  # @param [Google::Apis::RequestOptions] options
739
775
  # Request-specific options
740
776
  #
@@ -747,17 +783,17 @@ module Google
747
783
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748
784
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749
785
  # @raise [Google::Apis::AuthorizationError] Authorization is required
750
- def list_account_creative_deal_associations(account_id, creative_id, page_token: nil, page_size: nil, query: nil, quota_user: nil, fields: nil, options: nil, &block)
786
+ def list_account_creative_deal_associations(account_id, creative_id, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
751
787
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options)
752
788
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation
753
789
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse
754
790
  command.params['accountId'] = account_id unless account_id.nil?
755
791
  command.params['creativeId'] = creative_id unless creative_id.nil?
756
- command.query['pageToken'] = page_token unless page_token.nil?
757
792
  command.query['pageSize'] = page_size unless page_size.nil?
793
+ command.query['pageToken'] = page_token unless page_token.nil?
758
794
  command.query['query'] = query unless query.nil?
759
- command.query['quotaUser'] = quota_user unless quota_user.nil?
760
795
  command.query['fields'] = fields unless fields.nil?
796
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
761
797
  execute_or_queue_command(command, &block)
762
798
  end
763
799
 
@@ -767,11 +803,11 @@ module Google
767
803
  # @param [String] creative_id
768
804
  # The ID of the creative associated with the deal.
769
805
  # @param [Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest] remove_deal_association_request_object
806
+ # @param [String] fields
807
+ # Selector specifying which fields to include in a partial response.
770
808
  # @param [String] quota_user
771
809
  # Available to use for quota purposes for server-side applications. Can be any
772
810
  # arbitrary string assigned to a user, but should not exceed 40 characters.
773
- # @param [String] fields
774
- # Selector specifying which fields to include in a partial response.
775
811
  # @param [Google::Apis::RequestOptions] options
776
812
  # Request-specific options
777
813
  #
@@ -784,7 +820,7 @@ module Google
784
820
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
785
821
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
786
822
  # @raise [Google::Apis::AuthorizationError] Authorization is required
787
- def remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
823
+ def remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
788
824
  command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', options)
789
825
  command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest::Representation
790
826
  command.request_object = remove_deal_association_request_object
@@ -792,170 +828,94 @@ module Google
792
828
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
793
829
  command.params['accountId'] = account_id unless account_id.nil?
794
830
  command.params['creativeId'] = creative_id unless creative_id.nil?
795
- command.query['quotaUser'] = quota_user unless quota_user.nil?
796
831
  command.query['fields'] = fields unless fields.nil?
797
- execute_or_queue_command(command, &block)
798
- end
799
-
800
- # Associate an existing deal with a creative.
801
- # @param [String] account_id
802
- # The account the creative belongs to.
803
- # @param [String] creative_id
804
- # The ID of the creative associated with the deal.
805
- # @param [Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest] add_deal_association_request_object
806
- # @param [String] quota_user
807
- # Available to use for quota purposes for server-side applications. Can be any
808
- # arbitrary string assigned to a user, but should not exceed 40 characters.
809
- # @param [String] fields
810
- # Selector specifying which fields to include in a partial response.
811
- # @param [Google::Apis::RequestOptions] options
812
- # Request-specific options
813
- #
814
- # @yield [result, err] Result & error if block supplied
815
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
816
- # @yieldparam err [StandardError] error object if request failed
817
- #
818
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
819
- #
820
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
821
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
822
- # @raise [Google::Apis::AuthorizationError] Authorization is required
823
- def add_deal_association(account_id, creative_id, add_deal_association_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
824
- command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options)
825
- command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest::Representation
826
- command.request_object = add_deal_association_request_object
827
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
828
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
829
- command.params['accountId'] = account_id unless account_id.nil?
830
- command.params['creativeId'] = creative_id unless creative_id.nil?
831
832
  command.query['quotaUser'] = quota_user unless quota_user.nil?
832
- command.query['fields'] = fields unless fields.nil?
833
833
  execute_or_queue_command(command, &block)
834
834
  end
835
835
 
836
- # Deletes the requested filter set from the account with the given account
837
- # ID.
836
+ # Creates the specified filter set for the account with the given account ID.
838
837
  # @param [Fixnum] account_id
839
838
  # Account ID of the buyer.
840
- # @param [Fixnum] filter_set_id
841
- # The ID of the filter set to delete.
842
- # @param [String] quota_user
843
- # Available to use for quota purposes for server-side applications. Can be any
844
- # arbitrary string assigned to a user, but should not exceed 40 characters.
839
+ # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
840
+ # @param [Boolean] is_transient
841
+ # Whether the filter set is transient, or should be persisted indefinitely.
842
+ # By default, filter sets are not transient.
843
+ # If transient, it will be available for at least 1 hour after creation.
845
844
  # @param [String] fields
846
845
  # Selector specifying which fields to include in a partial response.
847
- # @param [Google::Apis::RequestOptions] options
848
- # Request-specific options
849
- #
850
- # @yield [result, err] Result & error if block supplied
851
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
852
- # @yieldparam err [StandardError] error object if request failed
853
- #
854
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
855
- #
856
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
857
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
858
- # @raise [Google::Apis::AuthorizationError] Authorization is required
859
- def delete_account_filter_set(account_id, filter_set_id, quota_user: nil, fields: nil, options: nil, &block)
860
- command = make_simple_command(:delete, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options)
861
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
862
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
863
- command.params['accountId'] = account_id unless account_id.nil?
864
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
865
- command.query['quotaUser'] = quota_user unless quota_user.nil?
866
- command.query['fields'] = fields unless fields.nil?
867
- execute_or_queue_command(command, &block)
868
- end
869
-
870
- # Lists all filter sets for the account with the given account ID.
871
- # @param [Fixnum] account_id
872
- # Account ID of the buyer.
873
- # @param [String] page_token
874
- # A token identifying a page of results the server should return.
875
- # Typically, this is the value of
876
- # ListFilterSetsResponse.nextPageToken
877
- # returned from the previous call to the
878
- # accounts.filterSets.list
879
- # method.
880
- # @param [Fixnum] page_size
881
- # Requested page size. The server may return fewer results than requested.
882
- # If unspecified, the server will pick an appropriate default.
883
846
  # @param [String] quota_user
884
847
  # Available to use for quota purposes for server-side applications. Can be any
885
848
  # arbitrary string assigned to a user, but should not exceed 40 characters.
886
- # @param [String] fields
887
- # Selector specifying which fields to include in a partial response.
888
849
  # @param [Google::Apis::RequestOptions] options
889
850
  # Request-specific options
890
851
  #
891
852
  # @yield [result, err] Result & error if block supplied
892
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse] parsed result object
853
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] parsed result object
893
854
  # @yieldparam err [StandardError] error object if request failed
894
855
  #
895
- # @return [Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse]
856
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet]
896
857
  #
897
858
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
898
859
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
899
860
  # @raise [Google::Apis::AuthorizationError] Authorization is required
900
- def list_account_filter_sets(account_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
901
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets', options)
902
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
903
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
861
+ def create_account_filter_set(account_id, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
862
+ command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/filterSets', options)
863
+ command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
864
+ command.request_object = filter_set_object
865
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
866
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
904
867
  command.params['accountId'] = account_id unless account_id.nil?
905
- command.query['pageToken'] = page_token unless page_token.nil?
906
- command.query['pageSize'] = page_size unless page_size.nil?
907
- command.query['quotaUser'] = quota_user unless quota_user.nil?
868
+ command.query['isTransient'] = is_transient unless is_transient.nil?
908
869
  command.query['fields'] = fields unless fields.nil?
870
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
909
871
  execute_or_queue_command(command, &block)
910
872
  end
911
873
 
912
- # Retrieves the requested filter set for the account with the given account
874
+ # Deletes the requested filter set from the account with the given account
913
875
  # ID.
914
876
  # @param [Fixnum] account_id
915
877
  # Account ID of the buyer.
916
878
  # @param [Fixnum] filter_set_id
917
- # The ID of the filter set to get.
879
+ # The ID of the filter set to delete.
880
+ # @param [String] fields
881
+ # Selector specifying which fields to include in a partial response.
918
882
  # @param [String] quota_user
919
883
  # Available to use for quota purposes for server-side applications. Can be any
920
884
  # arbitrary string assigned to a user, but should not exceed 40 characters.
921
- # @param [String] fields
922
- # Selector specifying which fields to include in a partial response.
923
885
  # @param [Google::Apis::RequestOptions] options
924
886
  # Request-specific options
925
887
  #
926
888
  # @yield [result, err] Result & error if block supplied
927
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] parsed result object
889
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
928
890
  # @yieldparam err [StandardError] error object if request failed
929
891
  #
930
- # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet]
892
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
931
893
  #
932
894
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
933
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
934
- # @raise [Google::Apis::AuthorizationError] Authorization is required
935
- def get_account_filter_set(account_id, filter_set_id, quota_user: nil, fields: nil, options: nil, &block)
936
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options)
937
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
938
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
895
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
896
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
897
+ def delete_account_filter_set(account_id, filter_set_id, fields: nil, quota_user: nil, options: nil, &block)
898
+ command = make_simple_command(:delete, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options)
899
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
900
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
939
901
  command.params['accountId'] = account_id unless account_id.nil?
940
902
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
941
- command.query['quotaUser'] = quota_user unless quota_user.nil?
942
903
  command.query['fields'] = fields unless fields.nil?
904
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
943
905
  execute_or_queue_command(command, &block)
944
906
  end
945
907
 
946
- # Creates the specified filter set for the account with the given account ID.
908
+ # Retrieves the requested filter set for the account with the given account
909
+ # ID.
947
910
  # @param [Fixnum] account_id
948
911
  # Account ID of the buyer.
949
- # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
950
- # @param [Boolean] is_transient
951
- # Whether the filter set is transient, or should be persisted indefinitely.
952
- # By default, filter sets are not transient.
953
- # If transient, it will be available for at least 1 hour after creation.
912
+ # @param [Fixnum] filter_set_id
913
+ # The ID of the filter set to get.
914
+ # @param [String] fields
915
+ # Selector specifying which fields to include in a partial response.
954
916
  # @param [String] quota_user
955
917
  # Available to use for quota purposes for server-side applications. Can be any
956
918
  # arbitrary string assigned to a user, but should not exceed 40 characters.
957
- # @param [String] fields
958
- # Selector specifying which fields to include in a partial response.
959
919
  # @param [Google::Apis::RequestOptions] options
960
920
  # Request-specific options
961
921
  #
@@ -968,106 +928,101 @@ module Google
968
928
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
969
929
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
970
930
  # @raise [Google::Apis::AuthorizationError] Authorization is required
971
- def create_account_filter_set(account_id, filter_set_object = nil, is_transient: nil, quota_user: nil, fields: nil, options: nil, &block)
972
- command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/filterSets', options)
973
- command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
974
- command.request_object = filter_set_object
931
+ def get_account_filter_set(account_id, filter_set_id, fields: nil, quota_user: nil, options: nil, &block)
932
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}', options)
975
933
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
976
934
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
977
935
  command.params['accountId'] = account_id unless account_id.nil?
978
- command.query['isTransient'] = is_transient unless is_transient.nil?
979
- command.query['quotaUser'] = quota_user unless quota_user.nil?
936
+ command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
980
937
  command.query['fields'] = fields unless fields.nil?
938
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
981
939
  execute_or_queue_command(command, &block)
982
940
  end
983
941
 
984
- # Lists all metrics that are measured in terms of number of bids.
942
+ # Lists all filter sets for the account with the given account ID.
985
943
  # @param [Fixnum] account_id
986
944
  # Account ID of the buyer.
987
- # @param [Fixnum] filter_set_id
988
- # The ID of the filter set to apply.
945
+ # @param [Fixnum] page_size
946
+ # Requested page size. The server may return fewer results than requested.
947
+ # If unspecified, the server will pick an appropriate default.
989
948
  # @param [String] page_token
990
949
  # A token identifying a page of results the server should return.
991
950
  # Typically, this is the value of
992
- # ListBidMetricsResponse.nextPageToken
951
+ # ListFilterSetsResponse.nextPageToken
993
952
  # returned from the previous call to the
994
- # accounts.filterSets.bidMetrics.list
953
+ # accounts.filterSets.list
995
954
  # method.
996
- # @param [Fixnum] page_size
997
- # Requested page size. The server may return fewer results than requested.
998
- # If unspecified, the server will pick an appropriate default.
955
+ # @param [String] fields
956
+ # Selector specifying which fields to include in a partial response.
999
957
  # @param [String] quota_user
1000
958
  # Available to use for quota purposes for server-side applications. Can be any
1001
959
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1002
- # @param [String] fields
1003
- # Selector specifying which fields to include in a partial response.
1004
960
  # @param [Google::Apis::RequestOptions] options
1005
961
  # Request-specific options
1006
962
  #
1007
963
  # @yield [result, err] Result & error if block supplied
1008
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse] parsed result object
964
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse] parsed result object
1009
965
  # @yieldparam err [StandardError] error object if request failed
1010
966
  #
1011
- # @return [Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse]
967
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse]
1012
968
  #
1013
969
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1014
970
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1015
971
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1016
- def list_account_filter_set_bid_metrics(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1017
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidMetrics', options)
1018
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
1019
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
972
+ def list_account_filter_sets(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
973
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets', options)
974
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
975
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
1020
976
  command.params['accountId'] = account_id unless account_id.nil?
1021
- command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1022
- command.query['pageToken'] = page_token unless page_token.nil?
1023
977
  command.query['pageSize'] = page_size unless page_size.nil?
1024
- command.query['quotaUser'] = quota_user unless quota_user.nil?
978
+ command.query['pageToken'] = page_token unless page_token.nil?
1025
979
  command.query['fields'] = fields unless fields.nil?
980
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1026
981
  execute_or_queue_command(command, &block)
1027
982
  end
1028
983
 
1029
- # Lists all metrics that are measured in terms of number of impressions.
984
+ # Lists all metrics that are measured in terms of number of bids.
1030
985
  # @param [Fixnum] account_id
1031
986
  # Account ID of the buyer.
1032
987
  # @param [Fixnum] filter_set_id
1033
988
  # The ID of the filter set to apply.
989
+ # @param [Fixnum] page_size
990
+ # Requested page size. The server may return fewer results than requested.
991
+ # If unspecified, the server will pick an appropriate default.
1034
992
  # @param [String] page_token
1035
993
  # A token identifying a page of results the server should return.
1036
994
  # Typically, this is the value of
1037
- # ListImpressionMetricsResponse.nextPageToken
995
+ # ListBidMetricsResponse.nextPageToken
1038
996
  # returned from the previous call to the
1039
- # accounts.filterSets.impressionMetrics.list
997
+ # accounts.filterSets.bidMetrics.list
1040
998
  # method.
1041
- # @param [Fixnum] page_size
1042
- # Requested page size. The server may return fewer results than requested.
1043
- # If unspecified, the server will pick an appropriate default.
999
+ # @param [String] fields
1000
+ # Selector specifying which fields to include in a partial response.
1044
1001
  # @param [String] quota_user
1045
1002
  # Available to use for quota purposes for server-side applications. Can be any
1046
1003
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1047
- # @param [String] fields
1048
- # Selector specifying which fields to include in a partial response.
1049
1004
  # @param [Google::Apis::RequestOptions] options
1050
1005
  # Request-specific options
1051
1006
  #
1052
1007
  # @yield [result, err] Result & error if block supplied
1053
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse] parsed result object
1008
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse] parsed result object
1054
1009
  # @yieldparam err [StandardError] error object if request failed
1055
1010
  #
1056
- # @return [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse]
1011
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse]
1057
1012
  #
1058
1013
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1059
1014
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1060
1015
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1061
- def list_account_filter_set_impression_metrics(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1062
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/impressionMetrics', options)
1063
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
1064
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
1016
+ 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)
1017
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidMetrics', options)
1018
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
1019
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
1065
1020
  command.params['accountId'] = account_id unless account_id.nil?
1066
1021
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1067
- command.query['pageToken'] = page_token unless page_token.nil?
1068
1022
  command.query['pageSize'] = page_size unless page_size.nil?
1069
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1023
+ command.query['pageToken'] = page_token unless page_token.nil?
1070
1024
  command.query['fields'] = fields unless fields.nil?
1025
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1071
1026
  execute_or_queue_command(command, &block)
1072
1027
  end
1073
1028
 
@@ -1077,6 +1032,9 @@ module Google
1077
1032
  # Account ID of the buyer.
1078
1033
  # @param [Fixnum] filter_set_id
1079
1034
  # The ID of the filter set to apply.
1035
+ # @param [Fixnum] page_size
1036
+ # Requested page size. The server may return fewer results than requested.
1037
+ # If unspecified, the server will pick an appropriate default.
1080
1038
  # @param [String] page_token
1081
1039
  # A token identifying a page of results the server should return.
1082
1040
  # Typically, this is the value of
@@ -1084,14 +1042,11 @@ module Google
1084
1042
  # returned from the previous call to the
1085
1043
  # accounts.filterSets.bidResponseErrors.list
1086
1044
  # method.
1087
- # @param [Fixnum] page_size
1088
- # Requested page size. The server may return fewer results than requested.
1089
- # If unspecified, the server will pick an appropriate default.
1045
+ # @param [String] fields
1046
+ # Selector specifying which fields to include in a partial response.
1090
1047
  # @param [String] quota_user
1091
1048
  # Available to use for quota purposes for server-side applications. Can be any
1092
1049
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1093
- # @param [String] fields
1094
- # Selector specifying which fields to include in a partial response.
1095
1050
  # @param [Google::Apis::RequestOptions] options
1096
1051
  # Request-specific options
1097
1052
  #
@@ -1104,16 +1059,16 @@ module Google
1104
1059
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1105
1060
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1106
1061
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1107
- def list_account_filter_set_bid_response_errors(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1062
+ 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)
1108
1063
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidResponseErrors', options)
1109
1064
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation
1110
1065
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse
1111
1066
  command.params['accountId'] = account_id unless account_id.nil?
1112
1067
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1113
- command.query['pageToken'] = page_token unless page_token.nil?
1114
1068
  command.query['pageSize'] = page_size unless page_size.nil?
1115
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1069
+ command.query['pageToken'] = page_token unless page_token.nil?
1116
1070
  command.query['fields'] = fields unless fields.nil?
1071
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1117
1072
  execute_or_queue_command(command, &block)
1118
1073
  end
1119
1074
 
@@ -1123,6 +1078,9 @@ module Google
1123
1078
  # Account ID of the buyer.
1124
1079
  # @param [Fixnum] filter_set_id
1125
1080
  # The ID of the filter set to apply.
1081
+ # @param [Fixnum] page_size
1082
+ # Requested page size. The server may return fewer results than requested.
1083
+ # If unspecified, the server will pick an appropriate default.
1126
1084
  # @param [String] page_token
1127
1085
  # A token identifying a page of results the server should return.
1128
1086
  # Typically, this is the value of
@@ -1130,14 +1088,11 @@ module Google
1130
1088
  # returned from the previous call to the
1131
1089
  # accounts.filterSets.bidResponsesWithoutBids.list
1132
1090
  # method.
1133
- # @param [Fixnum] page_size
1134
- # Requested page size. The server may return fewer results than requested.
1135
- # If unspecified, the server will pick an appropriate default.
1091
+ # @param [String] fields
1092
+ # Selector specifying which fields to include in a partial response.
1136
1093
  # @param [String] quota_user
1137
1094
  # Available to use for quota purposes for server-side applications. Can be any
1138
1095
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1139
- # @param [String] fields
1140
- # Selector specifying which fields to include in a partial response.
1141
1096
  # @param [Google::Apis::RequestOptions] options
1142
1097
  # Request-specific options
1143
1098
  #
@@ -1150,16 +1105,16 @@ module Google
1150
1105
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1151
1106
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1152
1107
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1153
- def list_account_filter_set_bid_responses_without_bids(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1108
+ 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)
1154
1109
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/bidResponsesWithoutBids', options)
1155
1110
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation
1156
1111
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse
1157
1112
  command.params['accountId'] = account_id unless account_id.nil?
1158
1113
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1159
- command.query['pageToken'] = page_token unless page_token.nil?
1160
1114
  command.query['pageSize'] = page_size unless page_size.nil?
1161
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1115
+ command.query['pageToken'] = page_token unless page_token.nil?
1162
1116
  command.query['fields'] = fields unless fields.nil?
1117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1163
1118
  execute_or_queue_command(command, &block)
1164
1119
  end
1165
1120
 
@@ -1169,6 +1124,9 @@ module Google
1169
1124
  # Account ID of the buyer.
1170
1125
  # @param [Fixnum] filter_set_id
1171
1126
  # The ID of the filter set to apply.
1127
+ # @param [Fixnum] page_size
1128
+ # Requested page size. The server may return fewer results than requested.
1129
+ # If unspecified, the server will pick an appropriate default.
1172
1130
  # @param [String] page_token
1173
1131
  # A token identifying a page of results the server should return.
1174
1132
  # Typically, this is the value of
@@ -1176,14 +1134,11 @@ module Google
1176
1134
  # returned from the previous call to the
1177
1135
  # accounts.filterSets.filteredBidRequests.list
1178
1136
  # method.
1179
- # @param [Fixnum] page_size
1180
- # Requested page size. The server may return fewer results than requested.
1181
- # If unspecified, the server will pick an appropriate default.
1137
+ # @param [String] fields
1138
+ # Selector specifying which fields to include in a partial response.
1182
1139
  # @param [String] quota_user
1183
1140
  # Available to use for quota purposes for server-side applications. Can be any
1184
1141
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1185
- # @param [String] fields
1186
- # Selector specifying which fields to include in a partial response.
1187
1142
  # @param [Google::Apis::RequestOptions] options
1188
1143
  # Request-specific options
1189
1144
  #
@@ -1196,16 +1151,16 @@ module Google
1196
1151
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1197
1152
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1198
1153
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1199
- def list_account_filter_set_filtered_bid_requests(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1154
+ 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)
1200
1155
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBidRequests', options)
1201
1156
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation
1202
1157
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse
1203
1158
  command.params['accountId'] = account_id unless account_id.nil?
1204
1159
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1205
- command.query['pageToken'] = page_token unless page_token.nil?
1206
1160
  command.query['pageSize'] = page_size unless page_size.nil?
1207
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1161
+ command.query['pageToken'] = page_token unless page_token.nil?
1208
1162
  command.query['fields'] = fields unless fields.nil?
1163
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1209
1164
  execute_or_queue_command(command, &block)
1210
1165
  end
1211
1166
 
@@ -1215,6 +1170,9 @@ module Google
1215
1170
  # Account ID of the buyer.
1216
1171
  # @param [Fixnum] filter_set_id
1217
1172
  # The ID of the filter set to apply.
1173
+ # @param [Fixnum] page_size
1174
+ # Requested page size. The server may return fewer results than requested.
1175
+ # If unspecified, the server will pick an appropriate default.
1218
1176
  # @param [String] page_token
1219
1177
  # A token identifying a page of results the server should return.
1220
1178
  # Typically, this is the value of
@@ -1222,14 +1180,11 @@ module Google
1222
1180
  # returned from the previous call to the
1223
1181
  # accounts.filterSets.filteredBids.list
1224
1182
  # method.
1225
- # @param [Fixnum] page_size
1226
- # Requested page size. The server may return fewer results than requested.
1227
- # If unspecified, the server will pick an appropriate default.
1183
+ # @param [String] fields
1184
+ # Selector specifying which fields to include in a partial response.
1228
1185
  # @param [String] quota_user
1229
1186
  # Available to use for quota purposes for server-side applications. Can be any
1230
1187
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1231
- # @param [String] fields
1232
- # Selector specifying which fields to include in a partial response.
1233
1188
  # @param [Google::Apis::RequestOptions] options
1234
1189
  # Request-specific options
1235
1190
  #
@@ -1242,16 +1197,16 @@ module Google
1242
1197
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1243
1198
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1244
1199
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1245
- def list_account_filter_set_filtered_bids(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1200
+ 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)
1246
1201
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids', options)
1247
1202
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation
1248
1203
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse
1249
1204
  command.params['accountId'] = account_id unless account_id.nil?
1250
1205
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1251
- command.query['pageToken'] = page_token unless page_token.nil?
1252
1206
  command.query['pageSize'] = page_size unless page_size.nil?
1253
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1207
+ command.query['pageToken'] = page_token unless page_token.nil?
1254
1208
  command.query['fields'] = fields unless fields.nil?
1209
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1255
1210
  execute_or_queue_command(command, &block)
1256
1211
  end
1257
1212
 
@@ -1267,6 +1222,9 @@ module Google
1267
1222
  # See
1268
1223
  # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
1269
1224
  # downloads/creative-status-codes).
1225
+ # @param [Fixnum] page_size
1226
+ # Requested page size. The server may return fewer results than requested.
1227
+ # If unspecified, the server will pick an appropriate default.
1270
1228
  # @param [String] page_token
1271
1229
  # A token identifying a page of results the server should return.
1272
1230
  # Typically, this is the value of
@@ -1274,14 +1232,11 @@ module Google
1274
1232
  # returned from the previous call to the
1275
1233
  # accounts.filterSets.filteredBids.creatives.list
1276
1234
  # method.
1277
- # @param [Fixnum] page_size
1278
- # Requested page size. The server may return fewer results than requested.
1279
- # If unspecified, the server will pick an appropriate default.
1235
+ # @param [String] fields
1236
+ # Selector specifying which fields to include in a partial response.
1280
1237
  # @param [String] quota_user
1281
1238
  # Available to use for quota purposes for server-side applications. Can be any
1282
1239
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1283
- # @param [String] fields
1284
- # Selector specifying which fields to include in a partial response.
1285
1240
  # @param [Google::Apis::RequestOptions] options
1286
1241
  # Request-specific options
1287
1242
  #
@@ -1294,17 +1249,17 @@ module Google
1294
1249
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1295
1250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1296
1251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1297
- def list_account_filter_set_filtered_bid_creatives(account_id, filter_set_id, creative_status_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1252
+ 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)
1298
1253
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids/{creativeStatusId}/creatives', options)
1299
1254
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation
1300
1255
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse
1301
1256
  command.params['accountId'] = account_id unless account_id.nil?
1302
1257
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1303
1258
  command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
1304
- command.query['pageToken'] = page_token unless page_token.nil?
1305
1259
  command.query['pageSize'] = page_size unless page_size.nil?
1306
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1260
+ command.query['pageToken'] = page_token unless page_token.nil?
1307
1261
  command.query['fields'] = fields unless fields.nil?
1262
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1308
1263
  execute_or_queue_command(command, &block)
1309
1264
  end
1310
1265
 
@@ -1319,7 +1274,10 @@ module Google
1319
1274
  # See
1320
1275
  # [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
1321
1276
  # downloads/creative-status-codes).
1322
- # Details are only available for statuses 14, 15, 17, 18, 19, 86, and 87.
1277
+ # Details are only available for statuses 10, 14, 15, 17, 18, 19, 86, and 87.
1278
+ # @param [Fixnum] page_size
1279
+ # Requested page size. The server may return fewer results than requested.
1280
+ # If unspecified, the server will pick an appropriate default.
1323
1281
  # @param [String] page_token
1324
1282
  # A token identifying a page of results the server should return.
1325
1283
  # Typically, this is the value of
@@ -1327,14 +1285,11 @@ module Google
1327
1285
  # returned from the previous call to the
1328
1286
  # accounts.filterSets.filteredBids.details.list
1329
1287
  # method.
1330
- # @param [Fixnum] page_size
1331
- # Requested page size. The server may return fewer results than requested.
1332
- # If unspecified, the server will pick an appropriate default.
1288
+ # @param [String] fields
1289
+ # Selector specifying which fields to include in a partial response.
1333
1290
  # @param [String] quota_user
1334
1291
  # Available to use for quota purposes for server-side applications. Can be any
1335
1292
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1336
- # @param [String] fields
1337
- # Selector specifying which fields to include in a partial response.
1338
1293
  # @param [Google::Apis::RequestOptions] options
1339
1294
  # Request-specific options
1340
1295
  #
@@ -1347,63 +1302,62 @@ module Google
1347
1302
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1348
1303
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1349
1304
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1350
- def list_account_filter_set_filtered_bid_details(account_id, filter_set_id, creative_status_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1305
+ 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)
1351
1306
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/filteredBids/{creativeStatusId}/details', options)
1352
1307
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation
1353
1308
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse
1354
1309
  command.params['accountId'] = account_id unless account_id.nil?
1355
1310
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1356
1311
  command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
1357
- command.query['pageToken'] = page_token unless page_token.nil?
1358
1312
  command.query['pageSize'] = page_size unless page_size.nil?
1359
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1313
+ command.query['pageToken'] = page_token unless page_token.nil?
1360
1314
  command.query['fields'] = fields unless fields.nil?
1315
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1361
1316
  execute_or_queue_command(command, &block)
1362
1317
  end
1363
1318
 
1364
- # List all reasons for which winning bids were not billable, with the number
1365
- # of bids not billed for each reason.
1319
+ # Lists all metrics that are measured in terms of number of impressions.
1366
1320
  # @param [Fixnum] account_id
1367
1321
  # Account ID of the buyer.
1368
1322
  # @param [Fixnum] filter_set_id
1369
1323
  # The ID of the filter set to apply.
1324
+ # @param [Fixnum] page_size
1325
+ # Requested page size. The server may return fewer results than requested.
1326
+ # If unspecified, the server will pick an appropriate default.
1370
1327
  # @param [String] page_token
1371
1328
  # A token identifying a page of results the server should return.
1372
1329
  # Typically, this is the value of
1373
- # ListNonBillableWinningBidsResponse.nextPageToken
1330
+ # ListImpressionMetricsResponse.nextPageToken
1374
1331
  # returned from the previous call to the
1375
- # accounts.filterSets.nonBillableWinningBids.list
1332
+ # accounts.filterSets.impressionMetrics.list
1376
1333
  # method.
1377
- # @param [Fixnum] page_size
1378
- # Requested page size. The server may return fewer results than requested.
1379
- # If unspecified, the server will pick an appropriate default.
1334
+ # @param [String] fields
1335
+ # Selector specifying which fields to include in a partial response.
1380
1336
  # @param [String] quota_user
1381
1337
  # Available to use for quota purposes for server-side applications. Can be any
1382
1338
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1383
- # @param [String] fields
1384
- # Selector specifying which fields to include in a partial response.
1385
1339
  # @param [Google::Apis::RequestOptions] options
1386
1340
  # Request-specific options
1387
1341
  #
1388
1342
  # @yield [result, err] Result & error if block supplied
1389
- # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse] parsed result object
1343
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse] parsed result object
1390
1344
  # @yieldparam err [StandardError] error object if request failed
1391
1345
  #
1392
- # @return [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse]
1346
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse]
1393
1347
  #
1394
1348
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1395
1349
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1396
1350
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1397
- def list_account_filter_set_non_billable_winning_bids(account_id, filter_set_id, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
1398
- command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/nonBillableWinningBids', options)
1399
- command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
1400
- command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
1351
+ 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)
1352
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/impressionMetrics', options)
1353
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
1354
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
1401
1355
  command.params['accountId'] = account_id unless account_id.nil?
1402
1356
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1403
- command.query['pageToken'] = page_token unless page_token.nil?
1404
1357
  command.query['pageSize'] = page_size unless page_size.nil?
1405
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1358
+ command.query['pageToken'] = page_token unless page_token.nil?
1406
1359
  command.query['fields'] = fields unless fields.nil?
1360
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1407
1361
  execute_or_queue_command(command, &block)
1408
1362
  end
1409
1363
 
@@ -1423,11 +1377,11 @@ module Google
1423
1377
  # returned from the previous call to the
1424
1378
  # accounts.filterSets.losingBids.list
1425
1379
  # method.
1380
+ # @param [String] fields
1381
+ # Selector specifying which fields to include in a partial response.
1426
1382
  # @param [String] quota_user
1427
1383
  # Available to use for quota purposes for server-side applications. Can be any
1428
1384
  # arbitrary string assigned to a user, but should not exceed 40 characters.
1429
- # @param [String] fields
1430
- # Selector specifying which fields to include in a partial response.
1431
1385
  # @param [Google::Apis::RequestOptions] options
1432
1386
  # Request-specific options
1433
1387
  #
@@ -1440,7 +1394,7 @@ module Google
1440
1394
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1441
1395
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1442
1396
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1443
- def list_account_filter_set_losing_bids(account_id, filter_set_id, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
1397
+ 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)
1444
1398
  command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/losingBids', options)
1445
1399
  command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation
1446
1400
  command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse
@@ -1448,8 +1402,54 @@ module Google
1448
1402
  command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1449
1403
  command.query['pageSize'] = page_size unless page_size.nil?
1450
1404
  command.query['pageToken'] = page_token unless page_token.nil?
1405
+ command.query['fields'] = fields unless fields.nil?
1451
1406
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1407
+ execute_or_queue_command(command, &block)
1408
+ end
1409
+
1410
+ # List all reasons for which winning bids were not billable, with the number
1411
+ # of bids not billed for each reason.
1412
+ # @param [Fixnum] account_id
1413
+ # Account ID of the buyer.
1414
+ # @param [Fixnum] filter_set_id
1415
+ # The ID of the filter set to apply.
1416
+ # @param [Fixnum] page_size
1417
+ # Requested page size. The server may return fewer results than requested.
1418
+ # If unspecified, the server will pick an appropriate default.
1419
+ # @param [String] page_token
1420
+ # A token identifying a page of results the server should return.
1421
+ # Typically, this is the value of
1422
+ # ListNonBillableWinningBidsResponse.nextPageToken
1423
+ # returned from the previous call to the
1424
+ # accounts.filterSets.nonBillableWinningBids.list
1425
+ # method.
1426
+ # @param [String] fields
1427
+ # Selector specifying which fields to include in a partial response.
1428
+ # @param [String] quota_user
1429
+ # Available to use for quota purposes for server-side applications. Can be any
1430
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1431
+ # @param [Google::Apis::RequestOptions] options
1432
+ # Request-specific options
1433
+ #
1434
+ # @yield [result, err] Result & error if block supplied
1435
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse] parsed result object
1436
+ # @yieldparam err [StandardError] error object if request failed
1437
+ #
1438
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse]
1439
+ #
1440
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1441
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1442
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1443
+ 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)
1444
+ command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/filterSets/{filterSetId}/nonBillableWinningBids', options)
1445
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
1446
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
1447
+ command.params['accountId'] = account_id unless account_id.nil?
1448
+ command.params['filterSetId'] = filter_set_id unless filter_set_id.nil?
1449
+ command.query['pageSize'] = page_size unless page_size.nil?
1450
+ command.query['pageToken'] = page_token unless page_token.nil?
1452
1451
  command.query['fields'] = fields unless fields.nil?
1452
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1453
1453
  execute_or_queue_command(command, &block)
1454
1454
  end
1455
1455