google-api-client 0.39.2 → 0.40.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (402) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +213 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/admob_v1.rb +1 -1
  6. data/generated/google/apis/admob_v1/classes.rb +5 -6
  7. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  10. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  11. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +21 -2
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
  14. data/generated/google/apis/apigee_v1.rb +1 -1
  15. data/generated/google/apis/apigee_v1/classes.rb +46 -4
  16. data/generated/google/apis/apigee_v1/representations.rb +6 -0
  17. data/generated/google/apis/apigee_v1/service.rb +24 -14
  18. data/generated/google/apis/appengine_v1.rb +1 -1
  19. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  20. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  21. data/generated/google/apis/appengine_v1beta.rb +1 -1
  22. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  23. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  24. data/generated/google/apis/appsmarket_v2.rb +3 -3
  25. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  26. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  27. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  28. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  29. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  30. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  31. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +46 -1
  34. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
  37. data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
  38. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  39. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  40. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
  41. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  42. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  45. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  46. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  47. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  48. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  49. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  50. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  51. data/generated/google/apis/calendar_v3.rb +1 -1
  52. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  53. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  54. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  55. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  56. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  57. data/generated/google/apis/cloudasset_v1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  59. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  60. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  61. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  63. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  64. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  65. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  66. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  67. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  68. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  69. data/generated/google/apis/cloudbuild_v1/classes.rb +15 -2
  70. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  71. data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
  72. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  73. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +154 -0
  74. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
  75. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  76. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +154 -0
  78. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
  79. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  80. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  81. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  82. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  83. data/generated/google/apis/cloudiot_v1.rb +1 -1
  84. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  85. data/generated/google/apis/cloudkms_v1.rb +1 -1
  86. data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
  87. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  88. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  89. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  90. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  91. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  93. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  95. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  96. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  97. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  98. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  99. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  100. data/generated/google/apis/cloudshell_v1.rb +1 -1
  101. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  103. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  104. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  105. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  106. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  107. data/generated/google/apis/composer_v1beta1.rb +1 -1
  108. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  109. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  110. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  111. data/generated/google/apis/compute_alpha.rb +1 -1
  112. data/generated/google/apis/compute_alpha/classes.rb +227 -163
  113. data/generated/google/apis/compute_alpha/representations.rb +44 -33
  114. data/generated/google/apis/compute_alpha/service.rb +194 -0
  115. data/generated/google/apis/compute_beta.rb +1 -1
  116. data/generated/google/apis/compute_beta/classes.rb +222 -80
  117. data/generated/google/apis/compute_beta/representations.rb +50 -0
  118. data/generated/google/apis/compute_v1.rb +1 -1
  119. data/generated/google/apis/compute_v1/classes.rb +152 -55
  120. data/generated/google/apis/compute_v1/representations.rb +21 -0
  121. data/generated/google/apis/compute_v1/service.rb +83 -0
  122. data/generated/google/apis/container_v1.rb +1 -1
  123. data/generated/google/apis/container_v1/classes.rb +5 -6
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +65 -6
  126. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  127. data/generated/google/apis/content_v2.rb +1 -1
  128. data/generated/google/apis/content_v2/classes.rb +34 -0
  129. data/generated/google/apis/content_v2/representations.rb +16 -0
  130. data/generated/google/apis/content_v2/service.rb +5 -1
  131. data/generated/google/apis/content_v2_1.rb +1 -1
  132. data/generated/google/apis/content_v2_1/classes.rb +363 -5
  133. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  134. data/generated/google/apis/content_v2_1/service.rb +85 -1
  135. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  136. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  137. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  138. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  139. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  140. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  141. data/generated/google/apis/dataproc_v1.rb +1 -1
  142. data/generated/google/apis/dataproc_v1/classes.rb +22 -22
  143. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  144. data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
  145. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  146. data/generated/google/apis/datastore_v1.rb +1 -1
  147. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  148. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  149. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  151. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  152. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  153. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  154. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  155. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  156. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  157. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  158. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  159. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  160. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  161. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  167. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  168. data/generated/google/apis/dialogflow_v2.rb +1 -1
  169. data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
  170. data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
  171. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  172. data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
  173. data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  175. data/generated/google/apis/displayvideo_v1.rb +1 -1
  176. data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
  177. data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
  178. data/generated/google/apis/displayvideo_v1/service.rb +1964 -337
  179. data/generated/google/apis/dlp_v2.rb +1 -1
  180. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  181. data/generated/google/apis/dlp_v2/service.rb +79 -142
  182. data/generated/google/apis/dns_v1.rb +1 -1
  183. data/generated/google/apis/dns_v1/classes.rb +160 -261
  184. data/generated/google/apis/dns_v1/representations.rb +17 -0
  185. data/generated/google/apis/dns_v1/service.rb +21 -141
  186. data/generated/google/apis/dns_v1beta2.rb +1 -1
  187. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  188. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  189. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  190. data/generated/google/apis/dns_v2beta1.rb +1 -1
  191. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  192. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  193. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  194. data/generated/google/apis/file_v1.rb +1 -1
  195. data/generated/google/apis/file_v1/classes.rb +31 -0
  196. data/generated/google/apis/file_v1/representations.rb +15 -0
  197. data/generated/google/apis/file_v1beta1.rb +1 -1
  198. data/generated/google/apis/file_v1beta1/classes.rb +98 -0
  199. data/generated/google/apis/file_v1beta1/representations.rb +34 -0
  200. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  201. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  202. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  203. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +34 -29
  204. data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
  205. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  206. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  207. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  208. data/generated/google/apis/fitness_v1.rb +4 -4
  209. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  210. data/generated/google/apis/fitness_v1/service.rb +187 -215
  211. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  212. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  213. data/generated/google/apis/games_management_v1management.rb +6 -4
  214. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  215. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  216. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  217. data/generated/google/apis/games_v1.rb +1 -1
  218. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  219. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  220. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  221. data/generated/google/apis/gmail_v1.rb +2 -3
  222. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  223. data/generated/google/apis/gmail_v1/service.rb +744 -552
  224. data/generated/google/apis/healthcare_v1.rb +1 -1
  225. data/generated/google/apis/healthcare_v1/classes.rb +70 -49
  226. data/generated/google/apis/healthcare_v1/service.rb +110 -143
  227. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  228. data/generated/google/apis/healthcare_v1beta1/classes.rb +73 -57
  229. data/generated/google/apis/healthcare_v1beta1/service.rb +226 -258
  230. data/generated/google/apis/homegraph_v1.rb +1 -1
  231. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  232. data/generated/google/apis/iam_v1.rb +1 -1
  233. data/generated/google/apis/iam_v1/classes.rb +24 -12
  234. data/generated/google/apis/iam_v1/service.rb +7 -0
  235. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  236. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  237. data/generated/google/apis/iap_v1.rb +1 -1
  238. data/generated/google/apis/iap_v1/classes.rb +35 -12
  239. data/generated/google/apis/iap_v1/representations.rb +1 -0
  240. data/generated/google/apis/iap_v1/service.rb +1 -1
  241. data/generated/google/apis/iap_v1beta1.rb +1 -1
  242. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  243. data/generated/google/apis/jobs_v3.rb +1 -1
  244. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  245. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  246. data/generated/google/apis/memcache_v1beta2/classes.rb +60 -17
  247. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  248. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  249. data/generated/google/apis/ml_v1.rb +1 -1
  250. data/generated/google/apis/ml_v1/classes.rb +84 -18
  251. data/generated/google/apis/ml_v1/representations.rb +4 -0
  252. data/generated/google/apis/ml_v1/service.rb +11 -6
  253. data/generated/google/apis/monitoring_v3.rb +1 -1
  254. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  255. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  256. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  257. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  258. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  259. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  260. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  261. data/generated/google/apis/osconfig_v1.rb +1 -1
  262. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  263. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  264. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  265. data/generated/google/apis/people_v1.rb +1 -1
  266. data/generated/google/apis/people_v1/classes.rb +100 -0
  267. data/generated/google/apis/people_v1/representations.rb +31 -0
  268. data/generated/google/apis/people_v1/service.rb +96 -3
  269. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  270. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  271. data/generated/google/apis/pubsub_v1.rb +1 -1
  272. data/generated/google/apis/pubsub_v1/classes.rb +21 -8
  273. data/generated/google/apis/pubsub_v1/representations.rb +12 -0
  274. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  275. data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
  276. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  277. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  278. data/generated/google/apis/recommender_v1/service.rb +266 -0
  279. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  280. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  281. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  282. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  283. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  284. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  285. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  286. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  287. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  288. data/generated/google/apis/run_v1.rb +1 -1
  289. data/generated/google/apis/run_v1/classes.rb +40 -49
  290. data/generated/google/apis/run_v1/representations.rb +2 -17
  291. data/generated/google/apis/run_v1/service.rb +3 -0
  292. data/generated/google/apis/run_v1alpha1.rb +1 -1
  293. data/generated/google/apis/run_v1alpha1/classes.rb +32 -10
  294. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  295. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  296. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  297. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  298. data/generated/google/apis/secretmanager_v1.rb +1 -1
  299. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  300. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  301. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  302. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  303. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  304. data/generated/google/apis/securitycenter_v1.rb +1 -1
  305. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  306. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  307. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  308. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  309. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  310. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  311. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +97 -31
  312. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -1
  313. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  314. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +97 -31
  315. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +32 -1
  316. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  317. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  318. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  319. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  320. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  321. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  322. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  323. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  324. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  325. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  326. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  327. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  328. data/generated/google/apis/serviceusage_v1.rb +1 -1
  329. data/generated/google/apis/serviceusage_v1/classes.rb +89 -31
  330. data/generated/google/apis/serviceusage_v1/representations.rb +32 -1
  331. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  332. data/generated/google/apis/serviceusage_v1beta1/classes.rb +89 -31
  333. data/generated/google/apis/serviceusage_v1beta1/representations.rb +32 -1
  334. data/generated/google/apis/sheets_v4.rb +1 -1
  335. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  336. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  337. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  338. data/generated/google/apis/spanner_v1.rb +1 -1
  339. data/generated/google/apis/spanner_v1/classes.rb +30 -12
  340. data/generated/google/apis/spanner_v1/service.rb +8 -8
  341. data/generated/google/apis/sql_v1beta4.rb +1 -1
  342. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  343. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  344. data/generated/google/apis/storage_v1.rb +1 -1
  345. data/generated/google/apis/storage_v1/classes.rb +18 -0
  346. data/generated/google/apis/storage_v1/representations.rb +3 -0
  347. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  348. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  349. data/generated/google/apis/tasks_v1.rb +3 -3
  350. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  351. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  352. data/generated/google/apis/tasks_v1/service.rb +79 -128
  353. data/generated/google/apis/testing_v1.rb +1 -1
  354. data/generated/google/apis/testing_v1/classes.rb +5 -3
  355. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  356. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  357. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  358. data/generated/google/apis/tpu_v1.rb +1 -1
  359. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  360. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  361. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  362. data/generated/google/apis/translate_v3.rb +1 -1
  363. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  364. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  365. data/generated/google/apis/videointelligence_v1.rb +1 -1
  366. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  367. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  368. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  369. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  370. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  372. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  373. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  374. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  375. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  376. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  377. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  378. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  379. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  380. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  381. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  382. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  383. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  384. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  385. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  386. data/generated/google/apis/youtube_v3.rb +5 -5
  387. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  388. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  389. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  390. data/lib/google/apis/core/api_command.rb +12 -7
  391. data/lib/google/apis/options.rb +5 -1
  392. data/lib/google/apis/version.rb +1 -1
  393. metadata +23 -15
  394. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  395. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  396. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  397. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  398. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  399. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  400. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  401. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  402. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class AdvertiserTargetingConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class AgeRangeAssignedTargetingOptionDetails
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -112,6 +118,18 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class AssignedInventorySource
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class AssignedLocation
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class AssignedTargetingOption
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -160,6 +178,42 @@ module Google
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
181
+ class BulkEditAdvertiserAssignedTargetingOptionsRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class BulkEditAdvertiserAssignedTargetingOptionsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class BulkEditAssignedInventorySourcesRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class BulkEditAssignedInventorySourcesResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class BulkEditAssignedLocationsRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class BulkEditAssignedLocationsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
163
217
  class BulkEditLineItemAssignedTargetingOptionsRequest
164
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
219
 
@@ -172,6 +226,36 @@ module Google
172
226
  include Google::Apis::Core::JsonObjectSupport
173
227
  end
174
228
 
229
+ class BulkEditNegativeKeywordsRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class BulkEditNegativeKeywordsResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class BulkEditSitesRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class BulkEditSitesResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class BulkListAdvertiserAssignedTargetingOptionsResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
175
259
  class BulkListLineItemAssignedTargetingOptionsResponse
176
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
261
 
@@ -712,12 +796,30 @@ module Google
712
796
  include Google::Apis::Core::JsonObjectSupport
713
797
  end
714
798
 
799
+ class ListAdvertiserAssignedTargetingOptionsResponse
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
715
805
  class ListAdvertisersResponse
716
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
807
 
718
808
  include Google::Apis::Core::JsonObjectSupport
719
809
  end
720
810
 
811
+ class ListAssignedInventorySourcesResponse
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class ListAssignedLocationsResponse
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
721
823
  class ListCampaignsResponse
722
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
825
 
@@ -802,6 +904,18 @@ module Google
802
904
  include Google::Apis::Core::JsonObjectSupport
803
905
  end
804
906
 
907
+ class ListNegativeKeywordsResponse
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
913
+ class ListSitesResponse
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
805
919
  class ListTargetingOptionsResponse
806
920
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
921
 
@@ -832,6 +946,12 @@ module Google
832
946
  include Google::Apis::Core::JsonObjectSupport
833
947
  end
834
948
 
949
+ class NegativeKeyword
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
835
955
  class NegativeKeywordList
836
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
957
 
@@ -988,6 +1108,12 @@ module Google
988
1108
  include Google::Apis::Core::JsonObjectSupport
989
1109
  end
990
1110
 
1111
+ class Site
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
991
1117
  class Status
992
1118
  class Representation < Google::Apis::Core::JsonRepresentation; end
993
1119
 
@@ -1138,6 +1264,8 @@ module Google
1138
1264
 
1139
1265
  property :name, as: 'name'
1140
1266
  property :partner_id, :numeric_string => true, as: 'partnerId'
1267
+ property :serving_config, as: 'servingConfig', class: Google::Apis::DisplayvideoV1::AdvertiserTargetingConfig, decorator: Google::Apis::DisplayvideoV1::AdvertiserTargetingConfig::Representation
1268
+
1141
1269
  property :update_time, as: 'updateTime'
1142
1270
  end
1143
1271
  end
@@ -1188,6 +1316,13 @@ module Google
1188
1316
  end
1189
1317
  end
1190
1318
 
1319
+ class AdvertiserTargetingConfig
1320
+ # @private
1321
+ class Representation < Google::Apis::Core::JsonRepresentation
1322
+ property :exempt_tv_from_viewability_targeting, as: 'exemptTvFromViewabilityTargeting'
1323
+ end
1324
+ end
1325
+
1191
1326
  class AgeRangeAssignedTargetingOptionDetails
1192
1327
  # @private
1193
1328
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1245,6 +1380,24 @@ module Google
1245
1380
  end
1246
1381
  end
1247
1382
 
1383
+ class AssignedInventorySource
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :assigned_inventory_source_id, :numeric_string => true, as: 'assignedInventorySourceId'
1387
+ property :inventory_source_id, as: 'inventorySourceId'
1388
+ property :name, as: 'name'
1389
+ end
1390
+ end
1391
+
1392
+ class AssignedLocation
1393
+ # @private
1394
+ class Representation < Google::Apis::Core::JsonRepresentation
1395
+ property :assigned_location_id, :numeric_string => true, as: 'assignedLocationId'
1396
+ property :name, as: 'name'
1397
+ property :targeting_option_id, as: 'targetingOptionId'
1398
+ end
1399
+ end
1400
+
1248
1401
  class AssignedTargetingOption
1249
1402
  # @private
1250
1403
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1398,6 +1551,60 @@ module Google
1398
1551
  end
1399
1552
  end
1400
1553
 
1554
+ class BulkEditAdvertiserAssignedTargetingOptionsRequest
1555
+ # @private
1556
+ class Representation < Google::Apis::Core::JsonRepresentation
1557
+ collection :create_requests, as: 'createRequests', class: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest, decorator: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest::Representation
1558
+
1559
+ collection :delete_requests, as: 'deleteRequests', class: Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest, decorator: Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest::Representation
1560
+
1561
+ end
1562
+ end
1563
+
1564
+ class BulkEditAdvertiserAssignedTargetingOptionsResponse
1565
+ # @private
1566
+ class Representation < Google::Apis::Core::JsonRepresentation
1567
+ collection :created_assigned_targeting_options, as: 'createdAssignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
1568
+
1569
+ end
1570
+ end
1571
+
1572
+ class BulkEditAssignedInventorySourcesRequest
1573
+ # @private
1574
+ class Representation < Google::Apis::Core::JsonRepresentation
1575
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
1576
+ collection :created_assigned_inventory_sources, as: 'createdAssignedInventorySources', class: Google::Apis::DisplayvideoV1::AssignedInventorySource, decorator: Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
1577
+
1578
+ collection :deleted_assigned_inventory_sources, as: 'deletedAssignedInventorySources'
1579
+ property :partner_id, :numeric_string => true, as: 'partnerId'
1580
+ end
1581
+ end
1582
+
1583
+ class BulkEditAssignedInventorySourcesResponse
1584
+ # @private
1585
+ class Representation < Google::Apis::Core::JsonRepresentation
1586
+ collection :assigned_inventory_sources, as: 'assignedInventorySources', class: Google::Apis::DisplayvideoV1::AssignedInventorySource, decorator: Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
1587
+
1588
+ end
1589
+ end
1590
+
1591
+ class BulkEditAssignedLocationsRequest
1592
+ # @private
1593
+ class Representation < Google::Apis::Core::JsonRepresentation
1594
+ collection :created_assigned_locations, as: 'createdAssignedLocations', class: Google::Apis::DisplayvideoV1::AssignedLocation, decorator: Google::Apis::DisplayvideoV1::AssignedLocation::Representation
1595
+
1596
+ collection :deleted_assigned_locations, as: 'deletedAssignedLocations'
1597
+ end
1598
+ end
1599
+
1600
+ class BulkEditAssignedLocationsResponse
1601
+ # @private
1602
+ class Representation < Google::Apis::Core::JsonRepresentation
1603
+ collection :assigned_locations, as: 'assignedLocations', class: Google::Apis::DisplayvideoV1::AssignedLocation, decorator: Google::Apis::DisplayvideoV1::AssignedLocation::Representation
1604
+
1605
+ end
1606
+ end
1607
+
1401
1608
  class BulkEditLineItemAssignedTargetingOptionsRequest
