google-api-client 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
  11. data/generated/google/apis/admin_directory_v1.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
  13. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  14. data/generated/google/apis/admin_directory_v1/service.rb +4 -1
  15. data/generated/google/apis/admin_reports_v1.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +399 -399
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
  21. data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
  22. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  23. data/generated/google/apis/appengine_v1.rb +4 -4
  24. data/generated/google/apis/appengine_v1/classes.rb +747 -747
  25. data/generated/google/apis/appengine_v1/representations.rb +158 -158
  26. data/generated/google/apis/appengine_v1/service.rb +214 -214
  27. data/generated/google/apis/appsactivity_v1.rb +1 -1
  28. data/generated/google/apis/appstate_v1.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  31. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  32. data/generated/google/apis/calendar_v3.rb +1 -1
  33. data/generated/google/apis/classroom_v1.rb +7 -7
  34. data/generated/google/apis/classroom_v1/classes.rb +517 -515
  35. data/generated/google/apis/classroom_v1/representations.rb +147 -147
  36. data/generated/google/apis/classroom_v1/service.rb +1144 -1143
  37. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
  39. data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
  40. data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
  41. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  42. data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
  43. data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
  44. data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
  45. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  46. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
  47. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
  48. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
  49. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  51. data/generated/google/apis/cloudkms_v1.rb +1 -1
  52. data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
  53. data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
  54. data/generated/google/apis/cloudkms_v1/service.rb +276 -276
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
  62. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
  63. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  64. data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
  65. data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
  66. data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
  67. data/generated/google/apis/compute_beta.rb +1 -1
  68. data/generated/google/apis/compute_beta/classes.rb +82 -6
  69. data/generated/google/apis/compute_beta/representations.rb +4 -0
  70. data/generated/google/apis/compute_beta/service.rb +1177 -834
  71. data/generated/google/apis/compute_v1.rb +1 -1
  72. data/generated/google/apis/compute_v1/classes.rb +371 -1
  73. data/generated/google/apis/compute_v1/representations.rb +139 -0
  74. data/generated/google/apis/compute_v1/service.rb +257 -9
  75. data/generated/google/apis/container_v1.rb +1 -1
  76. data/generated/google/apis/container_v1/classes.rb +1122 -826
  77. data/generated/google/apis/container_v1/representations.rb +279 -135
  78. data/generated/google/apis/container_v1/service.rb +440 -98
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/service.rb +3 -1
  81. data/generated/google/apis/customsearch_v1.rb +1 -1
  82. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  83. data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
  84. data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
  85. data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
  86. data/generated/google/apis/dataproc_v1.rb +1 -1
  87. data/generated/google/apis/dataproc_v1/classes.rb +450 -431
  88. data/generated/google/apis/dataproc_v1/representations.rb +92 -92
  89. data/generated/google/apis/dataproc_v1/service.rb +200 -200
  90. data/generated/google/apis/datastore_v1.rb +4 -4
  91. data/generated/google/apis/datastore_v1/classes.rb +397 -397
  92. data/generated/google/apis/datastore_v1/representations.rb +100 -100
  93. data/generated/google/apis/datastore_v1/service.rb +62 -62
  94. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  95. data/generated/google/apis/deploymentmanager_v2/classes.rb +79 -3
  96. data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
  97. data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
  98. data/generated/google/apis/dns_v1.rb +1 -1
  99. data/generated/google/apis/dns_v2beta1.rb +1 -1
  100. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  101. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
  102. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  103. data/generated/google/apis/drive_v2.rb +1 -1
  104. data/generated/google/apis/drive_v2/service.rb +1 -1
  105. data/generated/google/apis/drive_v3.rb +1 -1
  106. data/generated/google/apis/drive_v3/service.rb +1 -1
  107. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  108. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
  109. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
  110. data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
  111. data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
  112. data/generated/google/apis/firebaserules_v1/service.rb +151 -151
  113. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  114. data/generated/google/apis/games_management_v1management.rb +1 -1
  115. data/generated/google/apis/games_v1.rb +1 -1
  116. data/generated/google/apis/genomics_v1.rb +9 -9
  117. data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
  118. data/generated/google/apis/genomics_v1/representations.rb +306 -306
  119. data/generated/google/apis/genomics_v1/service.rb +1172 -1172
  120. data/generated/google/apis/gmail_v1.rb +1 -1
  121. data/generated/google/apis/iam_v1.rb +1 -1
  122. data/generated/google/apis/iam_v1/classes.rb +243 -243
  123. data/generated/google/apis/iam_v1/representations.rb +79 -79
  124. data/generated/google/apis/iam_v1/service.rb +137 -137
  125. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  126. data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
  127. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
  128. data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
  129. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  130. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  131. data/generated/google/apis/language_v1.rb +1 -1
  132. data/generated/google/apis/language_v1/classes.rb +451 -451
  133. data/generated/google/apis/language_v1/representations.rb +103 -103
  134. data/generated/google/apis/language_v1/service.rb +49 -49
  135. data/generated/google/apis/language_v1beta1.rb +1 -1
  136. data/generated/google/apis/language_v1beta1/classes.rb +459 -459
  137. data/generated/google/apis/language_v1beta1/representations.rb +110 -110
  138. data/generated/google/apis/language_v1beta1/service.rb +43 -43
  139. data/generated/google/apis/logging_v2.rb +8 -8
  140. data/generated/google/apis/logging_v2/classes.rb +915 -915
  141. data/generated/google/apis/logging_v2/representations.rb +142 -142
  142. data/generated/google/apis/logging_v2/service.rb +415 -415
  143. data/generated/google/apis/logging_v2beta1.rb +8 -8
  144. data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
  145. data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
  146. data/generated/google/apis/logging_v2beta1/service.rb +221 -221
  147. data/generated/google/apis/manufacturers_v1.rb +1 -1
  148. data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
  149. data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
  150. data/generated/google/apis/manufacturers_v1/service.rb +101 -4
  151. data/generated/google/apis/ml_v1.rb +1 -1
  152. data/generated/google/apis/ml_v1/classes.rb +709 -673
  153. data/generated/google/apis/ml_v1/representations.rb +154 -151
  154. data/generated/google/apis/ml_v1/service.rb +341 -354
  155. data/generated/google/apis/monitoring_v3.rb +6 -6
  156. data/generated/google/apis/monitoring_v3/classes.rb +869 -869
  157. data/generated/google/apis/monitoring_v3/representations.rb +171 -171
  158. data/generated/google/apis/monitoring_v3/service.rb +340 -340
  159. data/generated/google/apis/partners_v2.rb +1 -1
  160. data/generated/google/apis/partners_v2/classes.rb +1569 -1569
  161. data/generated/google/apis/partners_v2/representations.rb +256 -256
  162. data/generated/google/apis/partners_v2/service.rb +530 -530
  163. data/generated/google/apis/people_v1.rb +7 -7
  164. data/generated/google/apis/people_v1/classes.rb +1287 -946
  165. data/generated/google/apis/people_v1/representations.rb +355 -203
  166. data/generated/google/apis/people_v1/service.rb +409 -32
  167. data/generated/google/apis/plus_domains_v1.rb +1 -1
  168. data/generated/google/apis/plus_v1.rb +1 -1
  169. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  170. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +445 -445
  171. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
  172. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
  173. data/generated/google/apis/pubsub_v1.rb +4 -4
  174. data/generated/google/apis/pubsub_v1/classes.rb +286 -287
  175. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  176. data/generated/google/apis/pubsub_v1/service.rb +178 -178
  177. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  178. data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
  179. data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
  180. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  181. data/generated/google/apis/script_v1.rb +4 -4
  182. data/generated/google/apis/script_v1/classes.rb +172 -172
  183. data/generated/google/apis/script_v1/representations.rb +41 -41
  184. data/generated/google/apis/script_v1/service.rb +6 -6
  185. data/generated/google/apis/searchconsole_v1.rb +1 -1
  186. data/generated/google/apis/searchconsole_v1/classes.rb +6 -6
  187. data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
  188. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  189. data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
  190. data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
  191. data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
  192. data/generated/google/apis/servicemanagement_v1.rb +6 -6
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
  194. data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
  195. data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
  196. data/generated/google/apis/serviceuser_v1.rb +1 -1
  197. data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
  198. data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
  199. data/generated/google/apis/serviceuser_v1/service.rb +59 -59
  200. data/generated/google/apis/sheets_v4.rb +5 -5
  201. data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
  202. data/generated/google/apis/sheets_v4/representations.rb +957 -940
  203. data/generated/google/apis/sheets_v4/service.rb +175 -175
  204. data/generated/google/apis/slides_v1.rb +1 -1
  205. data/generated/google/apis/slides_v1/classes.rb +2932 -2905
  206. data/generated/google/apis/slides_v1/representations.rb +709 -694
  207. data/generated/google/apis/slides_v1/service.rb +50 -50
  208. data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
  209. data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
  210. data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
  211. data/generated/google/apis/spanner_v1.rb +7 -1
  212. data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
  213. data/generated/google/apis/spanner_v1/representations.rb +342 -323
  214. data/generated/google/apis/spanner_v1/service.rb +502 -492
  215. data/generated/google/apis/speech_v1beta1.rb +1 -1
  216. data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
  217. data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
  218. data/generated/google/apis/speech_v1beta1/service.rb +91 -91
  219. data/generated/google/apis/storage_v1.rb +1 -1
  220. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  221. data/generated/google/apis/storagetransfer_v1/classes.rb +784 -781
  222. data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
  223. data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
  224. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  225. data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
  226. data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
  227. data/generated/google/apis/translate_v2/classes.rb +107 -107
  228. data/generated/google/apis/translate_v2/representations.rb +49 -49
  229. data/generated/google/apis/translate_v2/service.rb +81 -81
  230. data/generated/google/apis/vision_v1.rb +4 -1
  231. data/generated/google/apis/vision_v1/classes.rb +527 -527
  232. data/generated/google/apis/vision_v1/representations.rb +115 -115
  233. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  234. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  235. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  236. data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
  237. data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
  238. data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
  239. data/lib/google/apis/version.rb +1 -1
  240. data/samples/cli/lib/samples/analytics.rb +2 -2
  241. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd0d0f5368b2d312560138ff1e2da7e9a500ac06
4
- data.tar.gz: 4dabcfca355f47c36361d7d11272790901a22790
3
+ metadata.gz: 2a59d2cdff30d2d331bea0998da8d5c0ddb1b467
4
+ data.tar.gz: 76c712189ee38c05d6c4a19b7cf8fab437ab5d55
5
5
  SHA512:
