google-api-client 0.9.8 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest
27
27
  module AdexchangebuyerV1_4
28
28
  VERSION = 'V1_4'
29
- REVISION = '20160509'
29
+ REVISION = '20170215'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -91,14 +91,15 @@ module Google
91
91
  class BidderLocation
92
92
  include Google::Apis::Core::Hashable
93
93
 
94
- # The protocol that the bidder endpoint is using. By default, OpenRTB protocols
95
- # use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses
96
- # protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right
97
- # now. Allowed values:
94
+ # The protocol that the bidder endpoint is using. OpenRTB protocols with prefix
95
+ # PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed
96
+ # values:
98
97
  # - PROTOCOL_ADX
99
98
  # - PROTOCOL_OPENRTB_2_2
100
99
  # - PROTOCOL_OPENRTB_2_3
101
- # - PROTOCOL_OPENRTB_PROTOBUF
100
+ # - PROTOCOL_OPENRTB_2_4
101
+ # - PROTOCOL_OPENRTB_PROTOBUF_2_3
102
+ # - PROTOCOL_OPENRTB_PROTOBUF_2_4
102
103
  # Corresponds to the JSON property `bidProtocol`
103
104
  # @return [String]
104
105
  attr_accessor :bid_protocol
@@ -488,7 +489,8 @@ module Google
488
489
  # @return [Array<String>]
489
490
  attr_accessor :advertiser_id
490
491
 
491
- # The name of the company being advertised in the creative.
492
+ # The name of the company being advertised in the creative. The value provided
493
+ # must exist in the advertisers.txt file.
492
494
  # Corresponds to the JSON property `advertiserName`
493
495
  # @return [String]
494
496
  attr_accessor :advertiser_name
@@ -505,7 +507,9 @@ module Google
505
507
  # @return [DateTime]
506
508
  attr_accessor :api_upload_timestamp
507
509
 
508
- # All attributes for the ads that may be shown from this snippet.
510
+ # List of buyer selectable attributes for the ads that may be shown from this
511
+ # snippet. Each attribute is represented by an integer as defined in buyer-
512
+ # declarable-creative-attributes.txt.
509
513
  # Corresponds to the JSON property `attribute`
510
514
  # @return [Array<Fixnum>]
511
515
  attr_accessor :attribute
@@ -535,6 +539,12 @@ module Google
535
539
  # @return [String]
536
540
  attr_accessor :deals_status
537
541
 
542
+ # Detected domains for this creative. Read-only. This field should not be set in
543
+ # requests.
544
+ # Corresponds to the JSON property `detectedDomains`
545
+ # @return [Array<String>]
546
+ attr_accessor :detected_domains
547
+
538
548
  # The filtering reasons for the creative. Read-only. This field should not be
539
549
  # set in requests.
540
550
  # Corresponds to the JSON property `filteringReasons`
@@ -556,7 +566,14 @@ module Google
556
566
  # @return [String]
557
567
  attr_accessor :kind
558
568
 
559
- # If nativeAd is set, HTMLSnippet and videoURL should not be set.
569
+ # Detected languages for this creative. Read-only. This field should not be set
570
+ # in requests.
571
+ # Corresponds to the JSON property `languages`
572
+ # @return [Array<String>]
573
+ attr_accessor :languages
574
+
575
+ # If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should
576
+ # not be set. (The videoURL inside nativeAd can be set.)
560
577
  # Corresponds to the JSON property `nativeAd`
561
578
  # @return [Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd]
562
579
  attr_accessor :native_ad
@@ -570,19 +587,23 @@ module Google
570
587
  # @return [String]
571
588
  attr_accessor :open_auction_status
572
589
 
573
- # Detected product categories, if any. Read-only. This field should not be set
574
- # in requests.
590
+ # Detected product categories, if any. Each category is represented by an
591
+ # integer as defined in ad-product-categories.txt. Read-only. This field should
592
+ # not be set in requests.
575
593
  # Corresponds to the JSON property `productCategories`
576
594
  # @return [Array<Fixnum>]
577
595
  attr_accessor :product_categories
578
596
 
579
597
  # All restricted categories for the ads that may be shown from this snippet.
598
+ # Each category is represented by an integer as defined in the ad-restricted-
599
+ # categories.txt.
580
600
  # Corresponds to the JSON property `restrictedCategories`
581
601
  # @return [Array<Fixnum>]
582
602
  attr_accessor :restricted_categories
583
603
 
584
- # Detected sensitive categories, if any. Read-only. This field should not be set
585
- # in requests.
604
+ # Detected sensitive categories, if any. Each category is represented by an
605
+ # integer as defined in ad-sensitive-categories.txt. Read-only. This field
606
+ # should not be set in requests.
586
607
  # Corresponds to the JSON property `sensitiveCategories`
587
608
  # @return [Array<Fixnum>]
588
609
  attr_accessor :sensitive_categories
