google-apis-adsense_v2 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-adsense_v2.rb +15 -0
- data/lib/google/apis/adsense_v2.rb +40 -0
- data/lib/google/apis/adsense_v2/classes.rb +1021 -0
- data/lib/google/apis/adsense_v2/gem_version.rb +28 -0
- data/lib/google/apis/adsense_v2/representations.rb +503 -0
- data/lib/google/apis/adsense_v2/service.rb +1064 -0
- metadata +76 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright 2020 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Apis
|
|
17
|
+
module AdsenseV2
|
|
18
|
+
# Version of the google-apis-adsense_v2 gem
|
|
19
|
+
GEM_VERSION = "0.1.0"
|
|
20
|
+
|
|
21
|
+
# Version of the code generator used to generate this client
|
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
|
23
|
+
|
|
24
|
+
# Revision of the discovery document this client was generated from
|
|
25
|
+
REVISION = "20210414"
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
# Copyright 2020 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'date'
|
|
16
|
+
require 'google/apis/core/base_service'
|
|
17
|
+
require 'google/apis/core/json_representation'
|
|
18
|
+
require 'google/apis/core/hashable'
|
|
19
|
+
require 'google/apis/errors'
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Apis
|
|
23
|
+
module AdsenseV2
|
|
24
|
+
|
|
25
|
+
class Account
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AdClient
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class AdClientAdCode
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
class AdUnit
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
class AdUnitAdCode
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class Alert
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class Cell
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class ContentAdsSettings
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class CustomChannel
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class Date
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class Header
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class HttpBody
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class ListAccountsResponse
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class ListAdClientsResponse
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class ListAdUnitsResponse
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
class ListAlertsResponse
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
class ListChildAccountsResponse
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
class ListCustomChannelsResponse
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
class ListLinkedAdUnitsResponse
|
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
class ListLinkedCustomChannelsResponse
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class ListPaymentsResponse
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class ListSavedReportsResponse
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
class ListSitesResponse
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
class ListUrlChannelsResponse
|
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
class Payment
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
class ReportResult
|
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class Row
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class SavedReport
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
class Site
|
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
class TimeZone
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class UrlChannel
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class Account
|
|
212
|
+
# @private
|
|
213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
214
|
+
property :create_time, as: 'createTime'
|
|
215
|
+
property :display_name, as: 'displayName'
|
|
216
|
+
property :name, as: 'name'
|
|
217
|
+
collection :pending_tasks, as: 'pendingTasks'
|
|
218
|
+
property :premium, as: 'premium'
|
|
219
|
+
property :time_zone, as: 'timeZone', class: Google::Apis::AdsenseV2::TimeZone, decorator: Google::Apis::AdsenseV2::TimeZone::Representation
|
|
220
|
+
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
class AdClient
|
|
225
|
+
# @private
|
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
227
|
+
property :name, as: 'name'
|
|
228
|
+
property :product_code, as: 'productCode'
|
|
229
|
+
property :reporting_dimension_id, as: 'reportingDimensionId'
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
class AdClientAdCode
|
|
234
|
+
# @private
|
|
235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
236
|
+
property :ad_code, as: 'adCode'
|
|
237
|
+
property :amp_body, as: 'ampBody'
|
|
238
|
+
property :amp_head, as: 'ampHead'
|
|
239
|
+
end
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
class AdUnit
|
|
243
|
+
# @private
|
|
244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
245
|
+
property :content_ads_settings, as: 'contentAdsSettings', class: Google::Apis::AdsenseV2::ContentAdsSettings, decorator: Google::Apis::AdsenseV2::ContentAdsSettings::Representation
|
|
246
|
+
|
|
247
|
+
property :display_name, as: 'displayName'
|
|
248
|
+
property :name, as: 'name'
|
|
249
|
+
property :reporting_dimension_id, as: 'reportingDimensionId'
|
|
250
|
+
property :state, as: 'state'
|
|
251
|
+
end
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
class AdUnitAdCode
|
|
255
|
+
# @private
|
|
256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
257
|
+
property :ad_code, as: 'adCode'
|
|
258
|
+
end
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
class Alert
|
|
262
|
+
# @private
|
|
263
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
264
|
+
property :message, as: 'message'
|
|
265
|
+
property :name, as: 'name'
|
|
266
|
+
property :severity, as: 'severity'
|
|
267
|
+
property :type, as: 'type'
|
|
268
|
+
end
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
class Cell
|
|
272
|
+
# @private
|
|
273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
274
|
+
property :value, as: 'value'
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
class ContentAdsSettings
|
|
279
|
+
# @private
|
|
280
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
281
|
+
property :size, as: 'size'
|
|
282
|
+
property :type, as: 'type'
|
|
283
|
+
end
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
class CustomChannel
|
|
287
|
+
# @private
|
|
288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
289
|
+
property :display_name, as: 'displayName'
|
|
290
|
+
property :name, as: 'name'
|
|
291
|
+
property :reporting_dimension_id, as: 'reportingDimensionId'
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class Date
|
|
296
|
+
# @private
|
|
297
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
298
|
+
property :day, as: 'day'
|
|
299
|
+
property :month, as: 'month'
|
|
300
|
+
property :year, as: 'year'
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
class Header
|
|
305
|
+
# @private
|
|
306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
307
|
+
property :currency_code, as: 'currencyCode'
|
|
308
|
+
property :name, as: 'name'
|
|
309
|
+
property :type, as: 'type'
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
class HttpBody
|
|
314
|
+
# @private
|
|
315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
316
|
+
property :content_type, as: 'contentType'
|
|
317
|
+
property :data, :base64 => true, as: 'data'
|
|
318
|
+
collection :extensions, as: 'extensions'
|
|
319
|
+
end
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
class ListAccountsResponse
|
|
323
|
+
# @private
|
|
324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
325
|
+
collection :accounts, as: 'accounts', class: Google::Apis::AdsenseV2::Account, decorator: Google::Apis::AdsenseV2::Account::Representation
|
|
326
|
+
|
|
327
|
+
property :next_page_token, as: 'nextPageToken'
|
|
328
|
+
end
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class ListAdClientsResponse
|
|
332
|
+
# @private
|
|
333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
334
|
+
collection :ad_clients, as: 'adClients', class: Google::Apis::AdsenseV2::AdClient, decorator: Google::Apis::AdsenseV2::AdClient::Representation
|
|
335
|
+
|
|
336
|
+
property :next_page_token, as: 'nextPageToken'
|
|
337
|
+
end
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
class ListAdUnitsResponse
|
|
341
|
+
# @private
|
|
342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
343
|
+
collection :ad_units, as: 'adUnits', class: Google::Apis::AdsenseV2::AdUnit, decorator: Google::Apis::AdsenseV2::AdUnit::Representation
|
|
344
|
+
|
|
345
|
+
property :next_page_token, as: 'nextPageToken'
|
|
346
|
+
end
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
class ListAlertsResponse
|
|
350
|
+
# @private
|
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
352
|
+
collection :alerts, as: 'alerts', class: Google::Apis::AdsenseV2::Alert, decorator: Google::Apis::AdsenseV2::Alert::Representation
|
|
353
|
+
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
class ListChildAccountsResponse
|
|
358
|
+
# @private
|
|
359
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
360
|
+
collection :accounts, as: 'accounts', class: Google::Apis::AdsenseV2::Account, decorator: Google::Apis::AdsenseV2::Account::Representation
|
|
361
|
+
|
|
362
|
+
property :next_page_token, as: 'nextPageToken'
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
366
|
+
class ListCustomChannelsResponse
|
|
367
|
+
# @private
|
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
369
|
+
collection :custom_channels, as: 'customChannels', class: Google::Apis::AdsenseV2::CustomChannel, decorator: Google::Apis::AdsenseV2::CustomChannel::Representation
|
|
370
|
+
|
|
371
|
+
property :next_page_token, as: 'nextPageToken'
|
|
372
|
+
end
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
class ListLinkedAdUnitsResponse
|
|
376
|
+
# @private
|
|
377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
378
|
+
collection :ad_units, as: 'adUnits', class: Google::Apis::AdsenseV2::AdUnit, decorator: Google::Apis::AdsenseV2::AdUnit::Representation
|
|
379
|
+
|
|
380
|
+
property :next_page_token, as: 'nextPageToken'
|
|
381
|
+
end
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
class ListLinkedCustomChannelsResponse
|
|
385
|
+
# @private
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
387
|
+
collection :custom_channels, as: 'customChannels', class: Google::Apis::AdsenseV2::CustomChannel, decorator: Google::Apis::AdsenseV2::CustomChannel::Representation
|
|
388
|
+
|
|
389
|
+
property :next_page_token, as: 'nextPageToken'
|
|
390
|
+
end
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
class ListPaymentsResponse
|
|
394
|
+
# @private
|
|
395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
396
|
+
collection :payments, as: 'payments', class: Google::Apis::AdsenseV2::Payment, decorator: Google::Apis::AdsenseV2::Payment::Representation
|
|
397
|
+
|
|
398
|
+
end
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
class ListSavedReportsResponse
|
|
402
|
+
# @private
|
|
403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
404
|
+
property :next_page_token, as: 'nextPageToken'
|
|
405
|
+
collection :saved_reports, as: 'savedReports', class: Google::Apis::AdsenseV2::SavedReport, decorator: Google::Apis::AdsenseV2::SavedReport::Representation
|
|
406
|
+
|
|
407
|
+
end
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
class ListSitesResponse
|
|
411
|
+
# @private
|
|
412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
413
|
+
property :next_page_token, as: 'nextPageToken'
|
|
414
|
+
collection :sites, as: 'sites', class: Google::Apis::AdsenseV2::Site, decorator: Google::Apis::AdsenseV2::Site::Representation
|
|
415
|
+
|
|
416
|
+
end
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
class ListUrlChannelsResponse
|
|
420
|
+
# @private
|
|
421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
422
|
+
property :next_page_token, as: 'nextPageToken'
|
|
423
|
+
collection :url_channels, as: 'urlChannels', class: Google::Apis::AdsenseV2::UrlChannel, decorator: Google::Apis::AdsenseV2::UrlChannel::Representation
|
|
424
|
+
|
|
425
|
+
end
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
class Payment
|
|
429
|
+
# @private
|
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
431
|
+
property :amount, as: 'amount'
|
|
432
|
+
property :date, as: 'date', class: Google::Apis::AdsenseV2::Date, decorator: Google::Apis::AdsenseV2::Date::Representation
|
|
433
|
+
|
|
434
|
+
property :name, as: 'name'
|
|
435
|
+
end
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
class ReportResult
|
|
439
|
+
# @private
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
441
|
+
property :averages, as: 'averages', class: Google::Apis::AdsenseV2::Row, decorator: Google::Apis::AdsenseV2::Row::Representation
|
|
442
|
+
|
|
443
|
+
property :end_date, as: 'endDate', class: Google::Apis::AdsenseV2::Date, decorator: Google::Apis::AdsenseV2::Date::Representation
|
|
444
|
+
|
|
445
|
+
collection :headers, as: 'headers', class: Google::Apis::AdsenseV2::Header, decorator: Google::Apis::AdsenseV2::Header::Representation
|
|
446
|
+
|
|
447
|
+
collection :rows, as: 'rows', class: Google::Apis::AdsenseV2::Row, decorator: Google::Apis::AdsenseV2::Row::Representation
|
|
448
|
+
|
|
449
|
+
property :start_date, as: 'startDate', class: Google::Apis::AdsenseV2::Date, decorator: Google::Apis::AdsenseV2::Date::Representation
|
|
450
|
+
|
|
451
|
+
property :total_matched_rows, :numeric_string => true, as: 'totalMatchedRows'
|
|
452
|
+
property :totals, as: 'totals', class: Google::Apis::AdsenseV2::Row, decorator: Google::Apis::AdsenseV2::Row::Representation
|
|
453
|
+
|
|
454
|
+
collection :warnings, as: 'warnings'
|
|
455
|
+
end
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
class Row
|
|
459
|
+
# @private
|
|
460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
461
|
+
collection :cells, as: 'cells', class: Google::Apis::AdsenseV2::Cell, decorator: Google::Apis::AdsenseV2::Cell::Representation
|
|
462
|
+
|
|
463
|
+
end
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
class SavedReport
|
|
467
|
+
# @private
|
|
468
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
469
|
+
property :name, as: 'name'
|
|
470
|
+
property :title, as: 'title'
|
|
471
|
+
end
|
|
472
|
+
end
|
|
473
|
+
|
|
474
|
+
class Site
|
|
475
|
+
# @private
|
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
477
|
+
property :auto_ads_enabled, as: 'autoAdsEnabled'
|
|
478
|
+
property :domain, as: 'domain'
|
|
479
|
+
property :name, as: 'name'
|
|
480
|
+
property :reporting_dimension_id, as: 'reportingDimensionId'
|
|
481
|
+
property :state, as: 'state'
|
|
482
|
+
end
|
|
483
|
+
end
|
|
484
|
+
|
|
485
|
+
class TimeZone
|
|
486
|
+
# @private
|
|
487
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
488
|
+
property :id, as: 'id'
|
|
489
|
+
property :version, as: 'version'
|
|
490
|
+
end
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
class UrlChannel
|
|
494
|
+
# @private
|
|
495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
496
|
+
property :name, as: 'name'
|
|
497
|
+
property :reporting_dimension_id, as: 'reportingDimensionId'
|
|
498
|
+
property :uri_pattern, as: 'uriPattern'
|
|
499
|
+
end
|
|
500
|
+
end
|
|
501
|
+
end
|
|
502
|
+
end
|
|
503
|
+
end
|