6
- metadata.gz: 38c22e08d7d4fca1eeea28366f65e2747c1f6c3a1e83c0bbc5d4b135505edd1bdc252751d2eb238cb62f23eef9a2e78465071ee56d33d6131fee9bfd702aab9a
7
- data.tar.gz: 1a447ff4604105842a7e4d61d7bb548f9151e7a189936f14b2766e9596069280374675c3261b13ae7b4b403812c52708a21a355309b11752a4ce07cbaee49d4b
6
+ metadata.gz: 572cdced03d8d48a4283e6928a562b2eaa364d1a706dec8cad766258016b927e55f782bd7afc124a95694b26d9260ba7a547f27d897a945eb023d9071f859b46
7
+ data.tar.gz: 314ec88326a0d47fd2136f096c9930208361addf4571cb32ef52b304f21c75c8af3cb69b1c58c3de9ded633c1a65194f82ce7703bae5ab7d00c9ce8bf442e932
@@ -1,3 +1,6 @@
1
+ # 0.13.1
2
+ * Regenerate APIs
3
+
1
4
  # 0.13.0
2
5
  * Regenerate APIs
3
6
  * Revert api\_names.yaml to an earlier revision to restore some manual name
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Google API Client
2
2
 
3
+ ## Library maintenance
4
+
5
+ This client library is supported but in maintenance mode only. We are fixing necessary bugs and adding essential features to ensure this library continues to meet your needs for accessing Google APIs. Non-critical issues will be closed. Any issue may be reopened if it is causing ongoing problems.
6
+
3
7
  ## Alpha
4
8
 
5
9
  This library is in Alpha. We will make an effort to support the library, but we reserve the right to make incompatible
@@ -7,9 +11,9 @@ changes when necessary.
7
11
 
8
12
  ## Working with Google Cloud Platform APIs?
9
13
 
10
- If you're working with Google Cloud Platform APIs such as Datastore, Cloud Storage or Pub/Sub, consider using [gcloud](https://github.com/GoogleCloudPlatform/google-cloud-ruby), an idiomatic Ruby client for Google Cloud Platform services.
14
+ If you're working with Google Cloud Platform APIs such as Datastore, Cloud Storage or Pub/Sub, consider using [google-cloud](https://github.com/GoogleCloudPlatform/google-cloud-ruby), an idiomatic Ruby client for Google Cloud Platform services.
11
15
 
12
- You can find the list of Google Cloud Platform APIs supported by gcloud in the [gcloud docs](https://googlecloudplatform.github.io/gcloud-ruby/#/docs/google-cloud).
16
+ You can find the list of Google Cloud Platform APIs supported by google-cloud in the [google-cloud docs](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud).
13
17
 
14
18
  ## Migrating from 0.8.x
15
19
 
@@ -22,6 +22,34 @@ module Google
22
22
  module Apis
23
23
  module AcceleratedmobilepageurlV1
24
24
 
25
+ # Batch AMP URL response.
26
+ class BatchGetAmpUrlsResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The errors for requested URLs that have no AMP URL.
30
+ # Corresponds to the JSON property `urlErrors`
31
+ # @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError>]
32
+ attr_accessor :url_errors
33
+
34
+ # For each URL in BatchAmpUrlsRequest, the URL response. The response might
35
+ # not be in the same order as URLs in the batch request.
36
+ # If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated
37
+ # only once.
38
+ # Corresponds to the JSON property `ampUrls`
39
+ # @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrl>]
40
+ attr_accessor :amp_urls
41
+
42
+ def initialize(**args)
43
+ update!(**args)
44
+ end
45
+
46
+ # Update properties of this object
47
+ def update!(**args)
48
+ @url_errors = args[:url_errors] if args.key?(:url_errors)
49
+ @amp_urls = args[:amp_urls] if args.key?(:amp_urls)
50
+ end
51
+ end
52
+
25
53
  # AMP URL response for a requested URL.
26
54
  class AmpUrl
27
55
  include Google::Apis::Core::Hashable
@@ -32,16 +60,16 @@ module Google
32
60
  # @return [String]
33
61
  attr_accessor :cdn_amp_url
34
62
 
35
- # The original non-AMP URL.
36
- # Corresponds to the JSON property `originalUrl`
37
- # @return [String]
38
- attr_accessor :original_url
39
-
40
63
  # The AMP URL pointing to the publisher's web server.
41
64
  # Corresponds to the JSON property `ampUrl`
42
65
  # @return [String]
43
66
  attr_accessor :amp_url
44
67
 
68
+ # The original non-AMP URL.
69
+ # Corresponds to the JSON property `originalUrl`
70
+ # @return [String]
71
+ attr_accessor :original_url
72
+
45
73
  def initialize(**args)
46
74
  update!(**args)
47
75
  end
@@ -49,8 +77,8 @@ module Google
49
77
  # Update properties of this object
50
78
  def update!(**args)
51
79
  @cdn_amp_url = args[:cdn_amp_url] if args.key?(:cdn_amp_url)
52
- @original_url = args[:original_url] if args.key?(:original_url)
53
80
  @amp_url = args[:amp_url] if args.key?(:amp_url)
81
+ @original_url = args[:original_url] if args.key?(:original_url)
54
82
  end
55
83
  end
56
84
 
@@ -58,6 +86,11 @@ module Google
58
86
  class AmpUrlError
59
87
  include Google::Apis::Core::Hashable
60
88
 
89
+ # An optional descriptive error message.
90
+ # Corresponds to the JSON property `errorMessage`
91
+ # @return [String]
92
+ attr_accessor :error_message
93
+
61
94
  # The error code of an API call.
62
95
  # Corresponds to the JSON property `errorCode`
63
96
  # @return [String]
@@ -68,20 +101,15 @@ module Google
68
101
  # @return [String]
69
102
  attr_accessor :original_url
70
103
 
71
- # An optional descriptive error message.
72
- # Corresponds to the JSON property `errorMessage`
73
- # @return [String]
74
- attr_accessor :error_message
75
-
76
104
  def initialize(**args)
77
105
  update!(**args)
78
106
  end
79
107
 
80
108
  # Update properties of this object
81
109
  def update!(**args)
110
+ @error_message = args[:error_message] if args.key?(:error_message)
82
111
  @error_code = args[:error_code] if args.key?(:error_code)
83
112
  @original_url = args[:original_url] if args.key?(:original_url)
84
- @error_message = args[:error_message] if args.key?(:error_message)
85
113
  end
86
114
  end
87
115
 
@@ -89,11 +117,6 @@ module Google
89
117
  class BatchGetAmpUrlsRequest
90
118
  include Google::Apis::Core::Hashable
91
119
 
92
- # The lookup_strategy being requested.
93
- # Corresponds to the JSON property `lookupStrategy`
94
- # @return [String]
95
- attr_accessor :lookup_strategy
96
-
97
120
  # List of URLs to look up for the paired AMP URLs.
98
121
  # The URLs are case-sensitive. Up to 50 URLs per lookup
99
122
  # (see [Usage Limits](/amp/cache/reference/limits)).
@@ -101,33 +124,10 @@ module Google
101
124
  # @return [Array<String>]
102
125
  attr_accessor :urls
103
126
 
104
- def initialize(**args)
105
- update!(**args)
106
- end
107
-
108
- # Update properties of this object
109
- def update!(**args)
110
- @lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy)
111
- @urls = args[:urls] if args.key?(:urls)
112
- end
113
- end
114
-
115
- # Batch AMP URL response.
116
- class BatchGetAmpUrlsResponse
117
- include Google::Apis::Core::Hashable
118
-
119
- # For each URL in BatchAmpUrlsRequest, the URL response. The response might
120
- # not be in the same order as URLs in the batch request.
121
- # If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated
122
- # only once.
123
- # Corresponds to the JSON property `ampUrls`
124
- # @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrl>]
125
- attr_accessor :amp_urls
126
-
127
- # The errors for requested URLs that have no AMP URL.
128
- # Corresponds to the JSON property `urlErrors`
129
- # @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError>]
130
- attr_accessor :url_errors
127
+ # The lookup_strategy being requested.
128
+ # Corresponds to the JSON property `lookupStrategy`
129
+ # @return [String]
130
+ attr_accessor :lookup_strategy
131
131
 
132
132
  def initialize(**args)
133
133
  update!(**args)
@@ -135,8 +135,8 @@ module Google
135
135
 
136
136
  # Update properties of this object
137
137
  def update!(**args)
138
- @amp_urls = args[:amp_urls] if args.key?(:amp_urls)
139
- @url_errors = args[:url_errors] if args.key?(:url_errors)
138
+ @urls = args[:urls] if args.key?(:urls)
139
+ @lookup_strategy = args[:lookup_strategy] if args.key?(:lookup_strategy)
140
140
  end
141
141
  end
142
142
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module AcceleratedmobilepageurlV1
24
24
 
25
+ class BatchGetAmpUrlsResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AmpUrl
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -41,44 +47,38 @@ module Google
41
47
  end
42
48
 
43
49
  class BatchGetAmpUrlsResponse
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
50
+ # @private
51
+ class Representation < Google::Apis::Core::JsonRepresentation
52
+ collection :url_errors, as: 'urlErrors', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError::Representation
45
53
 
46
- include Google::Apis::Core::JsonObjectSupport
54
+ collection :amp_urls, as: 'ampUrls', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl::Representation
55
+
56
+ end
47
57
  end
48
58
 
49
59
  class AmpUrl
50
60
  # @private
51
61
  class Representation < Google::Apis::Core::JsonRepresentation
52
62
  property :cdn_amp_url, as: 'cdnAmpUrl'
53
- property :original_url, as: 'originalUrl'
54
63
  property :amp_url, as: 'ampUrl'
64
+ property :original_url, as: 'originalUrl'
55
65
  end
56
66
  end
57
67
 
58
68
  class AmpUrlError
59
69
  # @private
60
70
  class Representation < Google::Apis::Core::JsonRepresentation
71
+ property :error_message, as: 'errorMessage'
61
72
  property :error_code, as: 'errorCode'
62
73
  property :original_url, as: 'originalUrl'
63
- property :error_message, as: 'errorMessage'
64
74
  end
65
75
  end
66
76
 
67
77
  class BatchGetAmpUrlsRequest
68
78
  # @private
69
79
  class Representation < Google::Apis::Core::JsonRepresentation
70
- property :lookup_strategy, as: 'lookupStrategy'
71
80
  collection :urls, as: 'urls'
72
- end
73
- end
74
-
75
- class BatchGetAmpUrlsResponse
76
- # @private
77
- class Representation < Google::Apis::Core::JsonRepresentation
78
- collection :amp_urls, as: 'ampUrls', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrl::Representation
79
-
80
- collection :url_errors, as: 'urlErrors', class: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError, decorator: Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError::Representation
81
-
81
+ property :lookup_strategy, as: 'lookupStrategy'
82
82
  end
83
83
  end
84
84
  end
@@ -51,11 +51,11 @@ module Google
51
51
  # Returns AMP URL(s) and equivalent
52
52
  # [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).
