google-apis-admob_v1beta 0.21.0 → 0.23.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.21.0"
19
+ GEM_VERSION = "0.23.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 = "20230112"
25
+ REVISION = "20230824"
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,54 @@ 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 BatchUpdateCampaignsRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class BatchUpdateCampaignsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Campaign
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CampaignCpiSetting
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CampaignReportSpec
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class CreateAdUnitMappingRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
55
127
  class Date
56
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
129
 
@@ -64,6 +136,18 @@ module Google
64
136
  include Google::Apis::Core::JsonObjectSupport
65
137
  end
66
138
 
139
+ class GenerateCampaignReportRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GenerateCampaignReportResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
67
151
  class GenerateMediationReportRequest
68
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
153
 
@@ -94,18 +178,42 @@ module Google
94
178
  include Google::Apis::Core::JsonObjectSupport
95
179
  end
96
180
 
181
+ class ListAdUnitMappingsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
97
187
  class ListAdUnitsResponse
98
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
189
 
100
190
  include Google::Apis::Core::JsonObjectSupport
101
191
  end
102
192
 
193
+ class ListAdaptersResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
103
199
  class ListAppsResponse
104
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
201
 
106
202
  include Google::Apis::Core::JsonObjectSupport
107
203
  end
108
204
 
205
+ class ListCampaignsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListMediationGroupsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
109
217
  class ListPublisherAccountsResponse
110
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
219
 
@@ -118,6 +226,36 @@ module Google
118
226
  include Google::Apis::Core::JsonObjectSupport
119
227
  end
120
228
 
229
+ class MediationAbExperiment
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class MediationAbExperimentExperimentMediationLine
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class MediationGroup
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class MediationGroupMediationGroupLine
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class MediationGroupTargeting
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
121
259
  class MediationReportSpec
122
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
261
 
@@ -196,12 +334,24 @@ module Google
196
334
  include Google::Apis::Core::JsonObjectSupport
197
335
  end
198
336
 
337
+ class StopMediationAbExperimentRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
199
343
  class StringList
200
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
345
 
202
346
  include Google::Apis::Core::JsonObjectSupport
203
347
  end
204
348
 
349
+ class UpdateCampaignRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
205
355
  class AdSource
206
356
  # @private
207
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -220,6 +370,49 @@ module Google
220
370
  property :app_id, as: 'appId'
221
371
  property :display_name, as: 'displayName'
222
372
  property :name, as: 'name'
373
+ property :reward_settings, as: 'rewardSettings', class: Google::Apis::AdmobV1beta::AdUnitRewardSettings, decorator: Google::Apis::AdmobV1beta::AdUnitRewardSettings::Representation
374
+
375
+ end
376
+ end
377
+
378
+ class AdUnitMapping
379
+ # @private
380
+ class Representation < Google::Apis::Core::JsonRepresentation
381
+ hash :ad_unit_configurations, as: 'adUnitConfigurations'
382
+ property :adapter_id, :numeric_string => true, as: 'adapterId'
383
+ property :display_name, as: 'displayName'
384
+ property :name, as: 'name'
385
+ property :state, as: 'state'
386
+ end
387
+ end
388
+
389
+ class AdUnitRewardSettings
390
+ # @private
391
+ class Representation < Google::Apis::Core::JsonRepresentation
392
+ property :unit_amount, :numeric_string => true, as: 'unitAmount'
393
+ property :unit_type, as: 'unitType'
394
+ end
395
+ end
396
+
397
+ class Adapter
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ collection :adapter_config_metadata, as: 'adapterConfigMetadata', class: Google::Apis::AdmobV1beta::AdapterAdapterConfigMetadata, decorator: Google::Apis::AdmobV1beta::AdapterAdapterConfigMetadata::Representation
401
+
402
+ property :adapter_id, as: 'adapterId'
403
+ collection :formats, as: 'formats'
404
+ property :name, as: 'name'
405
+ property :platform, as: 'platform'
406
+ property :title, as: 'title'
407
+ end
408
+ end
409
+
410
+ class AdapterAdapterConfigMetadata
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ property :adapter_config_metadata_id, as: 'adapterConfigMetadataId'
414
+ property :adapter_config_metadata_label, as: 'adapterConfigMetadataLabel'
415
+ property :is_required, as: 'isRequired'
223
416
  end
224
417
  end
225
418
 
@@ -240,6 +433,7 @@ module Google
240
433
  class AppLinkedAppInfo
241
434
  # @private
242
435
  class Representation < Google::Apis::Core::JsonRepresentation
436
+ collection :android_app_stores, as: 'androidAppStores'
243
437
  property :app_store_id, as: 'appStoreId'
244
438
  property :display_name, as: 'displayName'
245
439
  end
@@ -252,6 +446,76 @@ module Google
252
446
  end
253
447
  end
254
448
 