@@ -595,7 +616,8 @@ module Google
595
616
  # @return [Array<Google::Apis::AdexchangebuyerV1_4::Creative::ServingRestriction>]
596
617
  attr_accessor :serving_restrictions
597
618
 
598
- # All vendor types for the ads that may be shown from this snippet.
619
+ # List of vendor types for the ads that may be shown from this snippet. Each
620
+ # vendor type is represented by an integer as defined in vendors.txt.
599
621
  # Corresponds to the JSON property `vendorType`
600
622
  # @return [Array<Fixnum>]
601
623
  attr_accessor :vendor_type
@@ -606,7 +628,8 @@ module Google
606
628
  # @return [Fixnum]
607
629
  attr_accessor :version
608
630
 
609
- # The url to fetch a video ad. If set, HTMLSnippet should not be set.
631
+ # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not
632
+ # be set. Note, this is different from resource.native_ad.video_url above.
610
633
  # Corresponds to the JSON property `videoURL`
611
634
  # @return [String]
612
635
  attr_accessor :video_url
@@ -634,10 +657,12 @@ module Google
634
657
  @click_through_url = args[:click_through_url] if args.key?(:click_through_url)
635
658
  @corrections = args[:corrections] if args.key?(:corrections)
636
659
  @deals_status = args[:deals_status] if args.key?(:deals_status)
660
+ @detected_domains = args[:detected_domains] if args.key?(:detected_domains)
637
661
  @filtering_reasons = args[:filtering_reasons] if args.key?(:filtering_reasons)
638
662
  @height = args[:height] if args.key?(:height)
639
663
  @impression_tracking_url = args[:impression_tracking_url] if args.key?(:impression_tracking_url)
640
664
  @kind = args[:kind] if args.key?(:kind)
665
+ @languages = args[:languages] if args.key?(:languages)
641
666
  @native_ad = args[:native_ad] if args.key?(:native_ad)
642
667
  @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status)
643
668
  @product_categories = args[:product_categories] if args.key?(:product_categories)
@@ -654,6 +679,11 @@ module Google
654
679
  class Correction
655
680
  include Google::Apis::Core::Hashable
656
681
 
682
+ # All known serving contexts containing serving status information.
683
+ # Corresponds to the JSON property `contexts`
684
+ # @return [Array<Google::Apis::AdexchangebuyerV1_4::Creative::Correction::Context>]
685
+ attr_accessor :contexts
686
+
657
687
  # Additional details about the correction.
658
688
  # Corresponds to the JSON property `details`
659
689
  # @return [Array<String>]
@@ -670,9 +700,50 @@ module Google
670
700
 
671
701
  # Update properties of this object
672
702
  def update!(**args)
703
+ @contexts = args[:contexts] if args.key?(:contexts)
673
704
  @details = args[:details] if args.key?(:details)
674
705
  @reason = args[:reason] if args.key?(:reason)
675
706
  end
707
+
708
+ #
709
+ class Context
710
+ include Google::Apis::Core::Hashable
711
+
712
+ # Only set when contextType=AUCTION_TYPE. Represents the auction types this
713
+ # correction applies to.
714
+ # Corresponds to the JSON property `auctionType`
715
+ # @return [Array<String>]
716
+ attr_accessor :auction_type
717
+
718
+ # The type of context (e.g., location, platform, auction type, SSL-ness).
719
+ # Corresponds to the JSON property `contextType`
720
+ # @return [String]
721
+ attr_accessor :context_type
722
+
723
+ # Only set when contextType=LOCATION. Represents the geo criterias this
724
+ # correction applies to.
725
+ # Corresponds to the JSON property `geoCriteriaId`
726
+ # @return [Array<Fixnum>]
727
+ attr_accessor :geo_criteria_id
728
+
729
+ # Only set when contextType=PLATFORM. Represents the platforms this correction
730
+ # applies to.
731
+ # Corresponds to the JSON property `platform`
732
+ # @return [Array<String>]
733
+ attr_accessor :platform
734
+
735
+ def initialize(**args)
736
+ update!(**args)
737
+ end
738
+
739
+ # Update properties of this object
740
+ def update!(**args)
741
+ @auction_type = args[:auction_type] if args.key?(:auction_type)
742
+ @context_type = args[:context_type] if args.key?(:context_type)
743
+ @geo_criteria_id = args[:geo_criteria_id] if args.key?(:geo_criteria_id)
744
+ @platform = args[:platform] if args.key?(:platform)
745
+ end
746
+ end
676
747
  end
677
748
 
678
749
  # The filtering reasons for the creative. Read-only. This field should not be
@@ -711,8 +782,7 @@ module Google
711
782
  # @return [String]
712
783
  attr_accessor :filtering_count
713
784
 
714
- # The filtering status code. Please refer to the creative-status-codes.txt file
715
- # for different statuses.
785
+ # The filtering status code as defined in creative-status-codes.txt.
716
786
  # Corresponds to the JSON property `filteringStatus`