53
53
  # @param [Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest] batch_get_amp_urls_request_object
54
- # @param [String] fields
55
- # Selector specifying which fields to include in a partial response.
56
54
  # @param [String] quota_user
57
55
  # Available to use for quota purposes for server-side applications. Can be any
58
56
  # arbitrary string assigned to a user, but should not exceed 40 characters.
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
59
59
  # @param [Google::Apis::RequestOptions] options
60
60
  # Request-specific options
61
61
  #
@@ -68,14 +68,14 @@ module Google
68
68
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
69
69
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
70
70
  # @raise [Google::Apis::AuthorizationError] Authorization is required
71
- def batch_get_amp_urls(batch_get_amp_urls_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
71
+ def batch_get_amp_urls(batch_get_amp_urls_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
72
72
  command = make_simple_command(:post, 'v1/ampUrls:batchGet', options)
73
73
  command.request_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsRequest::Representation
74
74
  command.request_object = batch_get_amp_urls_request_object
75
75
  command.response_representation = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse::Representation
76
76
  command.response_class = Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse
77
- command.query['fields'] = fields unless fields.nil?
78
77
  command.query['quotaUser'] = quota_user unless quota_user.nil?
78
+ command.query['fields'] = fields unless fields.nil?
79
79
  execute_or_queue_command(command, &block)
80
80
  end
81
81
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20170608'
29
+ REVISION = '20170710'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -72,40 +72,6 @@ module Google
72
72
  end
73
73
  end
74
74
 
75
- # The number of impressions with the specified dimension values that were
76
- # filtered due to the specified filtering status.
77
- class ImpressionStatusRow
78
- include Google::Apis::Core::Hashable
79
-
80
- # A metric value, with an expected value and a variance; represents a count
81
- # that may be either exact or estimated (i.e. when sampled).
82
- # Corresponds to the JSON property `impressionCount`
83
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
84
- attr_accessor :impression_count
85
-
86
- # The status for which impressions were filtered.
87
- # Corresponds to the JSON property `status`
88
- # @return [String]
89
- attr_accessor :status
90
-
91
- # A response may include multiple rows, breaking down along various dimensions.
92
- # Encapsulates the values of all dimensions for a given row.
93
- # Corresponds to the JSON property `rowDimensions`
94
- # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
95
- attr_accessor :row_dimensions
96
-
97
- def initialize(**args)
98
- update!(**args)
99
- end
100
-
101
- # Update properties of this object
102
- def update!(**args)
103
- @impression_count = args[:impression_count] if args.key?(:impression_count)
104
- @status = args[:status] if args.key?(:status)
105
- @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
106
- end
107
- end
108
-
109
75
  # The set of metrics that are measured in numbers of bids, representing how
110
76
  # many bids with the specified dimension values were considered eligible at
111
77
  # each stage of the bidding funnel;
@@ -114,39 +80,45 @@ module Google
114
80
 
115
81
  # A metric value, with an expected value and a variance; represents a count
116
82
  # that may be either exact or estimated (i.e. when sampled).
117
- # Corresponds to the JSON property `billedImpressions`
83
+ # Corresponds to the JSON property `impressionsWon`
118
84
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
119
- attr_accessor :billed_impressions
85
+ attr_accessor :impressions_won
120
86
 
121
87
  # A metric value, with an expected value and a variance; represents a count
122
88
  # that may be either exact or estimated (i.e. when sampled).
123
- # Corresponds to the JSON property `bidsInAuction`
89
+ # Corresponds to the JSON property `viewableImpressions`
124
90
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
125
- attr_accessor :bids_in_auction
91
+ attr_accessor :viewable_impressions
126
92
 
127
- # A response may include multiple rows, breaking down along various dimensions.
128
- # Encapsulates the values of all dimensions for a given row.
129
- # Corresponds to the JSON property `rowDimensions`
130
- # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
131
- attr_accessor :row_dimensions
93
+ # A metric value, with an expected value and a variance; represents a count
94
+ # that may be either exact or estimated (i.e. when sampled).
95
+ # Corresponds to the JSON property `measurableImpressions`
96
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
97
+ attr_accessor :measurable_impressions
132
98
 
133
99
  # A metric value, with an expected value and a variance; represents a count
134
100
  # that may be either exact or estimated (i.e. when sampled).
135
- # Corresponds to the JSON property `impressionsWon`
101
+ # Corresponds to the JSON property `bids`
136
102
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
137
- attr_accessor :impressions_won
103
+ attr_accessor :bids
138
104
 
139
105
  # A metric value, with an expected value and a variance; represents a count
140
106
  # that may be either exact or estimated (i.e. when sampled).
141
- # Corresponds to the JSON property `viewableImpressions`
107
+ # Corresponds to the JSON property `billedImpressions`
142
108
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
143
- attr_accessor :viewable_impressions
109
+ attr_accessor :billed_impressions
144
110
 
145
111
  # A metric value, with an expected value and a variance; represents a count
146
112
  # that may be either exact or estimated (i.e. when sampled).
147
- # Corresponds to the JSON property `bids`
113
+ # Corresponds to the JSON property `bidsInAuction`
148
114
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
149
- attr_accessor :bids
115
+ attr_accessor :bids_in_auction
116
+
117
+ # A response may include multiple rows, breaking down along various dimensions.
118
+ # Encapsulates the values of all dimensions for a given row.
119
+ # Corresponds to the JSON property `rowDimensions`
120
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
121
+ attr_accessor :row_dimensions
150
122
 
151
123
  def initialize(**args)
152
124
  update!(**args)
@@ -154,12 +126,13 @@ module Google
154
126
 
155
127
  # Update properties of this object
156
128
  def update!(**args)
157
- @billed_impressions = args[:billed_impressions] if args.key?(:billed_impressions)
158
- @bids_in_auction = args[:bids_in_auction] if args.key?(:bids_in_auction)
159
- @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
160
129
  @impressions_won = args[:impressions_won] if args.key?(:impressions_won)
161
130
  @viewable_impressions = args[:viewable_impressions] if args.key?(:viewable_impressions)
131
+ @measurable_impressions = args[:measurable_impressions] if args.key?(:measurable_impressions)
162
132
  @bids = args[:bids] if args.key?(:bids)
133
+ @billed_impressions = args[:billed_impressions] if args.key?(:billed_impressions)
134
+ @bids_in_auction = args[:bids_in_auction] if args.key?(:bids_in_auction)
135
+ @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
163
136
  end
164
137
  end
165
138
 
@@ -252,23 +225,45 @@ module Google
252
225
  end
253
226
  end
254
227
 
255
- # The number of filtered bids with the specified dimension values, among those
256
- # filtered due to the requested filtering reason (i.e. creative status), that
257
- # have the specified detail.
258
- class FilteredBidDetailRow
228
+ # The number of winning bids with the specified dimension values for which the
229
+ # buyer was not billed, as described by the specified status.
230
+ class NonBillableWinningBidStatusRow
259
231
  include Google::Apis::Core::Hashable
260
232
 
233
+ # A response may include multiple rows, breaking down along various dimensions.
234
+ # Encapsulates the values of all dimensions for a given row.
235
+ # Corresponds to the JSON property `rowDimensions`
236
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
237
+ attr_accessor :row_dimensions
238
+
261
239
  # A metric value, with an expected value and a variance; represents a count
262
240
  # that may be either exact or estimated (i.e. when sampled).
263
241
  # Corresponds to the JSON property `bidCount`
264
242
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
265
243
  attr_accessor :bid_count
266
244
 
267
- # The ID of the detail. The associated value can be looked up in the
268
- # dictionary file corresponding to the DetailType in the response message.
269
- # Corresponds to the JSON property `detailId`
270
- # @return [Fixnum]
271
- attr_accessor :detail_id
245
+ # The status specifying why the winning bids were not billed.
246
+ # Corresponds to the JSON property `status`
247
+ # @return [String]
248
+ attr_accessor :status
249
+
250
+ def initialize(**args)
251
+ update!(**args)
252
+ end
253
+
254
+ # Update properties of this object
255
+ def update!(**args)
256
+ @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
257
+ @bid_count = args[:bid_count] if args.key?(:bid_count)
258
+ @status = args[:status] if args.key?(:status)
259
+ end
260
+ end
261
+
262
+ # The number of filtered bids with the specified dimension values, among those
263
+ # filtered due to the requested filtering reason (i.e. creative status), that
264
+ # have the specified detail.
265
+ class FilteredBidDetailRow
266
+ include Google::Apis::Core::Hashable
272
267
 
273
268
  # A response may include multiple rows, breaking down along various dimensions.
274
269
  # Encapsulates the values of all dimensions for a given row.
@@ -276,15 +271,27 @@ module Google
276
271
  # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
277
272
  attr_accessor :row_dimensions
278
273
 
274
+ # The ID of the detail. The associated value can be looked up in the
275
+ # dictionary file corresponding to the DetailType in the response message.
276
+ # Corresponds to the JSON property `detailId`
277
+ # @return [Fixnum]
278
+ attr_accessor :detail_id
279
+
280
+ # A metric value, with an expected value and a variance; represents a count
281
+ # that may be either exact or estimated (i.e. when sampled).
282
+ # Corresponds to the JSON property `bidCount`
283
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
284
+ attr_accessor :bid_count
285
+
279
286
  def initialize(**args)
280
287
  update!(**args)
281
288
  end
282
289
 
283
290
  # Update properties of this object
284
291
  def update!(**args)
285
- @bid_count = args[:bid_count] if args.key?(:bid_count)
286
- @detail_id = args[:detail_id] if args.key?(:detail_id)
287
292
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
293
+ @detail_id = args[:detail_id] if args.key?(:detail_id)
294
+ @bid_count = args[:bid_count] if args.key?(:bid_count)
288
295
  end
289
296
  end
290
297
 
@@ -303,9 +310,9 @@ module Google
303
310
  # expiration date. The year may be 0 to represent a month and day independent
304
311
  # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
305
312
  # and `google.protobuf.Timestamp`.
306
- # Corresponds to the JSON property `endDate`
313
+ # Corresponds to the JSON property `startDate`
307
314
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
308
- attr_accessor :end_date
315
+ attr_accessor :start_date
309
316
 
310
317
  # Represents a whole calendar date, e.g. date of birth. The time of day and
311
318
  # time zone are either specified elsewhere or are not significant. The date
@@ -314,9 +321,9 @@ module Google
314
321
  # expiration date. The year may be 0 to represent a month and day independent
315
322
  # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
316
323
  # and `google.protobuf.Timestamp`.
317
- # Corresponds to the JSON property `startDate`
324
+ # Corresponds to the JSON property `endDate`
318
325
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
319
- attr_accessor :start_date
326
+ attr_accessor :end_date
320
327
 
321
328
  def initialize(**args)
322
329
  update!(**args)
@@ -324,8 +331,8 @@ module Google
324
331
 
325
332
  # Update properties of this object
326
333
  def update!(**args)
327
- @end_date = args[:end_date] if args.key?(:end_date)
328
334
  @start_date = args[:start_date] if args.key?(:start_date)
335
+ @end_date = args[:end_date] if args.key?(:end_date)
329
336
  end
330
337
  end
331
338
 
@@ -412,6 +419,12 @@ module Google
412
419
  class FilteredBidCreativeRow
413
420
  include Google::Apis::Core::Hashable
414
421
 
422
+ # A metric value, with an expected value and a variance; represents a count
423
+ # that may be either exact or estimated (i.e. when sampled).
424
+ # Corresponds to the JSON property `bidCount`
425
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
426
+ attr_accessor :bid_count
427
+
415
428
  # The ID of the creative.
416
429
  # Corresponds to the JSON property `creativeId`
417
430
  # @return [String]
@@ -423,21 +436,15 @@ module Google
423
436
  # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
424
437
  attr_accessor :row_dimensions
425
438
 
426
- # A metric value, with an expected value and a variance; represents a count
427
- # that may be either exact or estimated (i.e. when sampled).
428
- # Corresponds to the JSON property `bidCount`
429
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
430
- attr_accessor :bid_count
431
-
432
439
  def initialize(**args)
433
440
  update!(**args)
434
441
  end
435
442
 
436
443
  # Update properties of this object
437
444
  def update!(**args)
445
+ @bid_count = args[:bid_count] if args.key?(:bid_count)
438
446
  @creative_id = args[:creative_id] if args.key?(:creative_id)
439
447
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
440
- @bid_count = args[:bid_count] if args.key?(:bid_count)
441
448
  end
442
449
  end
443
450
 
@@ -450,26 +457,26 @@ module Google
450
457
  class RelativeDateRange
451
458
  include Google::Apis::Core::Hashable
452
459
 
453
- # The end date of the filter set, specified as the number of days before
454
- # today. E.g. for a range where the last date is today, 0.
455
- # Corresponds to the JSON property `offsetDays`
456
- # @return [Fixnum]
457
- attr_accessor :offset_days
458
-
459
460
  # The number of days in the requested date range. E.g. for a range spanning
460
461
  # today, 1. For a range spanning the last 7 days, 7.
461
462
  # Corresponds to the JSON property `durationDays`
462
463
  # @return [Fixnum]
463
464
  attr_accessor :duration_days
464
465
 
466
+ # The end date of the filter set, specified as the number of days before
467
+ # today. E.g. for a range where the last date is today, 0.
468
+ # Corresponds to the JSON property `offsetDays`
469
+ # @return [Fixnum]
470
+ attr_accessor :offset_days
471
+
465
472
  def initialize(**args)
466
473
  update!(**args)
467
474
  end
468
475
 
469
476
  # Update properties of this object
470
477
  def update!(**args)
471
- @offset_days = args[:offset_days] if args.key?(:offset_days)
472
478
  @duration_days = args[:duration_days] if args.key?(:duration_days)
479
+ @offset_days = args[:offset_days] if args.key?(:offset_days)
473
480
  end
474
481
  end
475
482
 
@@ -507,6 +514,11 @@ module Google
507
514
  class NativeContent
508
515
  include Google::Apis::Core::Hashable
509
516
 
517
+ # A label for the button that the user is supposed to click.
518
+ # Corresponds to the JSON property `callToAction`
519
+ # @return [String]
520
+ attr_accessor :call_to_action
521
+
510
522
  # A long description of the ad.
511
523
  # Corresponds to the JSON property `body`
512
524
  # @return [String]
@@ -522,33 +534,33 @@ module Google
522
534
  # @return [String]
523
535
  attr_accessor :video_url
524
536
 
525
- # The URL that the browser/SDK will load when the user clicks the ad.
526
- # Corresponds to the JSON property `clickLinkUrl`
527
- # @return [String]
528
- attr_accessor :click_link_url
529
-
530
537
  # An image resource. You may provide a larger image than was requested,
531
538
  # so long as the aspect ratio is preserved.
532
539
  # Corresponds to the JSON property `logo`
533
540
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
534
541
  attr_accessor :logo
535
542
 
543
+ # The URL that the browser/SDK will load when the user clicks the ad.
544
+ # Corresponds to the JSON property `clickLinkUrl`
545
+ # @return [String]
546
+ attr_accessor :click_link_url
547
+
536
548
  # The price of the promoted app including currency info.
537
549
  # Corresponds to the JSON property `priceDisplayText`
538
550
  # @return [String]
539
551
  attr_accessor :price_display_text
540
552
 
553
+ # The URL to use for click tracking.
554
+ # Corresponds to the JSON property `clickTrackingUrl`
555
+ # @return [String]
556
+ attr_accessor :click_tracking_url
557
+
541
558
  # An image resource. You may provide a larger image than was requested,
542
559
  # so long as the aspect ratio is preserved.
543
560
  # Corresponds to the JSON property `image`
544
561
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
545
562
  attr_accessor :image
546
563
 
547
- # The URL to use for click tracking.
548
- # Corresponds to the JSON property `clickTrackingUrl`
549
- # @return [String]
550
- attr_accessor :click_tracking_url
551
-
552
564
  # The name of the advertiser or sponsor, to be displayed in the ad creative.
553
565
  # Corresponds to the JSON property `advertiserName`
554
566
  # @return [String]
@@ -570,30 +582,25 @@ module Google
570
582
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Image]
571
583
  attr_accessor :app_icon
572
584
 
573
- # A label for the button that the user is supposed to click.
574
- # Corresponds to the JSON property `callToAction`
575
- # @return [String]
576
- attr_accessor :call_to_action
577
-
578
585
  def initialize(**args)
579
586
  update!(**args)
580
587
  end
581
588
 
582
589
  # Update properties of this object
583
590
  def update!(**args)
591
+ @call_to_action = args[:call_to_action] if args.key?(:call_to_action)
584
592
  @body = args[:body] if args.key?(:body)
585
593
  @star_rating = args[:star_rating] if args.key?(:star_rating)
586
594
  @video_url = args[:video_url] if args.key?(:video_url)
587
- @click_link_url = args[:click_link_url] if args.key?(:click_link_url)
588
595
  @logo = args[:logo] if args.key?(:logo)
596
+ @click_link_url = args[:click_link_url] if args.key?(:click_link_url)
589
597
  @price_display_text = args[:price_display_text] if args.key?(:price_display_text)
590
- @image = args[:image] if args.key?(:image)
591
598
  @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url)
