google-apis-adsense_v1_4 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_v1_4.rb +15 -0
- data/lib/google/apis/adsense_v1_4.rb +39 -0
- data/lib/google/apis/adsense_v1_4/classes.rb +1292 -0
- data/lib/google/apis/adsense_v1_4/gem_version.rb +28 -0
- data/lib/google/apis/adsense_v1_4/representations.rb +557 -0
- data/lib/google/apis/adsense_v1_4/service.rb +1677 -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 AdsenseV1_4
|
18
|
+
# Version of the google-apis-adsense_v1_4 gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.1.1"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20201002"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,557 @@
|
|
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 AdsenseV1_4
|
24
|
+
|
25
|
+
class Account
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Accounts
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AdClient
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AdClients
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AdCode
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class AdStyle
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
class Colors
|
59
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
60
|
+
|
61
|
+
include Google::Apis::Core::JsonObjectSupport
|
62
|
+
end
|
63
|
+
|
64
|
+
class Font
|
65
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
66
|
+
|
67
|
+
include Google::Apis::Core::JsonObjectSupport
|
68
|
+
end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class AdUnit
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
class ContentAdsSettings
|
77
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
78
|
+
|
79
|
+
class BackupOption
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
include Google::Apis::Core::JsonObjectSupport
|
86
|
+
end
|
87
|
+
|
88
|
+
class FeedAdsSettings
|
89
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
90
|
+
|
91
|
+
include Google::Apis::Core::JsonObjectSupport
|
92
|
+
end
|
93
|
+
|
94
|
+
class MobileContentAdsSettings
|
95
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
96
|
+
|
97
|
+
include Google::Apis::Core::JsonObjectSupport
|
98
|
+
end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class AdUnits
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GenerateReportResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
class Header
|
113
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
114
|
+
|
115
|
+
include Google::Apis::Core::JsonObjectSupport
|
116
|
+
end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class Alert
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Alerts
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class CustomChannel
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
class TargetingInfo
|
137
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
138
|
+
|
139
|
+
include Google::Apis::Core::JsonObjectSupport
|
140
|
+
end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class CustomChannels
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class Metadata
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Payment
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class Payments
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class ReportingMetadataEntry
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class SavedAdStyle
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class SavedAdStyles
|
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 SavedReports
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class UrlChannel
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class UrlChannels
|
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 :creation_time, :numeric_string => true, as: 'creation_time'
|
215
|
+
property :id, as: 'id'
|
216
|
+
property :kind, as: 'kind'
|
217
|
+
property :name, as: 'name'
|
218
|
+
property :premium, as: 'premium'
|
219
|
+
collection :sub_accounts, as: 'subAccounts', class: Google::Apis::AdsenseV1_4::Account, decorator: Google::Apis::AdsenseV1_4::Account::Representation
|
220
|
+
|
221
|
+
property :timezone, as: 'timezone'
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
class Accounts
|
226
|
+
# @private
|
227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
228
|
+
property :etag, as: 'etag'
|
229
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::Account, decorator: Google::Apis::AdsenseV1_4::Account::Representation
|
230
|
+
|
231
|
+
property :kind, as: 'kind'
|
232
|
+
property :next_page_token, as: 'nextPageToken'
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
class AdClient
|
237
|
+
# @private
|
238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
239
|
+
property :arc_opt_in, as: 'arcOptIn'
|
240
|
+
property :id, as: 'id'
|
241
|
+
property :kind, as: 'kind'
|
242
|
+
property :product_code, as: 'productCode'
|
243
|
+
property :supports_reporting, as: 'supportsReporting'
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
class AdClients
|
248
|
+
# @private
|
249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
+
property :etag, as: 'etag'
|
251
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::AdClient, decorator: Google::Apis::AdsenseV1_4::AdClient::Representation
|
252
|
+
|
253
|
+
property :kind, as: 'kind'
|
254
|
+
property :next_page_token, as: 'nextPageToken'
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
class AdCode
|
259
|
+
# @private
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
261
|
+
property :ad_code, as: 'adCode'
|
262
|
+
property :amp_body, as: 'ampBody'
|
263
|
+
property :amp_head, as: 'ampHead'
|
264
|
+
property :kind, as: 'kind'
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
class AdStyle
|
269
|
+
# @private
|
270
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
271
|
+
property :colors, as: 'colors', class: Google::Apis::AdsenseV1_4::AdStyle::Colors, decorator: Google::Apis::AdsenseV1_4::AdStyle::Colors::Representation
|
272
|
+
|
273
|
+
property :corners, as: 'corners'
|
274
|
+
property :font, as: 'font', class: Google::Apis::AdsenseV1_4::AdStyle::Font, decorator: Google::Apis::AdsenseV1_4::AdStyle::Font::Representation
|
275
|
+
|
276
|
+
property :kind, as: 'kind'
|
277
|
+
end
|
278
|
+
|
279
|
+
class Colors
|
280
|
+
# @private
|
281
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
282
|
+
property :background, as: 'background'
|
283
|
+
property :border, as: 'border'
|
284
|
+
property :text, as: 'text'
|
285
|
+
property :title, as: 'title'
|
286
|
+
property :url, as: 'url'
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
class Font
|
291
|
+
# @private
|
292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
293
|
+
property :family, as: 'family'
|
294
|
+
property :size, as: 'size'
|
295
|
+
end
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
class AdUnit
|
300
|
+
# @private
|
301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
302
|
+
property :code, as: 'code'
|
303
|
+
property :content_ads_settings, as: 'contentAdsSettings', class: Google::Apis::AdsenseV1_4::AdUnit::ContentAdsSettings, decorator: Google::Apis::AdsenseV1_4::AdUnit::ContentAdsSettings::Representation
|
304
|
+
|
305
|
+
property :custom_style, as: 'customStyle', class: Google::Apis::AdsenseV1_4::AdStyle, decorator: Google::Apis::AdsenseV1_4::AdStyle::Representation
|
306
|
+
|
307
|
+
property :feed_ads_settings, as: 'feedAdsSettings', class: Google::Apis::AdsenseV1_4::AdUnit::FeedAdsSettings, decorator: Google::Apis::AdsenseV1_4::AdUnit::FeedAdsSettings::Representation
|
308
|
+
|
309
|
+
property :id, as: 'id'
|
310
|
+
property :kind, as: 'kind'
|
311
|
+
property :mobile_content_ads_settings, as: 'mobileContentAdsSettings', class: Google::Apis::AdsenseV1_4::AdUnit::MobileContentAdsSettings, decorator: Google::Apis::AdsenseV1_4::AdUnit::MobileContentAdsSettings::Representation
|
312
|
+
|
313
|
+
property :name, as: 'name'
|
314
|
+
property :saved_style_id, as: 'savedStyleId'
|
315
|
+
property :status, as: 'status'
|
316
|
+
end
|
317
|
+
|
318
|
+
class ContentAdsSettings
|
319
|
+
# @private
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
+
property :backup_option, as: 'backupOption', class: Google::Apis::AdsenseV1_4::AdUnit::ContentAdsSettings::BackupOption, decorator: Google::Apis::AdsenseV1_4::AdUnit::ContentAdsSettings::BackupOption::Representation
|
322
|
+
|
323
|
+
property :size, as: 'size'
|
324
|
+
property :type, as: 'type'
|
325
|
+
end
|
326
|
+
|
327
|
+
class BackupOption
|
328
|
+
# @private
|
329
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
330
|
+
property :color, as: 'color'
|
331
|
+
property :type, as: 'type'
|
332
|
+
property :url, as: 'url'
|
333
|
+
end
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
class FeedAdsSettings
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
property :ad_position, as: 'adPosition'
|
341
|
+
property :frequency, as: 'frequency'
|
342
|
+
property :minimum_word_count, as: 'minimumWordCount'
|
343
|
+
property :type, as: 'type'
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class MobileContentAdsSettings
|
348
|
+
# @private
|
349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
350
|
+
property :markup_language, as: 'markupLanguage'
|
351
|
+
property :scripting_language, as: 'scriptingLanguage'
|
352
|
+
property :size, as: 'size'
|
353
|
+
property :type, as: 'type'
|
354
|
+
end
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
class AdUnits
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
property :etag, as: 'etag'
|
362
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::AdUnit, decorator: Google::Apis::AdsenseV1_4::AdUnit::Representation
|
363
|
+
|
364
|
+
property :kind, as: 'kind'
|
365
|
+
property :next_page_token, as: 'nextPageToken'
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
class GenerateReportResponse
|
370
|
+
# @private
|
371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
372
|
+
collection :averages, as: 'averages'
|
373
|
+
property :end_date, as: 'endDate'
|
374
|
+
collection :headers, as: 'headers', class: Google::Apis::AdsenseV1_4::GenerateReportResponse::Header, decorator: Google::Apis::AdsenseV1_4::GenerateReportResponse::Header::Representation
|
375
|
+
|
376
|
+
property :kind, as: 'kind'
|
377
|
+
collection :rows, as: 'rows', :class => Array do
|
378
|
+
include Representable::JSON::Collection
|
379
|
+
items
|
380
|
+
end
|
381
|
+
|
382
|
+
property :start_date, as: 'startDate'
|
383
|
+
property :total_matched_rows, :numeric_string => true, as: 'totalMatchedRows'
|
384
|
+
collection :totals, as: 'totals'
|
385
|
+
collection :warnings, as: 'warnings'
|
386
|
+
end
|
387
|
+
|
388
|
+
class Header
|
389
|
+
# @private
|
390
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
391
|
+
property :currency, as: 'currency'
|
392
|
+
property :name, as: 'name'
|
393
|
+
property :type, as: 'type'
|
394
|
+
end
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
class Alert
|
399
|
+
# @private
|
400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
401
|
+
property :id, as: 'id'
|
402
|
+
property :is_dismissible, as: 'isDismissible'
|
403
|
+
property :kind, as: 'kind'
|
404
|
+
property :message, as: 'message'
|
405
|
+
property :severity, as: 'severity'
|
406
|
+
property :type, as: 'type'
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
class Alerts
|
411
|
+
# @private
|
412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
413
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::Alert, decorator: Google::Apis::AdsenseV1_4::Alert::Representation
|
414
|
+
|
415
|
+
property :kind, as: 'kind'
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
class CustomChannel
|
420
|
+
# @private
|
421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
+
property :code, as: 'code'
|
423
|
+
property :id, as: 'id'
|
424
|
+
property :kind, as: 'kind'
|
425
|
+
property :name, as: 'name'
|
426
|
+
property :targeting_info, as: 'targetingInfo', class: Google::Apis::AdsenseV1_4::CustomChannel::TargetingInfo, decorator: Google::Apis::AdsenseV1_4::CustomChannel::TargetingInfo::Representation
|
427
|
+
|
428
|
+
end
|
429
|
+
|
430
|
+
class TargetingInfo
|
431
|
+
# @private
|
432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
433
|
+
property :ads_appear_on, as: 'adsAppearOn'
|
434
|
+
property :description, as: 'description'
|
435
|
+
property :location, as: 'location'
|
436
|
+
property :site_language, as: 'siteLanguage'
|
437
|
+
end
|
438
|
+
end
|
439
|
+
end
|
440
|
+
|
441
|
+
class CustomChannels
|
442
|
+
# @private
|
443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
property :etag, as: 'etag'
|
445
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::CustomChannel, decorator: Google::Apis::AdsenseV1_4::CustomChannel::Representation
|
446
|
+
|
447
|
+
property :kind, as: 'kind'
|
448
|
+
property :next_page_token, as: 'nextPageToken'
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
class Metadata
|
453
|
+
# @private
|
454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
455
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::ReportingMetadataEntry, decorator: Google::Apis::AdsenseV1_4::ReportingMetadataEntry::Representation
|
456
|
+
|
457
|
+
property :kind, as: 'kind'
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
461
|
+
class Payment
|
462
|
+
# @private
|
463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
464
|
+
property :id, as: 'id'
|
465
|
+
property :kind, as: 'kind'
|
466
|
+
property :payment_amount, as: 'paymentAmount'
|
467
|
+
property :payment_amount_currency_code, as: 'paymentAmountCurrencyCode'
|
468
|
+
property :payment_date, as: 'paymentDate'
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
class Payments
|
473
|
+
# @private
|
474
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
475
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::Payment, decorator: Google::Apis::AdsenseV1_4::Payment::Representation
|
476
|
+
|
477
|
+
property :kind, as: 'kind'
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
class ReportingMetadataEntry
|
482
|
+
# @private
|
483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
484
|
+
collection :compatible_dimensions, as: 'compatibleDimensions'
|
485
|
+
collection :compatible_metrics, as: 'compatibleMetrics'
|
486
|
+
property :id, as: 'id'
|
487
|
+
property :kind, as: 'kind'
|
488
|
+
collection :required_dimensions, as: 'requiredDimensions'
|
489
|
+
collection :required_metrics, as: 'requiredMetrics'
|
490
|
+
collection :supported_products, as: 'supportedProducts'
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
class SavedAdStyle
|
495
|
+
# @private
|
496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
497
|
+
property :ad_style, as: 'adStyle', class: Google::Apis::AdsenseV1_4::AdStyle, decorator: Google::Apis::AdsenseV1_4::AdStyle::Representation
|
498
|
+
|
499
|
+
property :id, as: 'id'
|
500
|
+
property :kind, as: 'kind'
|
501
|
+
property :name, as: 'name'
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
class SavedAdStyles
|
506
|
+
# @private
|
507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
508
|
+
property :etag, as: 'etag'
|
509
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::SavedAdStyle, decorator: Google::Apis::AdsenseV1_4::SavedAdStyle::Representation
|
510
|
+
|
511
|
+
property :kind, as: 'kind'
|
512
|
+
property :next_page_token, as: 'nextPageToken'
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
class SavedReport
|
517
|
+
# @private
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
519
|
+
property :id, as: 'id'
|
520
|
+
property :kind, as: 'kind'
|
521
|
+
property :name, as: 'name'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
class SavedReports
|
526
|
+
# @private
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
+
property :etag, as: 'etag'
|
529
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::SavedReport, decorator: Google::Apis::AdsenseV1_4::SavedReport::Representation
|
530
|
+
|
531
|
+
property :kind, as: 'kind'
|
532
|
+
property :next_page_token, as: 'nextPageToken'
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
class UrlChannel
|
537
|
+
# @private
|
538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
539
|
+
property :id, as: 'id'
|
540
|
+
property :kind, as: 'kind'
|
541
|
+
property :url_pattern, as: 'urlPattern'
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
545
|
+
class UrlChannels
|
546
|
+
# @private
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
+
property :etag, as: 'etag'
|
549
|
+
collection :items, as: 'items', class: Google::Apis::AdsenseV1_4::UrlChannel, decorator: Google::Apis::AdsenseV1_4::UrlChannel::Representation
|
550
|
+
|
551
|
+
property :kind, as: 'kind'
|
552
|
+
property :next_page_token, as: 'nextPageToken'
|
553
|
+
end
|
554
|
+
end
|
555
|
+
end
|
556
|
+
end
|
557
|
+
end
|