717
787
  # @return [Fixnum]
718
788
  attr_accessor :filtering_status
@@ -729,7 +799,8 @@ module Google
729
799
  end
730
800
  end
731
801
 
732
- # If nativeAd is set, HTMLSnippet and videoURL should not be set.
802
+ # If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should
803
+ # not be set. (The videoURL inside nativeAd can be set.)
733
804
  class NativeAd
734
805
  include Google::Apis::Core::Hashable
735
806
 
@@ -753,6 +824,11 @@ module Google
753
824
  # @return [String]
754
825
  attr_accessor :call_to_action
755
826
 
827
+ # The URL that the browser/SDK will load when the user clicks the ad.
828
+ # Corresponds to the JSON property `clickLinkUrl`
829
+ # @return [String]
830
+ attr_accessor :click_link_url
831
+
756
832
  # The URL to use for click tracking.
757
833
  # Corresponds to the JSON property `clickTrackingUrl`
758
834
  # @return [String]
@@ -793,6 +869,12 @@ module Google
793
869
  # @return [String]
794
870
  attr_accessor :store
795
871
 
872
+ # The URL of the XML VAST for a native ad. Note this is a separate field from
873
+ # resource.video_url.
874
+ # Corresponds to the JSON property `videoURL`
875
+ # @return [String]
876
+ attr_accessor :video_url
877
+
796
878
  def initialize(**args)
797
879
  update!(**args)
798
880
  end
@@ -803,6 +885,7 @@ module Google
803
885
  @app_icon = args[:app_icon] if args.key?(:app_icon)
804
886
  @body = args[:body] if args.key?(:body)
805
887
  @call_to_action = args[:call_to_action] if args.key?(:call_to_action)
888
+ @click_link_url = args[:click_link_url] if args.key?(:click_link_url)
806
889
  @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
807
890
  @headline = args[:headline] if args.key?(:headline)
808
891
  @image = args[:image] if args.key?(:image)
@@ -811,6 +894,7 @@ module Google
811
894
  @price = args[:price] if args.key?(:price)
812
895
  @star_rating = args[:star_rating] if args.key?(:star_rating)
813
896
  @store = args[:store] if args.key?(:store)
897
+ @video_url = args[:video_url] if args.key?(:video_url)
814
898
  end
815
899
 
816
900
  # The app icon, for app download ads.
@@ -958,7 +1042,8 @@ module Google
958
1042
  attr_accessor :context_type
959
1043
 
960
1044
  # Only set when contextType=LOCATION. Represents the geo criterias this
961
- # restriction applies to.
1045
+ # restriction applies to. Impressions are considered to match a context if
1046
+ # either the user location or publisher location matches a given geoCriteriaId.
962
1047
  # Corresponds to the JSON property `geoCriteriaId`
963
1048
  # @return [Array<Fixnum>]
964
1049
  attr_accessor :geo_criteria_id
@@ -1009,6 +1094,62 @@ module Google
1009
1094
  end
1010
1095
  end
1011
1096
 
1097
+ # The external deal ids associated with a creative.
1098
+ class CreativeDealIds
1099
+ include Google::Apis::Core::Hashable
1100
+
1101
+ # A list of external deal ids and ARC approval status.
1102
+ # Corresponds to the JSON property `dealStatuses`
1103
+ # @return [Array<Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus>]
1104
+ attr_accessor :deal_statuses
1105
+
1106
+ # Resource type.
1107
+ # Corresponds to the JSON property `kind`
1108
+ # @return [String]
1109
+ attr_accessor :kind
1110
+
1111
+ def initialize(**args)
1112
+ update!(**args)
1113
+ end
1114
+
1115
+ # Update properties of this object
1116
+ def update!(**args)
1117
+ @deal_statuses = args[:deal_statuses] if args.key?(:deal_statuses)
1118
+ @kind = args[:kind] if args.key?(:kind)
1119
+ end
1120
+
1121
+ #
1122
+ class DealStatus
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ # ARC approval status.
1126
+ # Corresponds to the JSON property `arcStatus`
1127
+ # @return [String]
1128
+ attr_accessor :arc_status
1129
+
1130
+ # External deal ID.
1131
+ # Corresponds to the JSON property `dealId`
1132
+ # @return [String]
1133
+ attr_accessor :deal_id
1134
+
1135
+ # Publisher ID.
1136
+ # Corresponds to the JSON property `webPropertyId`
1137
+ # @return [Fixnum]
1138
+ attr_accessor :web_property_id
1139
+
1140
+ def initialize(**args)
1141
+ update!(**args)
1142
+ end
1143
+
1144
+ # Update properties of this object
1145
+ def update!(**args)
1146
+ @arc_status = args[:arc_status] if args.key?(:arc_status)
1147
+ @deal_id = args[:deal_id] if args.key?(:deal_id)
1148
+ @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
1149
+ end
1150
+ end
1151
+ end
1152
+
1012
1153
  # The creatives feed lists the active creatives for the Ad Exchange buyer