599
+ @image = args[:image] if args.key?(:image)
592
600
  @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
593
601
  @store_url = args[:store_url] if args.key?(:store_url)
594
602
  @headline = args[:headline] if args.key?(:headline)
595
603
  @app_icon = args[:app_icon] if args.key?(:app_icon)
596
- @call_to_action = args[:call_to_action] if args.key?(:call_to_action)
597
604
  end
598
605
  end
599
606
 
@@ -602,12 +609,6 @@ module Google
602
609
  class ListBidResponsesWithoutBidsResponse
603
610
  include Google::Apis::Core::Hashable
604
611
 
605
- # List of rows, with counts of bid responses without bids aggregated by
606
- # status.
607
- # Corresponds to the JSON property `bidResponseWithoutBidsStatusRows`
608
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::BidResponseWithoutBidsStatusRow>]
609
- attr_accessor :bid_response_without_bids_status_rows
610
-
611
612
  # A token to retrieve the next page of results.
612
613
  # Pass this value in the
613
614
  # ListBidResponsesWithoutBidsRequest.pageToken
@@ -618,14 +619,20 @@ module Google
618
619
  # @return [String]
619
620
  attr_accessor :next_page_token
620
621
 
622
+ # List of rows, with counts of bid responses without bids aggregated by
623
+ # status.
624
+ # Corresponds to the JSON property `bidResponseWithoutBidsStatusRows`
625
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::BidResponseWithoutBidsStatusRow>]
626
+ attr_accessor :bid_response_without_bids_status_rows
627
+
621
628
  def initialize(**args)
622
629
  update!(**args)
623
630
  end
624
631
 
625
632
  # Update properties of this object
626
633
  def update!(**args)
627
- @bid_response_without_bids_status_rows = args[:bid_response_without_bids_status_rows] if args.key?(:bid_response_without_bids_status_rows)
628
634
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
635
+ @bid_response_without_bids_status_rows = args[:bid_response_without_bids_status_rows] if args.key?(:bid_response_without_bids_status_rows)
629
636
  end
630
637
  end
631
638
 
@@ -633,6 +640,16 @@ module Google
633
640
  class ServingContext
634
641
  include Google::Apis::Core::Hashable
635
642
 
643
+ # @OutputOnly A security context.
644
+ # Corresponds to the JSON property `securityType`
645
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext]
646
+ attr_accessor :security_type
647
+
648
+ # @OutputOnly The type of platform the restriction applies to.
649
+ # Corresponds to the JSON property `platform`
650
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext]
651
+ attr_accessor :platform
652
+
636
653
  # @OutputOnly The Geo criteria the restriction applies to.
637
654
  # Corresponds to the JSON property `location`
638
655
  # @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext]
@@ -653,28 +670,18 @@ module Google
653
670
  # @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext]
654
671
  attr_accessor :app_type
655
672
 
656
- # @OutputOnly A security context.
657
- # Corresponds to the JSON property `securityType`
658
- # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext]
659
- attr_accessor :security_type
660
-
661
- # @OutputOnly The type of platform the restriction applies to.
662
- # Corresponds to the JSON property `platform`
663
- # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext]
664
- attr_accessor :platform
665
-
666
673
  def initialize(**args)
667
674
  update!(**args)
668
675
  end
669
676
 
670
677
  # Update properties of this object
671
678
  def update!(**args)
679
+ @security_type = args[:security_type] if args.key?(:security_type)
680
+ @platform = args[:platform] if args.key?(:platform)
672
681
  @location = args[:location] if args.key?(:location)
673
682
  @auction_type = args[:auction_type] if args.key?(:auction_type)
674
683
  @all = args[:all] if args.key?(:all)
675
684
  @app_type = args[:app_type] if args.key?(:app_type)
676
- @security_type = args[:security_type] if args.key?(:security_type)
677
- @platform = args[:platform] if args.key?(:platform)
678
685
  end
679
686
  end
680
687
 
@@ -751,7 +758,7 @@ module Google
751
758
  # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
752
759
  attr_accessor :impression_count
753
760
 
754
- # The status that caused the bid response to be considered to have no
761
+ # The status specifying why the bid responses were considered to have no
755
762
  # applicable bids.
756
763
  # Corresponds to the JSON property `status`
757
764
  # @return [String]
@@ -781,13 +788,6 @@ module Google
781
788
  class ClientUserInvitation
782
789
  include Google::Apis::Core::Hashable
