google-api-client 0.13.2 → 0.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -23,10 +23,10 @@ module Google
23
23
  # Accesses the latest features for managing Ad Exchange accounts, Real-Time
24
24
  # Bidding configurations and auction metrics, and Marketplace programmatic deals.
25
25
  #
26
- # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
26
+ # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20170710'
29
+ REVISION = '20170809'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -22,14 +22,35 @@ module Google
22
22
  module Apis
23
23
  module Adexchangebuyer2V2beta1
24
24
 
25
- # @OutputOnly The auction type the restriction applies to.
26
- class AuctionContext
25
+ # An absolute date range, specified by its start date and end date.
26
+ # The supported range of dates begins 30 days before today and ends today.
27
+ # Validity checked upon filter set creation. If a filter set with an absolute
28
+ # date range is run at a later date more than 30 days after start_date, it will
29
+ # fail.
30
+ class AbsoluteDateRange
27
31
  include Google::Apis::Core::Hashable
28
32
 
29
- # The auction types this restriction applies to.
30
- # Corresponds to the JSON property `auctionTypes`
31
- # @return [Array<String>]
32
- attr_accessor :auction_types
33
+ # Represents a whole calendar date, e.g. date of birth. The time of day and
34
+ # time zone are either specified elsewhere or are not significant. The date
35
+ # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
36
+ # represent a year and month where the day is not significant, e.g. credit card
37
+ # expiration date. The year may be 0 to represent a month and day independent
38
+ # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
39
+ # and `google.protobuf.Timestamp`.
40
+ # Corresponds to the JSON property `endDate`
41
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
42
+ attr_accessor :end_date
43
+
44
+ # Represents a whole calendar date, e.g. date of birth. The time of day and
45
+ # time zone are either specified elsewhere or are not significant. The date
46
+ # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
47
+ # represent a year and month where the day is not significant, e.g. credit card
48
+ # expiration date. The year may be 0 to represent a month and day independent
49
+ # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
50
+ # and `google.protobuf.Timestamp`.
51
+ # Corresponds to the JSON property `startDate`
52
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
53
+ attr_accessor :start_date
33
54
 
34
55
  def initialize(**args)
35
56
  update!(**args)
@@ -37,29 +58,38 @@ module Google
37
58
 
38
59
  # Update properties of this object
39
60
  def update!(**args)
40
- @auction_types = args[:auction_types] if args.key?(:auction_types)
61
+ @end_date = args[:end_date] if args.key?(:end_date)
62
+ @start_date = args[:start_date] if args.key?(:start_date)
41
63
  end
42
64
  end
43
65
 
44
- # Response message for listing the metrics that are measured in number of
45
- # impressions.
46
- class ListImpressionMetricsResponse
66
+ # A request for associating a deal and a creative.
67
+ class AddDealAssociationRequest
47
68
  include Google::Apis::Core::Hashable
48
69
 
49
- # A token to retrieve the next page of results.
50
- # Pass this value in the
51
- # ListImpressionMetricsRequest.pageToken
52
- # field in the subsequent call to the
53
- # accounts.filterSets.impressionMetrics.list
54
- # method to retrieve the next page of results.
55
- # Corresponds to the JSON property `nextPageToken`
56
- # @return [String]
57
- attr_accessor :next_page_token
70
+ # The association between a creative and a deal.
71
+ # Corresponds to the JSON property `association`
72
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation]
73
+ attr_accessor :association
58
74
 
59
- # List of rows, each containing a set of impression metrics.
60
- # Corresponds to the JSON property `impressionMetricsRows`
61
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ImpressionMetricsRow>]
62
- attr_accessor :impression_metrics_rows
75
+ def initialize(**args)
76
+ update!(**args)
77
+ end
78
+
79
+ # Update properties of this object
80
+ def update!(**args)
81
+ @association = args[:association] if args.key?(:association)
82
+ end
83
+ end
84
+
85
+ # @OutputOnly The app type the restriction applies to for mobile device.
86
+ class AppContext
87
+ include Google::Apis::Core::Hashable
88
+
89
+ # The app types this restriction applies to.
90
+ # Corresponds to the JSON property `appTypes`
91
+ # @return [Array<String>]
92
+ attr_accessor :app_types
63
93
 
64
94
  def initialize(**args)
65
95
  update!(**args)
@@ -67,8 +97,26 @@ module Google
67
97
 
68
98
  # Update properties of this object
69
99
  def update!(**args)
70
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
71
- @impression_metrics_rows = args[:impression_metrics_rows] if args.key?(:impression_metrics_rows)
100
+ @app_types = args[:app_types] if args.key?(:app_types)
101
+ end
102
+ end
103
+
104
+ # @OutputOnly The auction type the restriction applies to.
105
+ class AuctionContext
106
+ include Google::Apis::Core::Hashable
107
+
108
+ # The auction types this restriction applies to.
109
+ # Corresponds to the JSON property `auctionTypes`
110
+ # @return [Array<String>]
111
+ attr_accessor :auction_types
112
+
113
+ def initialize(**args)
114
+ update!(**args)
115
+ end
116
+
117
+ # Update properties of this object
118
+ def update!(**args)
119
+ @auction_types = args[:auction_types] if args.key?(:auction_types)
72
120
  end
73
121
  end
74
122
 
@@ -80,39 +128,33 @@ module Google
80
128
 
81
129
  # A metric value, with an expected value and a variance; represents a count
82
130
  # that may be either exact or estimated (i.e. when sampled).
83
- # Corresponds to the JSON property `impressionsWon`
84
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
85
- attr_accessor :impressions_won
86
-
87
- # A metric value, with an expected value and a variance; represents a count
88
- # that may be either exact or estimated (i.e. when sampled).
89
- # Corresponds to the JSON property `viewableImpressions`
131
+ # Corresponds to the JSON property `bids`
90
132
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
91
- attr_accessor :viewable_impressions
133
+ attr_accessor :bids
92
134
 
93
135
  # A metric value, with an expected value and a variance; represents a count
94
136
  # that may be either exact or estimated (i.e. when sampled).
95
- # Corresponds to the JSON property `measurableImpressions`
137
+ # Corresponds to the JSON property `bidsInAuction`
96
138
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
97
- attr_accessor :measurable_impressions
139
+ attr_accessor :bids_in_auction
98
140
 
99
141
  # A metric value, with an expected value and a variance; represents a count
100
142
  # that may be either exact or estimated (i.e. when sampled).
101
- # Corresponds to the JSON property `bids`
143
+ # Corresponds to the JSON property `billedImpressions`
102
144
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
103
- attr_accessor :bids
145
+ attr_accessor :billed_impressions
104
146
 
105
147
  # A metric value, with an expected value and a variance; represents a count
106
148
  # that may be either exact or estimated (i.e. when sampled).
107
- # Corresponds to the JSON property `billedImpressions`
149
+ # Corresponds to the JSON property `impressionsWon`
108
150
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
109
- attr_accessor :billed_impressions
151
+ attr_accessor :impressions_won
110
152
 
111
153
  # A metric value, with an expected value and a variance; represents a count
112
154
  # that may be either exact or estimated (i.e. when sampled).
113
- # Corresponds to the JSON property `bidsInAuction`
155
+ # Corresponds to the JSON property `measurableImpressions`
114
156
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
115
- attr_accessor :bids_in_auction
157
+ attr_accessor :measurable_impressions
116
158
 
117
159
  # A response may include multiple rows, breaking down along various dimensions.
118
160
  # Encapsulates the values of all dimensions for a given row.
@@ -120,64 +162,38 @@ module Google
120
162
  # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
121
163
  attr_accessor :row_dimensions
122
164
 
165
+ # A metric value, with an expected value and a variance; represents a count
166
+ # that may be either exact or estimated (i.e. when sampled).
167
+ # Corresponds to the JSON property `viewableImpressions`
168
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
169
+ attr_accessor :viewable_impressions
170
+
123
171
  def initialize(**args)
124
172
  update!(**args)
125
173
  end
126
174
 
127
175
  # Update properties of this object
128
176
  def update!(**args)
129
- @impressions_won = args[:impressions_won] if args.key?(:impressions_won)
130
- @viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions)
131
- @measurable_impressions = args[:measurable_impressions] if args.key?(:measurable_impressions)
132
177
  @bids = args[:bids] if args.key?(:bids)
133
- @billed_impressions = args[:billed_impressions] if args.key?(:billed_impressions)
134
178
  @bids_in_auction = args[:bids_in_auction] if args.key?(:bids_in_auction)
179
+ @billed_impressions = args[:billed_impressions] if args.key?(:billed_impressions)
180
+ @impressions_won = args[:impressions_won] if args.key?(:impressions_won)
181
+ @measurable_impressions = args[:measurable_impressions] if args.key?(:measurable_impressions)
135
182
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
183
+ @viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions)
136
184
  end
137
185
  end
138
186
 
139
- # Response message for listing all reasons that bid responses resulted in an
140
- # error.
141
- class ListBidResponseErrorsResponse
142
- include Google::Apis::Core::Hashable
143
-
144
- # List of rows, with counts of bid responses aggregated by callout status.
145
- # Corresponds to the JSON property `calloutStatusRows`
146
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow>]
147
- attr_accessor :callout_status_rows
148
-
149
- # A token to retrieve the next page of results.
150
- # Pass this value in the
151
- # ListBidResponseErrorsRequest.pageToken
152
- # field in the subsequent call to the
153
- # accounts.filterSets.bidResponseErrors.list
154
- # method to retrieve the next page of results.
155
- # Corresponds to the JSON property `nextPageToken`
156
- # @return [String]
157
- attr_accessor :next_page_token
158
-
159
- def initialize(**args)
160
- update!(**args)
161
- end
162
-
163
- # Update properties of this object
164
- def update!(**args)
165
- @callout_status_rows = args[:callout_status_rows] if args.key?(:callout_status_rows)
166
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
167
- end
168
- end
169
-
170
- # The number of bids with the specified dimension values that did not win the
171
- # auction (either were filtered pre-auction or lost the auction), as described
172
- # by the specified creative status.
173
- class CreativeStatusRow
187
+ # The number of impressions with the specified dimension values that were
188
+ # considered to have no applicable bids, as described by the specified status.
189
+ class BidResponseWithoutBidsStatusRow
174
190
  include Google::Apis::Core::Hashable
175
191
 
176
192
  # A metric value, with an expected value and a variance; represents a count
177
193
  # that may be either exact or estimated (i.e. when sampled).
178
- # Corresponds to the JSON property `bidCount`
194
+ # Corresponds to the JSON property `impressionCount`
179
195
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
180
- attr_accessor :bid_count
196
+ attr_accessor :impression_count
181
197
 
182
198
  # A response may include multiple rows, breaking down along various dimensions.
183
199
  # Encapsulates the values of all dimensions for a given row.
@@ -185,12 +201,11 @@ module Google
185
201
  # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
186
202
  attr_accessor :row_dimensions
187
203
 
188
- # The ID of the creative status.
189
- # See [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
190
- # downloads/creative-status-codes).
191
- # Corresponds to the JSON property `creativeStatusId`
192
- # @return [Fixnum]
193
- attr_accessor :creative_status_id
204
+ # The status specifying why the bid responses were considered to have no
205
+ # applicable bids.
206
+ # Corresponds to the JSON property `status`
207
+ # @return [String]
208
+ attr_accessor :status
194
209
 
195
210
  def initialize(**args)
196
211
  update!(**args)
@@ -198,37 +213,30 @@ module Google
198
213
 
199
214
  # Update properties of this object
200
215
  def update!(**args)
201
- @bid_count = args[:bid_count] if args.key?(:bid_count)
216
+ @impression_count = args[:impression_count] if args.key?(:impression_count)
202
217
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
203
- @creative_status_id = args[:creative_status_id] if args.key?(:creative_status_id)
218
+ @status = args[:status] if args.key?(:status)
204
219
  end
205
220
  end
206
221
 
207
- # An open-ended realtime time range specified by the start timestamp.
208
- # For filter sets that specify a realtime time range RTB metrics continue to
209
- # be aggregated throughout the lifetime of the filter set.
210
- class RealtimeTimeRange
222
+ # The number of impressions with the specified dimension values where the
223
+ # corresponding bid request or bid response was not successful, as described by
224
+ # the specified callout status.
225
+ class CalloutStatusRow
211
226
  include Google::Apis::Core::Hashable
212
227
 
213
- # The start timestamp of the real-time RTB metrics aggregation.
214
- # Corresponds to the JSON property `startTimestamp`
215
- # @return [String]
216
- attr_accessor :start_timestamp
217
-
218
- def initialize(**args)
219
- update!(**args)
220
- end
221
-
222
- # Update properties of this object
223
- def update!(**args)
224
- @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
225
- end
226
- end
228
+ # The ID of the callout status.
229
+ # See [callout-status-codes](https://developers.google.com/ad-exchange/rtb/
230
+ # downloads/callout-status-codes).
231
+ # Corresponds to the JSON property `calloutStatusId`
232
+ # @return [Fixnum]
233
+ attr_accessor :callout_status_id
227
234
 
228
- # The number of winning bids with the specified dimension values for which the
229
- # buyer was not billed, as described by the specified status.
230
- class NonBillableWinningBidStatusRow
231
- include Google::Apis::Core::Hashable
235
+ # A metric value, with an expected value and a variance; represents a count
236
+ # that may be either exact or estimated (i.e. when sampled).
237
+ # Corresponds to the JSON property `impressionCount`
238
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
239
+ attr_accessor :impression_count
232
240
 
233
241
  # A response may include multiple rows, breaking down along various dimensions.
234
242
  # Encapsulates the values of all dimensions for a given row.
@@ -236,94 +244,90 @@ module Google
236
244
  # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
237
245
  attr_accessor :row_dimensions
238
246
 
239
- # A metric value, with an expected value and a variance; represents a count
240
- # that may be either exact or estimated (i.e. when sampled).
241
- # Corresponds to the JSON property `bidCount`
242
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
243
- attr_accessor :bid_count
244
-
245
- # The status specifying why the winning bids were not billed.
246
- # Corresponds to the JSON property `status`
247
- # @return [String]
248
- attr_accessor :status
249
-
250
247
  def initialize(**args)
251
248
  update!(**args)
252
249
  end
253
250
 
254
251
  # Update properties of this object
255
252
  def update!(**args)
253
+ @callout_status_id = args[:callout_status_id] if args.key?(:callout_status_id)
254
+ @impression_count = args[:impression_count] if args.key?(:impression_count)
256
255
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
257
- @bid_count = args[:bid_count] if args.key?(:bid_count)
258
- @status = args[:status] if args.key?(:status)
259
256
  end
260
257
  end
261
258
 
262
- # The number of filtered bids with the specified dimension values, among those
263
- # filtered due to the requested filtering reason (i.e. creative status), that
264
- # have the specified detail.
265
- class FilteredBidDetailRow
266
- include Google::Apis::Core::Hashable
267
-
268
- # A response may include multiple rows, breaking down along various dimensions.
269
- # Encapsulates the values of all dimensions for a given row.
270
- # Corresponds to the JSON property `rowDimensions`
271
- # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
272
- attr_accessor :row_dimensions
259
+ # A client resource represents a client buyer&mdash;an agency,
260
+ # a brand, or an advertiser customer of the sponsor buyer.
261
+ # Users associated with the client buyer have restricted access to
262
+ # the Ad Exchange Marketplace and certain other sections
263
+ # of the Ad Exchange Buyer UI based on the role
264
+ # granted to the client buyer.
265
+ # All fields are required unless otherwise specified.
266
+ class Client
267
+ include Google::Apis::Core::Hashable
273
268
 
274
- # The ID of the detail. The associated value can be looked up in the
275
- # dictionary file corresponding to the DetailType in the response message.
276
- # Corresponds to the JSON property `detailId`
269
+ # The globally-unique numerical ID of the client.
270
+ # The value of this field is ignored in create and update operations.
271
+ # Corresponds to the JSON property `clientAccountId`
277
272
  # @return [Fixnum]
278
- attr_accessor :detail_id
273
+ attr_accessor :client_account_id
279
274
 
280
- # A metric value, with an expected value and a variance; represents a count
281
- # that may be either exact or estimated (i.e. when sampled).
282
- # Corresponds to the JSON property `bidCount`
283
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
284
- attr_accessor :bid_count
275
+ # Name used to represent this client to publishers.
276
+ # You may have multiple clients that map to the same entity,
277
+ # but for each client the combination of `clientName` and entity
278
+ # must be unique.
279
+ # You can specify this field as empty.
280
+ # Corresponds to the JSON property `clientName`
281
+ # @return [String]
282
+ attr_accessor :client_name
285
283
 
286
- def initialize(**args)
287
- update!(**args)
288
- end
284
+ # Numerical identifier of the client entity.
285
+ # The entity can be an advertiser, a brand, or an agency.
286
+ # This identifier is unique among all the entities with the same type.
287
+ # A list of all known advertisers with their identifiers is available in the
288
+ # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/
289
+ # advertisers.txt)
290
+ # file.
291
+ # A list of all known brands with their identifiers is available in the
292
+ # [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)
293
+ # file.
294
+ # A list of all known agencies with their identifiers is available in the
295
+ # [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.
296
+ # txt)
297
+ # file.
298
+ # Corresponds to the JSON property `entityId`
299
+ # @return [Fixnum]
300
+ attr_accessor :entity_id
289
301
 
290
- # Update properties of this object
291
- def update!(**args)
292
- @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
293
- @detail_id = args[:detail_id] if args.key?(:detail_id)
294
- @bid_count = args[:bid_count] if args.key?(:bid_count)
295
- end
296
- end
302
+ # The name of the entity. This field is automatically fetched based on
303
+ # the type and ID.
304
+ # The value of this field is ignored in create and update operations.
305
+ # Corresponds to the JSON property `entityName`
306
+ # @return [String]
307
+ attr_accessor :entity_name
297
308
 
298
- # An absolute date range, specified by its start date and end date.
299
- # The supported range of dates begins 30 days before today and ends today.
300
- # Validity checked upon filter set creation. If a filter set with an absolute
301
- # date range is run at a later date more than 30 days after start_date, it will
302
- # fail.
303
- class AbsoluteDateRange
304
- include Google::Apis::Core::Hashable
309
+ # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
310
+ # Corresponds to the JSON property `entityType`
311
+ # @return [String]
312
+ attr_accessor :entity_type
305
313
 