1013
1154
  # accounts that the user has access to. Each entry in the feed corresponds to a
1014
1155
  # single creative.
@@ -1047,6 +1188,14 @@ module Google
1047
1188
  class DealServingMetadata
1048
1189
  include Google::Apis::Core::Hashable
1049
1190
 
1191
+ # True if alcohol ads are allowed for this deal (read-only). This field is only
1192
+ # populated when querying for finalized orders using the method
1193
+ # GetFinalizedOrderDeals
1194
+ # Corresponds to the JSON property `alcoholAdsAllowed`
1195
+ # @return [Boolean]
1196
+ attr_accessor :alcohol_ads_allowed
1197
+ alias_method :alcohol_ads_allowed?, :alcohol_ads_allowed
1198
+
1050
1199
  # Tracks which parties (if any) have paused a deal. The deal is considered
1051
1200
  # paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused
1052
1201
  # or the has_seller_paused bits can be set independently.
@@ -1060,6 +1209,7 @@ module Google
1060
1209
 
1061
1210
  # Update properties of this object
1062
1211
  def update!(**args)
1212
+ @alcohol_ads_allowed = args[:alcohol_ads_allowed] if args.key?(:alcohol_ads_allowed)
1063
1213
  @deal_pause_status = args[:deal_pause_status] if args.key?(:deal_pause_status)
1064
1214
  end
1065
1215
  end
@@ -1070,6 +1220,11 @@ module Google
1070
1220
  class DealServingMetadataDealPauseStatus
1071
1221
  include Google::Apis::Core::Hashable
1072
1222
 
1223
+ #
1224
+ # Corresponds to the JSON property `buyerPauseReason`
1225
+ # @return [String]
1226
+ attr_accessor :buyer_pause_reason
1227
+
1073
1228
  # If the deal is paused, records which party paused the deal first.
1074
1229
  # Corresponds to the JSON property `firstPausedBy`
1075
1230
  # @return [String]
@@ -1087,15 +1242,22 @@ module Google
1087
1242
  attr_accessor :has_seller_paused
1088
1243
  alias_method :has_seller_paused?, :has_seller_paused
1089
1244
 
1245
+ #
1246
+ # Corresponds to the JSON property `sellerPauseReason`
1247
+ # @return [String]
1248
+ attr_accessor :seller_pause_reason
1249
+
1090
1250
  def initialize(**args)
1091
1251
  update!(**args)
1092
1252
  end
1093
1253
 
1094
1254
  # Update properties of this object
1095
1255
  def update!(**args)
1256
+ @buyer_pause_reason = args[:buyer_pause_reason] if args.key?(:buyer_pause_reason)
1096
1257
  @first_paused_by = args[:first_paused_by] if args.key?(:first_paused_by)
1097
1258
  @has_buyer_paused = args[:has_buyer_paused] if args.key?(:has_buyer_paused)
1098
1259
  @has_seller_paused = args[:has_seller_paused] if args.key?(:has_seller_paused)
1260
+ @seller_pause_reason = args[:seller_pause_reason] if args.key?(:seller_pause_reason)
1099
1261
  end
1100
1262
  end
1101
1263
 
@@ -1108,6 +1270,13 @@ module Google
1108
1270
  # @return [String]
1109
1271
  attr_accessor :branding_type
1110
1272
 
1273
+ # Indicates that this ExternalDealId exists under at least two different
1274
+ # AdxInventoryDeals. Currently, the only case that the same ExternalDealId will
1275
+ # exist is programmatic cross sell case.
1276
+ # Corresponds to the JSON property `crossListedExternalDealIdType`
1277
+ # @return [String]
1278
+ attr_accessor :cross_listed_external_deal_id_type
1279
+
1111
1280
  # Description for the proposed terms of the deal.
1112
1281
  # Corresponds to the JSON property `description`
1113
1282
  # @return [String]
@@ -1140,6 +1309,11 @@ module Google
1140
1309
  # @return [Google::Apis::AdexchangebuyerV1_4::DealTermsNonGuaranteedFixedPriceTerms]
1141
1310
  attr_accessor :non_guaranteed_fixed_price_terms
1142
1311
 
1312
+ # The terms for rubicon non-guaranteed deals.
1313
+ # Corresponds to the JSON property `rubiconNonGuaranteedTerms`
1314
+ # @return [Google::Apis::AdexchangebuyerV1_4::DealTermsRubiconNonGuaranteedTerms]
1315
+ attr_accessor :rubicon_non_guaranteed_terms
1316
+
1143
1317
  # For deals with Cost Per Day billing, defines the timezone used to mark the
1144
1318
  # boundaries of a day (buyer-readonly)
1145
1319
  # Corresponds to the JSON property `sellerTimeZone`
@@ -1153,12 +1327,14 @@ module Google
1153
1327
  # Update properties of this object