449
+ class BatchCreateAdUnitMappingsRequest
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ collection :requests, as: 'requests', class: Google::Apis::AdmobV1beta::CreateAdUnitMappingRequest, decorator: Google::Apis::AdmobV1beta::CreateAdUnitMappingRequest::Representation
453
+
454
+ end
455
+ end
456
+
457
+ class BatchCreateAdUnitMappingsResponse
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ collection :ad_unit_mappings, as: 'adUnitMappings', class: Google::Apis::AdmobV1beta::AdUnitMapping, decorator: Google::Apis::AdmobV1beta::AdUnitMapping::Representation
461
+
462
+ end
463
+ end
464
+
465
+ class BatchUpdateCampaignsRequest
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ collection :requests, as: 'requests', class: Google::Apis::AdmobV1beta::UpdateCampaignRequest, decorator: Google::Apis::AdmobV1beta::UpdateCampaignRequest::Representation
469
+
470
+ end
471
+ end
472
+
473
+ class BatchUpdateCampaignsResponse
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ collection :campaigns, as: 'campaigns', class: Google::Apis::AdmobV1beta::Campaign, decorator: Google::Apis::AdmobV1beta::Campaign::Representation
477
+
478
+ end
479
+ end
480
+
481
+ class Campaign
482
+ # @private
483
+ class Representation < Google::Apis::Core::JsonRepresentation
484
+ property :cpi_setting, as: 'cpiSetting', class: Google::Apis::AdmobV1beta::CampaignCpiSetting, decorator: Google::Apis::AdmobV1beta::CampaignCpiSetting::Representation
485
+
486
+ property :display_name, as: 'displayName'
487
+ property :goal_type, as: 'goalType'
488
+ property :name, as: 'name'
489
+ end
490
+ end
491
+
492
+ class CampaignCpiSetting
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :cpi_micros, :numeric_string => true, as: 'cpiMicros'
496
+ end
497
+ end
498
+
499
+ class CampaignReportSpec
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :date_range, as: 'dateRange', class: Google::Apis::AdmobV1beta::DateRange, decorator: Google::Apis::AdmobV1beta::DateRange::Representation
503
+
504
+ collection :dimensions, as: 'dimensions'
505
+ property :language_code, as: 'languageCode'
506
+ collection :metrics, as: 'metrics'
507
+ end
508
+ end
509
+
510
+ class CreateAdUnitMappingRequest
511
+ # @private
512
+ class Representation < Google::Apis::Core::JsonRepresentation
513
+ property :ad_unit_mapping, as: 'adUnitMapping', class: Google::Apis::AdmobV1beta::AdUnitMapping, decorator: Google::Apis::AdmobV1beta::AdUnitMapping::Representation
514
+
515
+ property :parent, as: 'parent'
516
+ end
517
+ end
518
+
255
519
  class Date
256
520
  # @private
257
521
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -271,6 +535,22 @@ module Google
271
535
  end
272
536
  end
273
537
 
538
+ class GenerateCampaignReportRequest
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ property :report_spec, as: 'reportSpec', class: Google::Apis::AdmobV1beta::CampaignReportSpec, decorator: Google::Apis::AdmobV1beta::CampaignReportSpec::Representation
542
+
543
+ end
544
+ end
545
+
546
+ class GenerateCampaignReportResponse
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ collection :rows, as: 'rows', class: Google::Apis::AdmobV1beta::ReportRow, decorator: Google::Apis::AdmobV1beta::ReportRow::Representation
550
+
551
+ end
552
+ end
553
+
274
554
  class GenerateMediationReportRequest
275
555
  # @private
276
556
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -320,6 +600,15 @@ module Google
320
600
  end
321
601
  end
322
602
 
603
+ class ListAdUnitMappingsResponse
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ collection :ad_unit_mappings, as: 'adUnitMappings', class: Google::Apis::AdmobV1beta::AdUnitMapping, decorator: Google::Apis::AdmobV1beta::AdUnitMapping::Representation
607
+
608
+ property :next_page_token, as: 'nextPageToken'
609
+ end
610
+ end
611
+
323
612
  class ListAdUnitsResponse
324
613
  # @private
325
614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -329,6 +618,15 @@ module Google
329
618
  end
330
619
  end
331
620
 
621
+ class ListAdaptersResponse
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ collection :adapters, as: 'adapters', class: Google::Apis::AdmobV1beta::Adapter, decorator: Google::Apis::AdmobV1beta::Adapter::Representation
625
+
626
+ property :next_page_token, as: 'nextPageToken'
627
+ end
628
+ end
629
+
332
630
  class ListAppsResponse
333
631
  # @private
334
632
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -338,6 +636,24 @@ module Google
338
636
  end
339
637
  end
340
638
 