306
- # Represents a whole calendar date, e.g. date of birth. The time of day and
307
- # time zone are either specified elsewhere or are not significant. The date
308
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
309
- # represent a year and month where the day is not significant, e.g. credit card
310
- # expiration date. The year may be 0 to represent a month and day independent
311
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
312
- # and `google.protobuf.Timestamp`.
313
- # Corresponds to the JSON property `startDate`
314
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
315
- attr_accessor :start_date
314
+ # The role which is assigned to the client buyer. Each role implies a set of
315
+ # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
316
+ # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
317
+ # Corresponds to the JSON property `role`
318
+ # @return [String]
319
+ attr_accessor :role
316
320
 
317
- # Represents a whole calendar date, e.g. date of birth. The time of day and
318
- # time zone are either specified elsewhere or are not significant. The date
319
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
320
- # represent a year and month where the day is not significant, e.g. credit card
321
- # expiration date. The year may be 0 to represent a month and day independent
322
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
323
- # and `google.protobuf.Timestamp`.
324
- # Corresponds to the JSON property `endDate`
325
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
326
- attr_accessor :end_date
321
+ # The status of the client buyer.
322
+ # Corresponds to the JSON property `status`
323
+ # @return [String]
324
+ attr_accessor :status
325
+
326
+ # Whether the client buyer will be visible to sellers.
327
+ # Corresponds to the JSON property `visibleToSeller`
328
+ # @return [Boolean]
329
+ attr_accessor :visible_to_seller
330
+ alias_method :visible_to_seller?, :visible_to_seller
327
331
 
328
332
  def initialize(**args)
329
333
  update!(**args)
@@ -331,19 +335,55 @@ module Google
331
335
 
332
336
  # Update properties of this object
333
337
  def update!(**args)
334
- @start_date = args[:start_date] if args.key?(:start_date)
335
- @end_date = args[:end_date] if args.key?(:end_date)
338
+ @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
339
+ @client_name = args[:client_name] if args.key?(:client_name)
340
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
341
+ @entity_name = args[:entity_name] if args.key?(:entity_name)
342
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
343
+ @role = args[:role] if args.key?(:role)
344
+ @status = args[:status] if args.key?(:status)
345
+ @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
336
346
  end
337
347
  end
338
348
 
339
- # A request for associating a deal and a creative.
340
- class AddDealAssociationRequest
349
+ # A client user is created under a client buyer and has restricted access to
350
+ # the Ad Exchange Marketplace and certain other sections
351
+ # of the Ad Exchange Buyer UI based on the role
352
+ # granted to the associated client buyer.
353
+ # The only way a new client user can be created is via accepting an
354
+ # email invitation
355
+ # (see the
356
+ # accounts.clients.invitations.create
357
+ # method).
358
+ # All fields are required unless otherwise specified.
359
+ class ClientUser
341
360
  include Google::Apis::Core::Hashable
342
361
 
343
- # The association between a creative and a deal.
344
- # Corresponds to the JSON property `association`
345
- # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation]
346
- attr_accessor :association
362
+ # Numerical account ID of the client buyer
363
+ # with which the user is associated; the
364
+ # buyer must be a client of the current sponsor buyer.
365
+ # The value of this field is ignored in an update operation.
366
+ # Corresponds to the JSON property `clientAccountId`
367
+ # @return [Fixnum]
368
+ attr_accessor :client_account_id
369
+
370
+ # User's email address. The value of this field
371
+ # is ignored in an update operation.
372
+ # Corresponds to the JSON property `email`
373
+ # @return [String]
374
+ attr_accessor :email
375
+
376
+ # The status of the client user.
377
+ # Corresponds to the JSON property `status`
378
+ # @return [String]
379
+ attr_accessor :status
380
+
381
+ # The unique numerical ID of the client user
382
+ # that has accepted an invitation.
383
+ # The value of this field is ignored in an update operation.
384
+ # Corresponds to the JSON property `userId`
385
+ # @return [Fixnum]
386
+ attr_accessor :user_id
347
387
 
348
388
  def initialize(**args)
349
389
  update!(**args)
@@ -351,22 +391,38 @@ module Google
351
391
 
352
392
  # Update properties of this object
353
393
  def update!(**args)
354
- @association = args[:association] if args.key?(:association)
394
+ @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
395
+ @email = args[:email] if args.key?(:email)
396
+ @status = args[:status] if args.key?(:status)
397
+ @user_id = args[:user_id] if args.key?(:user_id)
355
398
  end
356
399
  end
357
400
 
358
- # A request for watching changes to creative Status.
359
- class WatchCreativeRequest
401
+ # An invitation for a new client user to get access to the Ad Exchange
402
+ # Buyer UI.
403
+ # All fields are required unless otherwise specified.
404
+ class ClientUserInvitation
360
405
  include Google::Apis::Core::Hashable
361
406
 
362
- # The Pub/Sub topic to publish notifications to.
363
- # This topic must already exist and must give permission to
364
- # ad-exchange-buyside-reports@google.com to write to the topic.
365
- # This should be the full resource name in
366
- # "projects/`project_id`/topics/`topic_id`" format.
367
- # Corresponds to the JSON property `topic`
407
+ # Numerical account ID of the client buyer
408
+ # that the invited user is associated with.
409
+ # The value of this field is ignored in create operations.
410
+ # Corresponds to the JSON property `clientAccountId`
411
+ # @return [Fixnum]
412
+ attr_accessor :client_account_id
413
+
414
+ # The email address to which the invitation is sent. Email
415
+ # addresses should be unique among all client users under each sponsor
416
+ # buyer.
417
+ # Corresponds to the JSON property `email`
368
418
  # @return [String]
369
- attr_accessor :topic
419
+ attr_accessor :email
420
+
421
+ # The unique numerical ID of the invitation that is sent to the user.
422
+ # The value of this field is ignored in create operations.
423
+ # Corresponds to the JSON property `invitationId`
424
+ # @return [Fixnum]
425
+ attr_accessor :invitation_id
370
426
 
371
427
  def initialize(**args)
372
428
  update!(**args)
@@ -374,34 +430,30 @@ module Google
374
430
 
375
431
  # Update properties of this object
376
432
  def update!(**args)
377
- @topic = args[:topic] if args.key?(:topic)
433
+ @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
434
+ @email = args[:email] if args.key?(:email)
435
+ @invitation_id = args[:invitation_id] if args.key?(:invitation_id)
378
436
  end
379
437
  end
380
438
 
381
- # An interval of time, with an absolute start and end.
382
- # This is included in the response, for several reasons:
383
- # 1) The request may have specified start or end times relative to the time the
384
- # request was sent; the response indicates the corresponding absolute time
385
- # interval.
386
- # 2) The request may have specified an end time past the latest time for which
387
- # data was available (e.g. if requesting data for the today); the response
388
- # indicates the latest time for which data was actually returned.
389
- # 3) The response data for a single request may be broken down into multiple
390
- # time intervals, if a time series was requested.
391
- class TimeInterval
439
+ # @OutputOnly Shows any corrections that were applied to this creative.
440
+ class Correction
392
441
  include Google::Apis::Core::Hashable
393
442
 
394
- # The timestamp marking the end of the range (exclusive) for which data is
395
- # included.
396
- # Corresponds to the JSON property `endTime`
397
- # @return [String]
398
- attr_accessor :end_time
443
+ # The contexts for the correction.
444
+ # Corresponds to the JSON property `contexts`
445
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
446
+ attr_accessor :contexts
399
447
 
400
- # The timestamp marking the start of the range (inclusive) for which data is
401
- # included.
402
- # Corresponds to the JSON property `startTime`
448
+ # Additional details about what was corrected.
449
+ # Corresponds to the JSON property `details`
450
+ # @return [Array<String>]
451
+ attr_accessor :details
452
+
453
+ # The type of correction that was applied to the creative.
454
+ # Corresponds to the JSON property `type`
403
455
  # @return [String]
404
- attr_accessor :start_time
456
+ attr_accessor :type
405
457
 
406
458
  def initialize(**args)
407
459
  update!(**args)
@@ -409,65 +461,178 @@ module Google
409
461
 
410
462
  # Update properties of this object
411
463
  def update!(**args)
412
- @end_time = args[:end_time] if args.key?(:end_time)
413
- @start_time = args[:start_time] if args.key?(:start_time)
464
+ @contexts = args[:contexts] if args.key?(:contexts)
465
+ @details = args[:details] if args.key?(:details)
466
+ @type = args[:type] if args.key?(:type)
414
467
  end
415
468
  end
416
469
 
417
- # The number of filtered bids with the specified dimension values that have the
418
- # specified creative.
419
- class FilteredBidCreativeRow
470
+ # A creative and its classification data.
471
+ class Creative
420
472
  include Google::Apis::Core::Hashable
421
473
 
422
- # A metric value, with an expected value and a variance; represents a count
423
- # that may be either exact or estimated (i.e. when sampled).
424
- # Corresponds to the JSON property `bidCount`
425
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
426
- attr_accessor :bid_count
427
-
428
- # The ID of the creative.
429
- # Corresponds to the JSON property `creativeId`
474
+ # The account that this creative belongs to.
475
+ # Can be used to filter the response of the
476
+ # creatives.list
477
+ # method.
478
+ # Corresponds to the JSON property `accountId`
479
+ # @return [String]
480
+ attr_accessor :account_id
481
+
482
+ # The link to AdChoices destination page.
483
+ # Corresponds to the JSON property `adChoicesDestinationUrl`
484
+ # @return [String]
485
+ attr_accessor :ad_choices_destination_url
486
+
487
+ # The name of the company being advertised in the creative.
488
+ # Corresponds to the JSON property `advertiserName`
489
+ # @return [String]
490
+ attr_accessor :advertiser_name
491
+
492
+ # The agency ID for this creative.
493
+ # Corresponds to the JSON property `agencyId`
494
+ # @return [Fixnum]
495
+ attr_accessor :agency_id
496
+
497
+ # @OutputOnly The last update timestamp of the creative via API.
498
+ # Corresponds to the JSON property `apiUpdateTime`
499
+ # @return [String]
500
+ attr_accessor :api_update_time
501
+
502
+ # All attributes for the ads that may be shown from this creative.
503
+ # Can be used to filter the response of the
504
+ # creatives.list
505
+ # method.
506
+ # Corresponds to the JSON property `attributes`
507
+ # @return [Array<String>]
508
+ attr_accessor :attributes
509
+
510
+ # The set of destination URLs for the creative.
511
+ # Corresponds to the JSON property `clickThroughUrls`
512
+ # @return [Array<String>]
513
+ attr_accessor :click_through_urls
514
+
515
+ # @OutputOnly Shows any corrections that were applied to this creative.
516
+ # Corresponds to the JSON property `corrections`
517
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Correction>]
518
+ attr_accessor :corrections
519
+
520
+ # The buyer-defined creative ID of this creative.
521
+ # Can be used to filter the response of the
522
+ # creatives.list
523
+ # method.
524
+ # Corresponds to the JSON property `creativeId`
430
525
  # @return [String]
431
526
  attr_accessor :creative_id
432
527
 
433
- # A response may include multiple rows, breaking down along various dimensions.
434
- # Encapsulates the values of all dimensions for a given row.
435
- # Corresponds to the JSON property `rowDimensions`
436
- # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
437
- attr_accessor :row_dimensions
528
+ # @OutputOnly The top-level deals status of this creative.
529
+ # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
530
+ # serving_restrictions will also exist. Note
531
+ # that this may be nuanced with other contextual restrictions, in which case,
532
+ # it may be preferable to read from serving_restrictions directly.
533
+ # Can be used to filter the response of the
534
+ # creatives.list
535
+ # method.
536
+ # Corresponds to the JSON property `dealsStatus`
537
+ # @return [String]
538
+ attr_accessor :deals_status
438
539
 
439
- def initialize(**args)
440
- update!(**args)
441
- end
540
+ # @OutputOnly Detected advertiser IDs, if any.
541
+ # Corresponds to the JSON property `detectedAdvertiserIds`
542
+ # @return [Array<Fixnum>]
543
+ attr_accessor :detected_advertiser_ids
442
544
 
443
- # Update properties of this object
444
- def update!(**args)
445
- @bid_count = args[:bid_count] if args.key?(:bid_count)
446
- @creative_id = args[:creative_id] if args.key?(:creative_id)
447
- @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
448
- end
449
- end
545
+ # @OutputOnly
546
+ # The detected domains for this creative.
547
+ # Corresponds to the JSON property `detectedDomains`
548
+ # @return [Array<String>]
549
+ attr_accessor :detected_domains
450
550
 
451
- # A relative date range, specified by an offset and a duration.
452
- # The supported range of dates begins 30 days before today and ends today.
453
- # I.e. the limits for these values are:
454
- # offset_days >= 0
455
- # duration_days >= 1
456
- # offset_days + duration_days <= 30
457
- class RelativeDateRange
458
- include Google::Apis::Core::Hashable
551
+ # @OutputOnly
552
+ # The detected languages for this creative. The order is arbitrary. The codes
553
+ # are 2 or 5 characters and are documented at
554
+ # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
555
+ # Corresponds to the JSON property `detectedLanguages`
556
+ # @return [Array<String>]
557
+ attr_accessor :detected_languages
459
558
 
460
- # The number of days in the requested date range. E.g. for a range spanning
461
- # today, 1. For a range spanning the last 7 days, 7.
462
- # Corresponds to the JSON property `durationDays`
463
- # @return [Fixnum]
464
- attr_accessor :duration_days
559
+ # @OutputOnly Detected product categories, if any.
560
+ # See the ad-product-categories.txt file in the technical documentation
561
+ # for a list of IDs.
562
+ # Corresponds to the JSON property `detectedProductCategories`
563
+ # @return [Array<Fixnum>]
564
+ attr_accessor :detected_product_categories
465
565
 
466
- # The end date of the filter set, specified as the number of days before
467
- # today. E.g. for a range where the last date is today, 0.
468
- # Corresponds to the JSON property `offsetDays`
566
+ # @OutputOnly Detected sensitive categories, if any.
567
+ # See the ad-sensitive-categories.txt file in the technical documentation for
568
+ # a list of IDs. You should use these IDs along with the
569
+ # excluded-sensitive-category field in the bid request to filter your bids.
570
+ # Corresponds to the JSON property `detectedSensitiveCategories`
571
+ # @return [Array<Fixnum>]
572
+ attr_accessor :detected_sensitive_categories
573
+
574
+ # @OutputOnly Filtering reasons for this creative during a period of a single
575
+ # day (from midnight to midnight Pacific).
576
+ # Corresponds to the JSON property `filteringStats`
577
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
578
+ attr_accessor :filtering_stats
579
+
580
+ # HTML content for a creative.
581
+ # Corresponds to the JSON property `html`
582
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent]
583
+ attr_accessor :html
584
+
585
+ # The set of URLs to be called to record an impression.
586
+ # Corresponds to the JSON property `impressionTrackingUrls`
587
+ # @return [Array<String>]
588
+ attr_accessor :impression_tracking_urls
589
+
590
+ # Native content for a creative.
591
+ # Corresponds to the JSON property `native`
592
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent]
593
+ attr_accessor :native
594
+
595
+ # @OutputOnly The top-level open auction status of this creative.
596
+ # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
597
+ # serving_restrictions will also exist. Note
598
+ # that this may be nuanced with other contextual restrictions, in which case,
599
+ # it may be preferable to read from serving_restrictions directly.
600
+ # Can be used to filter the response of the
601
+ # creatives.list
602
+ # method.
603
+ # Corresponds to the JSON property `openAuctionStatus`
604
+ # @return [String]
605
+ attr_accessor :open_auction_status
606
+
607
+ # All restricted categories for the ads that may be shown from this creative.
608
+ # Corresponds to the JSON property `restrictedCategories`
609
+ # @return [Array<String>]
610
+ attr_accessor :restricted_categories
611
+
612
+ # @OutputOnly The granular status of this ad in specific contexts.
613
+ # A context here relates to where something ultimately serves (for example,
614
+ # a physical location, a platform, an HTTPS vs HTTP request, or the type
615
+ # of auction).
616
+ # Corresponds to the JSON property `servingRestrictions`
617
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction>]
618
+ attr_accessor :serving_restrictions
619
+
620
+ # All vendor IDs for the ads that may be shown from this creative.
621
+ # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
622
+ # for possible values.
623
+ # Corresponds to the JSON property `vendorIds`
624
+ # @return [Array<Fixnum>]
625
+ attr_accessor :vendor_ids
626
+
627
+ # @OutputOnly The version of this creative.
628
+ # Corresponds to the JSON property `version`
469
629
  # @return [Fixnum]
470
- attr_accessor :offset_days
630
+ attr_accessor :version
631
+
632
+ # Video content for a creative.
633
+ # Corresponds to the JSON property `video`
634
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent]
635
+ attr_accessor :video
471
636
 
472
637
  def initialize(**args)
473
638
  update!(**args)
@@ -475,29 +640,52 @@ module Google
475
640
 
476
641
  # Update properties of this object
477
642
  def update!(**args)
478
- @duration_days = args[:duration_days] if args.key?(:duration_days)
479
- @offset_days = args[:offset_days] if args.key?(:offset_days)
643
+ @account_id = args[:account_id] if args.key?(:account_id)
644
+ @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
645
+ @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
646
+ @agency_id = args[:agency_id] if args.key?(:agency_id)
647
+ @api_update_time = args[:api_update_time] if args.key?(:api_update_time)
648
+ @attributes = args[:attributes] if args.key?(:attributes)
649
+ @click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls)
650
+ @corrections = args[:corrections] if args.key?(:corrections)
651
+ @creative_id = args[:creative_id] if args.key?(:creative_id)
652
+ @deals_status = args[:deals_status] if args.key?(:deals_status)
653
+ @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids)
654
+ @detected_domains = args[:detected_domains] if args.key?(:detected_domains)
655
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
656
+ @detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories)
657
+ @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories)
658
+ @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
659
+ @html = args[:html] if args.key?(:html)
660
+ @impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls)
661
+ @native = args[:native] if args.key?(:native)
662
+ @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
663
+ @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories)
664
+ @serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions)
665
+ @vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids)
666
+ @version = args[:version] if args.key?(:version)
667
+ @video = args[:video] if args.key?(:video)
480
668
  end
481
669
  end
482
670
 
483
- #
484
- class ListClientsResponse
671
+ # The association between a creative and a deal.
672
+ class CreativeDealAssociation
485
673
  include Google::Apis::Core::Hashable