1154
1328
  def update!(**args)
1155
1329
  @branding_type = args[:branding_type] if args.key?(:branding_type)
1330
+ @cross_listed_external_deal_id_type = args[:cross_listed_external_deal_id_type] if args.key?(:cross_listed_external_deal_id_type)
1156
1331
  @description = args[:description] if args.key?(:description)
1157
1332
  @estimated_gross_spend = args[:estimated_gross_spend] if args.key?(:estimated_gross_spend)
1158
1333
  @estimated_impressions_per_day = args[:estimated_impressions_per_day] if args.key?(:estimated_impressions_per_day)
1159
1334
  @guaranteed_fixed_price_terms = args[:guaranteed_fixed_price_terms] if args.key?(:guaranteed_fixed_price_terms)
1160
1335
  @non_guaranteed_auction_terms = args[:non_guaranteed_auction_terms] if args.key?(:non_guaranteed_auction_terms)
1161
1336
  @non_guaranteed_fixed_price_terms = args[:non_guaranteed_fixed_price_terms] if args.key?(:non_guaranteed_fixed_price_terms)
1337
+ @rubicon_non_guaranteed_terms = args[:rubicon_non_guaranteed_terms] if args.key?(:rubicon_non_guaranteed_terms)
1162
1338
  @seller_time_zone = args[:seller_time_zone] if args.key?(:seller_time_zone)
1163
1339
  end
1164
1340
  end
@@ -1184,11 +1360,18 @@ module Google
1184
1360
  # @return [String]
1185
1361
  attr_accessor :guaranteed_impressions
1186
1362
 
1187
- # Count of guaranteed looks. Required for deal, optional for product.
1363
+ # Count of guaranteed looks. Required for deal, optional for product. For CPD
1364
+ # deals, buyer changes to guaranteed_looks will be ignored.
1188
1365
  # Corresponds to the JSON property `guaranteedLooks`
1189
1366
  # @return [String]
1190
1367
  attr_accessor :guaranteed_looks
1191
1368
 
1369
+ # Count of minimum daily looks for a CPD deal. For CPD deals, buyer should
1370
+ # negotiate on this field instead of guaranteed_looks.
1371
+ # Corresponds to the JSON property `minimumDailyLooks`
1372
+ # @return [String]
1373
+ attr_accessor :minimum_daily_looks
1374
+
1192
1375
  def initialize(**args)
1193
1376
  update!(**args)
1194
1377
  end
@@ -1199,6 +1382,7 @@ module Google
1199
1382
  @fixed_prices = args[:fixed_prices] if args.key?(:fixed_prices)
1200
1383
  @guaranteed_impressions = args[:guaranteed_impressions] if args.key?(:guaranteed_impressions)
1201
1384
  @guaranteed_looks = args[:guaranteed_looks] if args.key?(:guaranteed_looks)
1385
+ @minimum_daily_looks = args[:minimum_daily_looks] if args.key?(:minimum_daily_looks)
1202
1386
  end
1203
1387
  end
1204
1388
 
@@ -1213,9 +1397,16 @@ module Google
1213
1397
  # @return [String]
1214
1398
  attr_accessor :currency_conversion_time_ms
1215
1399
 
1400
+ # The DFP line item id associated with this deal. For features like CPD, buyers
1401
+ # can retrieve the DFP line item for billing reconciliation.
1402
+ # Corresponds to the JSON property `dfpLineItemId`
1403
+ # @return [String]
1404
+ attr_accessor :dfp_line_item_id
1405
+
1216
1406
  # The original contracted quantity (# impressions) for this deal. To ensure
1217
- # delivery, sometimes publisher will book the deal with a impression buffer,
1218
- # however clients are billed using the original contracted quantity.
1407
+ # delivery, sometimes the publisher will book the deal with a impression buffer,
1408
+ # such that guaranteed_looks is greater than the contracted quantity. However
1409
+ # clients are billed using the original contracted quantity.
1219
1410
  # Corresponds to the JSON property `originalContractedQuantity`
1220
1411
  # @return [String]
1221
1412
  attr_accessor :original_contracted_quantity
@@ -1233,6 +1424,7 @@ module Google
1233
1424
  # Update properties of this object
1234
1425
  def update!(**args)
1235
1426
  @currency_conversion_time_ms = args[:currency_conversion_time_ms] if args.key?(:currency_conversion_time_ms)
1427
+ @dfp_line_item_id = args[:dfp_line_item_id] if args.key?(:dfp_line_item_id)
1236
1428
  @original_contracted_quantity = args[:original_contracted_quantity] if args.key?(:original_contracted_quantity)
1237
1429
  @price = args[:price] if args.key?(:price)
1238
1430
  end
@@ -1284,6 +1476,31 @@ module Google
1284
1476
  end
1285
1477
  end
1286
1478
 