783
790
 
784
- # The email address to which the invitation is sent. Email
785
- # addresses should be unique among all client users under each sponsor
786
- # buyer.
787
- # Corresponds to the JSON property `email`
788
- # @return [String]
789
- attr_accessor :email
790
-
791
791
  # Numerical account ID of the client buyer
792
792
  # that the invited user is associated with.
793
793
  # The value of this field is ignored in create operations.
@@ -801,15 +801,22 @@ module Google
801
801
  # @return [Fixnum]
802
802
  attr_accessor :invitation_id
803
803
 
804
+ # The email address to which the invitation is sent. Email
805
+ # addresses should be unique among all client users under each sponsor
806
+ # buyer.
807
+ # Corresponds to the JSON property `email`
808
+ # @return [String]
809
+ attr_accessor :email
810
+
804
811
  def initialize(**args)
805
812
  update!(**args)
806
813
  end
807
814
 
808
815
  # Update properties of this object
809
816
  def update!(**args)
810
- @email = args[:email] if args.key?(:email)
811
817
  @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
812
818
  @invitation_id = args[:invitation_id] if args.key?(:invitation_id)
819
+ @email = args[:email] if args.key?(:email)
813
820
  end
814
821
  end
815
822
 
@@ -848,6 +855,11 @@ module Google
848
855
  class ListClientUsersResponse
849
856
  include Google::Apis::Core::Hashable
850
857
 
858
+ # The returned list of client users.
859
+ # Corresponds to the JSON property `users`
860
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUser>]
861
+ attr_accessor :users
862
+
851
863
  # A token to retrieve the next page of results.
852
864
  # Pass this value in the
853
865
  # ListClientUsersRequest.pageToken
@@ -859,19 +871,14 @@ module Google
859
871
  # @return [String]
860
872
  attr_accessor :next_page_token
861
873
 
862
- # The returned list of client users.
863
- # Corresponds to the JSON property `users`
864
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUser>]
865
- attr_accessor :users
866
-
867
874
  def initialize(**args)
868
875
  update!(**args)
869
876
  end
870
877
 
871
878
  # Update properties of this object
872
879
  def update!(**args)
873
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
874
880
  @users = args[:users] if args.key?(:users)
881
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
875
882
  end
876
883
  end
877
884
 
@@ -880,17 +887,6 @@ module Google
880
887
  class ListCreativeStatusBreakdownByDetailResponse
881
888
  include Google::Apis::Core::Hashable
882
889
 
883
- # The type of detail that the detail IDs represent.
884
- # Corresponds to the JSON property `detailType`
885
- # @return [String]
886
- attr_accessor :detail_type
887
-
888
- # List of rows, with counts of bids with a given creative status aggregated
889
- # by detail.
890
- # Corresponds to the JSON property `filteredBidDetailRows`
891
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow>]
892
- attr_accessor :filtered_bid_detail_rows
893
-
894
890
  # A token to retrieve the next page of results.
895
891
  # Pass this value in the
896
892
  # ListCreativeStatusBreakdownByDetailRequest.pageToken
@@ -901,15 +897,26 @@ module Google
901
897
  # @return [String]
902
898
  attr_accessor :next_page_token
903
899
 
900
+ # List of rows, with counts of bids with a given creative status aggregated
901
+ # by detail.
902
+ # Corresponds to the JSON property `filteredBidDetailRows`
903
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow>]
904
+ attr_accessor :filtered_bid_detail_rows
905
+
906
+ # The type of detail that the detail IDs represent.
907
+ # Corresponds to the JSON property `detailType`
908
+ # @return [String]
909
+ attr_accessor :detail_type
910
+
904
911
  def initialize(**args)
905
912
  update!(**args)
906
913
  end
907
914
 
908
915
  # Update properties of this object
909
916
  def update!(**args)
910
- @detail_type = args[:detail_type] if args.key?(:detail_type)
911
- @filtered_bid_detail_rows = args[:filtered_bid_detail_rows] if args.key?(:filtered_bid_detail_rows)
912
917
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
918
+ @filtered_bid_detail_rows = args[:filtered_bid_detail_rows] if args.key?(:filtered_bid_detail_rows)
919
+ @detail_type = args[:detail_type] if args.key?(:detail_type)
913
920
  end
914
921
  end
915
922
 
@@ -1005,6 +1012,12 @@ module Google
1005
1012
  # @return [String]
1006
1013
  attr_accessor :status
1007
1014
 
1015
+ # User's email address. The value of this field
1016
+ # is ignored in an update operation.
1017
+ # Corresponds to the JSON property `email`
1018
+ # @return [String]
1019
+ attr_accessor :email
1020
+
1008
1021
  # The unique numerical ID of the client user
1009
1022
  # that has accepted an invitation.
1010
1023
  # The value of this field is ignored in an update operation.
@@ -1012,12 +1025,6 @@ module Google
1012
1025
  # @return [Fixnum]
1013
1026
  attr_accessor :user_id
1014
1027
 
1015
- # User's email address. The value of this field
1016
- # is ignored in an update operation.
1017
- # Corresponds to the JSON property `email`
1018
- # @return [String]
1019
- attr_accessor :email
1020
-
1021
1028
  # Numerical account ID of the client buyer
1022
1029
  # with which the user is associated; the
1023
1030
  # buyer must be a client of the current sponsor buyer.
@@ -1033,8 +1040,8 @@ module Google
1033
1040
  # Update properties of this object
1034
1041
  def update!(**args)
1035
1042
  @status = args[:status] if args.key?(:status)
1036
- @user_id = args[:user_id] if args.key?(:user_id)
1037
1043
  @email = args[:email] if args.key?(:email)
1044
+ @user_id = args[:user_id] if args.key?(:user_id)
1038
1045
  @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
1039
1046
  end
1040
1047
  end
@@ -1043,6 +1050,11 @@ module Google
1043
1050
  class CreativeDealAssociation
1044
1051
  include Google::Apis::Core::Hashable
1045
1052
 
1053
+ # The account the creative belongs to.
1054
+ # Corresponds to the JSON property `accountId`
1055
+ # @return [String]
1056
+ attr_accessor :account_id
1057
+
1046
1058
  # The ID of the creative associated with the deal.
1047
1059
  # Corresponds to the JSON property `creativeId`
1048
1060
  # @return [String]
@@ -1053,20 +1065,15 @@ module Google
1053
1065
  # @return [String]
1054
1066
  attr_accessor :deals_id
1055
1067
 
1056
- # The account the creative belongs to.
1057
- # Corresponds to the JSON property `accountId`
1058
- # @return [String]
1059
- attr_accessor :account_id
1060
-
1061
1068
  def initialize(**args)
1062
1069
  update!(**args)
1063
1070
  end
1064
1071
 
1065
1072
  # Update properties of this object
1066
1073
  def update!(**args)
1074
+ @account_id = args[:account_id] if args.key?(:account_id)
1067
1075
  @creative_id = args[:creative_id] if args.key?(:creative_id)
1068
1076
  @deals_id = args[:deals_id] if args.key?(:deals_id)
1069
- @account_id = args[:account_id] if args.key?(:account_id)
1070
1077
  end
1071
1078
  end
1072
1079
 
@@ -1074,33 +1081,6 @@ module Google
1074
1081
  class Creative
1075
1082
  include Google::Apis::Core::Hashable
1076
1083
 
1077
- # @OutputOnly Filtering reasons for this creative during a period of a single
1078
- # day (from midnight to midnight Pacific).
1079
- # Corresponds to the JSON property `filteringStats`
1080
- # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
1081
- attr_accessor :filtering_stats
1082
-
1083
- # All attributes for the ads that may be shown from this creative.
1084
- # Can be used to filter the response of the
1085
- # creatives.list
1086
- # method.
1087
- # Corresponds to the JSON property `attributes`
1088
- # @return [Array<String>]
1089
- attr_accessor :attributes
1090
-
1091
- # @OutputOnly The last update timestamp of the creative via API.
1092
- # Corresponds to the JSON property `apiUpdateTime`
1093
- # @return [String]
1094
- attr_accessor :api_update_time
1095
-
1096
- # @OutputOnly
1097
- # The detected languages for this creative. The order is arbitrary. The codes
1098
- # are 2 or 5 characters and are documented at
1099
- # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1100
- # Corresponds to the JSON property `detectedLanguages`
1101
- # @return [Array<String>]
1102
- attr_accessor :detected_languages
1103
-
1104
1084
  # The buyer-defined creative ID of this creative.
1105
1085
  # Can be used to filter the response of the
1106
1086
  # creatives.list
@@ -1237,16 +1217,39 @@ module Google
1237
1217
  # @return [Array<String>]
1238
1218
  attr_accessor :detected_domains
1239
1219
 
1220
+ # @OutputOnly Filtering reasons for this creative during a period of a single
1221
+ # day (from midnight to midnight Pacific).
1222
+ # Corresponds to the JSON property `filteringStats`
1223
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
1224
+ attr_accessor :filtering_stats
1225
+
1226
+ # All attributes for the ads that may be shown from this creative.
1227
+ # Can be used to filter the response of the
1228
+ # creatives.list
1229
+ # method.
1230
+ # Corresponds to the JSON property `attributes`
1231
+ # @return [Array<String>]
1232
+ attr_accessor :attributes
1233
+
1234
+ # @OutputOnly The last update timestamp of the creative via API.
1235
+ # Corresponds to the JSON property `apiUpdateTime`
1236
+ # @return [String]
1237
+ attr_accessor :api_update_time
1238
+
1239
+ # @OutputOnly
1240
+ # The detected languages for this creative. The order is arbitrary. The codes
1241
+ # are 2 or 5 characters and are documented at
1242
+ # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1243
+ # Corresponds to the JSON property `detectedLanguages`
1244
+ # @return [Array<String>]
1245
+ attr_accessor :detected_languages
1246
+
1240
1247
  def initialize(**args)
1241
1248
  update!(**args)
1242
1249
  end
1243
1250
 
1244
1251
  # Update properties of this object
1245
1252
  def update!(**args)
1246
- @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
1247
- @attributes = args[:attributes] if args.key?(:attributes)
1248
- @api_update_time = args[:api_update_time] if args.key?(:api_update_time)
1249
- @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
1250
1253
  @creative_id = args[:creative_id] if args.key?(:creative_id)
1251
1254
  @account_id = args[:account_id] if args.key?(:account_id)
1252
1255
  @native = args[:native] if args.key?(:native)
@@ -1268,6 +1271,10 @@ module Google
1268
1271
  @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name)
1269
1272
  @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids)
1270
1273
  @detected_domains = args[:detected_domains] if args.key?(:detected_domains)
1274
+ @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
1275
+ @attributes = args[:attributes] if args.key?(:attributes)
1276
+ @api_update_time = args[:api_update_time] if args.key?(:api_update_time)
1277
+ @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
1271
1278
  end