1402
1609
  # @private
1403
1610
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1416,6 +1623,51 @@ module Google
1416
1623
  end
1417
1624
  end
1418
1625
 
1626
+ class BulkEditNegativeKeywordsRequest
1627
+ # @private
1628
+ class Representation < Google::Apis::Core::JsonRepresentation
1629
+ collection :created_negative_keywords, as: 'createdNegativeKeywords', class: Google::Apis::DisplayvideoV1::NegativeKeyword, decorator: Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
1630
+
1631
+ collection :deleted_negative_keywords, as: 'deletedNegativeKeywords'
1632
+ end
1633
+ end
1634
+
1635
+ class BulkEditNegativeKeywordsResponse
1636
+ # @private
1637
+ class Representation < Google::Apis::Core::JsonRepresentation
1638
+ collection :negative_keywords, as: 'negativeKeywords', class: Google::Apis::DisplayvideoV1::NegativeKeyword, decorator: Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
1639
+
1640
+ end
1641
+ end
1642
+
1643
+ class BulkEditSitesRequest
1644
+ # @private
1645
+ class Representation < Google::Apis::Core::JsonRepresentation
1646
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
1647
+ collection :created_sites, as: 'createdSites', class: Google::Apis::DisplayvideoV1::Site, decorator: Google::Apis::DisplayvideoV1::Site::Representation
1648
+
1649
+ collection :deleted_sites, as: 'deletedSites'
1650
+ property :partner_id, :numeric_string => true, as: 'partnerId'
1651
+ end
1652
+ end
1653
+
1654
+ class BulkEditSitesResponse
1655
+ # @private
1656
+ class Representation < Google::Apis::Core::JsonRepresentation
1657
+ collection :sites, as: 'sites', class: Google::Apis::DisplayvideoV1::Site, decorator: Google::Apis::DisplayvideoV1::Site::Representation
1658
+
1659
+ end
1660
+ end
1661
+
1662
+ class BulkListAdvertiserAssignedTargetingOptionsResponse
1663
+ # @private
1664
+ class Representation < Google::Apis::Core::JsonRepresentation
1665
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
1666
+
1667
+ property :next_page_token, as: 'nextPageToken'
1668
+ end
1669
+ end
1670
+
1419
1671
  class BulkListLineItemAssignedTargetingOptionsResponse
1420
1672
  # @private
1421
1673
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1677,6 +1929,7 @@ module Google
1677
1929
  property :ias_campaign_monitoring, as: 'iasCampaignMonitoring'
1678
1930
  property :integration_code, as: 'integrationCode'
1679
1931
  property :js_tracker_url, as: 'jsTrackerUrl'
1932
+ collection :line_item_ids, as: 'lineItemIds'
1680
1933
  property :media_duration, as: 'mediaDuration'
1681
1934
  property :name, as: 'name'
1682
1935
  property :notes, as: 'notes'
@@ -2328,6 +2581,15 @@ module Google
2328
2581
  end
2329
2582
  end
2330
2583
 
2584
+ class ListAdvertiserAssignedTargetingOptionsResponse
2585
+ # @private
2586
+ class Representation < Google::Apis::Core::JsonRepresentation
2587
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
2588
+
2589
+ property :next_page_token, as: 'nextPageToken'
2590
+ end
2591
+ end
2592
+
2331
2593
  class ListAdvertisersResponse
2332
2594
  # @private
2333
2595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2337,6 +2599,24 @@ module Google
2337
2599
  end
2338
2600
  end
2339
2601
 
2602
+ class ListAssignedInventorySourcesResponse
2603
+ # @private
2604
+ class Representation < Google::Apis::Core::JsonRepresentation
2605
+ collection :assigned_inventory_sources, as: 'assignedInventorySources', class: Google::Apis::DisplayvideoV1::AssignedInventorySource, decorator: Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
2606
+
2607
+ property :next_page_token, as: 'nextPageToken'
2608
+ end
2609
+ end
2610
+
2611
+ class ListAssignedLocationsResponse
2612
+ # @private
2613
+ class Representation < Google::Apis::Core::JsonRepresentation
2614
+ collection :assigned_locations, as: 'assignedLocations', class: Google::Apis::DisplayvideoV1::AssignedLocation, decorator: Google::Apis::DisplayvideoV1::AssignedLocation::Representation
2615
+
2616
+ property :next_page_token, as: 'nextPageToken'
2617
+ end
2618
+ end
2619
+
2340
2620
  class ListCampaignsResponse
2341
2621
  # @private
2342
2622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2463,6 +2743,24 @@ module Google
2463
2743
  end
2464
2744
  end
2465
2745
 
2746
+ class ListNegativeKeywordsResponse
2747
+ # @private
2748
+ class Representation < Google::Apis::Core::JsonRepresentation
2749
+ collection :negative_keywords, as: 'negativeKeywords', class: Google::Apis::DisplayvideoV1::NegativeKeyword, decorator: Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
2750
+
2751
+ property :next_page_token, as: 'nextPageToken'
2752
+ end
2753
+ end
2754
+
2755
+ class ListSitesResponse
2756
+ # @private
2757
+ class Representation < Google::Apis::Core::JsonRepresentation
2758
+ property :next_page_token, as: 'nextPageToken'
2759
+ collection :sites, as: 'sites', class: Google::Apis::DisplayvideoV1::Site, decorator: Google::Apis::DisplayvideoV1::Site::Representation
2760
+
2761
+ end
2762
+ end
2763
+
2466
2764
  class ListTargetingOptionsResponse
2467
2765
  # @private
2468
2766
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2508,6 +2806,14 @@ module Google
2508
2806
  end
2509
2807
  end
2510
2808
 
2809
+ class NegativeKeyword
2810
+ # @private
2811
+ class Representation < Google::Apis::Core::JsonRepresentation
2812
+ property :keyword_value, as: 'keywordValue'
2813
+ property :name, as: 'name'
2814
+ end
2815
+ end
2816
+
2511
2817
  class NegativeKeywordList
2512
2818
  # @private
2513
2819
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2743,6 +3049,14 @@ module Google
2743
3049
  end
2744
3050
  end
2745
3051
 
3052
+ class Site
3053
+ # @private
3054
+ class Representation < Google::Apis::Core::JsonRepresentation
3055
+ property :name, as: 'name'
3056
+ property :url_or_app_id, as: 'urlOrAppId'
3057
+ end
3058
+ end
3059
+
2746
3060
  class Status
2747
3061
  # @private