1479
+ #
1480
+ class DealTermsRubiconNonGuaranteedTerms
1481
+ include Google::Apis::Core::Hashable
1482
+
1483
+ # Optional price for Rubicon priority access in the auction.
1484
+ # Corresponds to the JSON property `priorityPrice`
1485
+ # @return [Google::Apis::AdexchangebuyerV1_4::Price]
1486
+ attr_accessor :priority_price
1487
+
1488
+ # Optional price for Rubicon standard access in the auction.
1489
+ # Corresponds to the JSON property `standardPrice`
1490
+ # @return [Google::Apis::AdexchangebuyerV1_4::Price]
1491
+ attr_accessor :standard_price
1492
+
1493
+ def initialize(**args)
1494
+ update!(**args)
1495
+ end
1496
+
1497
+ # Update properties of this object
1498
+ def update!(**args)
1499
+ @priority_price = args[:priority_price] if args.key?(:priority_price)
1500
+ @standard_price = args[:standard_price] if args.key?(:standard_price)
1501
+ end
1502
+ end
1503
+
1287
1504
  #
1288
1505
  class DeleteOrderDealsRequest
1289
1506
  include Google::Apis::Core::Hashable
@@ -1438,11 +1655,19 @@ module Google
1438
1655
  # @return [Fixnum]
1439
1656
  attr_accessor :id
1440
1657
 
1441
- # Name of the dimension mainly for debugging purposes.
1658
+ # Name of the dimension mainly for debugging purposes, except for the case of
1659
+ # CREATIVE_SIZE. For CREATIVE_SIZE, strings are used instead of ids.
1442
1660
  # Corresponds to the JSON property `name`
1443
1661
  # @return [String]
1444
1662
  attr_accessor :name
1445
1663
 
1664
+ # Percent of total impressions for a dimension type. e.g. `dimension_type: '
1665
+ # GENDER', [`dimension_value: `id: 1, name: 'MALE', percentage: 60``]` Gender
1666
+ # MALE is 60% of all impressions which have gender.
1667
+ # Corresponds to the JSON property `percentage`
1668
+ # @return [Fixnum]
1669
+ attr_accessor :percentage
1670
+
1446
1671
  def initialize(**args)
1447
1672
  update!(**args)
1448
1673
  end
@@ -1451,6 +1676,7 @@ module Google
1451
1676
  def update!(**args)
1452
1677
  @id = args[:id] if args.key?(:id)
1453
1678
  @name = args[:name] if args.key?(:name)
1679
+ @percentage = args[:percentage] if args.key?(:percentage)
1454
1680
  end
1455
1681
  end
1456
1682
 
@@ -1574,7 +1800,10 @@ module Google
1574
1800
  class GetOrderNotesResponse
1575
1801
  include Google::Apis::Core::Hashable
1576
1802
 
1577
- # The list of matching notes.
1803
+ # The list of matching notes. The notes for a proposal are ordered from oldest
1804
+ # to newest. If the notes span multiple proposals, they will be grouped by
1805
+ # proposal, with the notes for the most recently modified proposal appearing
1806
+ # first.
1578
1807
  # Corresponds to the JSON property `notes`
1579
1808
  # @return [Array<Google::Apis::AdexchangebuyerV1_4::MarketplaceNote>]
1580
1809
  attr_accessor :notes
@@ -1652,7 +1881,7 @@ module Google
1652
1881
  # @return [String]
1653
1882
  attr_accessor :creative_safe_frame_compatibility
1654
1883
 
1655
- # A unique deal=id for the deal (readonly).
1884
+ # A unique deal-id for the deal (readonly).
1656
1885
  # Corresponds to the JSON property `dealId`
1657
1886
  # @return [String]
1658
1887
  attr_accessor :deal_id
@@ -1689,11 +1918,18 @@ module Google
1689
1918
  # @return [String]
1690
1919
  attr_accessor :flight_start_time_ms
1691
1920
 
1692
- # Description for the deal terms. (updatable)
1921
+ # Description for the deal terms. (buyer-readonly)
1693
1922
  # Corresponds to the JSON property `inventoryDescription`
1694
1923
  # @return [String]
1695
1924
  attr_accessor :inventory_description
1696
1925
 
1926
+ # Indicates whether the current deal is a RFP template. RFP template is created
1927
+ # by buyer and not based on seller created products.
1928
+ # Corresponds to the JSON property `isRfpTemplate`
1929
+ # @return [Boolean]
1930
+ attr_accessor :is_rfp_template
1931
+ alias_method :is_rfp_template?, :is_rfp_template
1932
+
1697
1933
  # Identifies what kind of resource this is. Value: the fixed string "
1698
1934
  # adexchangebuyer#marketplaceDeal".
1699
1935
  # Corresponds to the JSON property `kind`
@@ -1776,6 +2012,7 @@ module Google
1776
2012
  @flight_end_time_ms = args[:flight_end_time_ms] if args.key?(:flight_end_time_ms)