486
674
 
487
- # A token to retrieve the next page of results.
488
- # Pass this value in the
489
- # ListClientsRequest.pageToken
490
- # field in the subsequent call to the
491
- # accounts.clients.list method
492
- # to retrieve the next page of results.
493
- # Corresponds to the JSON property `nextPageToken`
675
+ # The account the creative belongs to.
676
+ # Corresponds to the JSON property `accountId`
494
677
  # @return [String]
495
- attr_accessor :next_page_token
678
+ attr_accessor :account_id
496
679
 
497
- # The returned list of clients.
498
- # Corresponds to the JSON property `clients`
499
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
500
- attr_accessor :clients
680
+ # The ID of the creative associated with the deal.
681
+ # Corresponds to the JSON property `creativeId`
682
+ # @return [String]
683
+ attr_accessor :creative_id
684
+
685
+ # The externalDealId for the deal associated with the creative.
686
+ # Corresponds to the JSON property `dealsId`
687
+ # @return [String]
688
+ attr_accessor :deals_id
501
689
 
502
690
  def initialize(**args)
503
691
  update!(**args)
@@ -505,82 +693,36 @@ module Google
505
693
 
506
694
  # Update properties of this object
507
695
  def update!(**args)
508
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
509
- @clients = args[:clients] if args.key?(:clients)
696
+ @account_id = args[:account_id] if args.key?(:account_id)
697
+ @creative_id = args[:creative_id] if args.key?(:creative_id)
698
+ @deals_id = args[:deals_id] if args.key?(:deals_id)
510
699
  end
511
700
  end
512
701
 
513
- # Native content for a creative.
514
- class NativeContent
702
+ # The number of bids with the specified dimension values that did not win the
703
+ # auction (either were filtered pre-auction or lost the auction), as described
704
+ # by the specified creative status.
705
+ class CreativeStatusRow
515
706
  include Google::Apis::Core::Hashable
516
707
 
517
- # A label for the button that the user is supposed to click.
518
- # Corresponds to the JSON property `callToAction`
519
- # @return [String]
520
- attr_accessor :call_to_action
521
-
522
- # A long description of the ad.
523
- # Corresponds to the JSON property `body`
524
- # @return [String]
525
- attr_accessor :body
526
-
527
- # The app rating in the app store. Must be in the range [0-5].
528
- # Corresponds to the JSON property `starRating`
529
- # @return [Float]
530
- attr_accessor :star_rating
531
-
532
- # The URL to fetch a native video ad.
533
- # Corresponds to the JSON property `videoUrl`
534
- # @return [String]
535
- attr_accessor :video_url
536
-
537
- # An image resource. You may provide a larger image than was requested,
538
- # so long as the aspect ratio is preserved.
539
- # Corresponds to the JSON property `logo`
540
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
541
- attr_accessor :logo
542
-
543
- # The URL that the browser/SDK will load when the user clicks the ad.
544
- # Corresponds to the JSON property `clickLinkUrl`
545
- # @return [String]
546
- attr_accessor :click_link_url
547
-
548
- # The price of the promoted app including currency info.
549
- # Corresponds to the JSON property `priceDisplayText`
550
- # @return [String]
551
- attr_accessor :price_display_text
552
-
553
- # The URL to use for click tracking.
554
- # Corresponds to the JSON property `clickTrackingUrl`
555
- # @return [String]
556
- attr_accessor :click_tracking_url
557
-
558
- # An image resource. You may provide a larger image than was requested,
559
- # so long as the aspect ratio is preserved.
560
- # Corresponds to the JSON property `image`
561
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
562
- attr_accessor :image
563
-
564
- # The name of the advertiser or sponsor, to be displayed in the ad creative.
565
- # Corresponds to the JSON property `advertiserName`
566
- # @return [String]
567
- attr_accessor :advertiser_name
568
-
569
- # The URL to the app store to purchase/download the promoted app.
570
- # Corresponds to the JSON property `storeUrl`
571
- # @return [String]
572
- attr_accessor :store_url
708
+ # A metric value, with an expected value and a variance; represents a count
709
+ # that may be either exact or estimated (i.e. when sampled).
710
+ # Corresponds to the JSON property `bidCount`
711
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
712
+ attr_accessor :bid_count
573
713
 
574
- # A short title for the ad.
575
- # Corresponds to the JSON property `headline`
576
- # @return [String]
577
- attr_accessor :headline
714
+ # The ID of the creative status.
715
+ # See [creative-status-codes](https://developers.google.com/ad-exchange/rtb/
716
+ # downloads/creative-status-codes).
717
+ # Corresponds to the JSON property `creativeStatusId`
718
+ # @return [Fixnum]
719
+ attr_accessor :creative_status_id
578
720
 
579
- # An image resource. You may provide a larger image than was requested,
580
- # so long as the aspect ratio is preserved.
581
- # Corresponds to the JSON property `appIcon`
582
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
583
- attr_accessor :app_icon
721
+ # A response may include multiple rows, breaking down along various dimensions.
722
+ # Encapsulates the values of all dimensions for a given row.
723
+ # Corresponds to the JSON property `rowDimensions`
724
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
725
+ attr_accessor :row_dimensions
584
726
 
585
727
  def initialize(**args)
586
728
  update!(**args)
@@ -588,42 +730,38 @@ module Google
588
730
 
589
731
  # Update properties of this object
590
732
  def update!(**args)
591
- @call_to_action = args[:call_to_action] if args.key?(:call_to_action)
592
- @body = args[:body] if args.key?(:body)
593
- @star_rating = args[:star_rating] if args.key?(:star_rating)
594
- @video_url = args[:video_url] if args.key?(:video_url)
595
- @logo = args[:logo] if args.key?(:logo)
596
- @click_link_url = args[:click_link_url] if args.key?(:click_link_url)
597
- @price_display_text = args[:price_display_text] if args.key?(:price_display_text)
598
- @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
599
- @image = args[:image] if args.key?(:image)
600
- @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
601
- @store_url = args[:store_url] if args.key?(:store_url)
602
- @headline = args[:headline] if args.key?(:headline)
603
- @app_icon = args[:app_icon] if args.key?(:app_icon)
733
+ @bid_count = args[:bid_count] if args.key?(:bid_count)
734
+ @creative_status_id = args[:creative_status_id] if args.key?(:creative_status_id)
735
+ @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
604
736
  end
605
737
  end
606
738
 
607
- # Response message for listing all reasons that bid responses were considered
608
- # to have no applicable bids.
609
- class ListBidResponsesWithoutBidsResponse
739
+ # Represents a whole calendar date, e.g. date of birth. The time of day and
740
+ # time zone are either specified elsewhere or are not significant. The date
741
+ # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
742
+ # represent a year and month where the day is not significant, e.g. credit card
743
+ # expiration date. The year may be 0 to represent a month and day independent
744
+ # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
745
+ # and `google.protobuf.Timestamp`.
746
+ class Date
610
747
  include Google::Apis::Core::Hashable
611
748
 
612
- # A token to retrieve the next page of results.
613
- # Pass this value in the
614
- # ListBidResponsesWithoutBidsRequest.pageToken
615
- # field in the subsequent call to the
616
- # accounts.filterSets.bidResponsesWithoutBids.list
617
- # method to retrieve the next page of results.
618
- # Corresponds to the JSON property `nextPageToken`
619
- # @return [String]
620
- attr_accessor :next_page_token
749
+ # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
750
+ # if specifying a year/month where the day is not significant.
751
+ # Corresponds to the JSON property `day`
752
+ # @return [Fixnum]
753
+ attr_accessor :day
621
754
 
622
- # List of rows, with counts of bid responses without bids aggregated by
623
- # status.
624
- # Corresponds to the JSON property `bidResponseWithoutBidsStatusRows`
625
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::BidResponseWithoutBidsStatusRow>]
626
- attr_accessor :bid_response_without_bids_status_rows
755
+ # Month of year. Must be from 1 to 12.
756
+ # Corresponds to the JSON property `month`
757
+ # @return [Fixnum]
758
+ attr_accessor :month
759
+
760
+ # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
761
+ # a year.
762
+ # Corresponds to the JSON property `year`
763
+ # @return [Fixnum]
764
+ attr_accessor :year
627
765
 
628
766
  def initialize(**args)
629
767
  update!(**args)
@@ -631,44 +769,25 @@ module Google
631
769
 
632
770
  # Update properties of this object
633
771
  def update!(**args)
634
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
635
- @bid_response_without_bids_status_rows = args[:bid_response_without_bids_status_rows] if args.key?(:bid_response_without_bids_status_rows)
772
+ @day = args[:day] if args.key?(:day)
773
+ @month = args[:month] if args.key?(:month)
774
+ @year = args[:year] if args.key?(:year)
636
775
  end
637
776
  end
638
777
 
639
- # The serving context for this restriction.
640
- class ServingContext
778
+ # @OutputOnly The reason and details for a disapproval.
779
+ class Disapproval
641
780
  include Google::Apis::Core::Hashable
642
781
 
643
- # @OutputOnly A security context.
644
- # Corresponds to the JSON property `securityType`
645
- # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext]
646
- attr_accessor :security_type
647
-
648
- # @OutputOnly The type of platform the restriction applies to.
649
- # Corresponds to the JSON property `platform`
650
- # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext]
651
- attr_accessor :platform
652
-
653
- # @OutputOnly The Geo criteria the restriction applies to.
654
- # Corresponds to the JSON property `location`
655
- # @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext]
656
- attr_accessor :location
657
-
658
- # @OutputOnly The auction type the restriction applies to.
659
- # Corresponds to the JSON property `auctionType`
660
- # @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext]
661
- attr_accessor :auction_type
782
+ # Additional details about the reason for disapproval.
783
+ # Corresponds to the JSON property `details`
784
+ # @return [Array<String>]
785
+ attr_accessor :details
662
786
 
663
- # Matches all contexts.
664
- # Corresponds to the JSON property `all`
787
+ # The categorized reason for disapproval.
788
+ # Corresponds to the JSON property `reason`
665
789
  # @return [String]
666
- attr_accessor :all
667
-
668
- # @OutputOnly The app type the restriction applies to for mobile device.
669
- # Corresponds to the JSON property `appType`
670
- # @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext]
671
- attr_accessor :app_type
790
+ attr_accessor :reason
672
791
 
673
792
  def initialize(**args)
674
793
  update!(**args)
@@ -676,93 +795,164 @@ module Google
676
795
 
677
796
  # Update properties of this object
678
797
  def update!(**args)
679
- @security_type = args[:security_type] if args.key?(:security_type)
680
- @platform = args[:platform] if args.key?(:platform)
681
- @location = args[:location] if args.key?(:location)
682
- @auction_type = args[:auction_type] if args.key?(:auction_type)
683
- @all = args[:all] if args.key?(:all)
684
- @app_type = args[:app_type] if args.key?(:app_type)
798
+ @details = args[:details] if args.key?(:details)
799
+ @reason = args[:reason] if args.key?(:reason)
685
800
  end
686
801
  end
687
802
 
688
- # An image resource. You may provide a larger image than was requested,
689
- # so long as the aspect ratio is preserved.
690
- class Image
803
+ # A generic empty message that you can re-use to avoid defining duplicated
804
+ # empty messages in your APIs. A typical example is to use it as the request
805
+ # or the response type of an API method. For instance:
806
+ # service Foo `
807
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
808
+ # `
809
+ # The JSON representation for `Empty` is empty JSON object ````.
810
+ class Empty
691
811
  include Google::Apis::Core::Hashable
692
812
 
693
- # The URL of the image.
694
- # Corresponds to the JSON property `url`
695
- # @return [String]
696
- attr_accessor :url
697
-
698
- # Image height in pixels.
699
- # Corresponds to the JSON property `height`
700
- # @return [Fixnum]
701
- attr_accessor :height
702
-
703
- # Image width in pixels.
704
- # Corresponds to the JSON property `width`
705
- # @return [Fixnum]
706
- attr_accessor :width
707
-
708
813
  def initialize(**args)
709
814
  update!(**args)
710
815
  end
711
816
 
712
817
  # Update properties of this object
713
818
  def update!(**args)
714
- @url = args[:url] if args.key?(:url)
715
- @height = args[:height] if args.key?(:height)
716
- @width = args[:width] if args.key?(:width)
717
819
  end
718
820
  end
719
821
 
720
- # Response message for listing filter sets.
721
- class ListFilterSetsResponse
822
+ # A set of filters that is applied to a request for data.
823
+ # Within a filter set, an AND operation is performed across the filters
824
+ # represented by each field. An OR operation is performed across the filters
825
+ # represented by the multiple values of a repeated field. E.g.
826
+ # "format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR
827
+ # seller_network_id=56)"
828
+ class FilterSet
722
829
  include Google::Apis::Core::Hashable
723
830
 
724
- # The filter sets belonging to the buyer.
725
- # Corresponds to the JSON property `filterSets`
726
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilterSet>]
727
- attr_accessor :filter_sets
831
+ # An absolute date range, specified by its start date and end date.
832
+ # The supported range of dates begins 30 days before today and ends today.
833
+ # Validity checked upon filter set creation. If a filter set with an absolute
834
+ # date range is run at a later date more than 30 days after start_date, it will
835
+ # fail.
836
+ # Corresponds to the JSON property `absoluteDateRange`
837
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange]
838
+ attr_accessor :absolute_date_range
728
839
 
729
- # A token to retrieve the next page of results.
730
- # Pass this value in the
731
- # ListFilterSetsRequest.pageToken
732
- # field in the subsequent call to the
733
- # accounts.filterSets.list
734
- # method to retrieve the next page of results.
735
- # Corresponds to the JSON property `nextPageToken`
840
+ # The ID of the buyer account on which to filter; optional.
841
+ # Corresponds to the JSON property `buyerAccountId`
842
+ # @return [Fixnum]
843
+ attr_accessor :buyer_account_id
844
+
845
+ # The ID of the creative on which to filter; optional.
846
+ # Corresponds to the JSON property `creativeId`
736
847
  # @return [String]
737
- attr_accessor :next_page_token
848
+ attr_accessor :creative_id
738
849
 
739
- def initialize(**args)
740
- update!(**args)
741
- end
850
+ # The ID of the deal on which to filter; optional.
851
+ # Corresponds to the JSON property `dealId`
852
+ # @return [Fixnum]
853
+ attr_accessor :deal_id
854
+
855
+ # The environment on which to filter; optional.
856
+ # Corresponds to the JSON property `environment`
857
+ # @return [String]
858
+ attr_accessor :environment
859
+
860
+ # The ID of the filter set; unique within the account of the filter set
861
+ # owner.
862
+ # The value of this field is ignored in create operations.
863
+ # Corresponds to the JSON property `filterSetId`
864
+ # @return [Fixnum]
865
+ attr_accessor :filter_set_id
866
+
867
+ # The format on which to filter; optional.
868
+ # Corresponds to the JSON property `format`
869
+ # @return [String]
870
+ attr_accessor :format
871
+
872
+ # The account ID of the buyer who owns this filter set.
873
+ # The value of this field is ignored in create operations.
874
+ # Corresponds to the JSON property `ownerAccountId`
875
+ # @return [Fixnum]
876
+ attr_accessor :owner_account_id
877
+
878
+ # The list of platforms on which to filter; may be empty. The filters
879
+ # represented by multiple platforms are ORed together (i.e. if non-empty,
880
+ # results must match any one of the platforms).
881
+ # Corresponds to the JSON property `platforms`
882
+ # @return [Array<String>]
883
+ attr_accessor :platforms
884
+
885
+ # An open-ended realtime time range specified by the start timestamp.
886
+ # For filter sets that specify a realtime time range RTB metrics continue to
887
+ # be aggregated throughout the lifetime of the filter set.
888
+ # Corresponds to the JSON property `realtimeTimeRange`
889
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange]
890
+ attr_accessor :realtime_time_range
891
+
892
+ # A relative date range, specified by an offset and a duration.
893
+ # The supported range of dates begins 30 days before today and ends today.
894
+ # I.e. the limits for these values are:
895
+ # offset_days >= 0
896
+ # duration_days >= 1
897
+ # offset_days + duration_days <= 30
898
+ # Corresponds to the JSON property `relativeDateRange`
899
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange]
900
+ attr_accessor :relative_date_range
901
+
902
+ # The list of IDs of the seller (publisher) networks on which to filter;
903
+ # may be empty. The filters represented by multiple seller network IDs are
904
+ # ORed together (i.e. if non-empty, results must match any one of the
905
+ # publisher networks).
906
+ # See [seller-network-ids](https://developers.google.com/ad-exchange/rtb/
907
+ # downloads/seller-network-ids)
908
+ # file for the set of existing seller network IDs.
909
+ # Corresponds to the JSON property `sellerNetworkIds`
910
+ # @return [Array<Fixnum>]
911
+ attr_accessor :seller_network_ids
912
+
913
+ # The granularity of time intervals if a time series breakdown is desired;
914
+ # optional.
915
+ # Corresponds to the JSON property `timeSeriesGranularity`
916
+ # @return [String]
917
+ attr_accessor :time_series_granularity
918
+
919
+ def initialize(**args)
920
+ update!(**args)
921
+ end
742
922
 
743
923
  # Update properties of this object
744
924
  def update!(**args)
745
- @filter_sets = args[:filter_sets] if args.key?(:filter_sets)
746
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
925
+ @absolute_date_range = args[:absolute_date_range] if args.key?(:absolute_date_range)
926
+ @buyer_account_id = args[:buyer_account_id] if args.key?(:buyer_account_id)
927
+ @creative_id = args[:creative_id] if args.key?(:creative_id)
928
+ @deal_id = args[:deal_id] if args.key?(:deal_id)
929
+ @environment = args[:environment] if args.key?(:environment)
930
+ @filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id)
931
+ @format = args[:format] if args.key?(:format)
932
+ @owner_account_id = args[:owner_account_id] if args.key?(:owner_account_id)
933
+ @platforms = args[:platforms] if args.key?(:platforms)
934
+ @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range)
935
+ @relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range)
936
+ @seller_network_ids = args[:seller_network_ids] if args.key?(:seller_network_ids)
937
+ @time_series_granularity = args[:time_series_granularity] if args.key?(:time_series_granularity)
747
938
  end
748
939
  end
749
940
 
