google-apis-admob_v1beta 0.22.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdmobV1beta
18
18
  # Version of the google-apis-admob_v1beta gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230425"
25
+ REVISION = "20230831"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,30 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AdUnitMapping
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AdUnitRewardSettings
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Adapter
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AdapterAdapterConfigMetadata
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
37
61
  class App
38
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
63
 
@@ -52,6 +76,30 @@ module Google
52
76
  include Google::Apis::Core::JsonObjectSupport
53
77
  end
54
78
 
79
+ class BatchCreateAdUnitMappingsRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BatchCreateAdUnitMappingsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CampaignReportSpec
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CreateAdUnitMappingRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
55
103
  class Date
56
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
105
 
@@ -64,6 +112,18 @@ module Google
64
112
  include Google::Apis::Core::JsonObjectSupport
65
113
  end
66
114
 
115
+ class GenerateCampaignReportRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GenerateCampaignReportResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
67
127
  class GenerateMediationReportRequest
68
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
129
 
@@ -94,18 +154,36 @@ module Google
94
154
  include Google::Apis::Core::JsonObjectSupport
95
155
  end
96
156
 
157
+ class ListAdUnitMappingsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
97
163
  class ListAdUnitsResponse
98
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
165
 
100
166
  include Google::Apis::Core::JsonObjectSupport
101
167
  end
102
168
 
169
+ class ListAdaptersResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
103
175
  class ListAppsResponse
104
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
177
 
106
178
  include Google::Apis::Core::JsonObjectSupport
107
179
  end
108
180
 
181
+ class ListMediationGroupsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
109
187
  class ListPublisherAccountsResponse
110
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
189
 
@@ -118,6 +196,36 @@ module Google
118
196
  include Google::Apis::Core::JsonObjectSupport
119
197
  end
120
198
 
199
+ class MediationAbExperiment
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class MediationAbExperimentExperimentMediationLine
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class MediationGroup
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class MediationGroupMediationGroupLine
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class MediationGroupTargeting
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
121
229
  class MediationReportSpec
122
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
231
 
@@ -196,6 +304,12 @@ module Google
196
304
  include Google::Apis::Core::JsonObjectSupport
197
305
  end
198
306
 
307
+ class StopMediationAbExperimentRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
199
313
  class StringList
200
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
315
 
@@ -220,6 +334,49 @@ module Google
220
334
  property :app_id, as: 'appId'
221
335
  property :display_name, as: 'displayName'
222
336
  property :name, as: 'name'
337
+ property :reward_settings, as: 'rewardSettings', class: Google::Apis::AdmobV1beta::AdUnitRewardSettings, decorator: Google::Apis::AdmobV1beta::AdUnitRewardSettings::Representation
338
+
339
+ end
340
+ end
341
+
342
+ class AdUnitMapping
343
+ # @private
344
+ class Representation < Google::Apis::Core::JsonRepresentation
345
+ hash :ad_unit_configurations, as: 'adUnitConfigurations'
346
+ property :adapter_id, :numeric_string => true, as: 'adapterId'
347
+ property :display_name, as: 'displayName'
348
+ property :name, as: 'name'
349
+ property :state, as: 'state'
350
+ end
351
+ end
352
+
353
+ class AdUnitRewardSettings
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ property :unit_amount, :numeric_string => true, as: 'unitAmount'
357
+ property :unit_type, as: 'unitType'
358
+ end
359
+ end
360
+
361
+ class Adapter
362
+ # @private
363
+ class Representation < Google::Apis::Core::JsonRepresentation
364
+ collection :adapter_config_metadata, as: 'adapterConfigMetadata', class: Google::Apis::AdmobV1beta::AdapterAdapterConfigMetadata, decorator: Google::Apis::AdmobV1beta::AdapterAdapterConfigMetadata::Representation
365
+
366
+ property :adapter_id, as: 'adapterId'
367
+ collection :formats, as: 'formats'
368
+ property :name, as: 'name'
369
+ property :platform, as: 'platform'
370
+ property :title, as: 'title'
371
+ end
372
+ end
373
+
374
+ class AdapterAdapterConfigMetadata
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :adapter_config_metadata_id, as: 'adapterConfigMetadataId'
378
+ property :adapter_config_metadata_label, as: 'adapterConfigMetadataLabel'
379
+ property :is_required, as: 'isRequired'
223
380
  end