1272
1279
  end
1273
1280
 
@@ -1276,11 +1283,6 @@ module Google
1276
1283
  class FilteringStats
1277
1284
  include Google::Apis::Core::Hashable
1278
1285
 
1279
- # The set of filtering reasons for this date.
1280
- # Corresponds to the JSON property `reasons`
1281
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
1282
- attr_accessor :reasons
1283
-
1284
1286
  # Represents a whole calendar date, e.g. date of birth. The time of day and
1285
1287
  # time zone are either specified elsewhere or are not significant. The date
1286
1288
  # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
@@ -1292,14 +1294,19 @@ module Google
1292
1294
  # @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
1293
1295
  attr_accessor :date
1294
1296
 
1297
+ # The set of filtering reasons for this date.
1298
+ # Corresponds to the JSON property `reasons`
1299
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
1300
+ attr_accessor :reasons
1301
+
1295
1302
  def initialize(**args)
1296
1303
  update!(**args)
1297
1304
  end
1298
1305
 
1299
1306
  # Update properties of this object
1300
1307
  def update!(**args)
1301
- @reasons = args[:reasons] if args.key?(:reasons)
1302
1308
  @date = args[:date] if args.key?(:date)
1309
+ @reasons = args[:reasons] if args.key?(:reasons)
1303
1310
  end
1304
1311
  end
1305
1312
 
@@ -1322,37 +1329,6 @@ module Google
1322
1329
  end
1323
1330
  end
1324
1331
 
1325
- # Response message for listing all reasons that impressions were filtered (i.e.
1326
- # not considered as an inventory match) for the buyer.
1327
- class ListFilteredImpressionsResponse
1328
- include Google::Apis::Core::Hashable
1329
-
1330
- # A token to retrieve the next page of results.
1331
- # Pass this value in the
1332
- # ListFilteredImpressionsRequest.pageToken
1333
- # field in the subsequent call to the
1334
- # accounts.filterSets.filteredImpressions.list
1335
- # method to retrieve the next page of results.
1336
- # Corresponds to the JSON property `nextPageToken`
1337
- # @return [String]
1338
- attr_accessor :next_page_token
1339
-
1340
- # List of rows, with counts of filtered impressions aggregated by status.
1341
- # Corresponds to the JSON property `impressionsStatusRows`
1342
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ImpressionStatusRow>]
1343
- attr_accessor :impressions_status_rows
1344
-
1345
- def initialize(**args)
1346
- update!(**args)
1347
- end
1348
-
1349
- # Update properties of this object
1350
- def update!(**args)
1351
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1352
- @impressions_status_rows = args[:impressions_status_rows] if args.key?(:impressions_status_rows)
1353
- end
1354
- end
1355
-
1356
1332
  # Response message for listing all creatives associated with a given filtered
1357
1333
  # bid reason.
1358
1334
  class ListCreativeStatusBreakdownByCreativeResponse
@@ -1395,27 +1371,6 @@ module Google
1395
1371
  class Client
1396
1372
  include Google::Apis::Core::Hashable
1397
1373
 
1398
- # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
1399
- # Corresponds to the JSON property `entityType`
1400
- # @return [String]
1401
- attr_accessor :entity_type
1402
-
1403
- # Name used to represent this client to publishers.
1404
- # You may have multiple clients that map to the same entity,
1405
- # but for each client the combination of `clientName` and entity
1406
- # must be unique.
1407
- # You can specify this field as empty.
1408
- # Corresponds to the JSON property `clientName`
1409
- # @return [String]
1410
- attr_accessor :client_name
1411
-
1412
- # The role which is assigned to the client buyer. Each role implies a set of
1413
- # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
1414
- # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
1415
- # Corresponds to the JSON property `role`
1416
- # @return [String]
1417
- attr_accessor :role
1418
-
1419
1374
  # Whether the client buyer will be visible to sellers.
1420
1375
  # Corresponds to the JSON property `visibleToSeller`
1421
1376
  # @return [Boolean]
@@ -1458,20 +1413,41 @@ module Google
1458
1413
  # @return [String]
1459
1414
  attr_accessor :status
1460
1415
 
1416
+ # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
1417
+ # Corresponds to the JSON property `entityType`
1418
+ # @return [String]
1419
+ attr_accessor :entity_type
1420
+
1421
+ # Name used to represent this client to publishers.
1422
+ # You may have multiple clients that map to the same entity,
1423
+ # but for each client the combination of `clientName` and entity
1424
+ # must be unique.
1425
+ # You can specify this field as empty.
1426
+ # Corresponds to the JSON property `clientName`
1427
+ # @return [String]
1428
+ attr_accessor :client_name
1429
+
1430
+ # The role which is assigned to the client buyer. Each role implies a set of
1431
+ # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
1432
+ # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
1433
+ # Corresponds to the JSON property `role`
1434
+ # @return [String]
1435
+ attr_accessor :role
1436
+
1461
1437
  def initialize(**args)
1462
1438
  update!(**args)
1463
1439
  end
1464
1440
 
1465
1441
  # Update properties of this object
1466
1442
  def update!(**args)
1467
- @entity_type = args[:entity_type] if args.key?(:entity_type)
1468
- @client_name = args[:client_name] if args.key?(:client_name)
1469
- @role = args[:role] if args.key?(:role)
1470
1443
  @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
1471
1444
  @entity_id = args[:entity_id] if args.key?(:entity_id)
1472
1445
  @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
1473
1446
  @entity_name = args[:entity_name] if args.key?(:entity_name)
1474
1447
  @status = args[:status] if args.key?(:status)
1448
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
1449
+ @client_name = args[:client_name] if args.key?(:client_name)
1450
+ @role = args[:role] if args.key?(:role)
1475
1451
  end
1476
1452
  end
1477
1453
 
@@ -1479,11 +1455,6 @@ module Google
1479
1455
  class Correction
1480
1456
  include Google::Apis::Core::Hashable
1481
1457
 
1482
- # Additional details about what was corrected.
1483
- # Corresponds to the JSON property `details`
1484
- # @return [Array<String>]
1485
- attr_accessor :details
1486
-
1487
1458
  # The type of correction that was applied to the creative.
1488
1459
  # Corresponds to the JSON property `type`
1489
1460
  # @return [String]
@@ -1494,15 +1465,20 @@ module Google
1494
1465
  # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
1495
1466
  attr_accessor :contexts
1496
1467
 
1468
+ # Additional details about what was corrected.
1469
+ # Corresponds to the JSON property `details`
1470
+ # @return [Array<String>]
1471
+ attr_accessor :details
1472
+
1497
1473
  def initialize(**args)
1498
1474
  update!(**args)
1499
1475
  end
1500
1476
 
1501
1477
  # Update properties of this object
1502
1478
  def update!(**args)
1503
- @details = args[:details] if args.key?(:details)
1504
1479
  @type = args[:type] if args.key?(:type)
1505
1480
  @contexts = args[:contexts] if args.key?(:contexts)
1481
+ @details = args[:details] if args.key?(:details)
1506
1482
  end
1507
1483
  end
1508
1484
 
@@ -1551,16 +1527,16 @@ module Google
1551
1527
  # @return [String]
1552
1528
  attr_accessor :environment
1553
1529
 
1554
- # The format on which to filter; optional.
1555
- # Corresponds to the JSON property `format`
1556
- # @return [String]
1557
- attr_accessor :format
1558
-
1559
1530
  # The ID of the deal on which to filter; optional.
1560
1531
  # Corresponds to the JSON property `dealId`
1561
1532
  # @return [Fixnum]
1562
1533
  attr_accessor :deal_id
1563
1534
 
1535
+ # The format on which to filter; optional.
1536
+ # Corresponds to the JSON property `format`
1537
+ # @return [String]
1538
+ attr_accessor :format
1539
+
1564
1540
  # The granularity of time intervals if a time series breakdown is desired;
1565
1541
  # optional.
1566
1542
  # Corresponds to the JSON property `timeSeriesGranularity`
@@ -1614,8 +1590,8 @@ module Google
1614
1590
  @absolute_date_range = args[:absolute_date_range] if args.key?(:absolute_date_range)
1615
1591
  @buyer_account_id = args[:buyer_account_id] if args.key?(:buyer_account_id)
1616
1592
  @environment = args[:environment] if args.key?(:environment)
1617
- @format = args[:format] if args.key?(:format)
1618
1593
  @deal_id = args[:deal_id] if args.key?(:deal_id)
1594
+ @format = args[:format] if args.key?(:format)
1619
1595
  @time_series_granularity = args[:time_series_granularity] if args.key?(:time_series_granularity)
1620
1596
  @filter_set_id = args[:filter_set_id] if args.key?(:filter_set_id)
1621
1597
  @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range)
@@ -1625,13 +1601,48 @@ module Google
1625
1601
  end
1626
1602
  end
1627
1603
 
1604
+ # A response for listing creative and deal associations
1605
+ class ListDealAssociationsResponse
1606
+ include Google::Apis::Core::Hashable
1607
+
1608
+ # A token to retrieve the next page of results.
1609
+ # Pass this value in the
1610
+ # ListDealAssociationsRequest.page_token
1611
+ # field in the subsequent call to 'ListDealAssociation' method to retrieve
1612
+ # the next page of results.
1613
+ # Corresponds to the JSON property `nextPageToken`
1614
+ # @return [String]
1615
+ attr_accessor :next_page_token
1616
+
1617
+ # The list of associations.
1618
+ # Corresponds to the JSON property `associations`
1619
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation>]
1620
+ attr_accessor :associations
1621
+
1622
+ def initialize(**args)
1623
+ update!(**args)
1624
+ end
1625
+
1626
+ # Update properties of this object
1627
+ def update!(**args)
1628
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1629
+ @associations = args[:associations] if args.key?(:associations)
1630
+ end
1631
+ end
1632
+
1628
1633
  # The number of impressions with the specified dimension values where the
1629
1634
  # corresponding bid request or bid response was not successful, as described by
1630
1635
  # the specified callout status.
1631
1636
  class CalloutStatusRow
1632
1637
  include Google::Apis::Core::Hashable
1633
1638
 
1634
- # A response may include multiple rows, breaking down along various dimensions.
1639
+ # A metric value, with an expected value and a variance; represents a count
1640
+ # that may be either exact or estimated (i.e. when sampled).
1641
+ # Corresponds to the JSON property `impressionCount`
1642
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1643
+ attr_accessor :impression_count
1644
+
1645
+ # A response may include multiple rows, breaking down along various dimensions.
1635
1646
  # Encapsulates the values of all dimensions for a given row.
1636
1647
  # Corresponds to the JSON property `rowDimensions`
1637
1648
  # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
@@ -1644,41 +1655,31 @@ module Google
1644
1655
  # @return [Fixnum]
1645
1656
  attr_accessor :callout_status_id