750
- # The number of impressions with the specified dimension values that were
751
- # considered to have no applicable bids, as described by the specified status.
752
- class BidResponseWithoutBidsStatusRow
941
+ # The number of filtered bids with the specified dimension values that have the
942
+ # specified creative.
943
+ class FilteredBidCreativeRow
753
944
  include Google::Apis::Core::Hashable
754
945
 
755
946
  # A metric value, with an expected value and a variance; represents a count
756
947
  # that may be either exact or estimated (i.e. when sampled).
757
- # Corresponds to the JSON property `impressionCount`
948
+ # Corresponds to the JSON property `bidCount`
758
949
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
759
- attr_accessor :impression_count
950
+ attr_accessor :bid_count
760
951
 
761
- # The status specifying why the bid responses were considered to have no
762
- # applicable bids.
763
- # Corresponds to the JSON property `status`
952
+ # The ID of the creative.
953
+ # Corresponds to the JSON property `creativeId`
764
954
  # @return [String]
765
- attr_accessor :status
955
+ attr_accessor :creative_id
766
956
 
767
957
  # A response may include multiple rows, breaking down along various dimensions.
768
958
  # Encapsulates the values of all dimensions for a given row.
@@ -776,37 +966,35 @@ module Google
776
966
 
777
967
  # Update properties of this object
778
968
  def update!(**args)
779
- @impression_count = args[:impression_count] if args.key?(:impression_count)
780
- @status = args[:status] if args.key?(:status)
969
+ @bid_count = args[:bid_count] if args.key?(:bid_count)
970
+ @creative_id = args[:creative_id] if args.key?(:creative_id)
781
971
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
782
972
  end
783
973
  end
784
974
 
785
- # An invitation for a new client user to get access to the Ad Exchange
786
- # Buyer UI.
787
- # All fields are required unless otherwise specified.
788
- class ClientUserInvitation
975
+ # The number of filtered bids with the specified dimension values, among those
976
+ # filtered due to the requested filtering reason (i.e. creative status), that
977
+ # have the specified detail.
978
+ class FilteredBidDetailRow
789
979
  include Google::Apis::Core::Hashable
790
980
 
791
- # Numerical account ID of the client buyer
792
- # that the invited user is associated with.
793
- # The value of this field is ignored in create operations.
794
- # Corresponds to the JSON property `clientAccountId`
795
- # @return [Fixnum]
796
- attr_accessor :client_account_id
981
+ # A metric value, with an expected value and a variance; represents a count
982
+ # that may be either exact or estimated (i.e. when sampled).
983
+ # Corresponds to the JSON property `bidCount`
984
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
985
+ attr_accessor :bid_count
797
986
 
798
- # The unique numerical ID of the invitation that is sent to the user.
799
- # The value of this field is ignored in create operations.
800
- # Corresponds to the JSON property `invitationId`
987
+ # The ID of the detail. The associated value can be looked up in the
988
+ # dictionary file corresponding to the DetailType in the response message.
989
+ # Corresponds to the JSON property `detailId`
801
990
  # @return [Fixnum]
802
- attr_accessor :invitation_id
991
+ attr_accessor :detail_id
803
992
 
804
- # The email address to which the invitation is sent. Email
805
- # addresses should be unique among all client users under each sponsor
806
- # buyer.
807
- # Corresponds to the JSON property `email`
808
- # @return [String]
809
- attr_accessor :email
993
+ # A response may include multiple rows, breaking down along various dimensions.
994
+ # Encapsulates the values of all dimensions for a given row.
995
+ # Corresponds to the JSON property `rowDimensions`
996
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
997
+ attr_accessor :row_dimensions
810
998
 
811
999
  def initialize(**args)
812
1000
  update!(**args)
@@ -814,31 +1002,32 @@ module Google
814
1002
 
815
1003
  # Update properties of this object
816
1004
  def update!(**args)
817
- @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
818
- @invitation_id = args[:invitation_id] if args.key?(:invitation_id)
819
- @email = args[:email] if args.key?(:email)
1005
+ @bid_count = args[:bid_count] if args.key?(:bid_count)
1006
+ @detail_id = args[:detail_id] if args.key?(:detail_id)
1007
+ @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
820
1008
  end
821
1009
  end
822
1010
 
823
- #
824
- class ListClientUserInvitationsResponse
1011
+ # @OutputOnly Filtering reasons for this creative during a period of a single
1012
+ # day (from midnight to midnight Pacific).
1013
+ class FilteringStats
825
1014
  include Google::Apis::Core::Hashable
826
1015
 
827
- # A token to retrieve the next page of results.
828
- # Pass this value in the
829
- # ListClientUserInvitationsRequest.pageToken
830
- # field in the subsequent call to the
831
- # clients.invitations.list
832
- # method to retrieve the next
833
- # page of results.
834
- # Corresponds to the JSON property `nextPageToken`
835
- # @return [String]
836
- attr_accessor :next_page_token
1016
+ # Represents a whole calendar date, e.g. date of birth. The time of day and
1017
+ # time zone are either specified elsewhere or are not significant. The date
1018
+ # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
1019
+ # represent a year and month where the day is not significant, e.g. credit card
1020
+ # expiration date. The year may be 0 to represent a month and day independent
1021
+ # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
1022
+ # and `google.protobuf.Timestamp`.
1023
+ # Corresponds to the JSON property `date`
1024
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
1025
+ attr_accessor :date
837
1026
 
838
- # The returned list of client users.
839
- # Corresponds to the JSON property `invitations`
840
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation>]
841
- attr_accessor :invitations
1027
+ # The set of filtering reasons for this date.
1028
+ # Corresponds to the JSON property `reasons`
1029
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
1030
+ attr_accessor :reasons
842
1031
 
843
1032
  def initialize(**args)
844
1033
  update!(**args)
@@ -846,30 +1035,29 @@ module Google
846
1035
 
847
1036
  # Update properties of this object
848
1037
  def update!(**args)
849
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
850
- @invitations = args[:invitations] if args.key?(:invitations)
1038
+ @date = args[:date] if args.key?(:date)
1039
+ @reasons = args[:reasons] if args.key?(:reasons)
851
1040
  end
852
1041
  end
853
1042
 
854
- #
855
- class ListClientUsersResponse
1043
+ # HTML content for a creative.
1044
+ class HtmlContent
856
1045
  include Google::Apis::Core::Hashable
857
1046
 
858
- # The returned list of client users.
859
- # Corresponds to the JSON property `users`
860
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUser>]
861
- attr_accessor :users
1047
+ # The height of the HTML snippet in pixels.
1048
+ # Corresponds to the JSON property `height`
1049
+ # @return [Fixnum]
1050
+ attr_accessor :height
862
1051
 
863
- # A token to retrieve the next page of results.
864
- # Pass this value in the
865
- # ListClientUsersRequest.pageToken
866
- # field in the subsequent call to the
867
- # clients.invitations.list
868
- # method to retrieve the next
869
- # page of results.
870
- # Corresponds to the JSON property `nextPageToken`
1052
+ # The HTML snippet that displays the ad when inserted in the web page.
1053
+ # Corresponds to the JSON property `snippet`
871
1054
  # @return [String]
872
- attr_accessor :next_page_token
1055
+ attr_accessor :snippet
1056
+
1057
+ # The width of the HTML snippet in pixels.
1058
+ # Corresponds to the JSON property `width`
1059
+ # @return [Fixnum]
1060
+ attr_accessor :width
873
1061
 
874
1062
  def initialize(**args)
875
1063
  update!(**args)
@@ -877,36 +1065,31 @@ module Google
877
1065
 
878
1066
  # Update properties of this object
879
1067
  def update!(**args)
880
- @users = args[:users] if args.key?(:users)
881
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1068
+ @height = args[:height] if args.key?(:height)
1069
+ @snippet = args[:snippet] if args.key?(:snippet)
1070
+ @width = args[:width] if args.key?(:width)
882
1071
  end
883
1072
  end
884
1073
 
885
- # Response message for listing all details associated with a given filtered bid
886
- # reason.
887
- class ListCreativeStatusBreakdownByDetailResponse
1074
+ # An image resource. You may provide a larger image than was requested,
1075
+ # so long as the aspect ratio is preserved.
1076
+ class Image
888
1077
  include Google::Apis::Core::Hashable
889
1078
 
890
- # A token to retrieve the next page of results.
891
- # Pass this value in the
892
- # ListCreativeStatusBreakdownByDetailRequest.pageToken
893
- # field in the subsequent call to the
894
- # accounts.filterSets.filteredBids.details.list
895
- # method to retrieve the next page of results.
896
- # Corresponds to the JSON property `nextPageToken`
897
- # @return [String]
898
- attr_accessor :next_page_token
899
-
900
- # List of rows, with counts of bids with a given creative status aggregated
901
- # by detail.
902
- # Corresponds to the JSON property `filteredBidDetailRows`
903
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow>]
904
- attr_accessor :filtered_bid_detail_rows
1079
+ # Image height in pixels.
1080
+ # Corresponds to the JSON property `height`
1081
+ # @return [Fixnum]
1082
+ attr_accessor :height
905
1083
 
906
- # The type of detail that the detail IDs represent.
907
- # Corresponds to the JSON property `detailType`
1084
+ # The URL of the image.
1085
+ # Corresponds to the JSON property `url`
908
1086
  # @return [String]
909
- attr_accessor :detail_type
1087
+ attr_accessor :url
1088
+
1089
+ # Image width in pixels.
1090
+ # Corresponds to the JSON property `width`
1091
+ # @return [Fixnum]
1092
+ attr_accessor :width
910
1093
 
911
1094
  def initialize(**args)
912
1095
  update!(**args)
@@ -914,24 +1097,53 @@ module Google
914
1097
 
915
1098
  # Update properties of this object
916
1099
  def update!(**args)
917
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
918
- @filtered_bid_detail_rows = args[:filtered_bid_detail_rows] if args.key?(:filtered_bid_detail_rows)
919
- @detail_type = args[:detail_type] if args.key?(:detail_type)
1100
+ @height = args[:height] if args.key?(:height)
1101
+ @url = args[:url] if args.key?(:url)
1102
+ @width = args[:width] if args.key?(:width)
920
1103
  end
921
1104
  end
922
1105
 
923
- # @OutputOnly The Geo criteria the restriction applies to.
924
- class LocationContext
1106
+ # The set of metrics that are measured in numbers of impressions, representing
1107
+ # how many impressions with the specified dimension values were considered
1108
+ # eligible at each stage of the bidding funnel.
1109
+ class ImpressionMetricsRow
925
1110
  include Google::Apis::Core::Hashable
926
1111
 
927
- # IDs representing the geo location for this context.
928
- # Please refer to the
929
- # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.
930
- # csv)
931
- # file for different geo criteria IDs.
932
- # Corresponds to the JSON property `geoCriteriaIds`
933
- # @return [Array<Fixnum>]
934
- attr_accessor :geo_criteria_ids
1112
+ # A metric value, with an expected value and a variance; represents a count
1113
+ # that may be either exact or estimated (i.e. when sampled).
1114
+ # Corresponds to the JSON property `availableImpressions`
1115
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1116
+ attr_accessor :available_impressions
1117
+
1118
+ # A metric value, with an expected value and a variance; represents a count
1119
+ # that may be either exact or estimated (i.e. when sampled).
1120
+ # Corresponds to the JSON property `bidRequests`
1121
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1122
+ attr_accessor :bid_requests
1123
+
1124
+ # A metric value, with an expected value and a variance; represents a count
1125
+ # that may be either exact or estimated (i.e. when sampled).
1126
+ # Corresponds to the JSON property `inventoryMatches`
1127
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1128
+ attr_accessor :inventory_matches
1129
+
1130
+ # A metric value, with an expected value and a variance; represents a count
1131
+ # that may be either exact or estimated (i.e. when sampled).
1132
+ # Corresponds to the JSON property `responsesWithBids`
1133
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1134
+ attr_accessor :responses_with_bids
1135
+
1136
+ # A response may include multiple rows, breaking down along various dimensions.
1137
+ # Encapsulates the values of all dimensions for a given row.
1138
+ # Corresponds to the JSON property `rowDimensions`
1139
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
1140
+ attr_accessor :row_dimensions
1141
+
1142
+ # A metric value, with an expected value and a variance; represents a count
1143
+ # that may be either exact or estimated (i.e. when sampled).
1144
+ # Corresponds to the JSON property `successfulResponses`
1145
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1146
+ attr_accessor :successful_responses
935
1147
 
936
1148
  def initialize(**args)
937
1149
  update!(**args)
@@ -939,18 +1151,33 @@ module Google
939
1151
 
940
1152
  # Update properties of this object
941
1153
  def update!(**args)
942
- @geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids)
1154
+ @available_impressions = args[:available_impressions] if args.key?(:available_impressions)
1155
+ @bid_requests = args[:bid_requests] if args.key?(:bid_requests)
1156
+ @inventory_matches = args[:inventory_matches] if args.key?(:inventory_matches)
1157
+ @responses_with_bids = args[:responses_with_bids] if args.key?(:responses_with_bids)
1158
+ @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
1159
+ @successful_responses = args[:successful_responses] if args.key?(:successful_responses)
943
1160
  end
944
1161
  end
945
1162
 
946
- # @OutputOnly The type of platform the restriction applies to.
947
- class PlatformContext
1163
+ # Response message for listing the metrics that are measured in number of bids.
1164
+ class ListBidMetricsResponse
948
1165
  include Google::Apis::Core::Hashable
949
1166
 
950
- # The platforms this restriction applies to.
951
- # Corresponds to the JSON property `platforms`
952
- # @return [Array<String>]
953
- attr_accessor :platforms
1167
+ # List of rows, each containing a set of bid metrics.
1168
+ # Corresponds to the JSON property `bidMetricsRows`
1169
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow>]
1170
+ attr_accessor :bid_metrics_rows
1171
+
1172
+ # A token to retrieve the next page of results.
1173
+ # Pass this value in the
1174
+ # ListBidMetricsRequest.pageToken
1175
+ # field in the subsequent call to the
1176
+ # accounts.filterSets.bidMetrics.list
1177
+ # method to retrieve the next page of results.
1178
+ # Corresponds to the JSON property `nextPageToken`
1179
+ # @return [String]
1180
+ attr_accessor :next_page_token
954
1181
 
955
1182
  def initialize(**args)
956
1183
  update!(**args)
@@ -958,30 +1185,30 @@ module Google
958
1185
 
959
1186
  # Update properties of this object
960
1187
  def update!(**args)
961
- @platforms = args[:platforms] if args.key?(:platforms)
1188
+ @bid_metrics_rows = args[:bid_metrics_rows] if args.key?(:bid_metrics_rows)
1189
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
962
1190
  end
963
1191
  end
964
1192
 
965
- # A metric value, with an expected value and a variance; represents a count
966
- # that may be either exact or estimated (i.e. when sampled).
967
- class MetricValue
1193
+ # Response message for listing all reasons that bid responses resulted in an
1194
+ # error.
1195
+ class ListBidResponseErrorsResponse
968
1196
  include Google::Apis::Core::Hashable
969
1197
 
970
- # The variance (i.e. square of the standard deviation) of the metric value.
971
- # If value is exact, variance is 0.
972
- # Can be used to calculate margin of error as a percentage of value, using
973
- # the following formula, where Z is the standard constant that depends on the
974
- # desired size of the confidence interval (e.g. for 90% confidence interval,
975
- # use Z = 1.645):
976
- # marginOfError = 100 * Z * sqrt(variance) / value
977
- # Corresponds to the JSON property `variance`
978
- # @return [Fixnum]
979
- attr_accessor :variance
1198
+ # List of rows, with counts of bid responses aggregated by callout status.
1199
+ # Corresponds to the JSON property `calloutStatusRows`
1200
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow>]
1201
+ attr_accessor :callout_status_rows
980
1202
 
981
- # The expected value of the metric.
982
- # Corresponds to the JSON property `value`
983
- # @return [Fixnum]
984
- attr_accessor :value
1203
+ # A token to retrieve the next page of results.
1204
+ # Pass this value in the
1205
+ # ListBidResponseErrorsRequest.pageToken
1206
+ # field in the subsequent call to the
1207
+ # accounts.filterSets.bidResponseErrors.list
1208
+ # method to retrieve the next page of results.
1209
+ # Corresponds to the JSON property `nextPageToken`
1210
+ # @return [String]
1211
+ attr_accessor :next_page_token
985
1212
 
986
1213
  def initialize(**args)
987
1214
  update!(**args)
@@ -989,49 +1216,31 @@ module Google
989
1216
 
990
1217
  # Update properties of this object
991
1218
  def update!(**args)
992
- @variance = args[:variance] if args.key?(:variance)
993
- @value = args[:value] if args.key?(:value)
1219
+ @callout_status_rows = args[:callout_status_rows] if args.key?(:callout_status_rows)
1220
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
994
1221
  end
995
1222
  end
996
1223
 
997
- # A client user is created under a client buyer and has restricted access to
998
- # the Ad Exchange Marketplace and certain other sections
999
- # of the Ad Exchange Buyer UI based on the role
1000
- # granted to the associated client buyer.
1001
- # The only way a new client user can be created is via accepting an
1002
- # email invitation
1003
- # (see the
1004
- # accounts.clients.invitations.create
1005
- # method).
1006
- # All fields are required unless otherwise specified.
1007
- class ClientUser
1224
+ # Response message for listing all reasons that bid responses were considered
1225
+ # to have no applicable bids.
1226
+ class ListBidResponsesWithoutBidsResponse
1008
1227
  include Google::Apis::Core::Hashable
1009
1228
 
1010
- # The status of the client user.
1011
- # Corresponds to the JSON property `status`
1012
- # @return [String]
1013
- attr_accessor :status
1229
+ # List of rows, with counts of bid responses without bids aggregated by
1230
+ # status.
1231
+ # Corresponds to the JSON property `bidResponseWithoutBidsStatusRows`
1232
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::BidResponseWithoutBidsStatusRow>]
1233
+ attr_accessor :bid_response_without_bids_status_rows
1014
1234
 
1015
- # User's email address. The value of this field
1016
- # is ignored in an update operation.
1017
- # Corresponds to the JSON property `email`
1235
+ # A token to retrieve the next page of results.
1236
+ # Pass this value in the
1237
+ # ListBidResponsesWithoutBidsRequest.pageToken
1238
+ # field in the subsequent call to the
1239
+ # accounts.filterSets.bidResponsesWithoutBids.list
1240
+ # method to retrieve the next page of results.
1241
+ # Corresponds to the JSON property `nextPageToken`
1018
1242
  # @return [String]