1777
2013
  @flight_start_time_ms = args[:flight_start_time_ms] if args.key?(:flight_start_time_ms)
1778
2014
  @inventory_description = args[:inventory_description] if args.key?(:inventory_description)
2015
+ @is_rfp_template = args[:is_rfp_template] if args.key?(:is_rfp_template)
1779
2016
  @kind = args[:kind] if args.key?(:kind)
1780
2017
  @last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms)
1781
2018
  @name = args[:name] if args.key?(:name)
@@ -2178,6 +2415,14 @@ module Google
2178
2415
  # @return [Array<String>]
2179
2416
  attr_accessor :languages
2180
2417
 
2418
+ # Requests where the predicted viewability is below the specified decile will
2419
+ # not match. E.g. if the buyer sets this value to 5, requests from slots where
2420
+ # the predicted viewability is below 50% will not match. If the predicted
2421
+ # viewability is unknown this field will be ignored.
2422
+ # Corresponds to the JSON property `minimumViewabilityDecile`
2423
+ # @return [Fixnum]
2424
+ attr_accessor :minimum_viewability_decile
2425
+
2181
2426
  # Requests containing any of these mobile carrier ids will match. Values are
2182
2427
  # from mobile-carriers.csv in the downloadable files section.
2183
2428
  # Corresponds to the JSON property `mobileCarriers`
@@ -2215,6 +2460,14 @@ module Google
2215
2460
  # @return [Array<String>]
2216
2461
  attr_accessor :supported_creative_attributes
2217
2462
 
2463
+ # Requests containing the specified type of user data will match. Possible
2464
+ # values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and
2465
+ # has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means
2466
+ # the request has either a targetable cookie or an iOS IDFA.
2467
+ # Corresponds to the JSON property `userIdentifierDataRequired`
2468
+ # @return [Array<String>]
2469
+ attr_accessor :user_identifier_data_required
2470
+
2218
2471
  # Requests containing any of these user list ids will match.
2219
2472
  # Corresponds to the JSON property `userLists`
2220
2473
  # @return [Array<String>]
@@ -2256,12 +2509,14 @@ module Google
2256
2509
  @is_active = args[:is_active] if args.key?(:is_active)
2257
2510
  @kind = args[:kind] if args.key?(:kind)
2258
2511
  @languages = args[:languages] if args.key?(:languages)
2512
+ @minimum_viewability_decile = args[:minimum_viewability_decile] if args.key?(:minimum_viewability_decile)
2259
2513
  @mobile_carriers = args[:mobile_carriers] if args.key?(:mobile_carriers)
2260
2514
  @mobile_devices = args[:mobile_devices] if args.key?(:mobile_devices)
2261
2515
  @mobile_operating_system_versions = args[:mobile_operating_system_versions] if args.key?(:mobile_operating_system_versions)
2262
2516
  @placements = args[:placements] if args.key?(:placements)
2263
2517
  @platforms = args[:platforms] if args.key?(:platforms)
2264
2518
  @supported_creative_attributes = args[:supported_creative_attributes] if args.key?(:supported_creative_attributes)
2519
+ @user_identifier_data_required = args[:user_identifier_data_required] if args.key?(:user_identifier_data_required)
2265
2520
  @user_lists = args[:user_lists] if args.key?(:user_lists)
2266
2521
  @vendor_types = args[:vendor_types] if args.key?(:vendor_types)
2267
2522
  @verticals = args[:verticals] if args.key?(:verticals)
@@ -2420,6 +2675,11 @@ module Google
2420
2675
  # @return [String]
2421
2676
  attr_accessor :currency_code
2422
2677
 
2678
+ # In case of CPD deals, the expected CPM in micros.
2679
+ # Corresponds to the JSON property `expectedCpmMicros`
2680
+ # @return [Float]
2681
+ attr_accessor :expected_cpm_micros
2682
+
2423
2683
  # The pricing type for the deal/product.
2424
2684
  # Corresponds to the JSON property `pricingType`
2425
2685
  # @return [String]
@@ -2433,6 +2693,7 @@ module Google
2433
2693
  def update!(**args)
2434
2694
  @amount_micros = args[:amount_micros] if args.key?(:amount_micros)
2435
2695
  @currency_code = args[:currency_code] if args.key?(:currency_code)
2696
+ @expected_cpm_micros = args[:expected_cpm_micros] if args.key?(:expected_cpm_micros)
2436
2697
  @pricing_type = args[:pricing_type] if args.key?(:pricing_type)
2437
2698
  end
2438
2699
  end
@@ -2574,6 +2835,14 @@ module Google
2574
2835
  # @return [String]
2575
2836
  attr_accessor :legacy_offer_id
2576
2837
 