2748
3062
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -48,6 +48,109 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
+ # Bulk edits targeting options under a single advertiser.
52
+ # The operation will delete the assigned targeting options provided in
53
+ # BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and
54
+ # then create the assigned targeting options provided in
55
+ # BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
56
+ # @param [Fixnum] advertiser_id
57
+ # Required. The ID of the advertiser.
58
+ # @param [Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsRequest] bulk_edit_advertiser_assigned_targeting_options_request_object
59
+ # @param [String] fields
60
+ # Selector specifying which fields to include in a partial response.
61
+ # @param [String] quota_user
62
+ # Available to use for quota purposes for server-side applications. Can be any
63
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
64
+ # @param [Google::Apis::RequestOptions] options
65
+ # Request-specific options
66
+ #
67
+ # @yield [result, err] Result & error if block supplied
68
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse] parsed result object
69
+ # @yieldparam err [StandardError] error object if request failed
70
+ #
71
+ # @return [Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse]
72
+ #
73
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
76
+ def bulk_edit_advertiser_assigned_targeting_options(advertiser_id, bulk_edit_advertiser_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
77
+ command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}:bulkEditAdvertiserAssignedTargetingOptions', options)
78
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsRequest::Representation
79
+ command.request_object = bulk_edit_advertiser_assigned_targeting_options_request_object
80
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse::Representation
81
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse
82
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
83
+ command.query['fields'] = fields unless fields.nil?
84
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
85
+ execute_or_queue_command(command, &block)
86
+ end
87
+
88
+ # Lists assigned targeting options of an advertiser across targeting types.
89
+ # @param [Fixnum] advertiser_id
90
+ # Required. The ID of the advertiser the line item belongs to.
91
+ # @param [String] filter
92
+ # Allows filtering by assigned targeting option properties.
93
+ # Supported syntax:
94
+ # * Filter expressions are made up of one or more restrictions.
95
+ # * Restrictions can be combined by the logical operator `OR`..
96
+ # * A restriction has the form of ``field` `operator` `value``.
97
+ # * The operator must be `EQUALS (=)`.
98
+ # * Supported fields:
99
+ # - `targetingType`
100
+ # Examples:
101
+ # * targetingType with value TARGETING_TYPE_CHANNEL
102
+ # `targetingType="TARGETING_TYPE_CHANNEL"`
103
+ # The length of this field should be no more than 500 characters.
104
+ # @param [String] order_by
105
+ # Field by which to sort the list.
106
+ # Acceptable values are:
107
+ # * `targetingType` (default)
108
+ # The default sorting order is ascending. To specify descending order for
109
+ # a field, a suffix "desc" should be added to the field name. Example:
110
+ # `targetingType desc`.
111
+ # @param [Fixnum] page_size
112
+ # Requested page size.
113
+ # The size must be an integer between `1` and `5000`. If unspecified,
114
+ # the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid
115
+ # value is specified.
116
+ # @param [String] page_token
117
+ # A token that lets the client fetch the next page of results.
118
+ # Typically, this is the value of
119
+ # next_page_token
120
+ # returned from the previous call to
121
+ # `BulkListAdvertiserAssignedTargetingOptions` method.
122
+ # If not specified, the first page of results will be returned.
123
+ # @param [String] fields
124
+ # Selector specifying which fields to include in a partial response.
125
+ # @param [String] quota_user
126
+ # Available to use for quota purposes for server-side applications. Can be any
127
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
128
+ # @param [Google::Apis::RequestOptions] options
129
+ # Request-specific options
130
+ #
131
+ # @yield [result, err] Result & error if block supplied
132
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse] parsed result object
133
+ # @yieldparam err [StandardError] error object if request failed
134
+ #
135
+ # @return [Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse]
136
+ #
137
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
138
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
139
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
140
+ def bulk_advertiser_list_advertiser_assigned_targeting_options(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
141
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:bulkListAdvertiserAssignedTargetingOptions', options)
142
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse::Representation
143
+ command.response_class = Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse
144
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
145
+ command.query['filter'] = filter unless filter.nil?
146
+ command.query['orderBy'] = order_by unless order_by.nil?
147
+ command.query['pageSize'] = page_size unless page_size.nil?
148
+ command.query['pageToken'] = page_token unless page_token.nil?
149
+ command.query['fields'] = fields unless fields.nil?
150
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
151
+ execute_or_queue_command(command, &block)
152
+ end
153
+
51
154
  # Creates a new advertiser.
52
155
  # Returns the newly created advertiser if successful.
53
156
  # This method can take up to 180 seconds to complete.
@@ -616,6 +719,234 @@ module Google
616
719
  execute_or_queue_command(command, &block)
617
720
  end
618
721
 
722
+ # Updates a channel. Returns the updated channel if successful.
723
+ # @param [Fixnum] advertiser_id
724
+ # The ID of the advertiser that owns the created channel.
725
+ # @param [Fixnum] channel_id
726
+ # Output only. The unique ID of the channel. Assigned by the system.
727
+ # @param [Google::Apis::DisplayvideoV1::Channel] channel_object
728
+ # @param [Fixnum] partner_id
729
+ # The ID of the partner that owns the created channel.
730
+ # @param [String] update_mask
731
+ # Required. The mask to control which fields to update.
732
+ # @param [String] fields
733
+ # Selector specifying which fields to include in a partial response.
734
+ # @param [String] quota_user
735
+ # Available to use for quota purposes for server-side applications. Can be any
736
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
737
+ # @param [Google::Apis::RequestOptions] options
738
+ # Request-specific options
739
+ #
740
+ # @yield [result, err] Result & error if block supplied
741
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Channel] parsed result object
742
+ # @yieldparam err [StandardError] error object if request failed
743
+ #
744
+ # @return [Google::Apis::DisplayvideoV1::Channel]
745
+ #
746
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
747
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
748
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
749
+ def patch_advertiser_channel(advertiser_id, channel_id, channel_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
750
+ command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/channels/{channelId}', options)
751
+ command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation
752
+ command.request_object = channel_object
753
+ command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation
754
+ command.response_class = Google::Apis::DisplayvideoV1::Channel
755
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
756
+ command.params['channelId'] = channel_id unless channel_id.nil?
757
+ command.query['partnerId'] = partner_id unless partner_id.nil?
758
+ command.query['updateMask'] = update_mask unless update_mask.nil?
759
+ command.query['fields'] = fields unless fields.nil?
760
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
761
+ execute_or_queue_command(command, &block)
762
+ end
763
+
764
+ # Bulk edits sites under a single channel.
765
+ # The operation will delete the sites provided in
766
+ # BulkEditSitesRequest.deleted_sites and then create the sites
767
+ # provided in BulkEditSitesRequest.created_sites.
768
+ # @param [Fixnum] advertiser_id
769
+ # The ID of the advertiser that owns the parent channel.
770
+ # @param [Fixnum] channel_id
771
+ # Required. The ID of the parent channel to which the sites belong.
772
+ # @param [Google::Apis::DisplayvideoV1::BulkEditSitesRequest] bulk_edit_sites_request_object
773
+ # @param [String] fields
774
+ # Selector specifying which fields to include in a partial response.
775
+ # @param [String] quota_user
776
+ # Available to use for quota purposes for server-side applications. Can be any
777
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
778
+ # @param [Google::Apis::RequestOptions] options
779
+ # Request-specific options
780
+ #
781
+ # @yield [result, err] Result & error if block supplied
782
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditSitesResponse] parsed result object
783
+ # @yieldparam err [StandardError] error object if request failed
784
+ #
785
+ # @return [Google::Apis::DisplayvideoV1::BulkEditSitesResponse]
786
+ #
787
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
788
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
789
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
790
+ def bulk_advertiser_channel_site_edit(advertiser_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
791
+ command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit', options)
792
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditSitesRequest::Representation
793
+ command.request_object = bulk_edit_sites_request_object
794
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditSitesResponse::Representation
795
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditSitesResponse
796
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
797
+ command.params['channelId'] = channel_id unless channel_id.nil?
798
+ command.query['fields'] = fields unless fields.nil?
799
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
800
+ execute_or_queue_command(command, &block)
801
+ end
802
+
803
+ # Creates a site in a channel.
804
+ # @param [Fixnum] advertiser_id
805
+ # The ID of the advertiser that owns the parent channel.
806
+ # @param [Fixnum] channel_id
807
+ # Required. The ID of the parent channel in which the site will be created.
808
+ # @param [Google::Apis::DisplayvideoV1::Site] site_object
809
+ # @param [Fixnum] partner_id
810
+ # The ID of the partner that owns the parent channel.
811
+ # @param [String] fields
812
+ # Selector specifying which fields to include in a partial response.
813
+ # @param [String] quota_user
814
+ # Available to use for quota purposes for server-side applications. Can be any
815
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
816
+ # @param [Google::Apis::RequestOptions] options
817
+ # Request-specific options
818
+ #
819
+ # @yield [result, err] Result & error if block supplied
820
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Site] parsed result object
821
+ # @yieldparam err [StandardError] error object if request failed
822
+ #
823
+ # @return [Google::Apis::DisplayvideoV1::Site]
824
+ #
825
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
826
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
827
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
828
+ def create_advertiser_channel_site(advertiser_id, channel_id, site_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
829
+ command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites', options)
830
+ command.request_representation = Google::Apis::DisplayvideoV1::Site::Representation
831
+ command.request_object = site_object
832
+ command.response_representation = Google::Apis::DisplayvideoV1::Site::Representation
833
+ command.response_class = Google::Apis::DisplayvideoV1::Site
834
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
835
+ command.params['channelId'] = channel_id unless channel_id.nil?
836
+ command.query['partnerId'] = partner_id unless partner_id.nil?
837
+ command.query['fields'] = fields unless fields.nil?
838
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
839
+ execute_or_queue_command(command, &block)
840
+ end
841
+
842
+ # Deletes a site from a channel.
843
+ # @param [Fixnum] advertiser_id
844
+ # The ID of the advertiser that owns the parent channel.
845
+ # @param [Fixnum] channel_id
846
+ # Required. The ID of the parent channel to which the site belongs.
847
+ # @param [String] url_or_app_id
848
+ # Required. The URL or app ID of the site to delete.
849
+ # @param [Fixnum] partner_id
850
+ # The ID of the partner that owns the parent channel.
851
+ # @param [String] fields
852
+ # Selector specifying which fields to include in a partial response.
853
+ # @param [String] quota_user
854
+ # Available to use for quota purposes for server-side applications. Can be any
855
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
856
+ # @param [Google::Apis::RequestOptions] options
857
+ # Request-specific options
858
+ #
859
+ # @yield [result, err] Result & error if block supplied
860
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
861
+ # @yieldparam err [StandardError] error object if request failed
862
+ #
863
+ # @return [Google::Apis::DisplayvideoV1::Empty]
864
+ #
865
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
866
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
867
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
868
+ def delete_advertiser_channel_site(advertiser_id, channel_id, url_or_app_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
869
+ command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}', options)
870
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
871
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
872
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
873
+ command.params['channelId'] = channel_id unless channel_id.nil?
874
+ command.params['urlOrAppId'] = url_or_app_id unless url_or_app_id.nil?
875
+ command.query['partnerId'] = partner_id unless partner_id.nil?
876
+ command.query['fields'] = fields unless fields.nil?
877
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
878
+ execute_or_queue_command(command, &block)
879
+ end
880
+
881
+ # Lists sites in a channel.
882
+ # @param [Fixnum] advertiser_id
883
+ # The ID of the advertiser that owns the parent channel.
884
+ # @param [Fixnum] channel_id
885
+ # Required. The ID of the parent channel to which the requested sites belong.
886
+ # @param [String] filter
887
+ # Allows filtering by site fields.
888
+ # Supported syntax:
889
+ # * Filter expressions for site currently can only contain at most one
890
+ # * restriction.
891
+ # * A restriction has the form of ``field` `operator` `value``.
892
+ # * The operator must be `CONTAINS (:)`.
893
+ # * Supported fields:
894
+ # - `urlOrAppId`
895
+ # Examples:
896
+ # * All sites for which the URL or app ID contains "google":
897
+ # `urlOrAppId : "google"`
898
+ # @param [String] order_by
899
+ # Field by which to sort the list.
900
+ # Acceptable values are:
901
+ # * `urlOrAppId` (default)
902
+ # The default sorting order is ascending. To specify descending order for a
903
+ # field, a suffix " desc" should be added to the field name. Example:
904
+ # `urlOrAppId desc`.
905
+ # @param [Fixnum] page_size
906
+ # Requested page size. Must be between `1` and `100`. If unspecified will
907
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
908
+ # is specified.
909
+ # @param [String] page_token
910
+ # A token identifying a page of results the server should return.
911
+ # Typically, this is the value of
912
+ # next_page_token returned from the
913
+ # previous call to `ListSites` method. If not specified, the first page
914
+ # of results will be returned.
915
+ # @param [Fixnum] partner_id
916
+ # The ID of the partner that owns the parent channel.
917
+ # @param [String] fields
918
+ # Selector specifying which fields to include in a partial response.
919
+ # @param [String] quota_user
920
+ # Available to use for quota purposes for server-side applications. Can be any
921
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
922
+ # @param [Google::Apis::RequestOptions] options
923
+ # Request-specific options
924
+ #
925
+ # @yield [result, err] Result & error if block supplied
926
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListSitesResponse] parsed result object
927
+ # @yieldparam err [StandardError] error object if request failed
928
+ #
929
+ # @return [Google::Apis::DisplayvideoV1::ListSitesResponse]
930
+ #
931
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
932
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
933
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
934
+ def list_advertiser_channel_sites(advertiser_id, channel_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
935
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/channels/{+channelId}/sites', options)
936
+ command.response_representation = Google::Apis::DisplayvideoV1::ListSitesResponse::Representation
937
+ command.response_class = Google::Apis::DisplayvideoV1::ListSitesResponse
938
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
939
+ command.params['channelId'] = channel_id unless channel_id.nil?
940
+ command.query['filter'] = filter unless filter.nil?
941
+ command.query['orderBy'] = order_by unless order_by.nil?
942
+ command.query['pageSize'] = page_size unless page_size.nil?
943
+ command.query['pageToken'] = page_token unless page_token.nil?
944
+ command.query['partnerId'] = partner_id unless partner_id.nil?
945
+ command.query['fields'] = fields unless fields.nil?
946
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
947
+ execute_or_queue_command(command, &block)
948
+ end
949
+
619
950
  # Creates a new creative.
620
951
  # Returns the newly created creative if successful.
621
952
  # @param [Fixnum] advertiser_id
@@ -737,8 +1068,7 @@ module Google
737
1068
  # * Between `(` and `)` there can only be restrictions combined by `OR`
738
1069
  # for the same field.
739
1070
  # * A restriction has the form of ``field` `operator` `value``.
740
- # * The operator must be `EQUALS (=)`.
741
- # * Supported fields:
1071
+ # * The operator must be `EQUALS (=)` for the following fields:
742
1072
  # - `entityStatus`
743
1073
  # - `creativeType`.
744
1074
  # - `dimensions`
@@ -747,6 +1077,8 @@ module Google
747
1077
  # - `approvalStatus`
748
1078
  # - `exchangeReviewStatus`
749
1079
  # - `dynamic`
1080
+ # * The operator must be `HAS (:)` for the following fields:
1081
+ # - `lineItemIds`
750
1082
  # * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic` there may
751
1083
  # be at most one restriction.
752
1084
  # * For `dimensions`, the value is in the form of `"`width`x`height`"`.
@@ -754,6 +1086,8 @@ module Google
754
1086
  # ``exchange`-`reviewStatus``.
755
1087
  # * For `minDuration` and `maxDuration`, the value is in the form of
756
1088
  # `"`duration`s"`. Only seconds are supported with millisecond granularity.
1089
+ # * There may be multiple `lineItemIds` restrictions in order to search
1090
+ # against multiple possible line item IDs.
757
1091
  # Examples:
758
1092
  # * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"`
759
1093
  # * All active creatives with 300x400 or 50x100 dimensions:
@@ -764,6 +1098,8 @@ module Google
764
1098
  # `dynamic="true" AND minDuration="5.2s" AND
765
1099
  # (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED"
766
1100
  # OR exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")`
1101
+ # * All video creatives that are associated with line item ID 1 or 2:
1102
+ # creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)
767
1103
  # The length of this field should be no more than 500 characters.
768
1104
  # @param [String] order_by
769
1105
  # Field by which to sort the list.
@@ -1607,12 +1943,11 @@ module Google
1607
1943
  execute_or_queue_command(command, &block)
1608
1944
  end
1609
1945
 
1610
- # Gets a location list.
1946
+ # Creates a new location list. Returns the newly created location list if
1947
+ # successful.
1611
1948
  # @param [Fixnum] advertiser_id
1612
- # Required. The ID of the DV360 advertiser to which the fetched location list
1613
- # belongs.
1614
- # @param [Fixnum] location_list_id
1615
- # Required. The ID of the location list to fetch.
1949
+ # Required. The ID of the DV360 advertiser to which the location list belongs.
1950
+ # @param [Google::Apis::DisplayvideoV1::LocationList] location_list_object
1616
1951
  # @param [String] fields
1617
1952
  # Selector specifying which fields to include in a partial response.
1618
1953
  # @param [String] quota_user
@@ -1630,20 +1965,55 @@ module Google
1630
1965
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1631
1966
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1632
1967
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1633
- def get_advertiser_location_list(advertiser_id, location_list_id, fields: nil, quota_user: nil, options: nil, &block)
1634
- command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/locationLists/{+locationListId}', options)
1968
+ def create_advertiser_location_list(advertiser_id, location_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1969
+ command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/locationLists', options)
1970
+ command.request_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
1971
+ command.request_object = location_list_object
1635
1972
  command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
1636
1973
  command.response_class = Google::Apis::DisplayvideoV1::LocationList
1637
1974
  command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1638
- command.params['locationListId'] = location_list_id unless location_list_id.nil?
1639
1975
  command.query['fields'] = fields unless fields.nil?
1640
1976
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1641
1977
  execute_or_queue_command(command, &block)
1642
1978
  end
1643
1979
 
1644
- # Lists location lists based on a given advertiser id.
1980
+ # Gets a location list.
1645
1981
  # @param [Fixnum] advertiser_id
1646
- # Required. The ID of the DV360 advertiser to which the fetched location lists
1982
+ # Required. The ID of the DV360 advertiser to which the fetched location list
1983
+ # belongs.
1984
+ # @param [Fixnum] location_list_id
1985
+ # Required. The ID of the location list to fetch.
1986
+ # @param [String] fields
1987
+ # Selector specifying which fields to include in a partial response.
1988
+ # @param [String] quota_user
1989
+ # Available to use for quota purposes for server-side applications. Can be any
1990
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1991
+ # @param [Google::Apis::RequestOptions] options
1992
+ # Request-specific options
1993
+ #
1994
+ # @yield [result, err] Result & error if block supplied
1995
+ # @yieldparam result [Google::Apis::DisplayvideoV1::LocationList] parsed result object
1996
+ # @yieldparam err [StandardError] error object if request failed
1997
+ #
1998
+ # @return [Google::Apis::DisplayvideoV1::LocationList]
1999
+ #
2000
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2001
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2002
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2003
+ def get_advertiser_location_list(advertiser_id, location_list_id, fields: nil, quota_user: nil, options: nil, &block)
2004
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/locationLists/{+locationListId}', options)
2005
+ command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
2006
+ command.response_class = Google::Apis::DisplayvideoV1::LocationList
2007
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2008
+ command.params['locationListId'] = location_list_id unless location_list_id.nil?
2009
+ command.query['fields'] = fields unless fields.nil?
2010
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2011
+ execute_or_queue_command(command, &block)
2012
+ end
2013
+
2014
+ # Lists location lists based on a given advertiser id.
2015
+ # @param [Fixnum] advertiser_id
2016
+ # Required. The ID of the DV360 advertiser to which the fetched location lists
1647
2017
  # belong.
1648
2018
  # @param [String] filter
1649
2019
  # Allows filtering by location list fields.
@@ -1709,14 +2079,14 @@ module Google
1709
2079
  execute_or_queue_command(command, &block)
1710
2080
  end
1711
2081
 
1712
- # Gets a negative keyword list given an advertiser ID and a negative keyword
1713
- # list ID.
2082
+ # Updates a location list. Returns the updated location list if successful.
1714
2083
  # @param [Fixnum] advertiser_id
1715
- # Required. The ID of the DV360 advertiser to which the fetched negative keyword
1716
- # list
1717
- # belongs.
1718
- # @param [Fixnum] negative_keyword_list_id
1719
- # Required. The ID of the negative keyword list to fetch.
2084
+ # Required. The ID of the DV360 advertiser to which the location lists belongs.
2085
+ # @param [Fixnum] location_list_id
2086
+ # Output only. The unique ID of the location list. Assigned by the system.
2087
+ # @param [Google::Apis::DisplayvideoV1::LocationList] location_list_object
2088
+ # @param [String] update_mask
2089
+ # Required. The mask to control which fields to update.
1720
2090
  # @param [String] fields
1721
2091
  # Selector specifying which fields to include in a partial response.
1722
2092
  # @param [String] quota_user
@@ -1726,40 +2096,39 @@ module Google
1726
2096
  # Request-specific options
1727
2097
  #
1728
2098
  # @yield [result, err] Result & error if block supplied
1729
- # @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeywordList] parsed result object
2099
+ # @yieldparam result [Google::Apis::DisplayvideoV1::LocationList] parsed result object
1730
2100
  # @yieldparam err [StandardError] error object if request failed
1731
2101
  #
1732
- # @return [Google::Apis::DisplayvideoV1::NegativeKeywordList]
2102
+ # @return [Google::Apis::DisplayvideoV1::LocationList]
1733
2103
  #
1734
2104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1735
2105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1736
2106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1737
- def get_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil, &block)
1738
- command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', options)
1739
- command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
1740
- command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList
2107
+ def patch_advertiser_location_list(advertiser_id, location_list_id, location_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2108
+ command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/locationLists/{locationListId}', options)
2109
+ command.request_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
2110
+ command.request_object = location_list_object
2111
+ command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation
2112
+ command.response_class = Google::Apis::DisplayvideoV1::LocationList
1741
2113
  command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1742
- command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
2114
+ command.params['locationListId'] = location_list_id unless location_list_id.nil?
2115
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1743
2116
  command.query['fields'] = fields unless fields.nil?
1744
2117
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1745
2118
  execute_or_queue_command(command, &block)
1746
2119
  end
1747
2120
 
1748
- # Lists negative keyword lists based on a given advertiser id.
2121
+ # Bulk edits multiple assignments between locations and a single location
2122
+ # list.
2123
+ # The operation will delete the assigned locations provided in
2124
+ # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then
2125
+ # create the assigned locations provided in
2126
+ # BulkEditAssignedLocationsRequest.created_assigned_locations.
1749
2127
  # @param [Fixnum] advertiser_id
1750
- # Required. The ID of the DV360 advertiser to which the fetched negative keyword
1751
- # lists
1752
- # belong.
1753
- # @param [Fixnum] page_size
1754
- # Requested page size. Must be between `1` and `100`.
1755
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
1756
- # invalid value is specified.
1757
- # @param [String] page_token
1758
- # A token identifying a page of results the server should return.
1759
- # Typically, this is the value of
1760
- # next_page_token
1761
- # returned from the previous call to `ListNegativeKeywordLists` method.
1762
- # If not specified, the first page of results will be returned.
2128
+ # Required. The ID of the DV360 advertiser to which the location list belongs.
2129
+ # @param [Fixnum] location_list_id
2130
+ # Required. The ID of the location list to which these assignments are assigned.
2131
+ # @param [Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsRequest] bulk_edit_assigned_locations_request_object
1763
2132
  # @param [String] fields
1764
2133
  # Selector specifying which fields to include in a partial response.
1765
2134
  # @param [String] quota_user
@@ -1769,102 +2138,33 @@ module Google
1769
2138
  # Request-specific options
1770
2139
  #
1771
2140
  # @yield [result, err] Result & error if block supplied
1772
- # @yieldparam result [Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse] parsed result object
2141
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse] parsed result object
1773
2142
  # @yieldparam err [StandardError] error object if request failed
1774
2143
  #
1775
- # @return [Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse]
2144
+ # @return [Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse]
1776
2145
  #
1777
2146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1778
2147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1779
2148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1780
- def list_advertiser_negative_keyword_lists(advertiser_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1781
- command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists', options)
1782
- command.response_representation = Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse::Representation
1783
- command.response_class = Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse
2149
+ def bulk_edit_assigned_locations(advertiser_id, location_list_id, bulk_edit_assigned_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2150
+ command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit', options)
2151
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsRequest::Representation
2152
+ command.request_object = bulk_edit_assigned_locations_request_object
2153
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse::Representation
2154
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse
1784
2155
  command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
1785
- command.query['pageSize'] = page_size unless page_size.nil?
1786
- command.query['pageToken'] = page_token unless page_token.nil?
1787
- command.query['fields'] = fields unless fields.nil?
1788
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1789
- execute_or_queue_command(command, &block)
1790
- end
1791
-
1792
- # Gets a combined audience.
1793
- # @param [Fixnum] combined_audience_id
1794
- # Required. The ID of the combined audience to fetch.
1795
- # @param [Fixnum] advertiser_id
1796
- # The ID of the advertiser that has access to the fetched combined
1797
- # audience.
1798
- # @param [Fixnum] partner_id
1799
- # The ID of the partner that has access to the fetched combined audience.
1800
- # @param [String] fields
1801
- # Selector specifying which fields to include in a partial response.
1802
- # @param [String] quota_user
1803
- # Available to use for quota purposes for server-side applications. Can be any
1804
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1805
- # @param [Google::Apis::RequestOptions] options
1806
- # Request-specific options
1807
- #
1808
- # @yield [result, err] Result & error if block supplied
1809
- # @yieldparam result [Google::Apis::DisplayvideoV1::CombinedAudience] parsed result object
1810
- # @yieldparam err [StandardError] error object if request failed
1811
- #
1812
- # @return [Google::Apis::DisplayvideoV1::CombinedAudience]
1813
- #
1814
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1815
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1816
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1817
- def get_combined_audience(combined_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1818
- command = make_simple_command(:get, 'v1/combinedAudiences/{+combinedAudienceId}', options)
1819
- command.response_representation = Google::Apis::DisplayvideoV1::CombinedAudience::Representation
1820
- command.response_class = Google::Apis::DisplayvideoV1::CombinedAudience
1821
- command.params['combinedAudienceId'] = combined_audience_id unless combined_audience_id.nil?
1822
- command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
1823
- command.query['partnerId'] = partner_id unless partner_id.nil?
2156
+ command.params['locationListId'] = location_list_id unless location_list_id.nil?
1824
2157
  command.query['fields'] = fields unless fields.nil?
1825
2158
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1826
2159
  execute_or_queue_command(command, &block)
1827
2160
  end
1828
2161
 
1829
- # Lists combined audiences.
1830
- # The order is defined by the
1831
- # order_by parameter.
2162
+ # Creates an assignment between a location and a location list.
1832
2163
  # @param [Fixnum] advertiser_id
1833
- # The ID of the advertiser that has access to the fetched combined
1834
- # audiences.
1835
- # @param [String] filter
1836
- # Allows filtering by combined audience fields.
1837
- # Supported syntax:
1838
- # * Filter expressions for combined audiences currently can only contain at
1839
- # most one restriction.
1840
- # * A restriction has the form of ``field` `operator` `value``.
1841
- # * The operator must be `CONTAINS (:)`.
1842
- # * Supported fields:
1843
- # - `displayName`
1844
- # Examples:
1845
- # * All combined audiences for which the display name contains "Google":
1846
- # `displayName : "Google"`.
1847
- # The length of this field should be no more than 500 characters.
1848
- # @param [String] order_by
1849
- # Field by which to sort the list.
1850
- # Acceptable values are:
1851
- # * `combinedAudienceId` (default)
1852
- # * `displayName`
1853
- # The default sorting order is ascending. To specify descending order for
1854
- # a field, a suffix "desc" should be added to the field name. Example:
1855
- # `displayName desc`.
1856
- # @param [Fixnum] page_size
1857
- # Requested page size. Must be between `1` and `100`. If unspecified will
1858
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1859
- # is specified.
1860
- # @param [String] page_token
1861
- # A token identifying a page of results the server should return.
1862
- # Typically, this is the value of
1863
- # next_page_token
1864
- # returned from the previous call to `ListCombinedAudiences` method.
1865
- # If not specified, the first page of results will be returned.
1866
- # @param [Fixnum] partner_id
1867
- # The ID of the partner that has access to the fetched combined audiences.
2164
+ # Required. The ID of the DV360 advertiser to which the location list belongs.
2165
+ # @param [Fixnum] location_list_id
2166
+ # Required. The ID of the location list for which the assignment will be created.
2167
+ # @param [Google::Apis::DisplayvideoV1::AssignedLocation] assigned_location_object
1868
2168
  # @param [String] fields
1869
2169
  # Selector specifying which fields to include in a partial response.
1870
2170
  # @param [String] quota_user
@@ -1874,35 +2174,34 @@ module Google
1874
2174
  # Request-specific options
1875
2175
  #
1876
2176
  # @yield [result, err] Result & error if block supplied
1877
- # @yieldparam result [Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse] parsed result object
2177
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedLocation] parsed result object
1878
2178
  # @yieldparam err [StandardError] error object if request failed
1879
2179
  #
1880
- # @return [Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse]
2180
+ # @return [Google::Apis::DisplayvideoV1::AssignedLocation]
1881
2181
  #
1882
2182
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1883
2183
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1884
2184
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1885
- def list_combined_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1886
- command = make_simple_command(:get, 'v1/combinedAudiences', options)
1887
- command.response_representation = Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse::Representation
1888
- command.response_class = Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse
1889
- command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
1890
- command.query['filter'] = filter unless filter.nil?
1891
- command.query['orderBy'] = order_by unless order_by.nil?
1892
- command.query['pageSize'] = page_size unless page_size.nil?
1893
- command.query['pageToken'] = page_token unless page_token.nil?
1894
- command.query['partnerId'] = partner_id unless partner_id.nil?
2185
+ def create_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2186
+ command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations', options)
2187
+ command.request_representation = Google::Apis::DisplayvideoV1::AssignedLocation::Representation
2188
+ command.request_object = assigned_location_object
2189
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedLocation::Representation
2190
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedLocation
2191
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2192
+ command.params['locationListId'] = location_list_id unless location_list_id.nil?
1895
2193
  command.query['fields'] = fields unless fields.nil?
1896
2194
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1897
2195
  execute_or_queue_command(command, &block)
1898
2196
  end
1899
2197
 
1900
- # Gets a custom list.
1901
- # @param [Fixnum] custom_list_id
1902
- # Required. The ID of the custom list to fetch.
2198
+ # Deletes the assignment between a location and a location list.
1903
2199
  # @param [Fixnum] advertiser_id
1904
- # The ID of the DV360 advertiser that has access to the fetched custom
1905
- # lists.
2200
+ # Required. The ID of the DV360 advertiser to which the location list belongs.
2201
+ # @param [Fixnum] location_list_id
2202
+ # Required. The ID of the location list to which this assignment is assigned.
2203
+ # @param [Fixnum] assigned_location_id
2204
+ # Required. The ID of the assigned location to delete.
1906
2205
  # @param [String] fields
1907
2206
  # Selector specifying which fields to include in a partial response.
1908
2207
  # @param [String] quota_user
@@ -1912,52 +2211,48 @@ module Google
1912
2211
  # Request-specific options
1913
2212
  #
1914
2213
  # @yield [result, err] Result & error if block supplied
1915
- # @yieldparam result [Google::Apis::DisplayvideoV1::CustomList] parsed result object
2214
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
1916
2215
  # @yieldparam err [StandardError] error object if request failed
1917
2216
  #
1918
- # @return [Google::Apis::DisplayvideoV1::CustomList]
2217
+ # @return [Google::Apis::DisplayvideoV1::Empty]
1919
2218
  #
1920
2219
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1921
2220
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1922
2221
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1923
- def get_custom_list(custom_list_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1924
- command = make_simple_command(:get, 'v1/customLists/{+customListId}', options)
1925
- command.response_representation = Google::Apis::DisplayvideoV1::CustomList::Representation
1926
- command.response_class = Google::Apis::DisplayvideoV1::CustomList
1927
- command.params['customListId'] = custom_list_id unless custom_list_id.nil?
1928
- command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2222
+ def delete_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_id, fields: nil, quota_user: nil, options: nil, &block)
2223
+ command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}', options)
2224
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
2225
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
2226
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2227
+ command.params['locationListId'] = location_list_id unless location_list_id.nil?
2228
+ command.params['assignedLocationId'] = assigned_location_id unless assigned_location_id.nil?
1929
2229
  command.query['fields'] = fields unless fields.nil?
1930
2230
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1931
2231
  execute_or_queue_command(command, &block)
1932
2232
  end
1933
2233
 
1934
- # Lists custom lists.
1935
- # The order is defined by the order_by
1936
- # parameter.
2234
+ # Lists locations assigned to a location list.
1937
2235
  # @param [Fixnum] advertiser_id
1938
- # The ID of the DV360 advertiser that has access to the fetched custom
1939
- # lists.
2236
+ # Required. The ID of the DV360 advertiser to which the location list belongs.
2237
+ # @param [Fixnum] location_list_id
2238
+ # Required. The ID of the location list to which these assignments are assigned.
1940
2239
  # @param [String] filter
1941
- # Allows filtering by custom list fields.
2240
+ # Allows filtering by location list assignment fields.
1942
2241
  # Supported syntax:
1943
- # * Filter expressions for custom lists currently can only contain at
1944
- # most one restriction.
2242
+ # * Filter expressions are made up of one or more restrictions.
2243
+ # * Restrictions can be combined by the logical operator `OR`.
1945
2244
  # * A restriction has the form of ``field` `operator` `value``.
1946
- # * The operator must be `CONTAINS (:)`.
2245
+ # * The operator must be `EQUALS (=)`.
1947
2246
  # * Supported fields:
1948
- # - `displayName`
1949
- # Examples:
1950
- # * All custom lists for which the display name contains "Google":
1951
- # `displayName : "Google"`.
2247
+ # - `assignedLocationId`
1952
2248
  # The length of this field should be no more than 500 characters.
1953
2249
  # @param [String] order_by
1954
2250
  # Field by which to sort the list.
1955
2251
  # Acceptable values are:
1956
- # * `customListId` (default)
1957
- # * `displayName`
1958
- # The default sorting order is ascending. To specify descending order for
1959
- # a field, a suffix "desc" should be added to the field name. Example:
1960
- # `displayName desc`.
2252
+ # * `assignedLocationId` (default)
2253
+ # The default sorting order is ascending. To specify descending order for a
2254
+ # field, a suffix " desc" should be added to the field name. Example:
2255
+ # `assignedLocationId desc`.
1961
2256
  # @param [Fixnum] page_size
1962
2257
  # Requested page size. Must be between `1` and `100`. If unspecified will
1963
2258
  # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
@@ -1966,8 +2261,8 @@ module Google
1966
2261
  # A token identifying a page of results the server should return.
1967
2262
  # Typically, this is the value of
1968
2263
  # next_page_token
1969
- # returned from the previous call to `ListCustomLists` method.
1970
- # If not specified, the first page of results will be returned.
2264
+ # returned from the previous call to `ListAssignedLocations`
2265
+ # method. If not specified, the first page of results will be returned.
1971
2266
  # @param [String] fields
1972
2267
  # Selector specifying which fields to include in a partial response.
1973
2268
  # @param [String] quota_user
@@ -1977,19 +2272,20 @@ module Google
1977
2272
  # Request-specific options
1978
2273
  #
1979
2274
  # @yield [result, err] Result & error if block supplied
1980
- # @yieldparam result [Google::Apis::DisplayvideoV1::ListCustomListsResponse] parsed result object
2275
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse] parsed result object
1981
2276
  # @yieldparam err [StandardError] error object if request failed
1982
2277
  #
1983
- # @return [Google::Apis::DisplayvideoV1::ListCustomListsResponse]
2278
+ # @return [Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse]
1984
2279
  #
1985
2280
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1986
2281
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1987
2282
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1988
- def list_custom_lists(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1989
- command = make_simple_command(:get, 'v1/customLists', options)
1990
- command.response_representation = Google::Apis::DisplayvideoV1::ListCustomListsResponse::Representation
1991
- command.response_class = Google::Apis::DisplayvideoV1::ListCustomListsResponse
1992
- command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2283
+ def list_advertiser_location_list_assigned_locations(advertiser_id, location_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2284
+ command = make_simple_command(:get, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations', options)
2285
+ command.response_representation = Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse::Representation
2286
+ command.response_class = Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse
2287
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2288
+ command.params['locationListId'] = location_list_id unless location_list_id.nil?
1993
2289
  command.query['filter'] = filter unless filter.nil?
1994
2290
  command.query['orderBy'] = order_by unless order_by.nil?
1995
2291
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -1999,15 +2295,13 @@ module Google
1999
2295
  execute_or_queue_command(command, &block)
2000
2296
  end
2001
2297
 
2002
- # Gets a first and third party audience.
2003
- # @param [Fixnum] first_and_third_party_audience_id
2004
- # Required. The ID of the first and third party audience to fetch.
2298
+ # Creates a new negative keyword list. Returns the newly created negative
2299
+ # keyword list if successful.
2005
2300
  # @param [Fixnum] advertiser_id
2006
- # The ID of the advertiser that has access to the fetched first and
2007
- # third party audience.
2008
- # @param [Fixnum] partner_id
2009
- # The ID of the partner that has access to the fetched first and
2010
- # third party audience.
2301
+ # Required. The ID of the DV360 advertiser to which the negative keyword list
2302
+ # will
2303
+ # belong.
2304
+ # @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
2011
2305
  # @param [String] fields
2012
2306
  # Selector specifying which fields to include in a partial response.
2013
2307
  # @param [String] quota_user
@@ -2017,49 +2311,1008 @@ module Google
2017
2311
  # Request-specific options
2018
2312
  #
2019
2313
  # @yield [result, err] Result & error if block supplied
2020
- # @yieldparam result [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience] parsed result object
2314
+ # @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeywordList] parsed result object
2021
2315
  # @yieldparam err [StandardError] error object if request failed
2022
2316
  #
2023
- # @return [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience]
2317
+ # @return [Google::Apis::DisplayvideoV1::NegativeKeywordList]
2024
2318
  #
2025
2319
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2026
2320
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2027
2321
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2028
- def get_first_and_third_party_audience(first_and_third_party_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2029
- command = make_simple_command(:get, 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}', options)
2030
- command.response_representation = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience::Representation
2031
- command.response_class = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
2032
- command.params['firstAndThirdPartyAudienceId'] = first_and_third_party_audience_id unless first_and_third_party_audience_id.nil?
2033
- command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2034
- command.query['partnerId'] = partner_id unless partner_id.nil?
2322
+ def create_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2323
+ command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/negativeKeywordLists', options)
2324
+ command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
2325
+ command.request_object = negative_keyword_list_object
2326
+ command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
2327
+ command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList
2328
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2035
2329
  command.query['fields'] = fields unless fields.nil?
2036
2330
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2037
2331
  execute_or_queue_command(command, &block)
2038
2332
  end
2039
2333
 
2040
- # Lists first and third party audiences.
2041
- # The order is defined by the
2042
- # order_by parameter.
2334
+ # Deletes a negative keyword list given an advertiser ID and a negative
2335
+ # keyword list ID.
2043
2336
  # @param [Fixnum] advertiser_id
2044
- # The ID of the advertiser that has access to the fetched first and
2045
- # third party audiences.
2337
+ # Required. The ID of the DV360 advertiser to which the negative keyword list
2338
+ # belongs.
2339
+ # @param [Fixnum] negative_keyword_list_id
2340
+ # Required. The ID of the negative keyword list to delete.
2341
+ # @param [String] fields
2342
+ # Selector specifying which fields to include in a partial response.
2343
+ # @param [String] quota_user
2344
+ # Available to use for quota purposes for server-side applications. Can be any
2345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2346
+ # @param [Google::Apis::RequestOptions] options
2347
+ # Request-specific options
2348
+ #
2349
+ # @yield [result, err] Result & error if block supplied
2350
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
2351
+ # @yieldparam err [StandardError] error object if request failed
2352
+ #
2353
+ # @return [Google::Apis::DisplayvideoV1::Empty]
2354
+ #
2355
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2356
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2357
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2358
+ def delete_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil, &block)
2359
+ command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', options)
2360
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
2361
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
2362
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2363
+ command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
2364
+ command.query['fields'] = fields unless fields.nil?
2365
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2366
+ execute_or_queue_command(command, &block)
2367
+ end
2368
+
2369
+ # Gets a negative keyword list given an advertiser ID and a negative keyword
2370
+ # list ID.
2371
+ # @param [Fixnum] advertiser_id
2372
+ # Required. The ID of the DV360 advertiser to which the fetched negative keyword
2373
+ # list
2374
+ # belongs.
2375
+ # @param [Fixnum] negative_keyword_list_id
2376
+ # Required. The ID of the negative keyword list to fetch.
2377
+ # @param [String] fields
2378
+ # Selector specifying which fields to include in a partial response.
2379
+ # @param [String] quota_user
2380
+ # Available to use for quota purposes for server-side applications. Can be any
2381
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2382
+ # @param [Google::Apis::RequestOptions] options
2383
+ # Request-specific options
2384
+ #
2385
+ # @yield [result, err] Result & error if block supplied
2386
+ # @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeywordList] parsed result object
2387
+ # @yieldparam err [StandardError] error object if request failed
2388
+ #
2389
+ # @return [Google::Apis::DisplayvideoV1::NegativeKeywordList]
2390
+ #
2391
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2392
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2393
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2394
+ def get_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil, &block)
2395
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', options)
2396
+ command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
2397
+ command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList
2398
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2399
+ command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
2400
+ command.query['fields'] = fields unless fields.nil?
2401
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2402
+ execute_or_queue_command(command, &block)
2403
+ end
2404
+
2405
+ # Lists negative keyword lists based on a given advertiser id.
2406
+ # @param [Fixnum] advertiser_id
2407
+ # Required. The ID of the DV360 advertiser to which the fetched negative keyword
2408
+ # lists
2409
+ # belong.
2410
+ # @param [Fixnum] page_size
2411
+ # Requested page size. Must be between `1` and `100`.
2412
+ # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
2413
+ # invalid value is specified.
2414
+ # @param [String] page_token
2415
+ # A token identifying a page of results the server should return.
2416
+ # Typically, this is the value of
2417
+ # next_page_token
2418
+ # returned from the previous call to `ListNegativeKeywordLists` method.
2419
+ # If not specified, the first page of results will be returned.
2420
+ # @param [String] fields
2421
+ # Selector specifying which fields to include in a partial response.
2422
+ # @param [String] quota_user
2423
+ # Available to use for quota purposes for server-side applications. Can be any
2424
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2425
+ # @param [Google::Apis::RequestOptions] options
2426
+ # Request-specific options
2427
+ #
2428
+ # @yield [result, err] Result & error if block supplied
2429
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse] parsed result object
2430
+ # @yieldparam err [StandardError] error object if request failed
2431
+ #
2432
+ # @return [Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse]
2433
+ #
2434
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2435
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2436
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2437
+ def list_advertiser_negative_keyword_lists(advertiser_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2438
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists', options)
2439
+ command.response_representation = Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse::Representation
2440
+ command.response_class = Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse
2441
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2442
+ command.query['pageSize'] = page_size unless page_size.nil?
2443
+ command.query['pageToken'] = page_token unless page_token.nil?
2444
+ command.query['fields'] = fields unless fields.nil?
2445
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2446
+ execute_or_queue_command(command, &block)
2447
+ end
2448
+
2449
+ # Updates a negative keyword list. Returns the updated negative keyword list
2450
+ # if successful.
2451
+ # @param [Fixnum] advertiser_id
2452
+ # Required. The ID of the DV360 advertiser to which the negative keyword list
2453
+ # belongs.
2454
+ # @param [Fixnum] negative_keyword_list_id
2455
+ # Output only. The unique ID of the negative keyword list. Assigned by the
2456
+ # system.
2457
+ # @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
2458
+ # @param [String] update_mask
2459
+ # Required. The mask to control which fields to update.
2460
+ # @param [String] fields
2461
+ # Selector specifying which fields to include in a partial response.
2462
+ # @param [String] quota_user
2463
+ # Available to use for quota purposes for server-side applications. Can be any
2464
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2465
+ # @param [Google::Apis::RequestOptions] options
2466
+ # Request-specific options
2467
+ #
2468
+ # @yield [result, err] Result & error if block supplied
2469
+ # @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeywordList] parsed result object
2470
+ # @yieldparam err [StandardError] error object if request failed
2471
+ #
2472
+ # @return [Google::Apis::DisplayvideoV1::NegativeKeywordList]
2473
+ #
2474
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2475
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2476
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2477
+ def patch_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, negative_keyword_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2478
+ command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}', options)
2479
+ command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
2480
+ command.request_object = negative_keyword_list_object
2481
+ command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation
2482
+ command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList
2483
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2484
+ command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
2485
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2486
+ command.query['fields'] = fields unless fields.nil?
2487
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2488
+ execute_or_queue_command(command, &block)
2489
+ end
2490
+
2491
+ # Bulk edits negative keywords in a single negative keyword list.
2492
+ # The operation will delete the negative keywords provided in
2493
+ # BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then
2494
+ # create the negative keywords provided in
2495
+ # BulkEditNegativeKeywordsRequest.created_negative_keywords.
2496
+ # This operation is guaranteed to be atomic and will never result in a
2497
+ # partial success or partial failure.
2498
+ # @param [Fixnum] advertiser_id
2499
+ # Required. The ID of the DV360 advertiser to which the parent negative keyword
2500
+ # list
2501
+ # belongs.
2502
+ # @param [Fixnum] negative_keyword_list_id
2503
+ # Required. The ID of the parent negative keyword list to which the negative
2504
+ # keywords
2505
+ # belong.
2506
+ # @param [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest] bulk_edit_negative_keywords_request_object
2507
+ # @param [String] fields
2508
+ # Selector specifying which fields to include in a partial response.
2509
+ # @param [String] quota_user
2510
+ # Available to use for quota purposes for server-side applications. Can be any
2511
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2512
+ # @param [Google::Apis::RequestOptions] options
2513
+ # Request-specific options
2514
+ #
2515
+ # @yield [result, err] Result & error if block supplied
2516
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse] parsed result object
2517
+ # @yieldparam err [StandardError] error object if request failed
2518
+ #
2519
+ # @return [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse]
2520
+ #
2521
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2522
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2523
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2524
+ def bulk_edit_negative_keywords(advertiser_id, negative_keyword_list_id, bulk_edit_negative_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2525
+ command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit', options)
2526
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest::Representation
2527
+ command.request_object = bulk_edit_negative_keywords_request_object
2528
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse::Representation
2529
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse
2530
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2531
+ command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
2532
+ command.query['fields'] = fields unless fields.nil?
2533
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2534
+ execute_or_queue_command(command, &block)
2535
+ end
2536
+
2537
+ # Creates a negative keyword in a negative keyword list.
2538
+ # @param [Fixnum] advertiser_id
2539
+ # Required. The ID of the DV360 advertiser to which the parent negative keyword
2540
+ # list
2541
+ # belongs.
2542
+ # @param [Fixnum] negative_keyword_list_id
2543
+ # Required. The ID of the parent negative keyword list in which the negative
2544
+ # keyword
2545
+ # will be created.
2546
+ # @param [Google::Apis::DisplayvideoV1::NegativeKeyword] negative_keyword_object
2547
+ # @param [String] fields
2548
+ # Selector specifying which fields to include in a partial response.
2549
+ # @param [String] quota_user
2550
+ # Available to use for quota purposes for server-side applications. Can be any
2551
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2552
+ # @param [Google::Apis::RequestOptions] options
2553
+ # Request-specific options
2554
+ #
2555
+ # @yield [result, err] Result & error if block supplied
2556
+ # @yieldparam result [Google::Apis::DisplayvideoV1::NegativeKeyword] parsed result object
2557
+ # @yieldparam err [StandardError] error object if request failed
2558
+ #
2559
+ # @return [Google::Apis::DisplayvideoV1::NegativeKeyword]
2560
+ #
2561
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2562
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2563
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2564
+ def create_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, negative_keyword_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2565
+ command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords', options)
2566
+ command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
2567
+ command.request_object = negative_keyword_object
2568
+ command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeyword::Representation
2569
+ command.response_class = Google::Apis::DisplayvideoV1::NegativeKeyword
2570
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2571
+ command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
2572
+ command.query['fields'] = fields unless fields.nil?
2573
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2574
+ execute_or_queue_command(command, &block)
2575
+ end
2576
+
2577
+ # Deletes a negative keyword from a negative keyword list.
2578
+ # @param [Fixnum] advertiser_id
2579
+ # Required. The ID of the DV360 advertiser to which the parent negative keyword
2580
+ # list
2581
+ # belongs.
2582
+ # @param [Fixnum] negative_keyword_list_id
2583
+ # Required. The ID of the parent negative keyword list to which the negative
2584
+ # keyword
2585
+ # belongs.
2586
+ # @param [String] keyword_value
2587
+ # Required. The keyword value of the negative keyword to delete.
2588
+ # @param [String] fields
2589
+ # Selector specifying which fields to include in a partial response.
2590
+ # @param [String] quota_user
2591
+ # Available to use for quota purposes for server-side applications. Can be any
2592
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2593
+ # @param [Google::Apis::RequestOptions] options
2594
+ # Request-specific options
2595
+ #
2596
+ # @yield [result, err] Result & error if block supplied
2597
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
2598
+ # @yieldparam err [StandardError] error object if request failed
2599
+ #
2600
+ # @return [Google::Apis::DisplayvideoV1::Empty]
2601
+ #
2602
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2603
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2604
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2605
+ def delete_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, keyword_value, fields: nil, quota_user: nil, options: nil, &block)
2606
+ command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}', options)
2607
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
2608
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
2609
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2610
+ command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
2611
+ command.params['keywordValue'] = keyword_value unless keyword_value.nil?
2612
+ command.query['fields'] = fields unless fields.nil?
2613
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2614
+ execute_or_queue_command(command, &block)
2615
+ end
2616
+
2617
+ # Lists negative keywords in a negative keyword list.
2618
+ # @param [Fixnum] advertiser_id
2619
+ # Required. The ID of the DV360 advertiser to which the parent negative keyword
2620
+ # list
2621
+ # belongs.
2622
+ # @param [Fixnum] negative_keyword_list_id
2623
+ # Required. The ID of the parent negative keyword list to which the requested
2624
+ # negative
2625
+ # keywords belong.
2626
+ # @param [String] filter
2627
+ # Allows filtering by negative keyword fields.
2628
+ # Supported syntax:
2629
+ # * Filter expressions for negative keyword currently can only contain at
2630
+ # most one
2631
+ # * restriction.
2632
+ # * A restriction has the form of ``field` `operator` `value``.
2633
+ # * The operator must be `CONTAINS (:)`.
2634
+ # * Supported fields:
2635
+ # - `keywordValue`
2636
+ # Examples:
2637
+ # * All negative keywords for which the keyword value contains "google":
2638
+ # `keywordValue : "google"`
2639
+ # @param [String] order_by
2640
+ # Field by which to sort the list.
2641
+ # Acceptable values are:
2642
+ # * `keywordValue` (default)
2643
+ # The default sorting order is ascending. To specify descending order for a
2644
+ # field, a suffix " desc" should be added to the field name. Example:
2645
+ # `keywordValue desc`.
2646
+ # @param [Fixnum] page_size
2647
+ # Requested page size. Must be between `1` and `100`. If unspecified will
2648
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2649
+ # is specified.
2650
+ # @param [String] page_token
2651
+ # A token identifying a page of results the server should return.
2652
+ # Typically, this is the value of
2653
+ # next_page_token returned
2654
+ # from the previous call to `ListNegativeKeywords` method. If not specified,
2655
+ # the first page of results will be returned.
2656
+ # @param [String] fields
2657
+ # Selector specifying which fields to include in a partial response.
2658
+ # @param [String] quota_user
2659
+ # Available to use for quota purposes for server-side applications. Can be any
2660
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2661
+ # @param [Google::Apis::RequestOptions] options
2662
+ # Request-specific options
2663
+ #
2664
+ # @yield [result, err] Result & error if block supplied
2665
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse] parsed result object
2666
+ # @yieldparam err [StandardError] error object if request failed
2667
+ #
2668
+ # @return [Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse]
2669
+ #
2670
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2671
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2672
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2673
+ def list_advertiser_negative_keyword_list_negative_keywords(advertiser_id, negative_keyword_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2674
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords', options)
2675
+ command.response_representation = Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse::Representation
2676
+ command.response_class = Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse
2677
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2678
+ command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil?
2679
+ command.query['filter'] = filter unless filter.nil?
2680
+ command.query['orderBy'] = order_by unless order_by.nil?
2681
+ command.query['pageSize'] = page_size unless page_size.nil?
2682
+ command.query['pageToken'] = page_token unless page_token.nil?
2683
+ command.query['fields'] = fields unless fields.nil?
2684
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2685
+ execute_or_queue_command(command, &block)
2686
+ end
2687
+
2688
+ # Assigns a targeting option to an advertiser.
2689
+ # Returns the assigned targeting option if successful.
2690
+ # @param [Fixnum] advertiser_id
2691
+ # Required. The ID of the advertiser.
2692
+ # @param [String] targeting_type
2693
+ # Required. Identifies the type of this assigned targeting option.
2694
+ # @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
2695
+ # @param [String] fields
2696
+ # Selector specifying which fields to include in a partial response.
2697
+ # @param [String] quota_user
2698
+ # Available to use for quota purposes for server-side applications. Can be any
2699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2700
+ # @param [Google::Apis::RequestOptions] options
2701
+ # Request-specific options
2702
+ #
2703
+ # @yield [result, err] Result & error if block supplied
2704
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
2705
+ # @yieldparam err [StandardError] error object if request failed
2706
+ #
2707
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
2708
+ #
2709
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2710
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2711
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2712
+ def create_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2713
+ command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
2714
+ command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
2715
+ command.request_object = assigned_targeting_option_object
2716
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
2717
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
2718
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2719
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
2720
+ command.query['fields'] = fields unless fields.nil?
2721
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2722
+ execute_or_queue_command(command, &block)
2723
+ end
2724
+
2725
+ # Deletes an assigned targeting option from an advertiser.
2726
+ # @param [Fixnum] advertiser_id
2727
+ # Required. The ID of the advertiser.
2728
+ # @param [String] targeting_type
2729
+ # Required. Identifies the type of this assigned targeting option.
2730
+ # @param [String] assigned_targeting_option_id
2731
+ # Required. The ID of the assigned targeting option to delete.
2732
+ # @param [String] fields
2733
+ # Selector specifying which fields to include in a partial response.
2734
+ # @param [String] quota_user
2735
+ # Available to use for quota purposes for server-side applications. Can be any
2736
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2737
+ # @param [Google::Apis::RequestOptions] options
2738
+ # Request-specific options
2739
+ #
2740
+ # @yield [result, err] Result & error if block supplied
2741
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
2742
+ # @yieldparam err [StandardError] error object if request failed
2743
+ #
2744
+ # @return [Google::Apis::DisplayvideoV1::Empty]
2745
+ #
2746
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2747
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2748
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2749
+ def delete_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
2750
+ command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
2751
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
2752
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
2753
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2754
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
2755
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
2756
+ command.query['fields'] = fields unless fields.nil?
2757
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2758
+ execute_or_queue_command(command, &block)
2759
+ end
2760
+
2761
+ # Gets a single targeting option assigned to an advertiser.
2762
+ # @param [Fixnum] advertiser_id
2763
+ # Required. The ID of the advertiser.
2764
+ # @param [String] targeting_type
2765
+ # Required. Identifies the type of this assigned targeting option.
2766
+ # @param [String] assigned_targeting_option_id
2767
+ # Required. An identifier unique to the targeting type in this advertiser that
2768
+ # identifies the assigned targeting option being requested.
2769
+ # @param [String] fields
2770
+ # Selector specifying which fields to include in a partial response.
2771
+ # @param [String] quota_user
2772
+ # Available to use for quota purposes for server-side applications. Can be any
2773
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2774
+ # @param [Google::Apis::RequestOptions] options
2775
+ # Request-specific options
2776
+ #
2777
+ # @yield [result, err] Result & error if block supplied
2778
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
2779
+ # @yieldparam err [StandardError] error object if request failed
2780
+ #
2781
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
2782
+ #
2783
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2784
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2785
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2786
+ def get_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
2787
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
2788
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
2789
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
2790
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2791
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
2792
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
2793
+ command.query['fields'] = fields unless fields.nil?
2794
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2795
+ execute_or_queue_command(command, &block)
2796
+ end
2797
+
2798
+ # Lists the targeting options assigned to an advertiser.
2799
+ # @param [Fixnum] advertiser_id
2800
+ # Required. The ID of the advertiser.
2801
+ # @param [String] targeting_type
2802
+ # Required. Identifies the type of assigned targeting options to list.
2803
+ # @param [String] filter
2804
+ # Allows filtering by assigned targeting option properties.
2805
+ # Supported syntax:
2806
+ # * Filter expressions are made up of one or more restrictions.
2807
+ # * Restrictions can be combined by the logical operator `OR`.
2808
+ # * A restriction has the form of ``field` `operator` `value``.
2809
+ # * The operator must be `EQUALS (=)`.
2810
+ # * Supported fields:
2811
+ # - `assignedTargetingOptionId`
2812
+ # Examples:
2813
+ # * AssignedTargetingOption with ID 123456
2814
+ # `assignedTargetingOptionId="123456"`
2815
+ # The length of this field should be no more than 500 characters.
2816
+ # @param [String] order_by
2817
+ # Field by which to sort the list.
2818
+ # Acceptable values are:
2819
+ # * `assignedTargetingOptionId` (default)
2820
+ # The default sorting order is ascending. To specify descending order for
2821
+ # a field, a suffix "desc" should be added to the field name. Example:
2822
+ # `assignedTargetingOptionId desc`.
2823
+ # @param [Fixnum] page_size
2824
+ # Requested page size. Must be between `1` and `100`. If unspecified will
2825
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2826
+ # is specified.
2827
+ # @param [String] page_token
2828
+ # A token identifying a page of results the server should return.
2829
+ # Typically, this is the value of
2830
+ # next_page_token
2831
+ # returned from the previous call to `ListAdvertiserAssignedTargetingOptions`
2832
+ # method. If not specified, the first page of results will be returned.
2833
+ # @param [String] fields
2834
+ # Selector specifying which fields to include in a partial response.
2835
+ # @param [String] quota_user
2836
+ # Available to use for quota purposes for server-side applications. Can be any
2837
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2838
+ # @param [Google::Apis::RequestOptions] options
2839
+ # Request-specific options
2840
+ #
2841
+ # @yield [result, err] Result & error if block supplied
2842
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse] parsed result object
2843
+ # @yieldparam err [StandardError] error object if request failed
2844
+ #
2845
+ # @return [Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse]
2846
+ #
2847
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2848
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2849
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2850
+ def list_advertiser_targeting_type_assigned_targeting_options(advertiser_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2851
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
2852
+ command.response_representation = Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse::Representation
2853
+ command.response_class = Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse
2854
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
2855
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
2856
+ command.query['filter'] = filter unless filter.nil?
2857
+ command.query['orderBy'] = order_by unless order_by.nil?
2858
+ command.query['pageSize'] = page_size unless page_size.nil?
2859
+ command.query['pageToken'] = page_token unless page_token.nil?
2860
+ command.query['fields'] = fields unless fields.nil?
2861
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2862
+ execute_or_queue_command(command, &block)
2863
+ end
2864
+
2865
+ # Gets a combined audience.
2866
+ # @param [Fixnum] combined_audience_id
2867
+ # Required. The ID of the combined audience to fetch.
2868
+ # @param [Fixnum] advertiser_id
2869
+ # The ID of the advertiser that has access to the fetched combined
2870
+ # audience.
2871
+ # @param [Fixnum] partner_id
2872
+ # The ID of the partner that has access to the fetched combined audience.
2873
+ # @param [String] fields
2874
+ # Selector specifying which fields to include in a partial response.
2875
+ # @param [String] quota_user
2876
+ # Available to use for quota purposes for server-side applications. Can be any
2877
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2878
+ # @param [Google::Apis::RequestOptions] options
2879
+ # Request-specific options
2880
+ #
2881
+ # @yield [result, err] Result & error if block supplied
2882
+ # @yieldparam result [Google::Apis::DisplayvideoV1::CombinedAudience] parsed result object
2883
+ # @yieldparam err [StandardError] error object if request failed
2884
+ #
2885
+ # @return [Google::Apis::DisplayvideoV1::CombinedAudience]
2886
+ #
2887
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2888
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2889
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2890
+ def get_combined_audience(combined_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2891
+ command = make_simple_command(:get, 'v1/combinedAudiences/{+combinedAudienceId}', options)
2892
+ command.response_representation = Google::Apis::DisplayvideoV1::CombinedAudience::Representation
2893
+ command.response_class = Google::Apis::DisplayvideoV1::CombinedAudience
2894
+ command.params['combinedAudienceId'] = combined_audience_id unless combined_audience_id.nil?
2895
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2896
+ command.query['partnerId'] = partner_id unless partner_id.nil?
2897
+ command.query['fields'] = fields unless fields.nil?
2898
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2899
+ execute_or_queue_command(command, &block)
2900
+ end
2901
+
2902
+ # Lists combined audiences.
2903
+ # The order is defined by the
2904
+ # order_by parameter.
2905
+ # @param [Fixnum] advertiser_id
2906
+ # The ID of the advertiser that has access to the fetched combined
2907
+ # audiences.
2908
+ # @param [String] filter
2909
+ # Allows filtering by combined audience fields.
2910
+ # Supported syntax:
2911
+ # * Filter expressions for combined audiences currently can only contain at
2912
+ # most one restriction.
2913
+ # * A restriction has the form of ``field` `operator` `value``.
2914
+ # * The operator must be `CONTAINS (:)`.
2915
+ # * Supported fields:
2916
+ # - `displayName`
2917
+ # Examples:
2918
+ # * All combined audiences for which the display name contains "Google":
2919
+ # `displayName : "Google"`.
2920
+ # The length of this field should be no more than 500 characters.
2921
+ # @param [String] order_by
2922
+ # Field by which to sort the list.
2923
+ # Acceptable values are:
2924
+ # * `combinedAudienceId` (default)
2925
+ # * `displayName`
2926
+ # The default sorting order is ascending. To specify descending order for
2927
+ # a field, a suffix "desc" should be added to the field name. Example:
2928
+ # `displayName desc`.
2929
+ # @param [Fixnum] page_size
2930
+ # Requested page size. Must be between `1` and `100`. If unspecified will
2931
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2932
+ # is specified.
2933
+ # @param [String] page_token
2934
+ # A token identifying a page of results the server should return.
2935
+ # Typically, this is the value of
2936
+ # next_page_token
2937
+ # returned from the previous call to `ListCombinedAudiences` method.
2938
+ # If not specified, the first page of results will be returned.
2939
+ # @param [Fixnum] partner_id
2940
+ # The ID of the partner that has access to the fetched combined audiences.
2941
+ # @param [String] fields
2942
+ # Selector specifying which fields to include in a partial response.
2943
+ # @param [String] quota_user
2944
+ # Available to use for quota purposes for server-side applications. Can be any
2945
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2946
+ # @param [Google::Apis::RequestOptions] options
2947
+ # Request-specific options
2948
+ #
2949
+ # @yield [result, err] Result & error if block supplied
2950
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse] parsed result object
2951
+ # @yieldparam err [StandardError] error object if request failed
2952
+ #
2953
+ # @return [Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse]
2954
+ #
2955
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2956
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2957
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2958
+ def list_combined_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2959
+ command = make_simple_command(:get, 'v1/combinedAudiences', options)
2960
+ command.response_representation = Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse::Representation
2961
+ command.response_class = Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse
2962
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2963
+ command.query['filter'] = filter unless filter.nil?
2964
+ command.query['orderBy'] = order_by unless order_by.nil?
2965
+ command.query['pageSize'] = page_size unless page_size.nil?
2966
+ command.query['pageToken'] = page_token unless page_token.nil?
2967
+ command.query['partnerId'] = partner_id unless partner_id.nil?
2968
+ command.query['fields'] = fields unless fields.nil?
2969
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2970
+ execute_or_queue_command(command, &block)
2971
+ end
2972
+
2973
+ # Gets a custom list.
2974
+ # @param [Fixnum] custom_list_id
2975
+ # Required. The ID of the custom list to fetch.
2976
+ # @param [Fixnum] advertiser_id
2977
+ # The ID of the DV360 advertiser that has access to the fetched custom
2978
+ # lists.
2979
+ # @param [String] fields
2980
+ # Selector specifying which fields to include in a partial response.
2981
+ # @param [String] quota_user
2982
+ # Available to use for quota purposes for server-side applications. Can be any
2983
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2984
+ # @param [Google::Apis::RequestOptions] options
2985
+ # Request-specific options
2986
+ #
2987
+ # @yield [result, err] Result & error if block supplied
2988
+ # @yieldparam result [Google::Apis::DisplayvideoV1::CustomList] parsed result object
2989
+ # @yieldparam err [StandardError] error object if request failed
2990
+ #
2991
+ # @return [Google::Apis::DisplayvideoV1::CustomList]
2992
+ #
2993
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2994
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2995
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2996
+ def get_custom_list(custom_list_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2997
+ command = make_simple_command(:get, 'v1/customLists/{+customListId}', options)
2998
+ command.response_representation = Google::Apis::DisplayvideoV1::CustomList::Representation
2999
+ command.response_class = Google::Apis::DisplayvideoV1::CustomList
3000
+ command.params['customListId'] = custom_list_id unless custom_list_id.nil?
3001
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
3002
+ command.query['fields'] = fields unless fields.nil?
3003
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3004
+ execute_or_queue_command(command, &block)
3005
+ end
3006
+
3007
+ # Lists custom lists.
3008
+ # The order is defined by the order_by
3009
+ # parameter.
3010
+ # @param [Fixnum] advertiser_id
3011
+ # The ID of the DV360 advertiser that has access to the fetched custom
3012
+ # lists.
3013
+ # @param [String] filter
3014
+ # Allows filtering by custom list fields.
3015
+ # Supported syntax:
3016
+ # * Filter expressions for custom lists currently can only contain at
3017
+ # most one restriction.
3018
+ # * A restriction has the form of ``field` `operator` `value``.
3019
+ # * The operator must be `CONTAINS (:)`.
3020
+ # * Supported fields:
3021
+ # - `displayName`
3022
+ # Examples:
3023
+ # * All custom lists for which the display name contains "Google":
3024
+ # `displayName : "Google"`.
3025
+ # The length of this field should be no more than 500 characters.
3026
+ # @param [String] order_by
3027
+ # Field by which to sort the list.
3028
+ # Acceptable values are:
3029
+ # * `customListId` (default)
3030
+ # * `displayName`
3031
+ # The default sorting order is ascending. To specify descending order for
3032
+ # a field, a suffix "desc" should be added to the field name. Example:
3033
+ # `displayName desc`.
3034
+ # @param [Fixnum] page_size
3035
+ # Requested page size. Must be between `1` and `100`. If unspecified will
3036
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3037
+ # is specified.
3038
+ # @param [String] page_token
3039
+ # A token identifying a page of results the server should return.
3040
+ # Typically, this is the value of
3041
+ # next_page_token
3042
+ # returned from the previous call to `ListCustomLists` method.
3043
+ # If not specified, the first page of results will be returned.
3044
+ # @param [String] fields
3045
+ # Selector specifying which fields to include in a partial response.
3046
+ # @param [String] quota_user
3047
+ # Available to use for quota purposes for server-side applications. Can be any
3048
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3049
+ # @param [Google::Apis::RequestOptions] options
3050
+ # Request-specific options
3051
+ #
3052
+ # @yield [result, err] Result & error if block supplied
3053
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListCustomListsResponse] parsed result object
3054
+ # @yieldparam err [StandardError] error object if request failed
3055
+ #
3056
+ # @return [Google::Apis::DisplayvideoV1::ListCustomListsResponse]
3057
+ #
3058
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3059
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3060
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3061
+ def list_custom_lists(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3062
+ command = make_simple_command(:get, 'v1/customLists', options)
3063
+ command.response_representation = Google::Apis::DisplayvideoV1::ListCustomListsResponse::Representation
3064
+ command.response_class = Google::Apis::DisplayvideoV1::ListCustomListsResponse
3065
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
3066
+ command.query['filter'] = filter unless filter.nil?
3067
+ command.query['orderBy'] = order_by unless order_by.nil?
3068
+ command.query['pageSize'] = page_size unless page_size.nil?
3069
+ command.query['pageToken'] = page_token unless page_token.nil?
3070
+ command.query['fields'] = fields unless fields.nil?
3071
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3072
+ execute_or_queue_command(command, &block)
3073
+ end
3074
+
3075
+ # Gets a first and third party audience.
3076
+ # @param [Fixnum] first_and_third_party_audience_id
3077
+ # Required. The ID of the first and third party audience to fetch.
3078
+ # @param [Fixnum] advertiser_id
3079
+ # The ID of the advertiser that has access to the fetched first and
3080
+ # third party audience.
3081
+ # @param [Fixnum] partner_id
3082
+ # The ID of the partner that has access to the fetched first and
3083
+ # third party audience.
3084
+ # @param [String] fields
3085
+ # Selector specifying which fields to include in a partial response.
3086
+ # @param [String] quota_user
3087
+ # Available to use for quota purposes for server-side applications. Can be any
3088
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3089
+ # @param [Google::Apis::RequestOptions] options
3090
+ # Request-specific options
3091
+ #
3092
+ # @yield [result, err] Result & error if block supplied
3093
+ # @yieldparam result [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience] parsed result object
3094
+ # @yieldparam err [StandardError] error object if request failed
3095
+ #
3096
+ # @return [Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience]
3097
+ #
3098
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3099
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3100
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3101
+ def get_first_and_third_party_audience(first_and_third_party_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3102
+ command = make_simple_command(:get, 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}', options)
3103
+ command.response_representation = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience::Representation
3104
+ command.response_class = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
3105
+ command.params['firstAndThirdPartyAudienceId'] = first_and_third_party_audience_id unless first_and_third_party_audience_id.nil?
3106
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
3107
+ command.query['partnerId'] = partner_id unless partner_id.nil?
3108
+ command.query['fields'] = fields unless fields.nil?
3109
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3110
+ execute_or_queue_command(command, &block)
3111
+ end
3112
+
3113
+ # Lists first and third party audiences.
3114
+ # The order is defined by the
3115
+ # order_by parameter.
3116
+ # @param [Fixnum] advertiser_id
3117
+ # The ID of the advertiser that has access to the fetched first and
3118
+ # third party audiences.
3119
+ # @param [String] filter
3120
+ # Allows filtering by first and third party audience fields.
3121
+ # Supported syntax:
3122
+ # * Filter expressions for first and third party audiences currently can
3123
+ # only contain at most one restriction.
3124
+ # * A restriction has the form of ``field` `operator` `value``.
3125
+ # * The operator must be `CONTAINS (:)`.
3126
+ # * Supported fields:
3127
+ # - `displayName`
3128
+ # Examples:
3129
+ # * All first and third party audiences for which the display name contains
3130
+ # "Google": `displayName : "Google"`.
3131
+ # The length of this field should be no more than 500 characters.
3132
+ # @param [String] order_by
3133
+ # Field by which to sort the list.
3134
+ # Acceptable values are:
3135
+ # * `firstAndThirdPartyAudienceId` (default)
3136
+ # * `displayName`
3137
+ # The default sorting order is ascending. To specify descending order for
3138
+ # a field, a suffix "desc" should be added to the field name. Example:
3139
+ # `displayName desc`.
3140
+ # @param [Fixnum] page_size
3141
+ # Requested page size. Must be between `1` and `100`. If unspecified will
3142
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3143
+ # is specified.
3144
+ # @param [String] page_token
3145
+ # A token identifying a page of results the server should return.
3146
+ # Typically, this is the value of
3147
+ # next_page_token
3148
+ # returned from the previous call to `ListFirstAndThirdPartyAudiences`
3149
+ # method. If not specified, the first page of results will be returned.
3150
+ # @param [Fixnum] partner_id
3151
+ # The ID of the partner that has access to the fetched first and
3152
+ # third party audiences.
3153
+ # @param [String] fields
3154
+ # Selector specifying which fields to include in a partial response.
3155
+ # @param [String] quota_user
3156
+ # Available to use for quota purposes for server-side applications. Can be any
3157
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3158
+ # @param [Google::Apis::RequestOptions] options
3159
+ # Request-specific options
3160
+ #
3161
+ # @yield [result, err] Result & error if block supplied
3162
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse] parsed result object
3163
+ # @yieldparam err [StandardError] error object if request failed
3164
+ #
3165
+ # @return [Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse]
3166
+ #
3167
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3168
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3169
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3170
+ def list_first_and_third_party_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3171
+ command = make_simple_command(:get, 'v1/firstAndThirdPartyAudiences', options)
3172
+ command.response_representation = Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse::Representation
3173
+ command.response_class = Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse
3174
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
3175
+ command.query['filter'] = filter unless filter.nil?
3176
+ command.query['orderBy'] = order_by unless order_by.nil?
3177
+ command.query['pageSize'] = page_size unless page_size.nil?
3178
+ command.query['pageToken'] = page_token unless page_token.nil?
3179
+ command.query['partnerId'] = partner_id unless partner_id.nil?
3180
+ command.query['fields'] = fields unless fields.nil?
3181
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3182
+ execute_or_queue_command(command, &block)
3183
+ end
3184
+
3185
+ # Gets a Floodlight group.
3186
+ # @param [Fixnum] floodlight_group_id
3187
+ # Required. The ID of the Floodlight group to fetch.
3188
+ # @param [Fixnum] partner_id
3189
+ # Required. The partner context by which the Floodlight group is being accessed.
3190
+ # @param [String] fields
3191
+ # Selector specifying which fields to include in a partial response.
3192
+ # @param [String] quota_user
3193
+ # Available to use for quota purposes for server-side applications. Can be any
3194
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3195
+ # @param [Google::Apis::RequestOptions] options
3196
+ # Request-specific options
3197
+ #
3198
+ # @yield [result, err] Result & error if block supplied
3199
+ # @yieldparam result [Google::Apis::DisplayvideoV1::FloodlightGroup] parsed result object
3200
+ # @yieldparam err [StandardError] error object if request failed
3201
+ #
3202
+ # @return [Google::Apis::DisplayvideoV1::FloodlightGroup]
3203
+ #
3204
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3205
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3206
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3207
+ def get_floodlight_group(floodlight_group_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3208
+ command = make_simple_command(:get, 'v1/floodlightGroups/{+floodlightGroupId}', options)
3209
+ command.response_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
3210
+ command.response_class = Google::Apis::DisplayvideoV1::FloodlightGroup
3211
+ command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
3212
+ command.query['partnerId'] = partner_id unless partner_id.nil?
3213
+ command.query['fields'] = fields unless fields.nil?
3214
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3215
+ execute_or_queue_command(command, &block)
3216
+ end
3217
+
3218
+ # Updates an existing Floodlight group.
3219
+ # Returns the updated Floodlight group if successful.
3220
+ # @param [Fixnum] floodlight_group_id
3221
+ # Output only. The unique ID of the Floodlight group. Assigned by the system.
3222
+ # @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
3223
+ # @param [Fixnum] partner_id
3224
+ # Required. The partner context by which the Floodlight group is being accessed.
3225
+ # @param [String] update_mask
3226
+ # Required. The mask to control which fields to update.
3227
+ # @param [String] fields
3228
+ # Selector specifying which fields to include in a partial response.
3229
+ # @param [String] quota_user
3230
+ # Available to use for quota purposes for server-side applications. Can be any
3231
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3232
+ # @param [Google::Apis::RequestOptions] options
3233
+ # Request-specific options
3234
+ #
3235
+ # @yield [result, err] Result & error if block supplied
3236
+ # @yieldparam result [Google::Apis::DisplayvideoV1::FloodlightGroup] parsed result object
3237
+ # @yieldparam err [StandardError] error object if request failed
3238
+ #
3239
+ # @return [Google::Apis::DisplayvideoV1::FloodlightGroup]
3240
+ #
3241
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3242
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3243
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3244
+ def patch_floodlight_group(floodlight_group_id, floodlight_group_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3245
+ command = make_simple_command(:patch, 'v1/floodlightGroups/{floodlightGroupId}', options)
3246
+ command.request_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
3247
+ command.request_object = floodlight_group_object
3248
+ command.response_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
3249
+ command.response_class = Google::Apis::DisplayvideoV1::FloodlightGroup
3250
+ command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
3251
+ command.query['partnerId'] = partner_id unless partner_id.nil?
3252
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3253
+ command.query['fields'] = fields unless fields.nil?
3254
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3255
+ execute_or_queue_command(command, &block)
3256
+ end
3257
+
3258
+ # Gets a Google audience.
3259
+ # @param [Fixnum] google_audience_id
3260
+ # Required. The ID of the Google audience to fetch.
3261
+ # @param [Fixnum] advertiser_id
3262
+ # The ID of the advertiser that has access to the fetched Google audience.
3263
+ # @param [Fixnum] partner_id
3264
+ # The ID of the partner that has access to the fetched Google audience.
3265
+ # @param [String] fields
3266
+ # Selector specifying which fields to include in a partial response.
3267
+ # @param [String] quota_user
3268
+ # Available to use for quota purposes for server-side applications. Can be any
3269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3270
+ # @param [Google::Apis::RequestOptions] options
3271
+ # Request-specific options
3272
+ #
3273
+ # @yield [result, err] Result & error if block supplied
3274
+ # @yieldparam result [Google::Apis::DisplayvideoV1::GoogleAudience] parsed result object
3275
+ # @yieldparam err [StandardError] error object if request failed
3276
+ #
3277
+ # @return [Google::Apis::DisplayvideoV1::GoogleAudience]
3278
+ #
3279
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3280
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3281
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3282
+ def get_google_audience(google_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3283
+ command = make_simple_command(:get, 'v1/googleAudiences/{+googleAudienceId}', options)
3284
+ command.response_representation = Google::Apis::DisplayvideoV1::GoogleAudience::Representation
3285
+ command.response_class = Google::Apis::DisplayvideoV1::GoogleAudience
3286
+ command.params['googleAudienceId'] = google_audience_id unless google_audience_id.nil?
3287
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
3288
+ command.query['partnerId'] = partner_id unless partner_id.nil?
3289
+ command.query['fields'] = fields unless fields.nil?
3290
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3291
+ execute_or_queue_command(command, &block)
3292
+ end
3293
+
3294
+ # Lists Google audiences.
3295
+ # The order is defined by the order_by
3296
+ # parameter.
3297
+ # @param [Fixnum] advertiser_id
3298
+ # The ID of the advertiser that has access to the fetched Google audiences.
2046
3299
  # @param [String] filter
2047
- # Allows filtering by first and third party audience fields.
3300
+ # Allows filtering by Google audience fields.
2048
3301
  # Supported syntax:
2049
- # * Filter expressions for first and third party audiences currently can
2050
- # only contain at most one restriction.
3302
+ # * Filter expressions for Google audiences currently can only contain at
3303
+ # most one restriction.
2051
3304
  # * A restriction has the form of ``field` `operator` `value``.
2052
3305
  # * The operator must be `CONTAINS (:)`.
2053
3306
  # * Supported fields:
2054
3307
  # - `displayName`
2055
3308
  # Examples:
2056
- # * All first and third party audiences for which the display name contains
2057
- # "Google": `displayName : "Google"`.
3309
+ # * All Google audiences for which the display name contains "Google":
3310
+ # `displayName : "Google"`.
2058
3311
  # The length of this field should be no more than 500 characters.
2059
3312
  # @param [String] order_by
2060
3313
  # Field by which to sort the list.
2061
3314
  # Acceptable values are:
2062
- # * `firstAndThirdPartyAudienceId` (default)
3315
+ # * `googleAudienceId` (default)
2063
3316
  # * `displayName`
2064
3317
  # The default sorting order is ascending. To specify descending order for
2065
3318
  # a field, a suffix "desc" should be added to the field name. Example:
@@ -2072,11 +3325,10 @@ module Google
2072
3325
  # A token identifying a page of results the server should return.
2073
3326
  # Typically, this is the value of
2074
3327
  # next_page_token
2075
- # returned from the previous call to `ListFirstAndThirdPartyAudiences`
2076
- # method. If not specified, the first page of results will be returned.
3328
+ # returned from the previous call to `ListGoogleAudiences` method.
3329
+ # If not specified, the first page of results will be returned.
2077
3330
  # @param [Fixnum] partner_id
2078
- # The ID of the partner that has access to the fetched first and
2079
- # third party audiences.
3331
+ # The ID of the partner that has access to the fetched Google audiences.
2080
3332
  # @param [String] fields
2081
3333
  # Selector specifying which fields to include in a partial response.
2082
3334
  # @param [String] quota_user
@@ -2086,18 +3338,18 @@ module Google
2086
3338
  # Request-specific options
2087
3339
  #
2088
3340
  # @yield [result, err] Result & error if block supplied
2089
- # @yieldparam result [Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse] parsed result object
3341
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse] parsed result object
2090
3342
  # @yieldparam err [StandardError] error object if request failed
2091
3343
  #
2092
- # @return [Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse]
3344
+ # @return [Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse]
2093
3345
  #
2094
3346
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2095
3347
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2096
3348
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2097
- def list_first_and_third_party_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2098
- command = make_simple_command(:get, 'v1/firstAndThirdPartyAudiences', options)
2099
- command.response_representation = Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse::Representation
2100
- command.response_class = Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse
3349
+ def list_google_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3350
+ command = make_simple_command(:get, 'v1/googleAudiences', options)
3351
+ command.response_representation = Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse::Representation
3352
+ command.response_class = Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse
2101
3353
  command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2102
3354
  command.query['filter'] = filter unless filter.nil?
2103
3355
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -2109,11 +3361,17 @@ module Google
2109
3361
  execute_or_queue_command(command, &block)
2110
3362
  end
2111
3363
 
2112
- # Gets a Floodlight group.
2113
- # @param [Fixnum] floodlight_group_id
2114
- # Required. The ID of the Floodlight group to fetch.
3364
+ # Creates a new inventory source group. Returns the newly created inventory
3365
+ # source group if successful.
3366
+ # @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
3367
+ # @param [Fixnum] advertiser_id
3368
+ # The ID of the advertiser that owns the inventory source group.
3369
+ # The parent partner will not have access to this group.
2115
3370
  # @param [Fixnum] partner_id
2116
- # Required. The partner context by which the Floodlight group is being accessed.
3371
+ # The ID of the partner that owns the inventory source group.
3372
+ # Only this partner will have write access to this group. Only advertisers
3373
+ # to which this group is explicitly shared will have read access to this
3374
+ # group.
2117
3375
  # @param [String] fields
2118
3376
  # Selector specifying which fields to include in a partial response.
2119
3377
  # @param [String] quota_user
@@ -2123,34 +3381,36 @@ module Google
2123
3381
  # Request-specific options
2124
3382
  #
2125
3383
  # @yield [result, err] Result & error if block supplied
2126
- # @yieldparam result [Google::Apis::DisplayvideoV1::FloodlightGroup] parsed result object
3384
+ # @yieldparam result [Google::Apis::DisplayvideoV1::InventorySourceGroup] parsed result object
2127
3385
  # @yieldparam err [StandardError] error object if request failed
2128
3386
  #
2129
- # @return [Google::Apis::DisplayvideoV1::FloodlightGroup]
3387
+ # @return [Google::Apis::DisplayvideoV1::InventorySourceGroup]
2130
3388
  #
2131
3389
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2132
3390
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2133
3391
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2134
- def get_floodlight_group(floodlight_group_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2135
- command = make_simple_command(:get, 'v1/floodlightGroups/{+floodlightGroupId}', options)
2136
- command.response_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
2137
- command.response_class = Google::Apis::DisplayvideoV1::FloodlightGroup
2138
- command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
3392
+ def create_inventory_source_group(inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3393
+ command = make_simple_command(:post, 'v1/inventorySourceGroups', options)
3394
+ command.request_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
3395
+ command.request_object = inventory_source_group_object
3396
+ command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
3397
+ command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup
3398
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2139
3399
  command.query['partnerId'] = partner_id unless partner_id.nil?
2140
3400
  command.query['fields'] = fields unless fields.nil?
2141
3401
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2142
3402
  execute_or_queue_command(command, &block)
2143
3403
  end
2144
3404
 
2145
- # Updates an existing Floodlight group.
2146
- # Returns the updated Floodlight group if successful.
2147
- # @param [Fixnum] floodlight_group_id
2148
- # Output only. The unique ID of the Floodlight group. Assigned by the system.
2149
- # @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
3405
+ # Deletes an inventory source group.
3406
+ # @param [Fixnum] inventory_source_group_id
3407
+ # Required. The ID of the inventory source group to delete.
3408
+ # @param [Fixnum] advertiser_id
3409
+ # The ID of the advertiser that owns the inventory source group.
3410
+ # The parent partner does not have access to this group.
2150
3411
  # @param [Fixnum] partner_id
2151
- # Required. The partner context by which the Floodlight group is being accessed.
2152
- # @param [String] update_mask
2153
- # Required. The mask to control which fields to update.
3412
+ # The ID of the partner that owns the inventory source group.
3413
+ # Only this partner has write access to this group.
2154
3414
  # @param [String] fields
2155
3415
  # Selector specifying which fields to include in a partial response.
2156
3416
  # @param [String] quota_user
@@ -2160,35 +3420,36 @@ module Google
2160
3420
  # Request-specific options
2161
3421
  #
2162
3422
  # @yield [result, err] Result & error if block supplied
2163
- # @yieldparam result [Google::Apis::DisplayvideoV1::FloodlightGroup] parsed result object
3423
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
2164
3424
  # @yieldparam err [StandardError] error object if request failed
2165
3425
  #
2166
- # @return [Google::Apis::DisplayvideoV1::FloodlightGroup]
3426
+ # @return [Google::Apis::DisplayvideoV1::Empty]
2167
3427
  #
2168
3428
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2169
3429
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2170
3430
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2171
- def patch_floodlight_group(floodlight_group_id, floodlight_group_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2172
- command = make_simple_command(:patch, 'v1/floodlightGroups/{floodlightGroupId}', options)
2173
- command.request_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
2174
- command.request_object = floodlight_group_object
2175
- command.response_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation
2176
- command.response_class = Google::Apis::DisplayvideoV1::FloodlightGroup
2177
- command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil?
3431
+ def delete_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3432
+ command = make_simple_command(:delete, 'v1/inventorySourceGroups/{+inventorySourceGroupId}', options)
3433
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
3434
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
3435
+ command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
3436
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2178
3437
  command.query['partnerId'] = partner_id unless partner_id.nil?
2179
- command.query['updateMask'] = update_mask unless update_mask.nil?
2180
3438
  command.query['fields'] = fields unless fields.nil?
2181
3439
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2182
3440
  execute_or_queue_command(command, &block)
2183
3441
  end
2184
3442
 
2185
- # Gets a Google audience.
2186
- # @param [Fixnum] google_audience_id
2187
- # Required. The ID of the Google audience to fetch.
3443
+ # Gets an inventory source group.
3444
+ # @param [Fixnum] inventory_source_group_id
3445
+ # Required. The ID of the inventory source group to fetch.
2188
3446
  # @param [Fixnum] advertiser_id
2189
- # The ID of the advertiser that has access to the fetched Google audience.
3447
+ # The ID of the advertiser that has access to the inventory source group.
3448
+ # If an inventory source group is partner-owned, only advertisers to which
3449
+ # the group is explicitly shared can access the group.
2190
3450
  # @param [Fixnum] partner_id
2191
- # The ID of the partner that has access to the fetched Google audience.
3451
+ # The ID of the partner that has access to the inventory source group.
3452
+ # A partner cannot access an advertiser-owned inventory source group.
2192
3453
  # @param [String] fields
2193
3454
  # Selector specifying which fields to include in a partial response.
2194
3455
  # @param [String] quota_user
@@ -2198,19 +3459,19 @@ module Google
2198
3459
  # Request-specific options
2199
3460
  #
2200
3461
  # @yield [result, err] Result & error if block supplied
2201
- # @yieldparam result [Google::Apis::DisplayvideoV1::GoogleAudience] parsed result object
3462
+ # @yieldparam result [Google::Apis::DisplayvideoV1::InventorySourceGroup] parsed result object
2202
3463
  # @yieldparam err [StandardError] error object if request failed
2203
3464
  #
2204
- # @return [Google::Apis::DisplayvideoV1::GoogleAudience]
3465
+ # @return [Google::Apis::DisplayvideoV1::InventorySourceGroup]
2205
3466
  #
2206
3467
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2207
3468
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2208
3469
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2209
- def get_google_audience(google_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2210
- command = make_simple_command(:get, 'v1/googleAudiences/{+googleAudienceId}', options)
2211
- command.response_representation = Google::Apis::DisplayvideoV1::GoogleAudience::Representation
2212
- command.response_class = Google::Apis::DisplayvideoV1::GoogleAudience
2213
- command.params['googleAudienceId'] = google_audience_id unless google_audience_id.nil?
3470
+ def get_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3471
+ command = make_simple_command(:get, 'v1/inventorySourceGroups/{+inventorySourceGroupId}', options)
3472
+ command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
3473
+ command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup
3474
+ command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
2214
3475
  command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2215
3476
  command.query['partnerId'] = partner_id unless partner_id.nil?
2216
3477
  command.query['fields'] = fields unless fields.nil?
@@ -2218,44 +3479,174 @@ module Google
2218
3479
  execute_or_queue_command(command, &block)
2219
3480
  end
2220
3481
 
2221
- # Lists Google audiences.
2222
- # The order is defined by the order_by
2223
- # parameter.
3482
+ # Lists inventory source groups that are accessible to the current user.
3483
+ # The order is defined by the
3484
+ # order_by parameter.
3485
+ # @param [Fixnum] advertiser_id
3486
+ # The ID of the advertiser that has access to the inventory source group.
3487
+ # If an inventory source group is partner-owned, only advertisers to which
3488
+ # the group is explicitly shared can access the group.
3489
+ # @param [String] filter
3490
+ # Allows filtering by inventory source group properties.
3491
+ # Supported syntax:
3492
+ # * Filter expressions are made up of one or more restrictions.
3493
+ # * Restrictions can be combined by the logical operator `OR`.
3494
+ # * A restriction has the form of ``field` `operator` `value``.
3495
+ # * The operator must be `EQUALS (=)`.
3496
+ # * Supported fields:
3497
+ # - `inventorySourceGroupId`
3498
+ # The length of this field should be no more than 500 characters.
3499
+ # @param [String] order_by
3500
+ # Field by which to sort the list.
3501
+ # Acceptable values are:
3502
+ # * `displayName` (default)
3503
+ # * `inventorySourceGroupId`
3504
+ # The default sorting order is ascending. To specify descending order for
3505
+ # a field, a suffix "desc" should be added to the field name. For example,
3506
+ # `displayName desc`.
3507
+ # @param [Fixnum] page_size
3508
+ # Requested page size. Must be between `1` and `100`. If unspecified will
3509
+ # default to `100`.
3510
+ # @param [String] page_token
3511
+ # A token identifying a page of results the server should return.
3512
+ # Typically, this is the value of
3513
+ # next_page_token
3514
+ # returned from the previous call to `ListInventorySources` method.
3515
+ # If not specified, the first page of results will be returned.
3516
+ # @param [Fixnum] partner_id
3517
+ # The ID of the partner that has access to the inventory source group.
3518
+ # A partner cannot access advertiser-owned inventory source groups.
3519
+ # @param [String] fields
3520
+ # Selector specifying which fields to include in a partial response.
3521
+ # @param [String] quota_user
3522
+ # Available to use for quota purposes for server-side applications. Can be any
3523
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3524
+ # @param [Google::Apis::RequestOptions] options
3525
+ # Request-specific options
3526
+ #
3527
+ # @yield [result, err] Result & error if block supplied
3528
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse] parsed result object
3529
+ # @yieldparam err [StandardError] error object if request failed
3530
+ #
3531
+ # @return [Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse]
3532
+ #
3533
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3534
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3535
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3536
+ def list_inventory_source_groups(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3537
+ command = make_simple_command(:get, 'v1/inventorySourceGroups', options)
3538
+ command.response_representation = Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse::Representation
3539
+ command.response_class = Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse
3540
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
3541
+ command.query['filter'] = filter unless filter.nil?
3542
+ command.query['orderBy'] = order_by unless order_by.nil?
3543
+ command.query['pageSize'] = page_size unless page_size.nil?
3544
+ command.query['pageToken'] = page_token unless page_token.nil?
3545
+ command.query['partnerId'] = partner_id unless partner_id.nil?
3546
+ command.query['fields'] = fields unless fields.nil?
3547
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3548
+ execute_or_queue_command(command, &block)
3549
+ end
3550
+
3551
+ # Updates an inventory source group. Returns the updated inventory source
3552
+ # group if successful.
3553
+ # @param [Fixnum] inventory_source_group_id
3554
+ # Output only. The unique ID of the inventory source group. Assigned by the
3555
+ # system.
3556
+ # @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
3557
+ # @param [Fixnum] advertiser_id
3558
+ # The ID of the advertiser that owns the inventory source group.
3559
+ # The parent partner does not have access to this group.
3560
+ # @param [Fixnum] partner_id
3561
+ # The ID of the partner that owns the inventory source group.
3562
+ # Only this partner has write access to this group.
3563
+ # @param [String] update_mask
3564
+ # Required. The mask to control which fields to update.
3565
+ # @param [String] fields
3566
+ # Selector specifying which fields to include in a partial response.
3567
+ # @param [String] quota_user
3568
+ # Available to use for quota purposes for server-side applications. Can be any
3569
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3570
+ # @param [Google::Apis::RequestOptions] options
3571
+ # Request-specific options
3572
+ #
3573
+ # @yield [result, err] Result & error if block supplied
3574
+ # @yieldparam result [Google::Apis::DisplayvideoV1::InventorySourceGroup] parsed result object
3575
+ # @yieldparam err [StandardError] error object if request failed
3576
+ #
3577
+ # @return [Google::Apis::DisplayvideoV1::InventorySourceGroup]
3578
+ #
3579
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3580
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3581
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3582
+ def patch_inventory_source_group(inventory_source_group_id, inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
3583
+ command = make_simple_command(:patch, 'v1/inventorySourceGroups/{inventorySourceGroupId}', options)
3584
+ command.request_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
3585
+ command.request_object = inventory_source_group_object
3586
+ command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
3587
+ command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup
3588
+ command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
3589
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
3590
+ command.query['partnerId'] = partner_id unless partner_id.nil?
3591
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3592
+ command.query['fields'] = fields unless fields.nil?
3593
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3594
+ execute_or_queue_command(command, &block)
3595
+ end
3596
+
3597
+ # Bulk edits multiple assignments between inventory sources and a single
3598
+ # inventory source group.
3599
+ # The operation will delete the assigned inventory sources provided in
3600
+ # BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources
3601
+ # and then create the assigned inventory sources provided in
3602
+ # BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
3603
+ # @param [Fixnum] inventory_source_group_id
3604
+ # Required. The ID of the inventory source group to which the assignments are
3605
+ # assigned.
3606
+ # @param [Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesRequest] bulk_edit_assigned_inventory_sources_request_object
3607
+ # @param [String] fields
3608
+ # Selector specifying which fields to include in a partial response.
3609
+ # @param [String] quota_user
3610
+ # Available to use for quota purposes for server-side applications. Can be any
3611
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3612
+ # @param [Google::Apis::RequestOptions] options
3613
+ # Request-specific options
3614
+ #
3615
+ # @yield [result, err] Result & error if block supplied
3616
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse] parsed result object
3617
+ # @yieldparam err [StandardError] error object if request failed
3618
+ #
3619
+ # @return [Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse]
3620
+ #
3621
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3622
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3623
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3624
+ def bulk_edit_assigned_inventory_sources(inventory_source_group_id, bulk_edit_assigned_inventory_sources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3625
+ command = make_simple_command(:post, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit', options)
3626
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesRequest::Representation
3627
+ command.request_object = bulk_edit_assigned_inventory_sources_request_object
3628
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse::Representation
3629
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse
3630
+ command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
3631
+ command.query['fields'] = fields unless fields.nil?
3632
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3633
+ execute_or_queue_command(command, &block)
3634
+ end
3635
+
3636
+ # Creates an assignment between an inventory source and an inventory source
3637
+ # group.
3638
+ # @param [Fixnum] inventory_source_group_id
3639
+ # Required. The ID of the inventory source group to which the assignment will be
3640
+ # assigned.
3641
+ # @param [Google::Apis::DisplayvideoV1::AssignedInventorySource] assigned_inventory_source_object
2224
3642
  # @param [Fixnum] advertiser_id
2225
- # The ID of the advertiser that has access to the fetched Google audiences.
2226
- # @param [String] filter
2227
- # Allows filtering by Google audience fields.
2228
- # Supported syntax:
2229
- # * Filter expressions for Google audiences currently can only contain at
2230
- # most one restriction.
2231
- # * A restriction has the form of ``field` `operator` `value``.
2232
- # * The operator must be `CONTAINS (:)`.
2233
- # * Supported fields:
2234
- # - `displayName`
2235
- # Examples:
2236
- # * All Google audiences for which the display name contains "Google":
2237
- # `displayName : "Google"`.
2238
- # The length of this field should be no more than 500 characters.
2239
- # @param [String] order_by
2240
- # Field by which to sort the list.
2241
- # Acceptable values are:
2242
- # * `googleAudienceId` (default)
2243
- # * `displayName`
2244
- # The default sorting order is ascending. To specify descending order for
2245
- # a field, a suffix "desc" should be added to the field name. Example:
2246
- # `displayName desc`.
2247
- # @param [Fixnum] page_size
2248
- # Requested page size. Must be between `1` and `100`. If unspecified will
2249
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2250
- # is specified.
2251
- # @param [String] page_token
2252
- # A token identifying a page of results the server should return.
2253
- # Typically, this is the value of
2254
- # next_page_token
2255
- # returned from the previous call to `ListGoogleAudiences` method.
2256
- # If not specified, the first page of results will be returned.
3643
+ # The ID of the advertiser that owns the parent inventory source group.
3644
+ # The parent partner will not have access to this assigned inventory
3645
+ # source.
2257
3646
  # @param [Fixnum] partner_id
2258
- # The ID of the partner that has access to the fetched Google audiences.
3647
+ # The ID of the partner that owns the parent inventory source group.
3648
+ # Only this partner will have write access to this assigned inventory
3649
+ # source.
2259
3650
  # @param [String] fields
2260
3651
  # Selector specifying which fields to include in a partial response.
2261
3652
  # @param [String] quota_user
@@ -2265,39 +3656,42 @@ module Google
2265
3656
  # Request-specific options
2266
3657
  #
2267
3658
  # @yield [result, err] Result & error if block supplied
2268
- # @yieldparam result [Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse] parsed result object
3659
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedInventorySource] parsed result object
2269
3660
  # @yieldparam err [StandardError] error object if request failed
2270
3661
  #
2271
- # @return [Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse]
3662
+ # @return [Google::Apis::DisplayvideoV1::AssignedInventorySource]
2272
3663
  #
2273
3664
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2274
3665
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2275
3666
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2276
- def list_google_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2277
- command = make_simple_command(:get, 'v1/googleAudiences', options)
2278
- command.response_representation = Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse::Representation
2279
- command.response_class = Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse
3667
+ def create_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3668
+ command = make_simple_command(:post, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources', options)
3669
+ command.request_representation = Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
3670
+ command.request_object = assigned_inventory_source_object
3671
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation
3672
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedInventorySource
3673
+ command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
2280
3674
  command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2281
- command.query['filter'] = filter unless filter.nil?
2282
- command.query['orderBy'] = order_by unless order_by.nil?
2283
- command.query['pageSize'] = page_size unless page_size.nil?
2284
- command.query['pageToken'] = page_token unless page_token.nil?
2285
3675
  command.query['partnerId'] = partner_id unless partner_id.nil?
2286
3676
  command.query['fields'] = fields unless fields.nil?
2287
3677
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2288
3678
  execute_or_queue_command(command, &block)
2289
3679
  end
2290
3680
 
2291
- # Gets an inventory source group.
3681
+ # Deletes the assignment between an inventory source and an inventory source
3682
+ # group.
2292
3683
  # @param [Fixnum] inventory_source_group_id
2293
- # Required. The ID of the inventory source group to fetch.
3684
+ # Required. The ID of the inventory source group to which this assignment is
3685
+ # assigned.
3686
+ # @param [Fixnum] assigned_inventory_source_id
3687
+ # Required. The ID of the assigned inventory source to delete.
2294
3688
  # @param [Fixnum] advertiser_id
2295
- # The ID of the advertiser that has access to the inventory source group.
2296
- # If an inventory source group is partner-owned, only advertisers to which
2297
- # the group is explicitly shared can access the group.
3689
+ # The ID of the advertiser that owns the parent inventory source group.
3690
+ # The parent partner does not have access to this assigned inventory
3691
+ # source.
2298
3692
  # @param [Fixnum] partner_id
2299
- # The ID of the partner that has access to the inventory source group.
2300
- # A partner cannot access an advertiser-owned inventory source group.
3693
+ # The ID of the partner that owns the parent inventory source group.
3694
+ # Only this partner has write access to this assigned inventory source.
2301
3695
  # @param [String] fields
2302
3696
  # Selector specifying which fields to include in a partial response.
2303
3697
  # @param [String] quota_user
@@ -2307,19 +3701,20 @@ module Google
2307
3701
  # Request-specific options
2308
3702
  #
2309
3703
  # @yield [result, err] Result & error if block supplied
2310
- # @yieldparam result [Google::Apis::DisplayvideoV1::InventorySourceGroup] parsed result object
3704
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
2311
3705
  # @yieldparam err [StandardError] error object if request failed
2312
3706
  #
2313
- # @return [Google::Apis::DisplayvideoV1::InventorySourceGroup]
3707
+ # @return [Google::Apis::DisplayvideoV1::Empty]
2314
3708
  #
2315
3709
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2316
3710
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2317
3711
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2318
- def get_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2319
- command = make_simple_command(:get, 'v1/inventorySourceGroups/{+inventorySourceGroupId}', options)
2320
- command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation
2321
- command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup
3712
+ def delete_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3713
+ command = make_simple_command(:delete, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}', options)
3714
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
3715
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
2322
3716
  command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
3717
+ command.params['assignedInventorySourceId'] = assigned_inventory_source_id unless assigned_inventory_source_id.nil?
2323
3718
  command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2324
3719
  command.query['partnerId'] = partner_id unless partner_id.nil?
2325
3720
  command.query['fields'] = fields unless fields.nil?
@@ -2327,43 +3722,46 @@ module Google
2327
3722
  execute_or_queue_command(command, &block)
2328
3723
  end
2329
3724
 
2330
- # Lists inventory source groups that are accessible to the current user.
2331
- # The order is defined by the
2332
- # order_by parameter.
3725
+ # Lists inventory sources assigned to an inventory source group.
3726
+ # @param [Fixnum] inventory_source_group_id
3727
+ # Required. The ID of the inventory source group to which these assignments are
3728
+ # assigned.
2333
3729
  # @param [Fixnum] advertiser_id
2334
- # The ID of the advertiser that has access to the inventory source group.
2335
- # If an inventory source group is partner-owned, only advertisers to which
2336
- # the group is explicitly shared can access the group.
3730
+ # The ID of the advertiser that has access to the assignment.
3731
+ # If the parent inventory source group is partner-owned, only advertisers
3732
+ # to which the parent group is explicitly shared can access the assigned
3733
+ # inventory source.
2337
3734
  # @param [String] filter
2338
- # Allows filtering by inventory source group properties.
3735
+ # Allows filtering by assigned inventory source fields.
2339
3736
  # Supported syntax:
2340
3737
  # * Filter expressions are made up of one or more restrictions.
2341
3738
  # * Restrictions can be combined by the logical operator `OR`.
2342
3739
  # * A restriction has the form of ``field` `operator` `value``.
2343
3740
  # * The operator must be `EQUALS (=)`.
2344
3741
  # * Supported fields:
2345
- # - `inventorySourceGroupId`
3742
+ # - `assignedInventorySourceId`
2346
3743
  # The length of this field should be no more than 500 characters.
2347
3744
  # @param [String] order_by
2348
3745
  # Field by which to sort the list.
2349
3746
  # Acceptable values are:
2350
- # * `displayName` (default)
2351
- # * `inventorySourceGroupId`
2352
- # The default sorting order is ascending. To specify descending order for
2353
- # a field, a suffix "desc" should be added to the field name. For example,
2354
- # `displayName desc`.
3747
+ # * `assignedInventorySourceId` (default)
3748
+ # The default sorting order is ascending. To specify descending order for a
3749
+ # field, a suffix " desc" should be added to the field name. Example:
3750
+ # `assignedInventorySourceId desc`.
2355
3751
  # @param [Fixnum] page_size
2356
3752
  # Requested page size. Must be between `1` and `100`. If unspecified will
2357
- # default to `100`.
3753
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3754
+ # is specified.
2358
3755
  # @param [String] page_token
2359
3756
  # A token identifying a page of results the server should return.
2360
3757
  # Typically, this is the value of
2361
3758
  # next_page_token
2362
- # returned from the previous call to `ListInventorySources` method.
2363
- # If not specified, the first page of results will be returned.
3759
+ # returned from the previous call to `ListAssignedInventorySources`
3760
+ # method. If not specified, the first page of results will be returned.
2364
3761
  # @param [Fixnum] partner_id
2365
- # The ID of the partner that has access to the inventory source group.
2366
- # A partner cannot access advertiser-owned inventory source groups.
3762
+ # The ID of the partner that has access to the assignment.
3763
+ # If the parent inventory source group is advertiser-owned, the assignment
3764
+ # cannot be accessed via a partner.
2367
3765
  # @param [String] fields
2368
3766
  # Selector specifying which fields to include in a partial response.
2369
3767
  # @param [String] quota_user
@@ -2373,18 +3771,19 @@ module Google
2373
3771
  # Request-specific options
2374
3772
  #
2375
3773
  # @yield [result, err] Result & error if block supplied
2376
- # @yieldparam result [Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse] parsed result object
3774
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse] parsed result object
2377
3775
  # @yieldparam err [StandardError] error object if request failed
2378
3776
  #
2379
- # @return [Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse]
3777
+ # @return [Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse]
2380
3778
  #
2381
3779
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2382
3780
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2383
3781
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2384
- def list_inventory_source_groups(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2385
- command = make_simple_command(:get, 'v1/inventorySourceGroups', options)
2386
- command.response_representation = Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse::Representation
2387
- command.response_class = Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse
3782
+ def list_inventory_source_group_assigned_inventory_sources(inventory_source_group_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3783
+ command = make_simple_command(:get, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources', options)
3784
+ command.response_representation = Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse::Representation
3785
+ command.response_class = Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse
3786
+ command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil?
2388
3787
  command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2389
3788
  command.query['filter'] = filter unless filter.nil?
2390
3789
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -2654,6 +4053,234 @@ module Google
2654
4053
  execute_or_queue_command(command, &block)
2655
4054
  end
2656
4055
 
4056
+ # Updates a channel. Returns the updated channel if successful.
4057
+ # @param [Fixnum] partner_id
4058
+ # The ID of the partner that owns the created channel.
4059
+ # @param [Fixnum] channel_id
4060
+ # Output only. The unique ID of the channel. Assigned by the system.
4061
+ # @param [Google::Apis::DisplayvideoV1::Channel] channel_object
4062
+ # @param [Fixnum] advertiser_id
4063
+ # The ID of the advertiser that owns the created channel.
4064
+ # @param [String] update_mask
4065
+ # Required. The mask to control which fields to update.
4066
+ # @param [String] fields
4067
+ # Selector specifying which fields to include in a partial response.
4068
+ # @param [String] quota_user
4069
+ # Available to use for quota purposes for server-side applications. Can be any
4070
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4071
+ # @param [Google::Apis::RequestOptions] options
4072
+ # Request-specific options
4073
+ #
4074
+ # @yield [result, err] Result & error if block supplied
4075
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Channel] parsed result object
4076
+ # @yieldparam err [StandardError] error object if request failed
4077
+ #
4078
+ # @return [Google::Apis::DisplayvideoV1::Channel]
4079
+ #
4080
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4081
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4082
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4083
+ def patch_partner_channel(partner_id, channel_id, channel_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4084
+ command = make_simple_command(:patch, 'v1/partners/{+partnerId}/channels/{channelId}', options)
4085
+ command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation
4086
+ command.request_object = channel_object
4087
+ command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation
4088
+ command.response_class = Google::Apis::DisplayvideoV1::Channel
4089
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4090
+ command.params['channelId'] = channel_id unless channel_id.nil?
4091
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
4092
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4093
+ command.query['fields'] = fields unless fields.nil?
4094
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4095
+ execute_or_queue_command(command, &block)
4096
+ end
4097
+
4098
+ # Bulk edits sites under a single channel.
4099
+ # The operation will delete the sites provided in
4100
+ # BulkEditSitesRequest.deleted_sites and then create the sites
4101
+ # provided in BulkEditSitesRequest.created_sites.
4102
+ # @param [Fixnum] partner_id
4103
+ # The ID of the partner that owns the parent channel.
4104
+ # @param [Fixnum] channel_id
4105
+ # Required. The ID of the parent channel to which the sites belong.
4106
+ # @param [Google::Apis::DisplayvideoV1::BulkEditSitesRequest] bulk_edit_sites_request_object
4107
+ # @param [String] fields
4108
+ # Selector specifying which fields to include in a partial response.
4109
+ # @param [String] quota_user
4110
+ # Available to use for quota purposes for server-side applications. Can be any
4111
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4112
+ # @param [Google::Apis::RequestOptions] options
4113
+ # Request-specific options
4114
+ #
4115
+ # @yield [result, err] Result & error if block supplied
4116
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditSitesResponse] parsed result object
4117
+ # @yieldparam err [StandardError] error object if request failed
4118
+ #
4119
+ # @return [Google::Apis::DisplayvideoV1::BulkEditSitesResponse]
4120
+ #
4121
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4122
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4123
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4124
+ def bulk_partner_channel_site_edit(partner_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4125
+ command = make_simple_command(:post, 'v1/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit', options)
4126
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditSitesRequest::Representation
4127
+ command.request_object = bulk_edit_sites_request_object
4128
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditSitesResponse::Representation
4129
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditSitesResponse
4130
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4131
+ command.params['channelId'] = channel_id unless channel_id.nil?
4132
+ command.query['fields'] = fields unless fields.nil?
4133
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4134
+ execute_or_queue_command(command, &block)
4135
+ end
4136
+
4137
+ # Creates a site in a channel.
4138
+ # @param [Fixnum] partner_id
4139
+ # The ID of the partner that owns the parent channel.
4140
+ # @param [Fixnum] channel_id
4141
+ # Required. The ID of the parent channel in which the site will be created.
4142
+ # @param [Google::Apis::DisplayvideoV1::Site] site_object
4143
+ # @param [Fixnum] advertiser_id
4144
+ # The ID of the advertiser that owns the parent channel.
4145
+ # @param [String] fields
4146
+ # Selector specifying which fields to include in a partial response.
4147
+ # @param [String] quota_user
4148
+ # Available to use for quota purposes for server-side applications. Can be any
4149
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4150
+ # @param [Google::Apis::RequestOptions] options
4151
+ # Request-specific options
4152
+ #
4153
+ # @yield [result, err] Result & error if block supplied
4154
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Site] parsed result object
4155
+ # @yieldparam err [StandardError] error object if request failed
4156
+ #
4157
+ # @return [Google::Apis::DisplayvideoV1::Site]
4158
+ #
4159
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4160
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4161
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4162
+ def create_partner_channel_site(partner_id, channel_id, site_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4163
+ command = make_simple_command(:post, 'v1/partners/{partnerId}/channels/{+channelId}/sites', options)
4164
+ command.request_representation = Google::Apis::DisplayvideoV1::Site::Representation
4165
+ command.request_object = site_object
4166
+ command.response_representation = Google::Apis::DisplayvideoV1::Site::Representation
4167
+ command.response_class = Google::Apis::DisplayvideoV1::Site
4168
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4169
+ command.params['channelId'] = channel_id unless channel_id.nil?
4170
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
4171
+ command.query['fields'] = fields unless fields.nil?
4172
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4173
+ execute_or_queue_command(command, &block)
4174
+ end
4175
+
4176
+ # Deletes a site from a channel.
4177
+ # @param [Fixnum] partner_id
4178
+ # The ID of the partner that owns the parent channel.
4179
+ # @param [Fixnum] channel_id
4180
+ # Required. The ID of the parent channel to which the site belongs.
4181
+ # @param [String] url_or_app_id
4182
+ # Required. The URL or app ID of the site to delete.
4183
+ # @param [Fixnum] advertiser_id
4184
+ # The ID of the advertiser that owns the parent channel.
4185
+ # @param [String] fields
4186
+ # Selector specifying which fields to include in a partial response.
4187
+ # @param [String] quota_user
4188
+ # Available to use for quota purposes for server-side applications. Can be any
4189
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4190
+ # @param [Google::Apis::RequestOptions] options
4191
+ # Request-specific options
4192
+ #
4193
+ # @yield [result, err] Result & error if block supplied
4194
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
4195
+ # @yieldparam err [StandardError] error object if request failed
4196
+ #
4197
+ # @return [Google::Apis::DisplayvideoV1::Empty]
4198
+ #
4199
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4200
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4201
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4202
+ def delete_partner_channel_site(partner_id, channel_id, url_or_app_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4203
+ command = make_simple_command(:delete, 'v1/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}', options)
4204
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
4205
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
4206
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4207
+ command.params['channelId'] = channel_id unless channel_id.nil?
4208
+ command.params['urlOrAppId'] = url_or_app_id unless url_or_app_id.nil?
4209
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
4210
+ command.query['fields'] = fields unless fields.nil?
4211
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4212
+ execute_or_queue_command(command, &block)
4213
+ end
4214
+
4215
+ # Lists sites in a channel.
4216
+ # @param [Fixnum] partner_id
4217
+ # The ID of the partner that owns the parent channel.
4218
+ # @param [Fixnum] channel_id
4219
+ # Required. The ID of the parent channel to which the requested sites belong.
4220
+ # @param [Fixnum] advertiser_id
4221
+ # The ID of the advertiser that owns the parent channel.
4222
+ # @param [String] filter
4223
+ # Allows filtering by site fields.
4224
+ # Supported syntax:
4225
+ # * Filter expressions for site currently can only contain at most one
4226
+ # * restriction.
4227
+ # * A restriction has the form of ``field` `operator` `value``.
4228
+ # * The operator must be `CONTAINS (:)`.
4229
+ # * Supported fields:
4230
+ # - `urlOrAppId`
4231
+ # Examples:
4232
+ # * All sites for which the URL or app ID contains "google":
4233
+ # `urlOrAppId : "google"`
4234
+ # @param [String] order_by
4235
+ # Field by which to sort the list.
4236
+ # Acceptable values are:
4237
+ # * `urlOrAppId` (default)
4238
+ # The default sorting order is ascending. To specify descending order for a
4239
+ # field, a suffix " desc" should be added to the field name. Example:
4240
+ # `urlOrAppId desc`.
4241
+ # @param [Fixnum] page_size
4242
+ # Requested page size. Must be between `1` and `100`. If unspecified will
4243
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4244
+ # is specified.
4245
+ # @param [String] page_token
4246
+ # A token identifying a page of results the server should return.
4247
+ # Typically, this is the value of
4248
+ # next_page_token returned from the
4249
+ # previous call to `ListSites` method. If not specified, the first page
4250
+ # of results will be returned.
4251
+ # @param [String] fields
4252
+ # Selector specifying which fields to include in a partial response.
4253
+ # @param [String] quota_user
4254
+ # Available to use for quota purposes for server-side applications. Can be any
4255
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4256
+ # @param [Google::Apis::RequestOptions] options
4257
+ # Request-specific options
4258
+ #
4259
+ # @yield [result, err] Result & error if block supplied
4260
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListSitesResponse] parsed result object
4261
+ # @yieldparam err [StandardError] error object if request failed
4262
+ #
4263
+ # @return [Google::Apis::DisplayvideoV1::ListSitesResponse]
4264
+ #
4265
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4266
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4267
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4268
+ def list_partner_channel_sites(partner_id, channel_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4269
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/channels/{+channelId}/sites', options)
4270
+ command.response_representation = Google::Apis::DisplayvideoV1::ListSitesResponse::Representation
4271
+ command.response_class = Google::Apis::DisplayvideoV1::ListSitesResponse
4272
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4273
+ command.params['channelId'] = channel_id unless channel_id.nil?
4274
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
4275
+ command.query['filter'] = filter unless filter.nil?
4276
+ command.query['orderBy'] = order_by unless order_by.nil?
4277
+ command.query['pageSize'] = page_size unless page_size.nil?
4278
+ command.query['pageToken'] = page_token unless page_token.nil?
4279
+ command.query['fields'] = fields unless fields.nil?
4280
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4281
+ execute_or_queue_command(command, &block)
4282
+ end
4283
+
2657
4284
  # Creates an SDF Download Task. Returns an
2658
4285
  # Operation.
2659
4286
  # An SDF Download Task is a long-running, asynchronous operation. The