224
381
  end
225
382
 
@@ -240,6 +397,7 @@ module Google
240
397
  class AppLinkedAppInfo
241
398
  # @private
242
399
  class Representation < Google::Apis::Core::JsonRepresentation
400
+ collection :android_app_stores, as: 'androidAppStores'
243
401
  property :app_store_id, as: 'appStoreId'
244
402
  property :display_name, as: 'displayName'
245
403
  end
@@ -252,6 +410,42 @@ module Google
252
410
  end
253
411
  end
254
412
 
413
+ class BatchCreateAdUnitMappingsRequest
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ collection :requests, as: 'requests', class: Google::Apis::AdmobV1beta::CreateAdUnitMappingRequest, decorator: Google::Apis::AdmobV1beta::CreateAdUnitMappingRequest::Representation
417
+
418
+ end
419
+ end
420
+
421
+ class BatchCreateAdUnitMappingsResponse
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ collection :ad_unit_mappings, as: 'adUnitMappings', class: Google::Apis::AdmobV1beta::AdUnitMapping, decorator: Google::Apis::AdmobV1beta::AdUnitMapping::Representation
425
+
426
+ end
427
+ end
428
+
429
+ class CampaignReportSpec
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ property :date_range, as: 'dateRange', class: Google::Apis::AdmobV1beta::DateRange, decorator: Google::Apis::AdmobV1beta::DateRange::Representation
433
+
434
+ collection :dimensions, as: 'dimensions'
435
+ property :language_code, as: 'languageCode'
436
+ collection :metrics, as: 'metrics'
437
+ end
438
+ end
439
+
440
+ class CreateAdUnitMappingRequest
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :ad_unit_mapping, as: 'adUnitMapping', class: Google::Apis::AdmobV1beta::AdUnitMapping, decorator: Google::Apis::AdmobV1beta::AdUnitMapping::Representation
444
+
445
+ property :parent, as: 'parent'
446
+ end
447
+ end
448
+
255
449
  class Date
256
450
  # @private
257
451
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -271,6 +465,22 @@ module Google
271
465
  end
272
466
  end
273
467
 
468
+ class GenerateCampaignReportRequest
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :report_spec, as: 'reportSpec', class: Google::Apis::AdmobV1beta::CampaignReportSpec, decorator: Google::Apis::AdmobV1beta::CampaignReportSpec::Representation
472
+
473
+ end
474
+ end
475
+
476
+ class GenerateCampaignReportResponse
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ collection :rows, as: 'rows', class: Google::Apis::AdmobV1beta::ReportRow, decorator: Google::Apis::AdmobV1beta::ReportRow::Representation
480
+
481
+ end
482
+ end
483
+
274
484
  class GenerateMediationReportRequest
275
485
  # @private
276
486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -320,6 +530,15 @@ module Google
320
530
  end
321
531
  end
322
532
 
533
+ class ListAdUnitMappingsResponse
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ collection :ad_unit_mappings, as: 'adUnitMappings', class: Google::Apis::AdmobV1beta::AdUnitMapping, decorator: Google::Apis::AdmobV1beta::AdUnitMapping::Representation
537
+
538
+ property :next_page_token, as: 'nextPageToken'
539
+ end
540
+ end
541
+
323
542
  class ListAdUnitsResponse
324
543
  # @private
325
544
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -329,6 +548,15 @@ module Google
329
548
  end
330
549
  end
331
550
 
551
+ class ListAdaptersResponse
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ collection :adapters, as: 'adapters', class: Google::Apis::AdmobV1beta::Adapter, decorator: Google::Apis::AdmobV1beta::Adapter::Representation
555
+
556
+ property :next_page_token, as: 'nextPageToken'
557
+ end
558
+ end
559
+
332
560
  class ListAppsResponse
333
561
  # @private
334
562
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -338,6 +566,15 @@ module Google
338
566
  end
339
567
  end
340
568
 
