google-api-client 0.12.0 → 0.13.0

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