2838
+ # Marketplace publisher profile Id. This Id differs from the regular
2839
+ # publisher_profile_id in that 1. This is a new id, the old Id will be
2840
+ # deprecated in 2017. 2. This id uniquely identifies a publisher profile by
2841
+ # itself.
2842
+ # Corresponds to the JSON property `marketplacePublisherProfileId`
2843
+ # @return [String]
2844
+ attr_accessor :marketplace_publisher_profile_id
2845
+
2577
2846
  # The name for this product as set by the seller. (buyer-readonly)
2578
2847
  # Corresponds to the JSON property `name`
2579
2848
  # @return [String]
@@ -2658,6 +2927,7 @@ module Google
2658
2927
  @labels = args[:labels] if args.key?(:labels)
2659
2928
  @last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms)
2660
2929
  @legacy_offer_id = args[:legacy_offer_id] if args.key?(:legacy_offer_id)
2930
+ @marketplace_publisher_profile_id = args[:marketplace_publisher_profile_id] if args.key?(:marketplace_publisher_profile_id)
2661
2931
  @name = args[:name] if args.key?(:name)
2662
2932
  @private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id)
2663
2933
  @product_id = args[:product_id] if args.key?(:product_id)
@@ -2693,7 +2963,7 @@ module Google
2693
2963
  # @return [Google::Apis::AdexchangebuyerV1_4::Buyer]
2694
2964
  attr_accessor :buyer
2695
2965
 
2696
- # Optional contact information fort the buyer. (seller-readonly)
2966
+ # Optional contact information of the buyer. (seller-readonly)
2697
2967
  # Corresponds to the JSON property `buyerContacts`
2698
2968
  # @return [Array<Google::Apis::AdexchangebuyerV1_4::ContactInformation>]
2699
2969
  attr_accessor :buyer_contacts
@@ -2703,8 +2973,13 @@ module Google
2703
2973
  # @return [Google::Apis::AdexchangebuyerV1_4::PrivateData]
2704
2974
  attr_accessor :buyer_private_data
2705
2975
 
2976
+ # IDs of DBM advertisers permission to this proposal.
2977
+ # Corresponds to the JSON property `dbmAdvertiserIds`
2978
+ # @return [Array<String>]
2979
+ attr_accessor :dbm_advertiser_ids
2980
+
2706
2981
  # When an proposal is in an accepted state, indicates whether the buyer has
2707
- # signed off Once both sides have signed off on a deal, the proposal can be
2982
+ # signed off. Once both sides have signed off on a deal, the proposal can be
2708
2983
  # finalized by the seller. (seller-readonly)
2709
2984
  # Corresponds to the JSON property `hasBuyerSignedOff`
2710
2985
  # @return [Boolean]
@@ -2799,7 +3074,7 @@ module Google
2799
3074
  # @return [Google::Apis::AdexchangebuyerV1_4::Seller]
2800
3075
  attr_accessor :seller
2801
3076
 
2802
- # Optional contact information for the seller (buyer-readonly).
3077
+ # Optional contact information of the seller (buyer-readonly).
2803
3078
  # Corresponds to the JSON property `sellerContacts`
2804
3079
  # @return [Array<Google::Apis::AdexchangebuyerV1_4::ContactInformation>]
2805
3080
  attr_accessor :seller_contacts
@@ -2814,6 +3089,7 @@ module Google
2814
3089
  @buyer = args[:buyer] if args.key?(:buyer)
2815
3090
  @buyer_contacts = args[:buyer_contacts] if args.key?(:buyer_contacts)
2816
3091
  @buyer_private_data = args[:buyer_private_data] if args.key?(:buyer_private_data)
3092
+ @dbm_advertiser_ids = args[:dbm_advertiser_ids] if args.key?(:dbm_advertiser_ids)
2817
3093
  @has_buyer_signed_off = args[:has_buyer_signed_off] if args.key?(:has_buyer_signed_off)
2818
3094
  @has_seller_signed_off = args[:has_seller_signed_off] if args.key?(:has_seller_signed_off)
2819
3095
  @inventory_source = args[:inventory_source] if args.key?(:inventory_source)
@@ -3138,6 +3414,11 @@ module Google
3138
3414
  # @return [Google::Apis::AdexchangebuyerV1_4::TargetingValueSize]
3139
3415
  attr_accessor :size
3140
3416
 
3417
+ # The skippable ad type for video size.
3418
+ # Corresponds to the JSON property `skippableAdType`
3419
+ # @return [String]
3420
+ attr_accessor :skippable_ad_type
3421
+
3141
3422
  def initialize(**args)
3142
3423
  update!(**args)
3143
3424
  end
@@ -3147,6 +3428,7 @@ module Google
3147
3428
  @companion_sizes = args[:companion_sizes] if args.key?(:companion_sizes)
3148
3429
  @creative_size_type = args[:creative_size_type] if args.key?(:creative_size_type)
3149
3430
  @size = args[:size] if args.key?(:size)
3431
+ @skippable_ad_type = args[:skippable_ad_type] if args.key?(:skippable_ad_type)
3150
3432
  end
3151
3433
  end
3152
3434