1019
- attr_accessor :email
1020
-
1021
- # The unique numerical ID of the client user
1022
- # that has accepted an invitation.
1023
- # The value of this field is ignored in an update operation.
1024
- # Corresponds to the JSON property `userId`
1025
- # @return [Fixnum]
1026
- attr_accessor :user_id
1027
-
1028
- # Numerical account ID of the client buyer
1029
- # with which the user is associated; the
1030
- # buyer must be a client of the current sponsor buyer.
1031
- # The value of this field is ignored in an update operation.
1032
- # Corresponds to the JSON property `clientAccountId`
1033
- # @return [Fixnum]
1034
- attr_accessor :client_account_id
1243
+ attr_accessor :next_page_token
1035
1244
 
1036
1245
  def initialize(**args)
1037
1246
  update!(**args)
@@ -1039,31 +1248,30 @@ module Google
1039
1248
 
1040
1249
  # Update properties of this object
1041
1250
  def update!(**args)
1042
- @status = args[:status] if args.key?(:status)
1043
- @email = args[:email] if args.key?(:email)
1044
- @user_id = args[:user_id] if args.key?(:user_id)
1045
- @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
1251
+ @bid_response_without_bids_status_rows = args[:bid_response_without_bids_status_rows] if args.key?(:bid_response_without_bids_status_rows)
1252
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1046
1253
  end
1047
1254
  end
1048
1255
 
1049
- # The association between a creative and a deal.
1050
- class CreativeDealAssociation
1256
+ #
1257
+ class ListClientUserInvitationsResponse
1051
1258
  include Google::Apis::Core::Hashable
1052
1259
 
1053
- # The account the creative belongs to.
1054
- # Corresponds to the JSON property `accountId`
1055
- # @return [String]
1056
- attr_accessor :account_id
1057
-
1058
- # The ID of the creative associated with the deal.
1059
- # Corresponds to the JSON property `creativeId`
1060
- # @return [String]
1061
- attr_accessor :creative_id
1260
+ # The returned list of client users.
1261
+ # Corresponds to the JSON property `invitations`
1262
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation>]
1263
+ attr_accessor :invitations
1062
1264
 
1063
- # The externalDealId for the deal associated with the creative.
1064
- # Corresponds to the JSON property `dealsId`
1265
+ # A token to retrieve the next page of results.
1266
+ # Pass this value in the
1267
+ # ListClientUserInvitationsRequest.pageToken
1268
+ # field in the subsequent call to the
1269
+ # clients.invitations.list
1270
+ # method to retrieve the next
1271
+ # page of results.
1272
+ # Corresponds to the JSON property `nextPageToken`
1065
1273
  # @return [String]
1066
- attr_accessor :deals_id
1274
+ attr_accessor :next_page_token
1067
1275
 
1068
1276
  def initialize(**args)
1069
1277
  update!(**args)
@@ -1071,178 +1279,92 @@ module Google
1071
1279
 
1072
1280
  # Update properties of this object
1073
1281
  def update!(**args)
1074
- @account_id = args[:account_id] if args.key?(:account_id)
1075
- @creative_id = args[:creative_id] if args.key?(:creative_id)
1076
- @deals_id = args[:deals_id] if args.key?(:deals_id)
1282
+ @invitations = args[:invitations] if args.key?(:invitations)
1283
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1077
1284
  end
1078
1285
  end
1079
1286
 
1080
- # A creative and its classification data.
1081
- class Creative
1287
+ #
1288
+ class ListClientUsersResponse
1082
1289
  include Google::Apis::Core::Hashable
1083
1290
 
1084
- # The buyer-defined creative ID of this creative.
1085
- # Can be used to filter the response of the
1086
- # creatives.list
1087
- # method.
1088
- # Corresponds to the JSON property `creativeId`
1089
- # @return [String]
1090
- attr_accessor :creative_id
1091
-
1092
- # The account that this creative belongs to.
1093
- # Can be used to filter the response of the
1094
- # creatives.list
1095
- # method.
1096
- # Corresponds to the JSON property `accountId`
1097
- # @return [String]
1098
- attr_accessor :account_id
1099
-
1100
- # Native content for a creative.
1101
- # Corresponds to the JSON property `native`
1102
- # @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent]
1103
- attr_accessor :native
1104
-
1105
- # Video content for a creative.
1106
- # Corresponds to the JSON property `video`
1107
- # @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent]
1108
- attr_accessor :video
1109
-
1110
- # @OutputOnly The granular status of this ad in specific contexts.
1111
- # A context here relates to where something ultimately serves (for example,
1112
- # a physical location, a platform, an HTTPS vs HTTP request, or the type
1113
- # of auction).
1114
- # Corresponds to the JSON property `servingRestrictions`
1115
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction>]
1116
- attr_accessor :serving_restrictions
1117
-
1118
- # The agency ID for this creative.
1119
- # Corresponds to the JSON property `agencyId`
1120
- # @return [Fixnum]
1121
- attr_accessor :agency_id
1122
-
1123
- # The set of destination URLs for the creative.
1124
- # Corresponds to the JSON property `clickThroughUrls`
1125
- # @return [Array<String>]
1126
- attr_accessor :click_through_urls
1127
-
1128
- # The link to AdChoices destination page.
1129
- # Corresponds to the JSON property `adChoicesDestinationUrl`
1291
+ # A token to retrieve the next page of results.
1292
+ # Pass this value in the
1293
+ # ListClientUsersRequest.pageToken
1294
+ # field in the subsequent call to the
1295
+ # clients.invitations.list
1296
+ # method to retrieve the next
1297
+ # page of results.
1298
+ # Corresponds to the JSON property `nextPageToken`
1130
1299
  # @return [String]
1131
- attr_accessor :ad_choices_destination_url
1132
-
1133
- # @OutputOnly Detected sensitive categories, if any.
1134
- # See the ad-sensitive-categories.txt file in the technical documentation for
1135
- # a list of IDs. You should use these IDs along with the
1136
- # excluded-sensitive-category field in the bid request to filter your bids.
1137
- # Corresponds to the JSON property `detectedSensitiveCategories`
1138
- # @return [Array<Fixnum>]
1139
- attr_accessor :detected_sensitive_categories
1140
-
1141
- # All restricted categories for the ads that may be shown from this creative.
1142
- # Corresponds to the JSON property `restrictedCategories`
1143
- # @return [Array<String>]
1144
- attr_accessor :restricted_categories
1145
-
1146
- # @OutputOnly Shows any corrections that were applied to this creative.
1147
- # Corresponds to the JSON property `corrections`
1148
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Correction>]
1149
- attr_accessor :corrections
1150
-
1151
- # @OutputOnly The version of this creative.
1152
- # Corresponds to the JSON property `version`
1153
- # @return [Fixnum]
1154
- attr_accessor :version
1155
-
1156
- # All vendor IDs for the ads that may be shown from this creative.
1157
- # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1158
- # for possible values.
1159
- # Corresponds to the JSON property `vendorIds`
1160
- # @return [Array<Fixnum>]
1161
- attr_accessor :vendor_ids
1300
+ attr_accessor :next_page_token
1162
1301
 
1163
- # The set of URLs to be called to record an impression.
1164
- # Corresponds to the JSON property `impressionTrackingUrls`
1165
- # @return [Array<String>]
1166
- attr_accessor :impression_tracking_urls
1302
+ # The returned list of client users.
1303
+ # Corresponds to the JSON property `users`
1304
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUser>]
1305
+ attr_accessor :users
1167
1306
 
1168
- # HTML content for a creative.
1169
- # Corresponds to the JSON property `html`
1170
- # @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent]
1171
- attr_accessor :html
1307
+ def initialize(**args)
1308
+ update!(**args)
1309
+ end
1172
1310
 
1173
- # @OutputOnly The top-level deals status of this creative.
1174
- # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
1175
- # serving_restrictions will also exist. Note
1176
- # that this may be nuanced with other contextual restrictions, in which case,
1177
- # it may be preferable to read from serving_restrictions directly.
1178
- # Can be used to filter the response of the
1179
- # creatives.list
1180
- # method.
1181
- # Corresponds to the JSON property `dealsStatus`
1182
- # @return [String]
1183
- attr_accessor :deals_status
1311
+ # Update properties of this object
1312
+ def update!(**args)
1313
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1314
+ @users = args[:users] if args.key?(:users)
1315
+ end
1316
+ end
1184
1317
 
1185
- # @OutputOnly Detected product categories, if any.
1186
- # See the ad-product-categories.txt file in the technical documentation
1187
- # for a list of IDs.
1188
- # Corresponds to the JSON property `detectedProductCategories`
1189
- # @return [Array<Fixnum>]
1190
- attr_accessor :detected_product_categories
1318
+ #
1319
+ class ListClientsResponse
1320
+ include Google::Apis::Core::Hashable
1191
1321
 
1192
- # @OutputOnly The top-level open auction status of this creative.
1193
- # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
1194
- # serving_restrictions will also exist. Note
1195
- # that this may be nuanced with other contextual restrictions, in which case,
1196
- # it may be preferable to read from serving_restrictions directly.
1197
- # Can be used to filter the response of the
1198
- # creatives.list
1199
- # method.
1200
- # Corresponds to the JSON property `openAuctionStatus`
1201
- # @return [String]
1202
- attr_accessor :open_auction_status
1322
+ # The returned list of clients.
1323
+ # Corresponds to the JSON property `clients`
1324
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
1325
+ attr_accessor :clients
1203
1326
 
1204
- # The name of the company being advertised in the creative.
1205
- # Corresponds to the JSON property `advertiserName`
1327
+ # A token to retrieve the next page of results.
1328
+ # Pass this value in the
1329
+ # ListClientsRequest.pageToken
1330
+ # field in the subsequent call to the
1331
+ # accounts.clients.list method
1332
+ # to retrieve the next page of results.
1333
+ # Corresponds to the JSON property `nextPageToken`
1206
1334
  # @return [String]
1207
- attr_accessor :advertiser_name
1335
+ attr_accessor :next_page_token
1208
1336
 
1209
- # @OutputOnly Detected advertiser IDs, if any.
1210
- # Corresponds to the JSON property `detectedAdvertiserIds`
1211
- # @return [Array<Fixnum>]
1212
- attr_accessor :detected_advertiser_ids
1337
+ def initialize(**args)
1338
+ update!(**args)
1339
+ end
1213
1340
 
1214
- # @OutputOnly
1215
- # The detected domains for this creative.
1216
- # Corresponds to the JSON property `detectedDomains`
1217
- # @return [Array<String>]
1218
- attr_accessor :detected_domains
1341
+ # Update properties of this object
1342
+ def update!(**args)
1343
+ @clients = args[:clients] if args.key?(:clients)
1344
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1345
+ end
1346
+ end
1219
1347
 
1220
- # @OutputOnly Filtering reasons for this creative during a period of a single
1221
- # day (from midnight to midnight Pacific).
1222
- # Corresponds to the JSON property `filteringStats`
1223
- # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
1224
- attr_accessor :filtering_stats
1348
+ # Response message for listing all creatives associated with a given filtered
1349
+ # bid reason.
1350
+ class ListCreativeStatusBreakdownByCreativeResponse
1351
+ include Google::Apis::Core::Hashable
1225
1352
 
1226
- # All attributes for the ads that may be shown from this creative.
1227
- # Can be used to filter the response of the
1228
- # creatives.list
1229
- # method.
1230
- # Corresponds to the JSON property `attributes`
1231
- # @return [Array<String>]
1232
- attr_accessor :attributes
1353
+ # List of rows, with counts of bids with a given creative status aggregated
1354
+ # by creative.
1355
+ # Corresponds to the JSON property `filteredBidCreativeRows`
1356
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilteredBidCreativeRow>]
1357
+ attr_accessor :filtered_bid_creative_rows
1233
1358
 
1234
- # @OutputOnly The last update timestamp of the creative via API.
1235
- # Corresponds to the JSON property `apiUpdateTime`
1359
+ # A token to retrieve the next page of results.
1360
+ # Pass this value in the
1361
+ # ListCreativeStatusBreakdownByCreativeRequest.pageToken
1362
+ # field in the subsequent call to the
1363
+ # accounts.filterSets.filteredBids.creatives.list
1364
+ # method to retrieve the next page of results.
1365
+ # Corresponds to the JSON property `nextPageToken`
1236
1366
  # @return [String]
1237
- attr_accessor :api_update_time
1238
-
1239
- # @OutputOnly
1240
- # The detected languages for this creative. The order is arbitrary. The codes
1241
- # are 2 or 5 characters and are documented at
1242
- # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1243
- # Corresponds to the JSON property `detectedLanguages`
1244
- # @return [Array<String>]
1245
- attr_accessor :detected_languages
1367
+ attr_accessor :next_page_token
1246
1368
 
1247
1369
  def initialize(**args)
1248
1370
  update!(**args)
@@ -1250,54 +1372,36 @@ module Google
1250
1372
 
1251
1373
  # Update properties of this object
1252
1374
  def update!(**args)
1253
- @creative_id = args[:creative_id] if args.key?(:creative_id)
1254
- @account_id = args[:account_id] if args.key?(:account_id)
1255
- @native = args[:native] if args.key?(:native)
1256
- @video = args[:video] if args.key?(:video)
1257
- @serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions)
1258
- @agency_id = args[:agency_id] if args.key?(:agency_id)
1259
- @click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls)
1260
- @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url)
1261
- @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories)
1262
- @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories)
1263
- @corrections = args[:corrections] if args.key?(:corrections)
1264
- @version = args[:version] if args.key?(:version)
1265
- @vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids)
1266
- @impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls)
1267
- @html = args[:html] if args.key?(:html)
1268
- @deals_status = args[:deals_status] if args.key?(:deals_status)
1269
- @detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories)
1270
- @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
1271
- @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
1272
- @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids)
1273
- @detected_domains = args[:detected_domains] if args.key?(:detected_domains)
1274
- @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
1275
- @attributes = args[:attributes] if args.key?(:attributes)
1276
- @api_update_time = args[:api_update_time] if args.key?(:api_update_time)
1277
- @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
1375
+ @filtered_bid_creative_rows = args[:filtered_bid_creative_rows] if args.key?(:filtered_bid_creative_rows)
1376
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1278
1377
  end
1279
1378
  end
1280
1379
 
1281
- # @OutputOnly Filtering reasons for this creative during a period of a single
1282
- # day (from midnight to midnight Pacific).
1283
- class FilteringStats
1380
+ # Response message for listing all details associated with a given filtered bid
1381
+ # reason.
1382
+ class ListCreativeStatusBreakdownByDetailResponse
1284
1383
  include Google::Apis::Core::Hashable
1285
1384
 
1286
- # Represents a whole calendar date, e.g. date of birth. The time of day and
1287
- # time zone are either specified elsewhere or are not significant. The date
1288
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
1289
- # represent a year and month where the day is not significant, e.g. credit card
1290
- # expiration date. The year may be 0 to represent a month and day independent
1291
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
1292
- # and `google.protobuf.Timestamp`.
1293
- # Corresponds to the JSON property `date`
1294
- # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
1295
- attr_accessor :date
1385
+ # The type of detail that the detail IDs represent.
1386
+ # Corresponds to the JSON property `detailType`
1387
+ # @return [String]
1388
+ attr_accessor :detail_type
1296
1389
 
1297
- # The set of filtering reasons for this date.
1298
- # Corresponds to the JSON property `reasons`
1299
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
1300
- attr_accessor :reasons
1390
+ # List of rows, with counts of bids with a given creative status aggregated
1391
+ # by detail.
1392
+ # Corresponds to the JSON property `filteredBidDetailRows`
1393
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow>]
1394
+ attr_accessor :filtered_bid_detail_rows
1395
+
1396
+ # A token to retrieve the next page of results.
1397
+ # Pass this value in the
1398
+ # ListCreativeStatusBreakdownByDetailRequest.pageToken
1399
+ # field in the subsequent call to the
1400
+ # accounts.filterSets.filteredBids.details.list
1401
+ # method to retrieve the next page of results.
1402
+ # Corresponds to the JSON property `nextPageToken`
1403
+ # @return [String]
1404
+ attr_accessor :next_page_token
1301
1405
 
1302
1406
  def initialize(**args)
1303
1407
  update!(**args)
@@ -1305,19 +1409,29 @@ module Google
1305
1409
 
1306
1410
  # Update properties of this object
1307
1411
  def update!(**args)
1308
- @date = args[:date] if args.key?(:date)
1309
- @reasons = args[:reasons] if args.key?(:reasons)
1412
+ @detail_type = args[:detail_type] if args.key?(:detail_type)
1413
+ @filtered_bid_detail_rows = args[:filtered_bid_detail_rows] if args.key?(:filtered_bid_detail_rows)
1414
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1310
1415
  end
1311
1416
  end
1312
1417
 
1313
- # A request for removing the association between a deal and a creative.
1314
- class RemoveDealAssociationRequest
1418
+ # A response for listing creatives.
1419
+ class ListCreativesResponse
1315
1420
  include Google::Apis::Core::Hashable
1316
1421
 
1317
- # The association between a creative and a deal.
1318
- # Corresponds to the JSON property `association`
1319
- # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation]
1320
- attr_accessor :association
1422
+ # The list of creatives.
1423
+ # Corresponds to the JSON property `creatives`
1424
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Creative>]
1425
+ attr_accessor :creatives
1426
+
1427
+ # A token to retrieve the next page of results.
1428
+ # Pass this value in the
1429
+ # ListCreativesRequest.page_token
1430
+ # field in the subsequent call to `ListCreatives` method to retrieve the next
1431
+ # page of results.
1432
+ # Corresponds to the JSON property `nextPageToken`
1433
+ # @return [String]
1434
+ attr_accessor :next_page_token
1321
1435
 
1322
1436
  def initialize(**args)
1323
1437
  update!(**args)
@@ -1325,114 +1439,58 @@ module Google
1325
1439
 
1326
1440
  # Update properties of this object
1327
1441
  def update!(**args)
1328
- @association = args[:association] if args.key?(:association)
1442
+ @creatives = args[:creatives] if args.key?(:creatives)
1443
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1329
1444
  end
1330
1445
  end
1331
1446
 
1332
- # Response message for listing all creatives associated with a given filtered
1333
- # bid reason.
1334
- class ListCreativeStatusBreakdownByCreativeResponse
1447
+ # A response for listing creative and deal associations
1448
+ class ListDealAssociationsResponse
1335
1449
  include Google::Apis::Core::Hashable
