google-apis-admob_v1beta 0.23.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b84f648133c70864d859398292c2d6811690577fab5a5ed768a732c90cd1732
|
4
|
+
data.tar.gz: 45f1339e273786ae0451f8e2995de59e94fc9ba5fe6ea19ee0514c5424dbb167
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cf91d766418d1d112ae576a69682361d6df7e576f67449054c70996d0e1f11be6428e8c2bfbe69afcd4b83f4240840f3fe233d5c56a888e21c6b72a806feb73
|
7
|
+
data.tar.gz: dab98d89c45adcd86753e61b4b9ea8976b9ecac27431adb0324ed867a7ab05f15968f20e77bde8953b82470a144a6ffe10e4ca747eabfc58236fab1a6e942704
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-admob_v1beta
|
2
2
|
|
3
|
+
### v0.25.0 (2023-09-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230907
|
6
|
+
|
7
|
+
### v0.24.0 (2023-09-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230831
|
10
|
+
|
3
11
|
### v0.23.0 (2023-08-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230824
|
@@ -448,105 +448,6 @@ module Google
|
|
448
448
|
end
|
449
449
|
end
|
450
450
|
|
451
|
-
# The request for the BatchUpdateCampaigns API.
|
452
|
-
class BatchUpdateCampaignsRequest
|
453
|
-
include Google::Apis::Core::Hashable
|
454
|
-
|
455
|
-
# Required. The individual requests to update campaigns. Max 1000 allowed.
|
456
|
-
# Corresponds to the JSON property `requests`
|
457
|
-
# @return [Array<Google::Apis::AdmobV1beta::UpdateCampaignRequest>]
|
458
|
-
attr_accessor :requests
|
459
|
-
|
460
|
-
def initialize(**args)
|
461
|
-
update!(**args)
|
462
|
-
end
|
463
|
-
|
464
|
-
# Update properties of this object
|
465
|
-
def update!(**args)
|
466
|
-
@requests = args[:requests] if args.key?(:requests)
|
467
|
-
end
|
468
|
-
end
|
469
|
-
|
470
|
-
# The response for the BatchUpdateCampaigns API.
|
471
|
-
class BatchUpdateCampaignsResponse
|
472
|
-
include Google::Apis::Core::Hashable
|
473
|
-
|
474
|
-
# The updated campaigns per the request.
|
475
|
-
# Corresponds to the JSON property `campaigns`
|
476
|
-
# @return [Array<Google::Apis::AdmobV1beta::Campaign>]
|
477
|
-
attr_accessor :campaigns
|
478
|
-
|
479
|
-
def initialize(**args)
|
480
|
-
update!(**args)
|
481
|
-
end
|
482
|
-
|
483
|
-
# Update properties of this object
|
484
|
-
def update!(**args)
|
485
|
-
@campaigns = args[:campaigns] if args.key?(:campaigns)
|
486
|
-
end
|
487
|
-
end
|
488
|
-
|
489
|
-
# Describes an AdMob campaign.
|
490
|
-
class Campaign
|
491
|
-
include Google::Apis::Core::Hashable
|
492
|
-
|
493
|
-
# CPI setting for AdMob campaign. Ignored unless campaign goal type is MAX_CPI
|
494
|
-
# or TARGET_CPI.
|
495
|
-
# Corresponds to the JSON property `cpiSetting`
|
496
|
-
# @return [Google::Apis::AdmobV1beta::CampaignCpiSetting]
|
497
|
-
attr_accessor :cpi_setting
|
498
|
-
|
499
|
-
# Output only. The display name for the campaign.
|
500
|
-
# Corresponds to the JSON property `displayName`
|
501
|
-
# @return [String]
|
502
|
-
attr_accessor :display_name
|
503
|
-
|
504
|
-
# Output only. The Goal type of the campaign.
|
505
|
-
# Corresponds to the JSON property `goalType`
|
506
|
-
# @return [String]
|
507
|
-
attr_accessor :goal_type
|
508
|
-
|
509
|
-
# Output only. Resource name for this campaign. Format is: accounts/`
|
510
|
-
# publisher_id`/campaigns/`campaign_id` Example: accounts/pub-9876543210987654/
|
511
|
-
# campaigns/0123456789
|
512
|
-
# Corresponds to the JSON property `name`
|
513
|
-
# @return [String]
|
514
|
-
attr_accessor :name
|
515
|
-
|
516
|
-
def initialize(**args)
|
517
|
-
update!(**args)
|
518
|
-
end
|
519
|
-
|
520
|
-
# Update properties of this object
|
521
|
-
def update!(**args)
|
522
|
-
@cpi_setting = args[:cpi_setting] if args.key?(:cpi_setting)
|
523
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
524
|
-
@goal_type = args[:goal_type] if args.key?(:goal_type)
|
525
|
-
@name = args[:name] if args.key?(:name)
|
526
|
-
end
|
527
|
-
end
|
528
|
-
|
529
|
-
# CPI setting for AdMob campaign. Ignored unless campaign goal type is MAX_CPI
|
530
|
-
# or TARGET_CPI.
|
531
|
-
class CampaignCpiSetting
|
532
|
-
include Google::Apis::Core::Hashable
|
533
|
-
|
534
|
-
# Cost-per-install for this campaign in micro units in the currency of the
|
535
|
-
# GoogleAds account linked to this AdMob publisher.
|
536
|
-
# Corresponds to the JSON property `cpiMicros`
|
537
|
-
# @return [Fixnum]
|
538
|
-
attr_accessor :cpi_micros
|
539
|
-
|
540
|
-
def initialize(**args)
|
541
|
-
update!(**args)
|
542
|
-
end
|
543
|
-
|
544
|
-
# Update properties of this object
|
545
|
-
def update!(**args)
|
546
|
-
@cpi_micros = args[:cpi_micros] if args.key?(:cpi_micros)
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
451
|
# The specification for generating a Campaign report. For example, the
|
551
452
|
# specification to get IMPRESSIONS and CLICKS sliced by CAMPAIGN_ID can look
|
552
453
|
# like the following example: ` "date_range": ` "start_date": `"year": 2021, "
|
@@ -1018,32 +919,6 @@ module Google
|
|
1018
919
|
end
|
1019
920
|
end
|
1020
921
|
|
1021
|
-
# Response for the ListCampaignsRequest.
|
1022
|
-
class ListCampaignsResponse
|
1023
|
-
include Google::Apis::Core::Hashable
|
1024
|
-
|
1025
|
-
# The resulting mediation groups for the requested account.
|
1026
|
-
# Corresponds to the JSON property `campaigns`
|
1027
|
-
# @return [Array<Google::Apis::AdmobV1beta::Campaign>]
|
1028
|
-
attr_accessor :campaigns
|
1029
|
-
|
1030
|
-
# Used to set the `page_token` in the `ListCampaignsRequest` to retrieve the
|
1031
|
-
# next page. If this field is omitted, there are no subsequent pages.
|
1032
|
-
# Corresponds to the JSON property `nextPageToken`
|
1033
|
-
# @return [String]
|
1034
|
-
attr_accessor :next_page_token
|
1035
|
-
|
1036
|
-
def initialize(**args)
|
1037
|
-
update!(**args)
|
1038
|
-
end
|
1039
|
-
|
1040
|
-
# Update properties of this object
|
1041
|
-
def update!(**args)
|
1042
|
-
@campaigns = args[:campaigns] if args.key?(:campaigns)
|
1043
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1044
|
-
end
|
1045
|
-
end
|
1046
|
-
|
1047
922
|
# Response for the mediation groups list request.
|
1048
923
|
class ListMediationGroupsResponse
|
1049
924
|
include Google::Apis::Core::Hashable
|
@@ -1937,33 +1812,6 @@ module Google
|
|
1937
1812
|
@values = args[:values] if args.key?(:values)
|
1938
1813
|
end
|
1939
1814
|
end
|
1940
|
-
|
1941
|
-
# An update request for a singular campaign. Currently only cpi_micros of
|
1942
|
-
# MAX_CPI and TARGET_CPI campaigns can be updated.
|
1943
|
-
class UpdateCampaignRequest
|
1944
|
-
include Google::Apis::Core::Hashable
|
1945
|
-
|
1946
|
-
# Describes an AdMob campaign.
|
1947
|
-
# Corresponds to the JSON property `campaign`
|
1948
|
-
# @return [Google::Apis::AdmobV1beta::Campaign]
|
1949
|
-
attr_accessor :campaign
|
1950
|
-
|
1951
|
-
# List of campaign fields to be updated. Currently this field is not supported
|
1952
|
-
# as only the cpi_micros field can be updated.
|
1953
|
-
# Corresponds to the JSON property `updateMask`
|
1954
|
-
# @return [String]
|
1955
|
-
attr_accessor :update_mask
|
1956
|
-
|
1957
|
-
def initialize(**args)
|
1958
|
-
update!(**args)
|
1959
|
-
end
|
1960
|
-
|
1961
|
-
# Update properties of this object
|
1962
|
-
def update!(**args)
|
1963
|
-
@campaign = args[:campaign] if args.key?(:campaign)
|
1964
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
1965
|
-
end
|
1966
|
-
end
|
1967
1815
|
end
|
1968
1816
|
end
|
1969
1817
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.25.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 = "
|
25
|
+
REVISION = "20230907"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,30 +88,6 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
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
91
|
class CampaignReportSpec
|
116
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
93
|
|
@@ -202,12 +178,6 @@ module Google
|
|
202
178
|
include Google::Apis::Core::JsonObjectSupport
|
203
179
|
end
|
204
180
|
|
205
|
-
class ListCampaignsResponse
|
206
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
-
|
208
|
-
include Google::Apis::Core::JsonObjectSupport
|
209
|
-
end
|
210
|
-
|
211
181
|
class ListMediationGroupsResponse
|
212
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
183
|
|
@@ -346,12 +316,6 @@ module Google
|
|
346
316
|
include Google::Apis::Core::JsonObjectSupport
|
347
317
|
end
|
348
318
|
|
349
|
-
class UpdateCampaignRequest
|
350
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
-
|
352
|
-
include Google::Apis::Core::JsonObjectSupport
|
353
|
-
end
|
354
|
-
|
355
319
|
class AdSource
|
356
320
|
# @private
|
357
321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -462,40 +426,6 @@ module Google
|
|
462
426
|
end
|
463
427
|
end
|
464
428
|
|
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
429
|
class CampaignReportSpec
|
500
430
|
# @private
|
501
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -636,15 +566,6 @@ module Google
|
|
636
566
|
end
|
637
567
|
end
|
638
568
|
|
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
569
|
class ListMediationGroupsResponse
|
649
570
|
# @private
|
650
571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -885,15 +806,6 @@ module Google
|
|
885
806
|
collection :values, as: 'values'
|
886
807
|
end
|
887
808
|
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
|
897
809
|
end
|
898
810
|
end
|
899
811
|
end
|
@@ -199,7 +199,9 @@ module Google
|
|
199
199
|
end
|
200
200
|
|
201
201
|
# Batch create the ad unit mappings under the specific AdMob account. The
|
202
|
-
# maximum allowed batch size is 100.
|
202
|
+
# maximum allowed batch size is 100. This method has limited access. If you see
|
203
|
+
# a 403 permission denied error, please reach out to your account manager for
|
204
|
+
# access.
|
203
205
|
# @param [String] parent
|
204
206
|
# Required. The AdMob account which owns this collection of ad unit mappings.
|
205
207
|
# Format: accounts/`publisher_id` See https://support.google.com/admob/answer/
|
@@ -234,7 +236,9 @@ module Google
|
|
234
236
|
execute_or_queue_command(command, &block)
|
235
237
|
end
|
236
238
|
|
237
|
-
# Creates an ad unit under the specified AdMob account.
|
239
|
+
# Creates an ad unit under the specified AdMob account. This method has limited
|
240
|
+
# access. If you see a 403 permission denied error, please reach out to your
|
241
|
+
# account manager for access.
|
238
242
|
# @param [String] parent
|
239
243
|
# Required. Resource name of the account to create the specified ad unit for.
|
240
244
|
# Example: accounts/pub-9876543210987654
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
execute_or_queue_command(command, &block)
|
310
314
|
end
|
311
315
|
|
312
|
-
# Create an ad unit mapping under the specific AdMob account and ad unit.
|
316
|
+
# Create an ad unit mapping under the specific AdMob account and ad unit. This
|
317
|
+
# method has limited access. If you see a 403 permission denied error, please
|
318
|
+
# reach out to your account manager for access.
|
313
319
|
# @param [String] parent
|
314
320
|
# Required. The parent which owns the ad unit mapping. Format: accounts/`
|
315
321
|
# publisher_id`/adUnits/`ad_unit_id`
|
@@ -343,7 +349,9 @@ module Google
|
|
343
349
|
execute_or_queue_command(command, &block)
|
344
350
|
end
|
345
351
|
|
346
|
-
# List ad unit mappings under the specified AdMob account and ad unit.
|
352
|
+
# List ad unit mappings under the specified AdMob account and ad unit. This
|
353
|
+
# method has limited access. If you see a 403 permission denied error, please
|
354
|
+
# reach out to your account manager for access.
|
347
355
|
# @param [String] parent
|
348
356
|
# Required. The parent which owns this collection of ad unit mappings. Format:
|
349
357
|
# accounts/`publisher_id`/adUnits/`ad_unit_id`
|
@@ -391,7 +399,9 @@ module Google
|
|
391
399
|
execute_or_queue_command(command, &block)
|
392
400
|
end
|
393
401
|
|
394
|
-
# Creates an app under the specified AdMob account.
|
402
|
+
# Creates an app under the specified AdMob account. This method has limited
|
403
|
+
# access. If you see a 403 permission denied error, please reach out to your
|
404
|
+
# account manager for access.
|
395
405
|
# @param [String] parent
|
396
406
|
# Required. Resource name of the account for which the app is being created.
|
397
407
|
# Example: accounts/pub-9876543210987654
|
@@ -500,90 +510,9 @@ module Google
|
|
500
510
|
execute_or_queue_command(command, &block)
|
501
511
|
end
|
502
512
|
|
503
|
-
#
|
504
|
-
#
|
505
|
-
#
|
506
|
-
# field in the individual UpdateCampaignRequest messages should match the value
|
507
|
-
# set here. Example: accounts/pub-9876543210987654
|
508
|
-
# @param [Google::Apis::AdmobV1beta::BatchUpdateCampaignsRequest] batch_update_campaigns_request_object
|
509
|
-
# @param [String] fields
|
510
|
-
# Selector specifying which fields to include in a partial response.
|
511
|
-
# @param [String] quota_user
|
512
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
513
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
514
|
-
# @param [Google::Apis::RequestOptions] options
|
515
|
-
# Request-specific options
|
516
|
-
#
|
517
|
-
# @yield [result, err] Result & error if block supplied
|
518
|
-
# @yieldparam result [Google::Apis::AdmobV1beta::BatchUpdateCampaignsResponse] parsed result object
|
519
|
-
# @yieldparam err [StandardError] error object if request failed
|
520
|
-
#
|
521
|
-
# @return [Google::Apis::AdmobV1beta::BatchUpdateCampaignsResponse]
|
522
|
-
#
|
523
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
524
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
525
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
526
|
-
def batch_update_campaigns(parent, batch_update_campaigns_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
527
|
-
command = make_simple_command(:post, 'v1beta/{+parent}/campaigns:batchUpdate', options)
|
528
|
-
command.request_representation = Google::Apis::AdmobV1beta::BatchUpdateCampaignsRequest::Representation
|
529
|
-
command.request_object = batch_update_campaigns_request_object
|
530
|
-
command.response_representation = Google::Apis::AdmobV1beta::BatchUpdateCampaignsResponse::Representation
|
531
|
-
command.response_class = Google::Apis::AdmobV1beta::BatchUpdateCampaignsResponse
|
532
|
-
command.params['parent'] = parent unless parent.nil?
|
533
|
-
command.query['fields'] = fields unless fields.nil?
|
534
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
535
|
-
execute_or_queue_command(command, &block)
|
536
|
-
end
|
537
|
-
|
538
|
-
# List the campaigns under the specified AdMob account.
|
539
|
-
# @param [String] parent
|
540
|
-
# Required. Resource name of the account to list campaigns for. Example:
|
541
|
-
# accounts/pub-9876543210987654
|
542
|
-
# @param [String] filter
|
543
|
-
# The filter string that uses [EBNF grammar syntax](https://google.aip.dev/
|
544
|
-
# assets/misc/ebnf-filtering.txt). Possible field to filter by is: - "
|
545
|
-
# CAMPAIGN_GOAL_TYPE" Possible filter function is: - `IN`: Used to filter fields
|
546
|
-
# that represent a singleton including "CAMPAIGN_GOAL_TYPE". The filter
|
547
|
-
# functions can be added together using `AND`. `OR` functionality is not
|
548
|
-
# supported. Example: filter: IN(CAMPAIGN_GOAL_TYPE, "NUMBER_OF_CLICKS", "
|
549
|
-
# MEDIATED_ADS")
|
550
|
-
# @param [Fixnum] page_size
|
551
|
-
# The maximum number of campaigns to return.
|
552
|
-
# @param [String] page_token
|
553
|
-
# The value returned by the last `ListCampaignsResponse`; indicates that this is
|
554
|
-
# a continuation of a prior `ListGoogleBiddingAdUnits` call, and that the system
|
555
|
-
# should return the next page of data.
|
556
|
-
# @param [String] fields
|
557
|
-
# Selector specifying which fields to include in a partial response.
|
558
|
-
# @param [String] quota_user
|
559
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
560
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
561
|
-
# @param [Google::Apis::RequestOptions] options
|
562
|
-
# Request-specific options
|
563
|
-
#
|
564
|
-
# @yield [result, err] Result & error if block supplied
|
565
|
-
# @yieldparam result [Google::Apis::AdmobV1beta::ListCampaignsResponse] parsed result object
|
566
|
-
# @yieldparam err [StandardError] error object if request failed
|
567
|
-
#
|
568
|
-
# @return [Google::Apis::AdmobV1beta::ListCampaignsResponse]
|
569
|
-
#
|
570
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
571
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
572
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
573
|
-
def list_account_campaigns(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
574
|
-
command = make_simple_command(:get, 'v1beta/{+parent}/campaigns', options)
|
575
|
-
command.response_representation = Google::Apis::AdmobV1beta::ListCampaignsResponse::Representation
|
576
|
-
command.response_class = Google::Apis::AdmobV1beta::ListCampaignsResponse
|
577
|
-
command.params['parent'] = parent unless parent.nil?
|
578
|
-
command.query['filter'] = filter unless filter.nil?
|
579
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
580
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
581
|
-
command.query['fields'] = fields unless fields.nil?
|
582
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
583
|
-
execute_or_queue_command(command, &block)
|
584
|
-
end
|
585
|
-
|
586
|
-
# Create a mediation group under the specific AdMob account.
|
513
|
+
# Create a mediation group under the specific AdMob account. This method has
|
514
|
+
# limited access. If you see a 403 permission denied error, please reach out to
|
515
|
+
# your account manager for access.
|
587
516
|
# @param [String] parent
|
588
517
|
# Required. The parent which owns the mediation group. Format: accounts/`
|
589
518
|
# publisher_id`
|
@@ -617,7 +546,9 @@ module Google
|
|
617
546
|
execute_or_queue_command(command, &block)
|
618
547
|
end
|
619
548
|
|
620
|
-
# List mediation groups under the specified AdMob account.
|
549
|
+
# List mediation groups under the specified AdMob account. This method has
|
550
|
+
# limited access. If you see a 403 permission denied error, please reach out to
|
551
|
+
# your account manager for access.
|
621
552
|
# @param [String] parent
|
622
553
|
# Required. Resource name of the account to list mediation groups for. Example:
|
623
554
|
# accounts/pub-9876543210987654
|
@@ -672,7 +603,9 @@ module Google
|
|
672
603
|
execute_or_queue_command(command, &block)
|
673
604
|
end
|
674
605
|
|
675
|
-
# Update the specified mediation group under the specified AdMob account.
|
606
|
+
# Update the specified mediation group under the specified AdMob account. This
|
607
|
+
# method has limited access. If you see a 403 permission denied error, please
|
608
|
+
# reach out to your account manager for access.
|
676
609
|
# @param [String] name
|
677
610
|
# Resource name for this mediation group. Format is: accounts/`publisher_id`/
|
678
611
|
# mediationGroups/`mediation_group_id` Example: accounts/pub-9876543210987654/
|
@@ -724,7 +657,8 @@ module Google
|
|
724
657
|
end
|
725
658
|
|
726
659
|
# Create an A/B testing experiment for a specified AdMob account and a mediation
|
727
|
-
# group.
|
660
|
+
# group. This method has limited access. If you see a 403 permission denied
|
661
|
+
# error, please reach out to your account manager for access.
|
728
662
|
# @param [String] parent
|
729
663
|
# Required. The parent which owns the mediation group. Format: accounts/`
|
730
664
|
# publisher_id`/mediationGroups/`mediation_group_id`
|
@@ -758,7 +692,9 @@ module Google
|
|
758
692
|
execute_or_queue_command(command, &block)
|
759
693
|
end
|
760
694
|
|
761
|
-
# Stop the mediation A/B experiment and choose a variant.
|
695
|
+
# Stop the mediation A/B experiment and choose a variant. This method has
|
696
|
+
# limited access. If you see a 403 permission denied error, please reach out to
|
697
|
+
# your account manager for access.
|
762
698
|
# @param [String] name
|
763
699
|
# Name of the mediation group, the experiment for which to choose a variant for.
|
764
700
|
# Example: accounts/pub-9876543210987654/mediationGroups/0123456789/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-admob_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admob_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-admob_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admob_v1beta/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-admob_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|