569
+ class ListMediationGroupsResponse
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ collection :mediation_groups, as: 'mediationGroups', class: Google::Apis::AdmobV1beta::MediationGroup, decorator: Google::Apis::AdmobV1beta::MediationGroup::Representation
573
+
574
+ property :next_page_token, as: 'nextPageToken'
575
+ end
576
+ end
577
+
341
578
  class ListPublisherAccountsResponse
342
579
  # @private
343
580
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -355,6 +592,70 @@ module Google
355
592
  end
356
593
  end
357
594
 
595
+ class MediationAbExperiment
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ collection :control_mediation_lines, as: 'controlMediationLines', class: Google::Apis::AdmobV1beta::MediationAbExperimentExperimentMediationLine, decorator: Google::Apis::AdmobV1beta::MediationAbExperimentExperimentMediationLine::Representation
599
+
600
+ property :display_name, as: 'displayName'
601
+ property :experiment_id, as: 'experimentId'
602
+ property :name, as: 'name'
603
+ property :state, as: 'state'
604
+ collection :treatment_mediation_lines, as: 'treatmentMediationLines', class: Google::Apis::AdmobV1beta::MediationAbExperimentExperimentMediationLine, decorator: Google::Apis::AdmobV1beta::MediationAbExperimentExperimentMediationLine::Representation
605
+
606
+ property :treatment_traffic_percentage, :numeric_string => true, as: 'treatmentTrafficPercentage'
607
+ end
608
+ end
609
+
610
+ class MediationAbExperimentExperimentMediationLine
611
+ # @private
612
+ class Representation < Google::Apis::Core::JsonRepresentation
613
+ property :mediation_group_line, as: 'mediationGroupLine', class: Google::Apis::AdmobV1beta::MediationGroupMediationGroupLine, decorator: Google::Apis::AdmobV1beta::MediationGroupMediationGroupLine::Representation
614
+
615
+ end
616
+ end
617
+
618
+ class MediationGroup
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :display_name, as: 'displayName'
622
+ property :mediation_ab_experiment_state, as: 'mediationAbExperimentState'
623
+ property :mediation_group_id, as: 'mediationGroupId'
624
+ hash :mediation_group_lines, as: 'mediationGroupLines', class: Google::Apis::AdmobV1beta::MediationGroupMediationGroupLine, decorator: Google::Apis::AdmobV1beta::MediationGroupMediationGroupLine::Representation
625
+
626
+ property :name, as: 'name'
627
+ property :state, as: 'state'
628
+ property :targeting, as: 'targeting', class: Google::Apis::AdmobV1beta::MediationGroupTargeting, decorator: Google::Apis::AdmobV1beta::MediationGroupTargeting::Representation
629
+
630
+ end
631
+ end
632
+
633
+ class MediationGroupMediationGroupLine
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ property :ad_source_id, as: 'adSourceId'
637
+ hash :ad_unit_mappings, as: 'adUnitMappings'
638
+ property :cpm_micros, :numeric_string => true, as: 'cpmMicros'
639
+ property :cpm_mode, as: 'cpmMode'
640
+ property :display_name, as: 'displayName'
641
+ property :experiment_variant, as: 'experimentVariant'
642
+ property :id, as: 'id'
643
+ property :state, as: 'state'
644
+ end
645
+ end
646
+
647
+ class MediationGroupTargeting
648
+ # @private
649
+ class Representation < Google::Apis::Core::JsonRepresentation
650
+ collection :ad_unit_ids, as: 'adUnitIds'
651
+ collection :excluded_region_codes, as: 'excludedRegionCodes'
652
+ property :format, as: 'format'
653
+ property :idfa_targeting, as: 'idfaTargeting'
654
+ property :platform, as: 'platform'
655
+ collection :targeted_region_codes, as: 'targetedRegionCodes'
656
+ end
657
+ end
658
+
358
659
  class MediationReportSpec
359
660
  # @private
360
661
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -492,6 +793,13 @@ module Google
492
793
  end
493
794
  end
494
795
 
796
+ class StopMediationAbExperimentRequest
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :variant_choice, as: 'variantChoice'
800
+ end
801
+ end
802
+
495
803
  class StringList
496
804
  # @private
497
805
  class Representation < Google::Apis::Core::JsonRepresentation