1336
1450
 
1451
+ # The list of associations.
1452
+ # Corresponds to the JSON property `associations`
1453
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation>]
1454
+ attr_accessor :associations
1455
+
1337
1456
  # A token to retrieve the next page of results.
1338
1457
  # Pass this value in the
1339
- # ListCreativeStatusBreakdownByCreativeRequest.pageToken
1340
- # field in the subsequent call to the
1341
- # accounts.filterSets.filteredBids.creatives.list
1342
- # method to retrieve the next page of results.
1458
+ # ListDealAssociationsRequest.page_token
1459
+ # field in the subsequent call to 'ListDealAssociation' method to retrieve
1460
+ # the next page of results.
1343
1461
  # Corresponds to the JSON property `nextPageToken`
1344
1462
  # @return [String]
1345
1463
  attr_accessor :next_page_token
1346
1464
 
1347
- # List of rows, with counts of bids with a given creative status aggregated
1348
- # by creative.
1349
- # Corresponds to the JSON property `filteredBidCreativeRows`
1350
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilteredBidCreativeRow>]
1351
- attr_accessor :filtered_bid_creative_rows
1352
-
1353
1465
  def initialize(**args)
1354
1466
  update!(**args)
1355
1467
  end
1356
1468
 
1357
1469
  # Update properties of this object
1358
1470
  def update!(**args)
1471
+ @associations = args[:associations] if args.key?(:associations)
1359
1472
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1360
- @filtered_bid_creative_rows = args[:filtered_bid_creative_rows] if args.key?(:filtered_bid_creative_rows)
1361
1473
  end
1362
1474
  end
1363
1475
 
1364
- # A client resource represents a client buyer&mdash;an agency,
1365
- # a brand, or an advertiser customer of the sponsor buyer.
1366
- # Users associated with the client buyer have restricted access to
1367
- # the Ad Exchange Marketplace and certain other sections
1368
- # of the Ad Exchange Buyer UI based on the role
1369
- # granted to the client buyer.
1370
- # All fields are required unless otherwise specified.
1371
- class Client
1476
+ # Response message for listing filter sets.
1477
+ class ListFilterSetsResponse
1372
1478
  include Google::Apis::Core::Hashable
1373
1479
 
1374
- # Whether the client buyer will be visible to sellers.
1375
- # Corresponds to the JSON property `visibleToSeller`
1376
- # @return [Boolean]
1377
- attr_accessor :visible_to_seller
1378
- alias_method :visible_to_seller?, :visible_to_seller
1379
-
1380
- # Numerical identifier of the client entity.
1381
- # The entity can be an advertiser, a brand, or an agency.
1382
- # This identifier is unique among all the entities with the same type.
1383
- # A list of all known advertisers with their identifiers is available in the
1384
- # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/
1385
- # advertisers.txt)
1386
- # file.
1387
- # A list of all known brands with their identifiers is available in the
1388
- # [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)
1389
- # file.
1390
- # A list of all known agencies with their identifiers is available in the
1391
- # [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.
1392
- # txt)
1393
- # file.
1394
- # Corresponds to the JSON property `entityId`
1395
- # @return [Fixnum]
1396
- attr_accessor :entity_id
1397
-
1398
- # The globally-unique numerical ID of the client.
1399
- # The value of this field is ignored in create and update operations.
1400
- # Corresponds to the JSON property `clientAccountId`
1401
- # @return [Fixnum]
1402
- attr_accessor :client_account_id
1403
-
1404
- # The name of the entity. This field is automatically fetched based on
1405
- # the type and ID.
1406
- # The value of this field is ignored in create and update operations.
1407
- # Corresponds to the JSON property `entityName`
1408
- # @return [String]
1409
- attr_accessor :entity_name
1410
-
1411
- # The status of the client buyer.
1412
- # Corresponds to the JSON property `status`
1413
- # @return [String]
1414
- attr_accessor :status
1415
-
1416
- # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
1417
- # Corresponds to the JSON property `entityType`
1418
- # @return [String]
1419
- attr_accessor :entity_type
1420
-
1421
- # Name used to represent this client to publishers.
1422
- # You may have multiple clients that map to the same entity,
1423
- # but for each client the combination of `clientName` and entity
1424
- # must be unique.
1425
- # You can specify this field as empty.
1426
- # Corresponds to the JSON property `clientName`
1427
- # @return [String]
1428
- attr_accessor :client_name
1480
+ # The filter sets belonging to the buyer.
1481
+ # Corresponds to the JSON property `filterSets`
1482
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilterSet>]
1483
+ attr_accessor :filter_sets
1429
1484
 
1430
- # The role which is assigned to the client buyer. Each role implies a set of
1431
- # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
1432
- # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
1433
- # Corresponds to the JSON property `role`
1485
+ # A token to retrieve the next page of results.
1486
+ # Pass this value in the
1487
+ # ListFilterSetsRequest.pageToken
1488
+ # field in the subsequent call to the
1489
+ # accounts.filterSets.list
1490
+ # method to retrieve the next page of results.
1491
+ # Corresponds to the JSON property `nextPageToken`
1434
1492
  # @return [String]
1435
- attr_accessor :role
1493
+ attr_accessor :next_page_token
1436
1494
 
1437
1495
  def initialize(**args)
1438
1496
  update!(**args)
@@ -1440,35 +1498,31 @@ module Google
1440
1498
 
1441
1499
  # Update properties of this object
1442
1500
  def update!(**args)
1443
- @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
1444
- @entity_id = args[:entity_id] if args.key?(:entity_id)
1445
- @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
1446
- @entity_name = args[:entity_name] if args.key?(:entity_name)
1447
- @status = args[:status] if args.key?(:status)
1448
- @entity_type = args[:entity_type] if args.key?(:entity_type)
1449
- @client_name = args[:client_name] if args.key?(:client_name)
1450
- @role = args[:role] if args.key?(:role)
1501
+ @filter_sets = args[:filter_sets] if args.key?(:filter_sets)
1502
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1451
1503
  end
1452
1504
  end
1453
1505
 
1454
- # @OutputOnly Shows any corrections that were applied to this creative.
1455
- class Correction
1506
+ # Response message for listing all reasons that bid requests were filtered and
1507
+ # not sent to the buyer.
1508
+ class ListFilteredBidRequestsResponse
1456
1509
  include Google::Apis::Core::Hashable
1457
1510
 
1458
- # The type of correction that was applied to the creative.
1459
- # Corresponds to the JSON property `type`
1460
- # @return [String]
1461
- attr_accessor :type
1462
-
1463
- # The contexts for the correction.
1464
- # Corresponds to the JSON property `contexts`
1465
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
1466
- attr_accessor :contexts
1511
+ # List of rows, with counts of filtered bid requests aggregated by callout
1512
+ # status.
1513
+ # Corresponds to the JSON property `calloutStatusRows`
1514
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow>]
1515
+ attr_accessor :callout_status_rows
1467
1516
 
1468
- # Additional details about what was corrected.
1469
- # Corresponds to the JSON property `details`
1470
- # @return [Array<String>]
1471
- attr_accessor :details
1517
+ # A token to retrieve the next page of results.
1518
+ # Pass this value in the
1519
+ # ListFilteredBidRequestsRequest.pageToken
1520
+ # field in the subsequent call to the
1521
+ # accounts.filterSets.filteredBidRequests.list
1522
+ # method to retrieve the next page of results.
1523
+ # Corresponds to the JSON property `nextPageToken`
1524
+ # @return [String]
1525
+ attr_accessor :next_page_token
1472
1526
 
1473
1527
  def initialize(**args)
1474
1528
  update!(**args)
@@ -1476,108 +1530,62 @@ module Google
1476
1530
 
1477
1531
  # Update properties of this object
1478
1532
  def update!(**args)
1479
- @type = args[:type] if args.key?(:type)
1480
- @contexts = args[:contexts] if args.key?(:contexts)
1481
- @details = args[:details] if args.key?(:details)
1533
+ @callout_status_rows = args[:callout_status_rows] if args.key?(:callout_status_rows)
1534
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1482
1535
  end
1483
1536
  end
1484
1537
 
1485
- # A set of filters that is applied to a request for data.
1486
- # Within a filter set, an AND operation is performed across the filters
1487
- # represented by each field. An OR operation is performed across the filters
1488
- # represented by the multiple values of a repeated field. E.g.
1489
- # "format=VIDEO AND deal_id=12 AND (seller_network_id=34 OR
1490
- # seller_network_id=56)"
1491
- class FilterSet
1538
+ # Response message for listing all reasons that bids were filtered from the
1539
+ # auction.
1540
+ class ListFilteredBidsResponse
1492
1541
  include Google::Apis::Core::Hashable
1493
1542
 
1494
- # The list of IDs of the seller (publisher) networks on which to filter;
1495
- # may be empty. The filters represented by multiple seller network IDs are
1496
- # ORed together (i.e. if non-empty, results must match any one of the
1497
- # publisher networks).
1498
- # See [seller-network-ids](https://developers.google.com/ad-exchange/rtb/
1499
- # downloads/seller-network-ids)
1500
- # file for the set of existing seller network IDs.
1501
- # Corresponds to the JSON property `sellerNetworkIds`
1502
- # @return [Array<Fixnum>]
1503
- attr_accessor :seller_network_ids
1504
-
1505
- # The account ID of the buyer who owns this filter set.
1506
- # The value of this field is ignored in create operations.
1507
- # Corresponds to the JSON property `ownerAccountId`
1508
- # @return [Fixnum]
1509
- attr_accessor :owner_account_id
1510
-
1511
- # An absolute date range, specified by its start date and end date.
1512
- # The supported range of dates begins 30 days before today and ends today.
1513
- # Validity checked upon filter set creation. If a filter set with an absolute
1514
- # date range is run at a later date more than 30 days after start_date, it will
1515
- # fail.
1516
- # Corresponds to the JSON property `absoluteDateRange`
1517
- # @return [Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange]
1518
- attr_accessor :absolute_date_range
1519
-
1520
- # The ID of the buyer account on which to filter; optional.
1521
- # Corresponds to the JSON property `buyerAccountId`
1522
- # @return [Fixnum]
1523
- attr_accessor :buyer_account_id
1524
-
1525
- # The environment on which to filter; optional.
1526
- # Corresponds to the JSON property `environment`
1527
- # @return [String]
1528
- attr_accessor :environment
1529
-
1530
- # The ID of the deal on which to filter; optional.
1531
- # Corresponds to the JSON property `dealId`
1532
- # @return [Fixnum]
1533
- attr_accessor :deal_id
1534
-
1535
- # The format on which to filter; optional.
1536
- # Corresponds to the JSON property `format`
1537
- # @return [String]
1538
- attr_accessor :format
1543
+ # List of rows, with counts of filtered bids aggregated by filtering reason
1544
+ # (i.e. creative status).
1545
+ # Corresponds to the JSON property `creativeStatusRows`
1546
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow>]
1547
+ attr_accessor :creative_status_rows
1539
1548
 
1540
- # The granularity of time intervals if a time series breakdown is desired;
1541
- # optional.
1542
- # Corresponds to the JSON property `timeSeriesGranularity`
1549
+ # A token to retrieve the next page of results.
1550
+ # Pass this value in the
1551
+ # ListFilteredBidsRequest.pageToken
1552
+ # field in the subsequent call to the
1553
+ # accounts.filterSets.filteredBids.list
1554
+ # method to retrieve the next page of results.
1555
+ # Corresponds to the JSON property `nextPageToken`
1543
1556
  # @return [String]
1544
- attr_accessor :time_series_granularity
1557
+ attr_accessor :next_page_token
1545
1558
 
1546
- # The ID of the filter set; unique within the account of the filter set
1547
- # owner.
1548
- # The value of this field is ignored in create operations.
1549
- # Corresponds to the JSON property `filterSetId`
1550
- # @return [Fixnum]
1551
- attr_accessor :filter_set_id
1559
+ def initialize(**args)
1560
+ update!(**args)
1561
+ end
1552
1562
 
1553
- # An open-ended realtime time range specified by the start timestamp.
1554
- # For filter sets that specify a realtime time range RTB metrics continue to
1555
- # be aggregated throughout the lifetime of the filter set.
1556
- # Corresponds to the JSON property `realtimeTimeRange`
1557
- # @return [Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange]
1558
- attr_accessor :realtime_time_range
1563
+ # Update properties of this object
1564
+ def update!(**args)
1565
+ @creative_status_rows = args[:creative_status_rows] if args.key?(:creative_status_rows)
1566
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1567
+ end
1568
+ end
1559
1569
 
1560
- # The ID of the creative on which to filter; optional.
1561
- # Corresponds to the JSON property `creativeId`
1562
- # @return [String]
1563
- attr_accessor :creative_id
1570
+ # Response message for listing the metrics that are measured in number of
1571
+ # impressions.
1572
+ class ListImpressionMetricsResponse
1573
+ include Google::Apis::Core::Hashable
1564
1574
 
1565
- # The list of platforms on which to filter; may be empty. The filters
1566
- # represented by multiple platforms are ORed together (i.e. if non-empty,
1567
- # results must match any one of the platforms).
1568
- # Corresponds to the JSON property `platforms`
1569
- # @return [Array<String>]
1570
- attr_accessor :platforms
1575
+ # List of rows, each containing a set of impression metrics.
1576
+ # Corresponds to the JSON property `impressionMetricsRows`
1577
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ImpressionMetricsRow>]
1578
+ attr_accessor :impression_metrics_rows
1571
1579
 
1572
- # A relative date range, specified by an offset and a duration.
1573
- # The supported range of dates begins 30 days before today and ends today.
1574
- # I.e. the limits for these values are:
1575
- # offset_days >= 0
1576
- # duration_days >= 1
1577
- # offset_days + duration_days <= 30
1578
- # Corresponds to the JSON property `relativeDateRange`
1579
- # @return [Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange]
1580
- attr_accessor :relative_date_range
1580
+ # A token to retrieve the next page of results.
1581
+ # Pass this value in the
1582
+ # ListImpressionMetricsRequest.pageToken
1583
+ # field in the subsequent call to the
1584
+ # accounts.filterSets.impressionMetrics.list
1585
+ # method to retrieve the next page of results.
1586
+ # Corresponds to the JSON property `nextPageToken`
1587
+ # @return [String]
1588
+ attr_accessor :next_page_token
1581
1589
 
1582
1590
  def initialize(**args)
1583
1591
  update!(**args)
@@ -1585,75 +1593,61 @@ module Google
1585
1593
 
1586
1594
  # Update properties of this object
1587
1595
  def update!(**args)
1588
- @seller_network_ids = args[:seller_network_ids] if args.key?(:seller_network_ids)
1589
- @owner_account_id = args[:owner_account_id] if args.key?(:owner_account_id)
1590
- @absolute_date_range = args[:absolute_date_range] if args.key?(:absolute_date_range)
1591
- @buyer_account_id = args[:buyer_account_id] if args.key?(:buyer_account_id)
1592
- @environment = args[:environment] if args.key?(:environment)
1593
- @deal_id = args[:deal_id] if args.key?(:deal_id)
1594
- @format = args[:format] if args.key?(:format)
1595
- @time_series_granularity = args[:time_series_granularity] if args.key?(:time_series_granularity)
1596
- @filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id)
1597
- @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range)
1598
- @creative_id = args[:creative_id] if args.key?(:creative_id)
1599
- @platforms = args[:platforms] if args.key?(:platforms)
1600
- @relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range)
1596
+ @impression_metrics_rows = args[:impression_metrics_rows] if args.key?(:impression_metrics_rows)
1597
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1601
1598
  end
1602
1599
  end
1603
1600
 
1604
- # A response for listing creative and deal associations
1605
- class ListDealAssociationsResponse
1601
+ # Response message for listing all reasons that bids lost in the auction.
1602
+ class ListLosingBidsResponse
1606
1603
  include Google::Apis::Core::Hashable
1607
1604
 
1605
+ # List of rows, with counts of losing bids aggregated by loss reason (i.e.
1606
+ # creative status).
1607
+ # Corresponds to the JSON property `creativeStatusRows`
1608
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow>]
1609
+ attr_accessor :creative_status_rows
1610
+
1608
1611
  # A token to retrieve the next page of results.
1609
1612
  # Pass this value in the
1610
- # ListDealAssociationsRequest.page_token
1611
- # field in the subsequent call to 'ListDealAssociation' method to retrieve
1612
- # the next page of results.
1613
+ # ListLosingBidsRequest.pageToken
1614
+ # field in the subsequent call to the
1615
+ # accounts.filterSets.losingBids.list
1616
+ # method to retrieve the next page of results.
1613
1617
  # Corresponds to the JSON property `nextPageToken`
1614
1618
  # @return [String]
1615
1619
  attr_accessor :next_page_token
1616
1620
 
1617
- # The list of associations.
1618
- # Corresponds to the JSON property `associations`
1619
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation>]
1620
- attr_accessor :associations
1621
-
1622
1621
  def initialize(**args)
1623
1622
  update!(**args)
1624
1623
  end
1625
1624
 
1626
1625
  # Update properties of this object
1627
1626
  def update!(**args)
1627
+ @creative_status_rows = args[:creative_status_rows] if args.key?(:creative_status_rows)
1628
1628
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1629
- @associations = args[:associations] if args.key?(:associations)
1630
1629
  end
1631
1630
  end
1632
1631
 
1633
- # The number of impressions with the specified dimension values where the
1634
- # corresponding bid request or bid response was not successful, as described by
1635
- # the specified callout status.
1636
- class CalloutStatusRow
1632
+ # Response message for listing all reasons for which a buyer was not billed for
1633
+ # a winning bid.
1634
+ class ListNonBillableWinningBidsResponse
1637
1635
  include Google::Apis::Core::Hashable
1638
1636
 
1639
- # A metric value, with an expected value and a variance; represents a count
1640
- # that may be either exact or estimated (i.e. when sampled).
1641
- # Corresponds to the JSON property `impressionCount`
1642
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1643
- attr_accessor :impression_count
1644
-
1645
- # A response may include multiple rows, breaking down along various dimensions.
1646
- # Encapsulates the values of all dimensions for a given row.
1647
- # Corresponds to the JSON property `rowDimensions`
1648
- # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
1649
- attr_accessor :row_dimensions
1637
+ # A token to retrieve the next page of results.
1638
+ # Pass this value in the
1639
+ # ListNonBillableWinningBidsRequest.pageToken
1640
+ # field in the subsequent call to the
1641
+ # accounts.filterSets.nonBillableWinningBids.list
1642
+ # method to retrieve the next page of results.
1643
+ # Corresponds to the JSON property `nextPageToken`
1644
+ # @return [String]
1645
+ attr_accessor :next_page_token
1650
1646
 