639
+ class ListCampaignsResponse
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ collection :campaigns, as: 'campaigns', class: Google::Apis::AdmobV1beta::Campaign, decorator: Google::Apis::AdmobV1beta::Campaign::Representation
643
+
644
+ property :next_page_token, as: 'nextPageToken'
645
+ end
646
+ end
647
+
648
+ class ListMediationGroupsResponse
649
+ # @private
650
+ class Representation < Google::Apis::Core::JsonRepresentation
651
+ collection :mediation_groups, as: 'mediationGroups', class: Google::Apis::AdmobV1beta::MediationGroup, decorator: Google::Apis::AdmobV1beta::MediationGroup::Representation
652
+
653
+ property :next_page_token, as: 'nextPageToken'
654
+ end
655
+ end
656
+
341
657
  class ListPublisherAccountsResponse
342
658
  # @private
343
659
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -355,6 +671,70 @@ module Google
355
671
  end
356
672
  end
357
673
 
674
+ class MediationAbExperiment
675
+ # @private
676
+ class Representation < Google::Apis::Core::JsonRepresentation
677
+ collection :control_mediation_lines, as: 'controlMediationLines', class: Google::Apis::AdmobV1beta::MediationAbExperimentExperimentMediationLine, decorator: Google::Apis::AdmobV1beta::MediationAbExperimentExperimentMediationLine::Representation
678
+
679
+ property :display_name, as: 'displayName'
680
+ property :experiment_id, as: 'experimentId'
681
+ property :name, as: 'name'
682
+ property :state, as: 'state'
683
+ collection :treatment_mediation_lines, as: 'treatmentMediationLines', class: Google::Apis::AdmobV1beta::MediationAbExperimentExperimentMediationLine, decorator: Google::Apis::AdmobV1beta::MediationAbExperimentExperimentMediationLine::Representation
684
+
685
+ property :treatment_traffic_percentage, :numeric_string => true, as: 'treatmentTrafficPercentage'
686
+ end
687
+ end
688
+
689
+ class MediationAbExperimentExperimentMediationLine
690
+ # @private
691
+ class Representation < Google::Apis::Core::JsonRepresentation
692
+ property :mediation_group_line, as: 'mediationGroupLine', class: Google::Apis::AdmobV1beta::MediationGroupMediationGroupLine, decorator: Google::Apis::AdmobV1beta::MediationGroupMediationGroupLine::Representation
693
+
694
+ end
695
+ end
696
+
697
+ class MediationGroup
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :display_name, as: 'displayName'
701
+ property :mediation_ab_experiment_state, as: 'mediationAbExperimentState'
702
+ property :mediation_group_id, as: 'mediationGroupId'
703
+ hash :mediation_group_lines, as: 'mediationGroupLines', class: Google::Apis::AdmobV1beta::MediationGroupMediationGroupLine, decorator: Google::Apis::AdmobV1beta::MediationGroupMediationGroupLine::Representation
704
+
705
+ property :name, as: 'name'
706
+ property :state, as: 'state'
707
+ property :targeting, as: 'targeting', class: Google::Apis::AdmobV1beta::MediationGroupTargeting, decorator: Google::Apis::AdmobV1beta::MediationGroupTargeting::Representation
708
+
709
+ end
710
+ end
711
+
712
+ class MediationGroupMediationGroupLine
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ property :ad_source_id, as: 'adSourceId'
716
+ hash :ad_unit_mappings, as: 'adUnitMappings'
717
+ property :cpm_micros, :numeric_string => true, as: 'cpmMicros'
718
+ property :cpm_mode, as: 'cpmMode'
719
+ property :display_name, as: 'displayName'
720
+ property :experiment_variant, as: 'experimentVariant'
721
+ property :id, as: 'id'
722
+ property :state, as: 'state'
723
+ end
724
+ end
725
+
726
+ class MediationGroupTargeting
727
+ # @private
728
+ class Representation < Google::Apis::Core::JsonRepresentation
729
+ collection :ad_unit_ids, as: 'adUnitIds'
730
+ collection :excluded_region_codes, as: 'excludedRegionCodes'
731
+ property :format, as: 'format'
732
+ property :idfa_targeting, as: 'idfaTargeting'
733
+ property :platform, as: 'platform'
734
+ collection :targeted_region_codes, as: 'targetedRegionCodes'
735
+ end
736
+ end
737
+
358
738
  class MediationReportSpec
359
739
  # @private
360
740
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -492,12 +872,28 @@ module Google
492
872
  end
493
873
  end
494
874
 
875
+ class StopMediationAbExperimentRequest
876
+ # @private
877
+ class Representation < Google::Apis::Core::JsonRepresentation
878
+ property :variant_choice, as: 'variantChoice'
879
+ end
880
+ end
881
+
495
882
  class StringList
496
883
  # @private
497
884
  class Representation < Google::Apis::Core::JsonRepresentation
498
885
  collection :values, as: 'values'
499
886
  end
500
887
  end
888
+
889
+ class UpdateCampaignRequest
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :campaign, as: 'campaign', class: Google::Apis::AdmobV1beta::Campaign, decorator: Google::Apis::AdmobV1beta::Campaign::Representation
893
+
894
+ property :update_mask, as: 'updateMask'
895
+ end
896
+ end
501
897
  end
502
898
  end
503
899
  end