1646
1657
 
1647
- # A metric value, with an expected value and a variance; represents a count
1648
- # that may be either exact or estimated (i.e. when sampled).
1649
- # Corresponds to the JSON property `impressionCount`
1650
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
1651
- attr_accessor :impression_count
1652
-
1653
1658
  def initialize(**args)
1654
1659
  update!(**args)
1655
1660
  end
1656
1661
 
1657
1662
  # Update properties of this object
1658
1663
  def update!(**args)
1664
+ @impression_count = args[:impression_count] if args.key?(:impression_count)
1659
1665
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
1660
1666
  @callout_status_id = args[:callout_status_id] if args.key?(:callout_status_id)
1661
- @impression_count = args[:impression_count] if args.key?(:impression_count)
1662
1667
  end
1663
1668
  end
1664
1669
 
1665
- # A response for listing creative and deal associations
1666
- class ListDealAssociationsResponse
1670
+ # @OutputOnly The reason and details for a disapproval.
1671
+ class Disapproval
1667
1672
  include Google::Apis::Core::Hashable
1668
1673
 
1669
- # A token to retrieve the next page of results.
1670
- # Pass this value in the
1671
- # ListDealAssociationsRequest.page_token
1672
- # field in the subsequent call to 'ListDealAssociation' method to retrieve
1673
- # the next page of results.
1674
- # Corresponds to the JSON property `nextPageToken`
1675
- # @return [String]
1676
- attr_accessor :next_page_token
1674
+ # Additional details about the reason for disapproval.
1675
+ # Corresponds to the JSON property `details`
1676
+ # @return [Array<String>]
1677
+ attr_accessor :details
1677
1678
 
1678
- # The list of associations.
1679
- # Corresponds to the JSON property `associations`
1680
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation>]
1681
- attr_accessor :associations
1679
+ # The categorized reason for disapproval.
1680
+ # Corresponds to the JSON property `reason`
1681
+ # @return [String]
1682
+ attr_accessor :reason
1682
1683
 
1683
1684
  def initialize(**args)
1684
1685
  update!(**args)
@@ -1686,8 +1687,8 @@ module Google
1686
1687
 
1687
1688
  # Update properties of this object
1688
1689
  def update!(**args)
1689
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1690
- @associations = args[:associations] if args.key?(:associations)
1690
+ @details = args[:details] if args.key?(:details)
1691
+ @reason = args[:reason] if args.key?(:reason)
1691
1692
  end
1692
1693
  end
1693
1694
 
@@ -1704,31 +1705,6 @@ module Google
1704
1705
  end
1705
1706
  end
1706
1707
 
1707
- # @OutputOnly The reason and details for a disapproval.
1708
- class Disapproval
1709
- include Google::Apis::Core::Hashable
1710
-
1711
- # Additional details about the reason for disapproval.
1712
- # Corresponds to the JSON property `details`
1713
- # @return [Array<String>]
1714
- attr_accessor :details
1715
-
1716
- # The categorized reason for disapproval.
1717
- # Corresponds to the JSON property `reason`
1718
- # @return [String]
1719
- attr_accessor :reason
1720
-
1721
- def initialize(**args)
1722
- update!(**args)
1723
- end
1724
-
1725
- # Update properties of this object
1726
- def update!(**args)
1727
- @details = args[:details] if args.key?(:details)
1728
- @reason = args[:reason] if args.key?(:reason)
1729
- end
1730
- end
1731
-
1732
1708
  # @OutputOnly A representation of the status of an ad in a
1733
1709
  # specific context. A context here relates to where something ultimately serves
1734
1710
  # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
@@ -1736,6 +1712,15 @@ module Google
1736
1712
  class ServingRestriction
1737
1713
  include Google::Apis::Core::Hashable
1738
1714
 
1715
+ # Any disapprovals bound to this restriction.
1716
+ # Only present if status=DISAPPROVED.
1717
+ # Can be used to filter the response of the
1718
+ # creatives.list
1719
+ # method.
1720
+ # Corresponds to the JSON property `disapprovalReasons`
1721
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Disapproval>]
1722
+ attr_accessor :disapproval_reasons
1723
+
1739
1724
  # The contexts for the restriction.
1740
1725
  # Corresponds to the JSON property `contexts`
1741
1726
  # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>]
@@ -1747,24 +1732,15 @@ module Google
1747
1732
  # @return [String]
1748
1733
  attr_accessor :status
1749
1734
 
1750
- # Any disapprovals bound to this restriction.
1751
- # Only present if status=DISAPPROVED.
1752
- # Can be used to filter the response of the
1753
- # creatives.list
1754
- # method.
1755
- # Corresponds to the JSON property `disapprovalReasons`
1756
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Disapproval>]
1757
- attr_accessor :disapproval_reasons
1758
-
1759
1735
  def initialize(**args)
1760
1736
  update!(**args)
1761
1737
  end
1762
1738
 
1763
1739
  # Update properties of this object
1764
1740
  def update!(**args)
1741
+ @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
1765
1742
  @contexts = args[:contexts] if args.key?(:contexts)
1766
1743
  @status = args[:status] if args.key?(:status)
1767
- @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
1768
1744
  end
1769
1745
  end
1770
1746
 
@@ -1778,18 +1754,18 @@ module Google
1778
1754
  class Date
1779
1755
  include Google::Apis::Core::Hashable
1780
1756
 
1781
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
1782
- # a year.
1783
- # Corresponds to the JSON property `year`
1784
- # @return [Fixnum]
1785
- attr_accessor :year
1786
-
1787
1757
  # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
1788
1758
  # if specifying a year/month where the day is not significant.
1789
1759
  # Corresponds to the JSON property `day`
1790
1760
  # @return [Fixnum]
1791
1761
  attr_accessor :day
1792
1762
 
1763
+ # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
1764
+ # a year.
1765
+ # Corresponds to the JSON property `year`
1766
+ # @return [Fixnum]
1767
+ attr_accessor :year
1768
+
1793
1769
  # Month of year. Must be from 1 to 12.
1794
1770
  # Corresponds to the JSON property `month`
1795
1771
  # @return [Fixnum]
@@ -1801,8 +1777,8 @@ module Google
1801
1777
 
1802
1778
  # Update properties of this object
1803
1779
  def update!(**args)
1804
- @year = args[:year] if args.key?(:year)
1805
1780
  @day = args[:day] if args.key?(:day)
1781
+ @year = args[:year] if args.key?(:year)
1806
1782
  @month = args[:month] if args.key?(:month)
1807
1783
  end
1808
1784
  end
@@ -1855,44 +1831,6 @@ module Google
1855
1831
  end
1856
1832
  end
1857
1833
 
1858
- # Response message for listing all details associated with a given filtered bid
1859
- # reason and a given creative.
1860
- class ListCreativeStatusAndCreativeBreakdownByDetailResponse
1861
- include Google::Apis::Core::Hashable
1862
-
1863
- # List of rows, with counts of bids with a given creative status and
1864
- # creative, aggregated by detail.
1865
- # Corresponds to the JSON property `filteredBidDetailRows`
1866
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::FilteredBidDetailRow>]
1867
- attr_accessor :filtered_bid_detail_rows
1868
-
1869
- # A token to retrieve the next page of results.
1870
- # Pass this value in the
1871
- # ListCreativeStatusAndCreativeBreakdownByDetailRequest.pageToken
1872
- # field in the subsequent call to the
1873
- # accounts.filterSets.filteredBids.creatives.details.list
1874
- # method to retrieve the next page of results.
1875
- # Corresponds to the JSON property `nextPageToken`
1876
- # @return [String]
1877
- attr_accessor :next_page_token
1878
-
1879
- # The type of detail that the detail IDs represent.
1880
- # Corresponds to the JSON property `detailType`
1881
- # @return [String]
1882
- attr_accessor :detail_type
1883
-
1884
- def initialize(**args)
1885
- update!(**args)
1886
- end
1887
-
1888
- # Update properties of this object
1889
- def update!(**args)
1890
- @filtered_bid_detail_rows = args[:filtered_bid_detail_rows] if args.key?(:filtered_bid_detail_rows)
1891
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1892
- @detail_type = args[:detail_type] if args.key?(:detail_type)
1893
- end
1894
- end
1895
-
1896
1834
  # @OutputOnly The app type the restriction applies to for mobile device.
1897
1835
  class AppContext
1898
1836
  include Google::Apis::Core::Hashable
@@ -1917,12 +1855,6 @@ module Google
1917
1855
  class ListFilteredBidsResponse
1918
1856
  include Google::Apis::Core::Hashable
1919
1857
 
1920
- # List of rows, with counts of filtered bids aggregated by filtering reason
1921
- # (i.e. creative status).
1922
- # Corresponds to the JSON property `creativeStatusRows`
1923
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow>]
1924
- attr_accessor :creative_status_rows
1925
-
1926
1858
  # A token to retrieve the next page of results.
1927
1859
  # Pass this value in the
1928
1860
  # ListFilteredBidsRequest.pageToken
@@ -1933,14 +1865,20 @@ module Google
1933
1865
  # @return [String]
1934
1866
  attr_accessor :next_page_token
1935
1867
 
1868
+ # List of rows, with counts of filtered bids aggregated by filtering reason
1869
+ # (i.e. creative status).
1870
+ # Corresponds to the JSON property `creativeStatusRows`
1871
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CreativeStatusRow>]
1872
+ attr_accessor :creative_status_rows
1873
+
1936
1874
  def initialize(**args)
1937
1875
  update!(**args)
1938
1876
  end
1939
1877
 
1940
1878
  # Update properties of this object
1941
1879
  def update!(**args)
1942
- @creative_status_rows = args[:creative_status_rows] if args.key?(:creative_status_rows)
1943
1880
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1881
+ @creative_status_rows = args[:creative_status_rows] if args.key?(:creative_status_rows)
1944
1882
  end
1945
1883
  end
1946
1884
 
@@ -1963,24 +1901,26 @@ module Google
1963
1901
  end
1964
1902
  end
1965
1903
 
1966
- # HTML content for a creative.
1967
- class HtmlContent
1904
+ # Response message for listing all reasons that bid requests were filtered and
1905
+ # not sent to the buyer.
1906
+ class ListFilteredBidRequestsResponse
1968
1907
  include Google::Apis::Core::Hashable
1969
1908
 
1970
- # The height of the HTML snippet in pixels.
1971
- # Corresponds to the JSON property `height`
1972
- # @return [Fixnum]
1973
- attr_accessor :height
1974
-
1975
- # The width of the HTML snippet in pixels.
1976
- # Corresponds to the JSON property `width`
1977
- # @return [Fixnum]
1978
- attr_accessor :width
1909
+ # List of rows, with counts of filtered bid requests aggregated by callout
1910
+ # status.
1911
+ # Corresponds to the JSON property `calloutStatusRows`
1912
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow>]
1913
+ attr_accessor :callout_status_rows
1979
1914
 