1651
- # The ID of the callout status.
1652
- # See [callout-status-codes](https://developers.google.com/ad-exchange/rtb/
1653
- # downloads/callout-status-codes).
1654
- # Corresponds to the JSON property `calloutStatusId`
1655
- # @return [Fixnum]
1656
- attr_accessor :callout_status_id
1647
+ # List of rows, with counts of bids not billed aggregated by reason.
1648
+ # Corresponds to the JSON property `nonBillableWinningBidStatusRows`
1649
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::NonBillableWinningBidStatusRow>]
1650
+ attr_accessor :non_billable_winning_bid_status_rows
1657
1651
 
1658
1652
  def initialize(**args)
1659
1653
  update!(**args)
@@ -1661,25 +1655,23 @@ module Google
1661
1655
 
1662
1656
  # Update properties of this object
1663
1657
  def update!(**args)
1664
- @impression_count = args[:impression_count] if args.key?(:impression_count)
1665
- @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
1666
- @callout_status_id = args[:callout_status_id] if args.key?(:callout_status_id)
1658
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1659
+ @non_billable_winning_bid_status_rows = args[:non_billable_winning_bid_status_rows] if args.key?(:non_billable_winning_bid_status_rows)
1667
1660
  end
1668
1661
  end
1669
1662
 
1670
- # @OutputOnly The reason and details for a disapproval.
1671
- class Disapproval
1663
+ # @OutputOnly The Geo criteria the restriction applies to.
1664
+ class LocationContext
1672
1665
  include Google::Apis::Core::Hashable
1673
1666
 
1674
- # Additional details about the reason for disapproval.
1675
- # Corresponds to the JSON property `details`
1676
- # @return [Array<String>]
1677
- attr_accessor :details
1678
-
1679
- # The categorized reason for disapproval.
1680
- # Corresponds to the JSON property `reason`
1681
- # @return [String]
1682
- attr_accessor :reason
1667
+ # IDs representing the geo location for this context.
1668
+ # Please refer to the
1669
+ # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.
1670
+ # csv)
1671
+ # file for different geo criteria IDs.
1672
+ # Corresponds to the JSON property `geoCriteriaIds`
1673
+ # @return [Array<Fixnum>]
1674
+ attr_accessor :geo_criteria_ids
1683
1675
 
1684
1676
  def initialize(**args)
1685
1677
  update!(**args)
@@ -1687,50 +1679,113 @@ module Google
1687
1679
 
1688
1680
  # Update properties of this object
1689
1681
  def update!(**args)
1690
- @details = args[:details] if args.key?(:details)
1691
- @reason = args[:reason] if args.key?(:reason)
1682
+ @geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids)
1692
1683
  end
1693
1684
  end
1694
1685
 
1695
- # A request for stopping notifications for changes to creative Status.
1696
- class StopWatchingCreativeRequest
1686
+ # A metric value, with an expected value and a variance; represents a count
1687
+ # that may be either exact or estimated (i.e. when sampled).
1688
+ class MetricValue
1697
1689
  include Google::Apis::Core::Hashable
1698
1690
 
1691
+ # The expected value of the metric.
1692
+ # Corresponds to the JSON property `value`
1693
+ # @return [Fixnum]
1694
+ attr_accessor :value
1695
+
1696
+ # The variance (i.e. square of the standard deviation) of the metric value.
1697
+ # If value is exact, variance is 0.
1698
+ # Can be used to calculate margin of error as a percentage of value, using
1699
+ # the following formula, where Z is the standard constant that depends on the
1700
+ # desired size of the confidence interval (e.g. for 90% confidence interval,
1701
+ # use Z = 1.645):
1702
+ # marginOfError = 100 * Z * sqrt(variance) / value
1703
+ # Corresponds to the JSON property `variance`
1704
+ # @return [Fixnum]
1705
+ attr_accessor :variance
1706
+
1699
1707
  def initialize(**args)
1700
1708
  update!(**args)
1701
1709
  end
1702
1710
 
1703
1711
  # Update properties of this object
1704
1712
  def update!(**args)
1713
+ @value = args[:value] if args.key?(:value)
1714
+ @variance = args[:variance] if args.key?(:variance)
1705
1715
  end
1706
1716
  end
1707
1717
 
1708
- # @OutputOnly A representation of the status of an ad in a
1709
- # specific context. A context here relates to where something ultimately serves
1710
- # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1711
- # or the type of auction).
1712
- class ServingRestriction
1718
+ # Native content for a creative.
1719
+ class NativeContent
1713
1720
  include Google::Apis::Core::Hashable
1714
1721
 
1715
- # Any disapprovals bound to this restriction.
1716
- # Only present if status=DISAPPROVED.
1717
- # Can be used to filter the response of the
1718
- # creatives.list
1719
- # method.
1720
- # Corresponds to the JSON property `disapprovalReasons`
1721
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Disapproval>]
1722
- attr_accessor :disapproval_reasons
1722
+ # The name of the advertiser or sponsor, to be displayed in the ad creative.
1723
+ # Corresponds to the JSON property `advertiserName`
1724
+ # @return [String]
1725
+ attr_accessor :advertiser_name
1726
+
1727
+ # An image resource. You may provide a larger image than was requested,
1728
+ # so long as the aspect ratio is preserved.
1729
+ # Corresponds to the JSON property `appIcon`
1730
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
1731
+ attr_accessor :app_icon
1732
+
1733
+ # A long description of the ad.
1734
+ # Corresponds to the JSON property `body`
1735
+ # @return [String]
1736
+ attr_accessor :body
1737
+
1738
+ # A label for the button that the user is supposed to click.
1739
+ # Corresponds to the JSON property `callToAction`
1740
+ # @return [String]
1741
+ attr_accessor :call_to_action
1742
+
1743
+ # The URL that the browser/SDK will load when the user clicks the ad.
1744
+ # Corresponds to the JSON property `clickLinkUrl`
1745
+ # @return [String]
1746
+ attr_accessor :click_link_url
1747
+
1748
+ # The URL to use for click tracking.
1749
+ # Corresponds to the JSON property `clickTrackingUrl`
1750
+ # @return [String]
1751
+ attr_accessor :click_tracking_url
1752
+
1753
+ # A short title for the ad.
1754
+ # Corresponds to the JSON property `headline`
1755
+ # @return [String]
1756
+ attr_accessor :headline
1757
+
1758
+ # An image resource. You may provide a larger image than was requested,
1759
+ # so long as the aspect ratio is preserved.
1760
+ # Corresponds to the JSON property `image`
1761
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
1762
+ attr_accessor :image
1763
+
1764
+ # An image resource. You may provide a larger image than was requested,
1765
+ # so long as the aspect ratio is preserved.
1766
+ # Corresponds to the JSON property `logo`
1767
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
1768
+ attr_accessor :logo
1723
1769
 
1724
- # The contexts for the restriction.
1725
- # Corresponds to the JSON property `contexts`
1726
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
1727
- attr_accessor :contexts
1770
+ # The price of the promoted app including currency info.
1771
+ # Corresponds to the JSON property `priceDisplayText`
1772
+ # @return [String]
1773
+ attr_accessor :price_display_text
1728
1774
 
1729
- # The status of the creative in this context (for example, it has been
1730
- # explicitly disapproved or is pending review).
1731
- # Corresponds to the JSON property `status`
1775
+ # The app rating in the app store. Must be in the range [0-5].
1776
+ # Corresponds to the JSON property `starRating`
1777
+ # @return [Float]
1778
+ attr_accessor :star_rating
1779
+
1780
+ # The URL to the app store to purchase/download the promoted app.
1781
+ # Corresponds to the JSON property `storeUrl`
1732
1782
  # @return [String]
1733
- attr_accessor :status
1783
+ attr_accessor :store_url
1784
+
1785
+ # The URL to fetch a native video ad.
1786
+ # Corresponds to the JSON property `videoUrl`
1787
+ # @return [String]
1788
+ attr_accessor :video_url
1734
1789
 
1735
1790
  def initialize(**args)
1736
1791
  update!(**args)
@@ -1738,38 +1793,43 @@ module Google
1738
1793
 
1739
1794
  # Update properties of this object
1740
1795
  def update!(**args)
1741
- @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
1742
- @contexts = args[:contexts] if args.key?(:contexts)
1743
- @status = args[:status] if args.key?(:status)
1796
+ @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
1797
+ @app_icon = args[:app_icon] if args.key?(:app_icon)
1798
+ @body = args[:body] if args.key?(:body)
1799
+ @call_to_action = args[:call_to_action] if args.key?(:call_to_action)
1800
+ @click_link_url = args[:click_link_url] if args.key?(:click_link_url)
1801
+ @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
1802
+ @headline = args[:headline] if args.key?(:headline)
1803
+ @image = args[:image] if args.key?(:image)
1804
+ @logo = args[:logo] if args.key?(:logo)
1805
+ @price_display_text = args[:price_display_text] if args.key?(:price_display_text)
1806
+ @star_rating = args[:star_rating] if args.key?(:star_rating)
1807
+ @store_url = args[:store_url] if args.key?(:store_url)
1808
+ @video_url = args[:video_url] if args.key?(:video_url)
1744
1809
  end
1745
1810
  end
1746
1811
 
1747
- # Represents a whole calendar date, e.g. date of birth. The time of day and
1748
- # time zone are either specified elsewhere or are not significant. The date
1749
- # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
1750
- # represent a year and month where the day is not significant, e.g. credit card
1751
- # expiration date. The year may be 0 to represent a month and day independent
1752
- # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
1753
- # and `google.protobuf.Timestamp`.
1754
- class Date
1812
+ # The number of winning bids with the specified dimension values for which the
1813
+ # buyer was not billed, as described by the specified status.
1814
+ class NonBillableWinningBidStatusRow
1755
1815
  include Google::Apis::Core::Hashable
1756
1816
 
1757
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
1758
- # if specifying a year/month where the day is not significant.
1759
- # Corresponds to the JSON property `day`
1760
- # @return [Fixnum]
1761
- attr_accessor :day
1817
+ # A metric value, with an expected value and a variance; represents a count
1818
+ # that may be either exact or estimated (i.e. when sampled).
1819
+ # Corresponds to the JSON property `bidCount`
1820
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1821
+ attr_accessor :bid_count
1762
1822
 
1763
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
1764
- # a year.
1765
- # Corresponds to the JSON property `year`
1766
- # @return [Fixnum]
1767
- attr_accessor :year
1823
+ # A response may include multiple rows, breaking down along various dimensions.
1824
+ # Encapsulates the values of all dimensions for a given row.
1825
+ # Corresponds to the JSON property `rowDimensions`
1826
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
1827
+ attr_accessor :row_dimensions
1768
1828
 
1769
- # Month of year. Must be from 1 to 12.
1770
- # Corresponds to the JSON property `month`
1771
- # @return [Fixnum]
1772
- attr_accessor :month
1829
+ # The status specifying why the winning bids were not billed.
1830
+ # Corresponds to the JSON property `status`
1831
+ # @return [String]
1832
+ attr_accessor :status
1773
1833
 
1774
1834
  def initialize(**args)
1775
1835
  update!(**args)
@@ -1777,50 +1837,20 @@ module Google
1777
1837
 
1778
1838
  # Update properties of this object
1779
1839
  def update!(**args)
1780
- @day = args[:day] if args.key?(:day)
1781
- @year = args[:year] if args.key?(:year)
1782
- @month = args[:month] if args.key?(:month)
1840
+ @bid_count = args[:bid_count] if args.key?(:bid_count)
1841
+ @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
1842
+ @status = args[:status] if args.key?(:status)
1783
1843
  end
1784
1844
  end
1785
1845
 
1786
- # A response may include multiple rows, breaking down along various dimensions.
1787
- # Encapsulates the values of all dimensions for a given row.
1788
- class RowDimensions
1846
+ # @OutputOnly The type of platform the restriction applies to.
1847
+ class PlatformContext
1789
1848
  include Google::Apis::Core::Hashable
1790
1849
 
1791
- # An interval of time, with an absolute start and end.
1792
- # This is included in the response, for several reasons:
1793
- # 1) The request may have specified start or end times relative to the time the
1794
- # request was sent; the response indicates the corresponding absolute time
1795
- # interval.
1796
- # 2) The request may have specified an end time past the latest time for which
1797
- # data was available (e.g. if requesting data for the today); the response
1798
- # indicates the latest time for which data was actually returned.
1799
- # 3) The response data for a single request may be broken down into multiple
1800
- # time intervals, if a time series was requested.
1801
- # Corresponds to the JSON property `timeInterval`
1802
- # @return [Google::Apis::Adexchangebuyer2V2beta1::TimeInterval]
1803
- attr_accessor :time_interval
1804
-
1805
- def initialize(**args)
1806
- update!(**args)
1807
- end
1808
-
1809
- # Update properties of this object
1810
- def update!(**args)
1811
- @time_interval = args[:time_interval] if args.key?(:time_interval)
1812
- end
1813
- end
1814
-
1815
- # A generic empty message that you can re-use to avoid defining duplicated
1816
- # empty messages in your APIs. A typical example is to use it as the request
1817
- # or the response type of an API method. For instance:
1818
- # service Foo `
1819
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1820
- # `
1821
- # The JSON representation for `Empty` is empty JSON object ````.
1822
- class Empty
1823
- include Google::Apis::Core::Hashable
1850
+ # The platforms this restriction applies to.
1851
+ # Corresponds to the JSON property `platforms`
1852
+ # @return [Array<String>]
1853
+ attr_accessor :platforms
1824
1854
 
1825
1855
  def initialize(**args)
1826
1856
  update!(**args)
@@ -1828,17 +1858,20 @@ module Google
1828
1858
 
1829
1859
  # Update properties of this object
1830
1860
  def update!(**args)
1861
+ @platforms = args[:platforms] if args.key?(:platforms)
1831
1862
  end
1832
1863
  end
1833
1864
 
1834
- # @OutputOnly The app type the restriction applies to for mobile device.
1835
- class AppContext
1865
+ # An open-ended realtime time range specified by the start timestamp.
1866
+ # For filter sets that specify a realtime time range RTB metrics continue to
1867
+ # be aggregated throughout the lifetime of the filter set.
1868
+ class RealtimeTimeRange
1836
1869
  include Google::Apis::Core::Hashable
1837
1870
 
1838
- # The app types this restriction applies to.
1839
- # Corresponds to the JSON property `appTypes`
1840
- # @return [Array<String>]
1841
- attr_accessor :app_types
1871
+ # The start timestamp of the real-time RTB metrics aggregation.
1872
+ # Corresponds to the JSON property `startTimestamp`
1873
+ # @return [String]
1874
+ attr_accessor :start_timestamp
1842
1875
 
1843
1876
  def initialize(**args)
1844
1877
  update!(**args)
@@ -1846,30 +1879,27 @@ module Google
1846
1879
 
1847
1880
  # Update properties of this object
1848
1881
  def update!(**args)
1849
- @app_types = args[:app_types] if args.key?(:app_types)
1882
+ @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
1850
1883
  end
1851
1884
  end
1852
1885
 
1853
- # Response message for listing all reasons that bids were filtered from the
1854
- # auction.
1855
- class ListFilteredBidsResponse
1886
+ # A specific filtering status and how many times it occurred.
1887
+ class Reason
1856
1888
  include Google::Apis::Core::Hashable
1857
1889
 
1858
- # A token to retrieve the next page of results.
1859
- # Pass this value in the
1860
- # ListFilteredBidsRequest.pageToken
1861
- # field in the subsequent call to the
1862
- # accounts.filterSets.filteredBids.list
1863
- # method to retrieve the next page of results.
1864
- # Corresponds to the JSON property `nextPageToken`
1865
- # @return [String]
1866
- attr_accessor :next_page_token
1890
+ # The number of times the creative was filtered for the status. The
1891
+ # count is aggregated across all publishers on the exchange.
1892
+ # Corresponds to the JSON property `count`
1893
+ # @return [Fixnum]
1894
+ attr_accessor :count
1867
1895
 
1868
- # List of rows, with counts of filtered bids aggregated by filtering reason
1869
- # (i.e. creative status).
1870
- # Corresponds to the JSON property `creativeStatusRows`
1871
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow>]
1872
- attr_accessor :creative_status_rows
1896
+ # The filtering status code. Please refer to the
1897
+ # [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-
1898
+ # dictionaries/creative-status-codes.txt)
1899
+ # file for different statuses.
1900
+ # Corresponds to the JSON property `status`
1901
+ # @return [Fixnum]
1902
+ attr_accessor :status
1873
1903
 
1874
1904
  def initialize(**args)
1875
1905
  update!(**args)
@@ -1877,19 +1907,31 @@ module Google
1877
1907
 
1878
1908
  # Update properties of this object
1879
1909
  def update!(**args)
1880
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1881
- @creative_status_rows = args[:creative_status_rows] if args.key?(:creative_status_rows)
1910
+ @count = args[:count] if args.key?(:count)
1911
+ @status = args[:status] if args.key?(:status)
1882
1912
  end
1883
1913
  end
1884
1914
 
1885
- # @OutputOnly A security context.
1886
- class SecurityContext
1915
+ # A relative date range, specified by an offset and a duration.
1916
+ # The supported range of dates begins 30 days before today and ends today.
1917
+ # I.e. the limits for these values are:
1918
+ # offset_days >= 0
1919
+ # duration_days >= 1
1920
+ # offset_days + duration_days <= 30
1921
+ class RelativeDateRange
1887
1922
  include Google::Apis::Core::Hashable
1888
1923
 
1889
- # The security types in this context.
1890
- # Corresponds to the JSON property `securities`
1891
- # @return [Array<String>]
1892
- attr_accessor :securities
1924
+ # The number of days in the requested date range. E.g. for a range spanning
1925
+ # today, 1. For a range spanning the last 7 days, 7.
1926
+ # Corresponds to the JSON property `durationDays`
1927
+ # @return [Fixnum]
1928
+ attr_accessor :duration_days
1929
+
1930
+ # The end date of the filter set, specified as the number of days before
1931
+ # today. E.g. for a range where the last date is today, 0.
1932
+ # Corresponds to the JSON property `offsetDays`
1933
+ # @return [Fixnum]
1934
+ attr_accessor :offset_days
1893
1935
 
1894
1936
  def initialize(**args)
1895
1937
  update!(**args)
@@ -1897,30 +1939,19 @@ module Google
1897
1939
 
1898
1940
  # Update properties of this object
1899
1941
  def update!(**args)
1900
- @securities = args[:securities] if args.key?(:securities)
1942
+ @duration_days = args[:duration_days] if args.key?(:duration_days)
1943
+ @offset_days = args[:offset_days] if args.key?(:offset_days)
1901
1944
  end
1902
1945
  end
1903
1946
 
1904
- # Response message for listing all reasons that bid requests were filtered and
1905
- # not sent to the buyer.
1906
- class ListFilteredBidRequestsResponse
1947
+ # A request for removing the association between a deal and a creative.
1948
+ class RemoveDealAssociationRequest
1907
1949
  include Google::Apis::Core::Hashable
1908
1950
 
1909
- # List of rows, with counts of filtered bid requests aggregated by callout
1910
- # status.
1911
- # Corresponds to the JSON property `calloutStatusRows`
1912
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow>]
1913
- attr_accessor :callout_status_rows
1914
-
1915
- # A token to retrieve the next page of results.
1916
- # Pass this value in the
1917
- # ListFilteredBidRequestsRequest.pageToken
1918
- # field in the subsequent call to the
1919
- # accounts.filterSets.filteredBidRequests.list
1920
- # method to retrieve the next page of results.
1921
- # Corresponds to the JSON property `nextPageToken`
1922
- # @return [String]
1923
- attr_accessor :next_page_token
1951
+ # The association between a creative and a deal.
1952
+ # Corresponds to the JSON property `association`
1953
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation]
1954
+ attr_accessor :association
1924
1955
 
1925
1956
  def initialize(**args)
1926
1957
  update!(**args)
@@ -1928,28 +1959,28 @@ module Google
1928
1959
 
1929
1960
  # Update properties of this object
1930
1961
  def update!(**args)
1931
- @callout_status_rows = args[:callout_status_rows] if args.key?(:callout_status_rows)
1932
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1962
+ @association = args[:association] if args.key?(:association)
1933
1963
  end
1934
1964
  end
1935
1965
 
1936
- # A response for listing creatives.
1937
- class ListCreativesResponse
1966
+ # A response may include multiple rows, breaking down along various dimensions.
1967
+ # Encapsulates the values of all dimensions for a given row.
1968
+ class RowDimensions
1938
1969
  include Google::Apis::Core::Hashable
1939
1970
 
1940
- # The list of creatives.
1941
- # Corresponds to the JSON property `creatives`
1942
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Creative>]
1943
- attr_accessor :creatives
1944
-
1945
- # A token to retrieve the next page of results.
1946
- # Pass this value in the
1947
- # ListCreativesRequest.page_token
1948
- # field in the subsequent call to `ListCreatives` method to retrieve the next
1949
- # page of results.
1950
- # Corresponds to the JSON property `nextPageToken`
1951
- # @return [String]
1952
- attr_accessor :next_page_token
1971
+ # An interval of time, with an absolute start and end.
1972
+ # This is included in the response, for several reasons:
1973
+ # 1) The request may have specified start or end times relative to the time the
1974
+ # request was sent; the response indicates the corresponding absolute time
1975
+ # interval.
1976
+ # 2) The request may have specified an end time past the latest time for which
1977
+ # data was available (e.g. if requesting data for the today); the response
1978
+ # indicates the latest time for which data was actually returned.
1979
+ # 3) The response data for a single request may be broken down into multiple
1980
+ # time intervals, if a time series was requested.
1981
+ # Corresponds to the JSON property `timeInterval`
1982
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::TimeInterval]
1983
+ attr_accessor :time_interval
1953
1984
 
1954
1985
  def initialize(**args)
1955
1986
  update!(**args)
@@ -1957,29 +1988,18 @@ module Google
1957
1988
 
1958
1989
  # Update properties of this object
1959
1990
  def update!(**args)
1960
- @creatives = args[:creatives] if args.key?(:creatives)
1961
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1991
+ @time_interval = args[:time_interval] if args.key?(:time_interval)
1962
1992
  end
1963
1993
  end
1964
1994
 
1965
- # HTML content for a creative.
1966
- class HtmlContent
1995
+ # @OutputOnly A security context.
1996
+ class SecurityContext
1967
1997
  include Google::Apis::Core::Hashable
1968
1998
 
1969
- # The height of the HTML snippet in pixels.
1970
- # Corresponds to the JSON property `height`
1971
- # @return [Fixnum]
1972
- attr_accessor :height
1973
-
1974
- # The width of the HTML snippet in pixels.
1975
- # Corresponds to the JSON property `width`
1976
- # @return [Fixnum]
1977
- attr_accessor :width
1978
-
1979
- # The HTML snippet that displays the ad when inserted in the web page.
1980
- # Corresponds to the JSON property `snippet`
1981
- # @return [String]
1982
- attr_accessor :snippet
1999
+ # The security types in this context.
2000
+ # Corresponds to the JSON property `securities`
2001
+ # @return [Array<String>]
2002
+ attr_accessor :securities
1983
2003
 
1984
2004
  def initialize(**args)
1985
2005
  update!(**args)
@@ -1987,30 +2007,43 @@ module Google
1987
2007
 
1988
2008
  # Update properties of this object
1989
2009
  def update!(**args)
1990
- @height = args[:height] if args.key?(:height)
1991
- @width = args[:width] if args.key?(:width)
1992
- @snippet = args[:snippet] if args.key?(:snippet)
2010
+ @securities = args[:securities] if args.key?(:securities)
1993
2011
  end
1994
2012
  end
1995
2013
 
1996
- # Response message for listing the metrics that are measured in number of bids.
1997
- class ListBidMetricsResponse
2014
+ # The serving context for this restriction.
2015
+ class ServingContext
1998
2016
  include Google::Apis::Core::Hashable
1999
2017
 
2000
- # A token to retrieve the next page of results.
2001
- # Pass this value in the
2002
- # ListBidMetricsRequest.pageToken
2003
- # field in the subsequent call to the
2004
- # accounts.filterSets.bidMetrics.list
2005
- # method to retrieve the next page of results.
2006
- # Corresponds to the JSON property `nextPageToken`
2018
+ # Matches all contexts.
2019
+ # Corresponds to the JSON property `all`
2007
2020
  # @return [String]
2008
- attr_accessor :next_page_token
2021
+ attr_accessor :all
2009
2022
 
2010
- # List of rows, each containing a set of bid metrics.
2011
- # Corresponds to the JSON property `bidMetricsRows`
2012
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow>]
2013
- attr_accessor :bid_metrics_rows
2023
+ # @OutputOnly The app type the restriction applies to for mobile device.
2024
+ # Corresponds to the JSON property `appType`
2025
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext]
2026
+ attr_accessor :app_type
2027
+
2028
+ # @OutputOnly The auction type the restriction applies to.
2029
+ # Corresponds to the JSON property `auctionType`
2030
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext]
2031
+ attr_accessor :auction_type
2032
+
2033
+ # @OutputOnly The Geo criteria the restriction applies to.
2034
+ # Corresponds to the JSON property `location`
2035
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext]
2036
+ attr_accessor :location
2037
+
2038
+ # @OutputOnly The type of platform the restriction applies to.
2039
+ # Corresponds to the JSON property `platform`
2040
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext]
2041
+ attr_accessor :platform
2042
+
2043
+ # @OutputOnly A security context.
2044
+ # Corresponds to the JSON property `securityType`
2045
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext]
2046
+ attr_accessor :security_type
2014
2047
 
2015
2048
  def initialize(**args)
2016
2049
  update!(**args)
@@ -2018,78 +2051,91 @@ module Google
2018
2051
 
2019
2052
  # Update properties of this object
2020
2053
  def update!(**args)
2021
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2022
- @bid_metrics_rows = args[:bid_metrics_rows] if args.key?(:bid_metrics_rows)
2054
+ @all = args[:all] if args.key?(:all)
2055
+ @app_type = args[:app_type] if args.key?(:app_type)
2056
+ @auction_type = args[:auction_type] if args.key?(:auction_type)
2057
+ @location = args[:location] if args.key?(:location)
2058
+ @platform = args[:platform] if args.key?(:platform)
2059
+ @security_type = args[:security_type] if args.key?(:security_type)
2023
2060
  end
2024
2061
  end
2025
2062
 
2026
- # A specific filtering status and how many times it occurred.
2027
- class Reason
2063
+ # @OutputOnly A representation of the status of an ad in a
2064
+ # specific context. A context here relates to where something ultimately serves
2065
+ # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
2066
+ # or the type of auction).
2067
+ class ServingRestriction
2028
2068
  include Google::Apis::Core::Hashable
2029
2069
 
2030
- # The filtering status code. Please refer to the
2031
- # [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-
2032
- # dictionaries/creative-status-codes.txt)
2033
- # file for different statuses.
2070
+ # The contexts for the restriction.
2071
+ # Corresponds to the JSON property `contexts`
2072
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
2073
+ attr_accessor :contexts
2074
+
2075
+ # Any disapprovals bound to this restriction.
2076
+ # Only present if status=DISAPPROVED.
2077
+ # Can be used to filter the response of the
2078
+ # creatives.list
2079
+ # method.
2080
+ # Corresponds to the JSON property `disapprovalReasons`
2081
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Disapproval>]
2082
+ attr_accessor :disapproval_reasons
2083
+
2084
+ # The status of the creative in this context (for example, it has been
2085
+ # explicitly disapproved or is pending review).
2034
2086
  # Corresponds to the JSON property `status`
2035
- # @return [Fixnum]
2087
+ # @return [String]
2036
2088
  attr_accessor :status
2037
2089
 
2038
- # The number of times the creative was filtered for the status. The
2039
- # count is aggregated across all publishers on the exchange.
2040
- # Corresponds to the JSON property `count`
2041
- # @return [Fixnum]
2042
- attr_accessor :count
2043
-
2044
2090
  def initialize(**args)
2045
2091
  update!(**args)
2046
2092
  end
2047
2093
 
2048
2094
  # Update properties of this object
2049
2095
  def update!(**args)
2096
+ @contexts = args[:contexts] if args.key?(:contexts)
2097
+ @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
2050
2098
  @status = args[:status] if args.key?(:status)
2051
- @count = args[:count] if args.key?(:count)
2052
2099
  end
2053
2100
  end
2054
2101
 
2055
- # Video content for a creative.
2056
- class VideoContent
2102
+ # A request for stopping notifications for changes to creative Status.
2103
+ class StopWatchingCreativeRequest
2057
2104
  include Google::Apis::Core::Hashable
2058
2105
 
2059
- # The URL to fetch a video ad.
2060
- # Corresponds to the JSON property `videoUrl`
2061
- # @return [String]
2062
- attr_accessor :video_url
2063
-
2064
2106
  def initialize(**args)
2065
2107
  update!(**args)
2066
2108
  end
2067
2109
 
2068
2110
  # Update properties of this object
2069
2111
  def update!(**args)
2070
- @video_url = args[:video_url] if args.key?(:video_url)
2071
2112
  end
2072
2113
  end
2073
2114
 
2074
- # Response message for listing all reasons that bids lost in the auction.
2075
- class ListLosingBidsResponse
2115
+ # An interval of time, with an absolute start and end.
2116
+ # This is included in the response, for several reasons:
2117
+ # 1) The request may have specified start or end times relative to the time the
2118
+ # request was sent; the response indicates the corresponding absolute time
2119
+ # interval.
2120
+ # 2) The request may have specified an end time past the latest time for which
2121
+ # data was available (e.g. if requesting data for the today); the response
2122
+ # indicates the latest time for which data was actually returned.
2123
+ # 3) The response data for a single request may be broken down into multiple
2124
+ # time intervals, if a time series was requested.
2125
+ class TimeInterval
2076
2126
  include Google::Apis::Core::Hashable
2077
2127
 
2078
- # List of rows, with counts of losing bids aggregated by loss reason (i.e.
2079
- # creative status).
2080
- # Corresponds to the JSON property `creativeStatusRows`
2081
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow>]
2082
- attr_accessor :creative_status_rows
2128
+ # The timestamp marking the end of the range (exclusive) for which data is
2129
+ # included.
2130
+ # Corresponds to the JSON property `endTime`
2131
+ # @return [String]
2132
+ attr_accessor :end_time
2083
2133
 
2084
- # A token to retrieve the next page of results.
2085
- # Pass this value in the
2086
- # ListLosingBidsRequest.pageToken
2087
- # field in the subsequent call to the
2088
- # accounts.filterSets.losingBids.list
2089
- # method to retrieve the next page of results.
2090
- # Corresponds to the JSON property `nextPageToken`
2134
+ # The timestamp marking the start of the range (inclusive) for which data is
2135
+ # included.
2136
+ # Corresponds to the JSON property `startTime`
2091
2137
  # @return [String]
2092
- attr_accessor :next_page_token
2138
+ attr_accessor :start_time
2093
2139
 
2094
2140
  def initialize(**args)
2095
2141
  update!(**args)
@@ -2097,30 +2143,19 @@ module Google
2097
2143
 
2098
2144
  # Update properties of this object
2099
2145
  def update!(**args)
2100
- @creative_status_rows = args[:creative_status_rows] if args.key?(:creative_status_rows)
2101
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2146
+ @end_time = args[:end_time] if args.key?(:end_time)
2147
+ @start_time = args[:start_time] if args.key?(:start_time)
2102
2148
  end
2103
2149
  end
2104
2150
 
2105
- # Response message for listing all reasons for which a buyer was not billed for
2106
- # a winning bid.
2107
- class ListNonBillableWinningBidsResponse
2151
+ # Video content for a creative.
2152
+ class VideoContent
2108
2153
  include Google::Apis::Core::Hashable
2109
2154
 
2110
- # A token to retrieve the next page of results.
2111
- # Pass this value in the
2112
- # ListNonBillableWinningBidsRequest.pageToken
2113
- # field in the subsequent call to the
2114
- # accounts.filterSets.nonBillableWinningBids.list
2115
- # method to retrieve the next page of results.
2116
- # Corresponds to the JSON property `nextPageToken`
2155
+ # The URL to fetch a video ad.
2156
+ # Corresponds to the JSON property `videoUrl`
2117
2157
  # @return [String]
2118
- attr_accessor :next_page_token
2119
-
2120
- # List of rows, with counts of bids not billed aggregated by reason.
2121
- # Corresponds to the JSON property `nonBillableWinningBidStatusRows`
2122
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::NonBillableWinningBidStatusRow>]
2123
- attr_accessor :non_billable_winning_bid_status_rows
2158
+ attr_accessor :video_url
2124
2159
 
2125
2160
  def initialize(**args)
2126
2161
  update!(**args)
@@ -2128,52 +2163,22 @@ module Google
2128
2163
 
2129
2164
  # Update properties of this object
2130
2165
  def update!(**args)
2131
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2132
- @non_billable_winning_bid_status_rows = args[:non_billable_winning_bid_status_rows] if args.key?(:non_billable_winning_bid_status_rows)
2166
+ @video_url = args[:video_url] if args.key?(:video_url)
2133
2167
  end
2134
2168
  end
2135
2169
 
2136
- # The set of metrics that are measured in numbers of impressions, representing
2137
- # how many impressions with the specified dimension values were considered
2138
- # eligible at each stage of the bidding funnel.
2139
- class ImpressionMetricsRow
2170
+ # A request for watching changes to creative Status.
2171
+ class WatchCreativeRequest
2140
2172
  include Google::Apis::Core::Hashable
2141
2173
 
2142
- # A response may include multiple rows, breaking down along various dimensions.
2143
- # Encapsulates the values of all dimensions for a given row.
2144
- # Corresponds to the JSON property `rowDimensions`
2145
- # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
2146
- attr_accessor :row_dimensions
2147
-
2148
- # A metric value, with an expected value and a variance; represents a count
2149
- # that may be either exact or estimated (i.e. when sampled).
2150
- # Corresponds to the JSON property `availableImpressions`
2151
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
2152
- attr_accessor :available_impressions
2153
-
2154
- # A metric value, with an expected value and a variance; represents a count
2155
- # that may be either exact or estimated (i.e. when sampled).
2156
- # Corresponds to the JSON property `inventoryMatches`
2157
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
2158
- attr_accessor :inventory_matches
2159
-
2160
- # A metric value, with an expected value and a variance; represents a count
2161
- # that may be either exact or estimated (i.e. when sampled).
2162
- # Corresponds to the JSON property `bidRequests`
2163
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
2164
- attr_accessor :bid_requests
2165
-
2166
- # A metric value, with an expected value and a variance; represents a count
2167
- # that may be either exact or estimated (i.e. when sampled).
2168
- # Corresponds to the JSON property `responsesWithBids`
2169
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
2170
- attr_accessor :responses_with_bids
2171
-
2172
- # A metric value, with an expected value and a variance; represents a count
2173
- # that may be either exact or estimated (i.e. when sampled).
2174
- # Corresponds to the JSON property `successfulResponses`
2175
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
2176
- attr_accessor :successful_responses
2174
+ # The Pub/Sub topic to publish notifications to.
2175
+ # This topic must already exist and must give permission to
2176
+ # ad-exchange-buyside-reports@google.com to write to the topic.
2177
+ # This should be the full resource name in
2178
+ # "projects/`project_id`/topics/`topic_id`" format.
2179
+ # Corresponds to the JSON property `topic`
2180
+ # @return [String]
2181
+ attr_accessor :topic
2177
2182
 
2178
2183
  def initialize(**args)
2179
2184
  update!(**args)
@@ -2181,12 +2186,7 @@ module Google
2181
2186
 
2182
2187
  # Update properties of this object
2183
2188
  def update!(**args)
2184
- @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
2185
- @available_impressions = args[:available_impressions] if args.key?(:available_impressions)
2186
- @inventory_matches = args[:inventory_matches] if args.key?(:inventory_matches)
2187
- @bid_requests = args[:bid_requests] if args.key?(:bid_requests)
2188
- @responses_with_bids = args[:responses_with_bids] if args.key?(:responses_with_bids)
2189
- @successful_responses = args[:successful_responses] if args.key?(:successful_responses)
2189
+ @topic = args[:topic] if args.key?(:topic)
2190
2190
  end
2191
2191
  end
2192
2192
  end