1980
- # The HTML snippet that displays the ad when inserted in the web page.
1981
- # Corresponds to the JSON property `snippet`
1915
+ # A token to retrieve the next page of results.
1916
+ # Pass this value in the
1917
+ # ListFilteredBidRequestsRequest.pageToken
1918
+ # field in the subsequent call to the
1919
+ # accounts.filterSets.filteredBidRequests.list
1920
+ # method to retrieve the next page of results.
1921
+ # Corresponds to the JSON property `nextPageToken`
1982
1922
  # @return [String]
1983
- attr_accessor :snippet
1923
+ attr_accessor :next_page_token
1984
1924
 
1985
1925
  def initialize(**args)
1986
1926
  update!(**args)
@@ -1988,9 +1928,8 @@ module Google
1988
1928
 
1989
1929
  # Update properties of this object
1990
1930
  def update!(**args)
1991
- @height = args[:height] if args.key?(:height)
1992
- @width = args[:width] if args.key?(:width)
1993
- @snippet = args[:snippet] if args.key?(:snippet)
1931
+ @callout_status_rows = args[:callout_status_rows] if args.key?(:callout_status_rows)
1932
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1994
1933
  end
1995
1934
  end
1996
1935
 
@@ -1998,6 +1937,11 @@ module Google
1998
1937
  class ListCreativesResponse
1999
1938
  include Google::Apis::Core::Hashable
2000
1939
 
1940
+ # The list of creatives.
1941
+ # Corresponds to the JSON property `creatives`
1942
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Creative>]
1943
+ attr_accessor :creatives
1944
+
2001
1945
  # A token to retrieve the next page of results.
2002
1946
  # Pass this value in the
2003
1947
  # ListCreativesRequest.page_token
@@ -2007,42 +1951,35 @@ module Google
2007
1951
  # @return [String]
2008
1952
  attr_accessor :next_page_token
2009
1953
 
2010
- # The list of creatives.
2011
- # Corresponds to the JSON property `creatives`
2012
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Creative>]
2013
- attr_accessor :creatives
2014
-
2015
1954
  def initialize(**args)
2016
1955
  update!(**args)
2017
1956
  end
2018
1957
 
2019
1958
  # Update properties of this object
2020
1959
  def update!(**args)
2021
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2022
1960
  @creatives = args[:creatives] if args.key?(:creatives)
1961
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2023
1962
  end
2024
1963
  end
2025
1964
 
2026
- # Response message for listing all reasons that bid requests were filtered and
2027
- # not sent to the buyer.
2028
- class ListFilteredBidRequestsResponse
1965
+ # HTML content for a creative.
1966
+ class HtmlContent
2029
1967
  include Google::Apis::Core::Hashable
2030
1968
 
2031
- # List of rows, with counts of filtered bid requests aggregated by callout
2032
- # status.
2033
- # Corresponds to the JSON property `calloutStatusRows`
2034
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::CalloutStatusRow>]
2035
- attr_accessor :callout_status_rows
1969
+ # The height of the HTML snippet in pixels.
1970
+ # Corresponds to the JSON property `height`
1971
+ # @return [Fixnum]
1972
+ attr_accessor :height
2036
1973
 
2037
- # A token to retrieve the next page of results.
2038
- # Pass this value in the
2039
- # ListFilteredBidRequestsRequest.pageToken
2040
- # field in the subsequent call to the
2041
- # accounts.filterSets.filteredBidRequests.list
2042
- # method to retrieve the next page of results.
2043
- # Corresponds to the JSON property `nextPageToken`
1974
+ # The width of the HTML snippet in pixels.
1975
+ # Corresponds to the JSON property `width`
1976
+ # @return [Fixnum]
1977
+ attr_accessor :width
1978
+
1979
+ # The HTML snippet that displays the ad when inserted in the web page.
1980
+ # Corresponds to the JSON property `snippet`
2044
1981
  # @return [String]
2045
- attr_accessor :next_page_token
1982
+ attr_accessor :snippet
2046
1983
 
2047
1984
  def initialize(**args)
2048
1985
  update!(**args)
@@ -2050,8 +1987,9 @@ module Google
2050
1987
 
2051
1988
  # Update properties of this object
2052
1989
  def update!(**args)
2053
- @callout_status_rows = args[:callout_status_rows] if args.key?(:callout_status_rows)
2054
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1990
+ @height = args[:height] if args.key?(:height)
1991
+ @width = args[:width] if args.key?(:width)
1992
+ @snippet = args[:snippet] if args.key?(:snippet)
2055
1993
  end
2056
1994
  end
2057
1995
 
@@ -2059,11 +1997,6 @@ module Google
2059
1997
  class ListBidMetricsResponse
2060
1998
  include Google::Apis::Core::Hashable
2061
1999
 
2062
- # List of rows, each containing a set of bid metrics.
2063
- # Corresponds to the JSON property `bidMetricsRows`
2064
- # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow>]
2065
- attr_accessor :bid_metrics_rows
2066
-
2067
2000
  # A token to retrieve the next page of results.
2068
2001
  # Pass this value in the
2069
2002
  # ListBidMetricsRequest.pageToken
@@ -2074,14 +2007,19 @@ module Google
2074
2007
  # @return [String]
2075
2008
  attr_accessor :next_page_token
2076
2009
 
2010
+ # List of rows, each containing a set of bid metrics.
2011
+ # Corresponds to the JSON property `bidMetricsRows`
2012
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::BidMetricsRow>]
2013
+ attr_accessor :bid_metrics_rows
2014
+
2077
2015
  def initialize(**args)
2078
2016
  update!(**args)
2079
2017
  end
2080
2018
 
2081
2019
  # Update properties of this object
2082
2020
  def update!(**args)
2083
- @bid_metrics_rows = args[:bid_metrics_rows] if args.key?(:bid_metrics_rows)
2084
2021
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2022
+ @bid_metrics_rows = args[:bid_metrics_rows] if args.key?(:bid_metrics_rows)
2085
2023
  end
2086
2024
  end
2087
2025
 
@@ -2114,6 +2052,25 @@ module Google
2114
2052
  end
2115
2053
  end
2116
2054
 
2055
+ # Video content for a creative.
2056
+ class VideoContent
2057
+ include Google::Apis::Core::Hashable
2058
+
2059
+ # The URL to fetch a video ad.
2060
+ # Corresponds to the JSON property `videoUrl`
2061
+ # @return [String]
2062
+ attr_accessor :video_url
2063
+
2064
+ def initialize(**args)
2065
+ update!(**args)
2066
+ end
2067
+
2068
+ # Update properties of this object
2069
+ def update!(**args)
2070
+ @video_url = args[:video_url] if args.key?(:video_url)
2071
+ end
2072
+ end
2073
+
2117
2074
  # Response message for listing all reasons that bids lost in the auction.
2118
2075
  class ListLosingBidsResponse
2119
2076
  include Google::Apis::Core::Hashable
@@ -2145,14 +2102,25 @@ module Google
2145
2102
  end
2146
2103
  end
2147
2104
 
2148
- # Video content for a creative.
2149
- class VideoContent
2105
+ # Response message for listing all reasons for which a buyer was not billed for
2106
+ # a winning bid.
2107
+ class ListNonBillableWinningBidsResponse
2150
2108
  include Google::Apis::Core::Hashable
2151
2109
 
2152
- # The URL to fetch a video ad.
2153
- # Corresponds to the JSON property `videoUrl`
2110
+ # A token to retrieve the next page of results.
2111
+ # Pass this value in the
2112
+ # ListNonBillableWinningBidsRequest.pageToken
2113
+ # field in the subsequent call to the
2114
+ # accounts.filterSets.nonBillableWinningBids.list
2115
+ # method to retrieve the next page of results.
2116
+ # Corresponds to the JSON property `nextPageToken`
2154
2117
  # @return [String]
2155
- attr_accessor :video_url
2118
+ attr_accessor :next_page_token
2119
+
2120
+ # List of rows, with counts of bids not billed aggregated by reason.
2121
+ # Corresponds to the JSON property `nonBillableWinningBidStatusRows`
2122
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::NonBillableWinningBidStatusRow>]
2123
+ attr_accessor :non_billable_winning_bid_status_rows
2156
2124
 
2157
2125
  def initialize(**args)
2158
2126
  update!(**args)
@@ -2160,7 +2128,8 @@ module Google
2160
2128
 
2161
2129
  # Update properties of this object
2162
2130
  def update!(**args)
2163
- @video_url = args[:video_url] if args.key?(:video_url)
2131
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2132
+ @non_billable_winning_bid_status_rows = args[:non_billable_winning_bid_status_rows] if args.key?(:non_billable_winning_bid_status_rows)
2164
2133
  end
2165
2134
  end
2166
2135
 
@@ -2170,18 +2139,18 @@ module Google
2170
2139
  class ImpressionMetricsRow
2171
2140
  include Google::Apis::Core::Hashable
2172
2141
 
2173
- # A metric value, with an expected value and a variance; represents a count
2174
- # that may be either exact or estimated (i.e. when sampled).
2175
- # Corresponds to the JSON property `availableImpressions`
2176
- # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
2177
- attr_accessor :available_impressions
2178
-
2179
2142
  # A response may include multiple rows, breaking down along various dimensions.
2180
2143
  # Encapsulates the values of all dimensions for a given row.
2181
2144
  # Corresponds to the JSON property `rowDimensions`
2182
2145
  # @return [Google::Apis::Adexchangebuyer2V2beta1::RowDimensions]
2183
2146
  attr_accessor :row_dimensions
2184
2147
 
2148
+ # A metric value, with an expected value and a variance; represents a count
2149
+ # that may be either exact or estimated (i.e. when sampled).
2150
+ # Corresponds to the JSON property `availableImpressions`
2151
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::MetricValue]
2152
+ attr_accessor :available_impressions
2153
+
2185
2154
  # A metric value, with an expected value and a variance; represents a count
2186
2155
  # that may be either exact or estimated (i.e. when sampled).
2187
2156
  # Corresponds to the JSON property `inventoryMatches`
@@ -2212,8 +2181,8 @@ module Google
2212
2181
 
2213
2182
  # Update properties of this object
2214
2183
  def update!(**args)
2215
- @available_impressions = args[:available_impressions] if args.key?(:available_impressions)
2216
2184
  @row_dimensions = args[:row_dimensions] if args.key?(:row_dimensions)
2185
+ @available_impressions = args[:available_impressions] if args.key?(:available_impressions)
2217
2186
  @inventory_matches = args[:inventory_matches] if args.key?(:inventory_matches)
2218
2187
  @bid_requests = args[:bid_requests] if args.key?(:bid_requests)
2219
2188
  @responses_with_bids = args[:responses_with_bids] if args.key?(:responses_with_bids)