google-apis-admob_v1 0.1.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +23 -0
- data/lib/google/apis/admob_v1/classes.rb +214 -0
- data/lib/google/apis/admob_v1/gem_version.rb +3 -3
- data/lib/google/apis/admob_v1/representations.rb +94 -0
- data/lib/google/apis/admob_v1/service.rb +85 -2
- metadata +15 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 693754f468fa1c3041ac977df13117f058b2ebab0f36bf6e953aae85a681f68c
|
4
|
+
data.tar.gz: 2322eefc9ad361e27593b0750e30722072492f684f705043f405b1432f203392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39523ca5f65844270866ff4e82e43b961e6580a581cb301aa28b2e004fcadf0826ad498fb0b6b014be5283618613a23f097b29895db9e147f4ec3f992025b080
|
7
|
+
data.tar.gz: ae1d97529e483f2f8703f039e54fa266b3d12fe2e5df8dfb9bb589dca7b0bea11491d26aefd0c8c3e2151380c3dffb120cb9594125e6f75e2df7b8341e1aa90e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Release history for google-apis-admob_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.5.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210615
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.4.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210512
|
15
|
+
|
16
|
+
### v0.3.0 (2021-04-16)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210414
|
19
|
+
* Regenerated using generator version 0.2.0
|
20
|
+
|
21
|
+
### v0.2.0 (2021-03-04)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210227
|
24
|
+
* Regenerated using generator version 0.1.2
|
25
|
+
|
3
26
|
### v0.1.0 (2021-01-07)
|
4
27
|
|
5
28
|
* Regenerated from discovery document revision 20201231
|
@@ -22,6 +22,168 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AdmobV1
|
24
24
|
|
25
|
+
# Describes an AdMob ad unit.
|
26
|
+
class AdUnit
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# AdFormat of the ad unit. Possible values are as follows: "BANNER" - Banner ad
|
30
|
+
# format. "BANNER_INTERSTITIAL" - Legacy format that can be used as either
|
31
|
+
# banner or interstitial. This format can no longer be created but can be
|
32
|
+
# targeted by mediation groups. "INTERSTITIAL" - A full screen ad. Supported ad
|
33
|
+
# types are "RICH_MEDIA" and "VIDEO". "NATIVE" - Native ad format. "REWARDED" -
|
34
|
+
# An ad that, once viewed, gets a callback verifying the view so that a reward
|
35
|
+
# can be given to the user. Supported ad types are "RICH_MEDIA" (interactive)
|
36
|
+
# and video where video can not be excluded.
|
37
|
+
# Corresponds to the JSON property `adFormat`
|
38
|
+
# @return [String]
|
39
|
+
attr_accessor :ad_format
|
40
|
+
|
41
|
+
# Ad media type supported by this ad unit. Possible values as follows: "
|
42
|
+
# RICH_MEDIA" - Text, image, and other non-video media. "VIDEO" - Video media.
|
43
|
+
# Corresponds to the JSON property `adTypes`
|
44
|
+
# @return [Array<String>]
|
45
|
+
attr_accessor :ad_types
|
46
|
+
|
47
|
+
# The externally visible ID of the ad unit which can be used to integrate with
|
48
|
+
# the AdMob SDK. This is a read only property. Example: ca-app-pub-
|
49
|
+
# 9876543210987654/0123456789
|
50
|
+
# Corresponds to the JSON property `adUnitId`
|
51
|
+
# @return [String]
|
52
|
+
attr_accessor :ad_unit_id
|
53
|
+
|
54
|
+
# The externally visible ID of the app this ad unit is associated with. Example:
|
55
|
+
# ca-app-pub-9876543210987654~0123456789
|
56
|
+
# Corresponds to the JSON property `appId`
|
57
|
+
# @return [String]
|
58
|
+
attr_accessor :app_id
|
59
|
+
|
60
|
+
# The display name of the ad unit as shown in the AdMob UI, which is provided by
|
61
|
+
# the user. The maximum length allowed is 80 characters.
|
62
|
+
# Corresponds to the JSON property `displayName`
|
63
|
+
# @return [String]
|
64
|
+
attr_accessor :display_name
|
65
|
+
|
66
|
+
# Resource name for this ad unit. Format is accounts/`publisher_id`/adUnits/`
|
67
|
+
# ad_unit_id_fragment` Example: accounts/pub-9876543210987654/adUnits/0123456789
|
68
|
+
# Corresponds to the JSON property `name`
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :name
|
71
|
+
|
72
|
+
def initialize(**args)
|
73
|
+
update!(**args)
|
74
|
+
end
|
75
|
+
|
76
|
+
# Update properties of this object
|
77
|
+
def update!(**args)
|
78
|
+
@ad_format = args[:ad_format] if args.key?(:ad_format)
|
79
|
+
@ad_types = args[:ad_types] if args.key?(:ad_types)
|
80
|
+
@ad_unit_id = args[:ad_unit_id] if args.key?(:ad_unit_id)
|
81
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
82
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
83
|
+
@name = args[:name] if args.key?(:name)
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# Describes an AdMob app for a specific platform (For example: Android or iOS).
|
88
|
+
class App
|
89
|
+
include Google::Apis::Core::Hashable
|
90
|
+
|
91
|
+
# The externally visible ID of the app which can be used to integrate with the
|
92
|
+
# AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~
|
93
|
+
# 0123456789
|
94
|
+
# Corresponds to the JSON property `appId`
|
95
|
+
# @return [String]
|
96
|
+
attr_accessor :app_id
|
97
|
+
|
98
|
+
# Information from the app store if the app is linked to an app store.
|
99
|
+
# Corresponds to the JSON property `linkedAppInfo`
|
100
|
+
# @return [Google::Apis::AdmobV1::AppLinkedAppInfo]
|
101
|
+
attr_accessor :linked_app_info
|
102
|
+
|
103
|
+
# Information provided for manual apps which are not linked to an application
|
104
|
+
# store (Example: Google Play, App Store).
|
105
|
+
# Corresponds to the JSON property `manualAppInfo`
|
106
|
+
# @return [Google::Apis::AdmobV1::AppManualAppInfo]
|
107
|
+
attr_accessor :manual_app_info
|
108
|
+
|
109
|
+
# Resource name for this app. Format is accounts/`publisher_id`/apps/`
|
110
|
+
# app_id_fragment` Example: accounts/pub-9876543210987654/apps/0123456789
|
111
|
+
# Corresponds to the JSON property `name`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :name
|
114
|
+
|
115
|
+
# Describes the platform of the app. Limited to "IOS" and "ANDROID".
|
116
|
+
# Corresponds to the JSON property `platform`
|
117
|
+
# @return [String]
|
118
|
+
attr_accessor :platform
|
119
|
+
|
120
|
+
def initialize(**args)
|
121
|
+
update!(**args)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Update properties of this object
|
125
|
+
def update!(**args)
|
126
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
127
|
+
@linked_app_info = args[:linked_app_info] if args.key?(:linked_app_info)
|
128
|
+
@manual_app_info = args[:manual_app_info] if args.key?(:manual_app_info)
|
129
|
+
@name = args[:name] if args.key?(:name)
|
130
|
+
@platform = args[:platform] if args.key?(:platform)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# Information from the app store if the app is linked to an app store.
|
135
|
+
class AppLinkedAppInfo
|
136
|
+
include Google::Apis::Core::Hashable
|
137
|
+
|
138
|
+
# The app store ID of the app; present if and only if the app is linked to an
|
139
|
+
# app store. If the app is added to the Google Play store, it will be the
|
140
|
+
# application ID of the app. For example: "com.example.myapp". See https://
|
141
|
+
# developer.android.com/studio/build/application-id. If the app is added to the
|
142
|
+
# Apple App Store, it will be app store ID. For example "105169111". Note that
|
143
|
+
# setting the app store id is considered an irreversible action. Once an app is
|
144
|
+
# linked, it cannot be unlinked.
|
145
|
+
# Corresponds to the JSON property `appStoreId`
|
146
|
+
# @return [String]
|
147
|
+
attr_accessor :app_store_id
|
148
|
+
|
149
|
+
# Output only. Display name of the app as it appears in the app store. This is
|
150
|
+
# an output-only field, and may be empty if the app cannot be found in the store.
|
151
|
+
# Corresponds to the JSON property `displayName`
|
152
|
+
# @return [String]
|
153
|
+
attr_accessor :display_name
|
154
|
+
|
155
|
+
def initialize(**args)
|
156
|
+
update!(**args)
|
157
|
+
end
|
158
|
+
|
159
|
+
# Update properties of this object
|
160
|
+
def update!(**args)
|
161
|
+
@app_store_id = args[:app_store_id] if args.key?(:app_store_id)
|
162
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
# Information provided for manual apps which are not linked to an application
|
167
|
+
# store (Example: Google Play, App Store).
|
168
|
+
class AppManualAppInfo
|
169
|
+
include Google::Apis::Core::Hashable
|
170
|
+
|
171
|
+
# The display name of the app as shown in the AdMob UI, which is provided by the
|
172
|
+
# user. The maximum length allowed is 80 characters.
|
173
|
+
# Corresponds to the JSON property `displayName`
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :display_name
|
176
|
+
|
177
|
+
def initialize(**args)
|
178
|
+
update!(**args)
|
179
|
+
end
|
180
|
+
|
181
|
+
# Update properties of this object
|
182
|
+
def update!(**args)
|
183
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
25
187
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
26
188
|
# day and time zone are either specified elsewhere or are insignificant. The
|
27
189
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -248,6 +410,58 @@ module Google
|
|
248
410
|
end
|
249
411
|
end
|
250
412
|
|
413
|
+
# Response for the ad units list request.
|
414
|
+
class ListAdUnitsResponse
|
415
|
+
include Google::Apis::Core::Hashable
|
416
|
+
|
417
|
+
# The resulting ad units for the requested account.
|
418
|
+
# Corresponds to the JSON property `adUnits`
|
419
|
+
# @return [Array<Google::Apis::AdmobV1::AdUnit>]
|
420
|
+
attr_accessor :ad_units
|
421
|
+
|
422
|
+
# If not empty, indicates that there may be more ad units for the request; this
|
423
|
+
# value should be passed in a new `ListAdUnitsRequest`.
|
424
|
+
# Corresponds to the JSON property `nextPageToken`
|
425
|
+
# @return [String]
|
426
|
+
attr_accessor :next_page_token
|
427
|
+
|
428
|
+
def initialize(**args)
|
429
|
+
update!(**args)
|
430
|
+
end
|
431
|
+
|
432
|
+
# Update properties of this object
|
433
|
+
def update!(**args)
|
434
|
+
@ad_units = args[:ad_units] if args.key?(:ad_units)
|
435
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
# Response for the apps list request.
|
440
|
+
class ListAppsResponse
|
441
|
+
include Google::Apis::Core::Hashable
|
442
|
+
|
443
|
+
# The resulting apps for the requested account.
|
444
|
+
# Corresponds to the JSON property `apps`
|
445
|
+
# @return [Array<Google::Apis::AdmobV1::App>]
|
446
|
+
attr_accessor :apps
|
447
|
+
|
448
|
+
# If not empty, indicates that there may be more apps for the request; this
|
449
|
+
# value should be passed in a new `ListAppsRequest`.
|
450
|
+
# Corresponds to the JSON property `nextPageToken`
|
451
|
+
# @return [String]
|
452
|
+
attr_accessor :next_page_token
|
453
|
+
|
454
|
+
def initialize(**args)
|
455
|
+
update!(**args)
|
456
|
+
end
|
457
|
+
|
458
|
+
# Update properties of this object
|
459
|
+
def update!(**args)
|
460
|
+
@apps = args[:apps] if args.key?(:apps)
|
461
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
251
465
|
# Response for the publisher account list request.
|
252
466
|
class ListPublisherAccountsResponse
|
253
467
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AdmobV1
|
18
18
|
# Version of the google-apis-admob_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210615"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,30 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AdmobV1
|
24
24
|
|
25
|
+
class AdUnit
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class App
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AppLinkedAppInfo
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AppManualAppInfo
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
25
49
|
class Date
|
26
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
51
|
|
@@ -58,6 +82,18 @@ module Google
|
|
58
82
|
include Google::Apis::Core::JsonObjectSupport
|
59
83
|
end
|
60
84
|
|
85
|
+
class ListAdUnitsResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class ListAppsResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
61
97
|
class ListPublisherAccountsResponse
|
62
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
99
|
|
@@ -154,6 +190,46 @@ module Google
|
|
154
190
|
include Google::Apis::Core::JsonObjectSupport
|
155
191
|
end
|
156
192
|
|
193
|
+
class AdUnit
|
194
|
+
# @private
|
195
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
196
|
+
property :ad_format, as: 'adFormat'
|
197
|
+
collection :ad_types, as: 'adTypes'
|
198
|
+
property :ad_unit_id, as: 'adUnitId'
|
199
|
+
property :app_id, as: 'appId'
|
200
|
+
property :display_name, as: 'displayName'
|
201
|
+
property :name, as: 'name'
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
class App
|
206
|
+
# @private
|
207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
+
property :app_id, as: 'appId'
|
209
|
+
property :linked_app_info, as: 'linkedAppInfo', class: Google::Apis::AdmobV1::AppLinkedAppInfo, decorator: Google::Apis::AdmobV1::AppLinkedAppInfo::Representation
|
210
|
+
|
211
|
+
property :manual_app_info, as: 'manualAppInfo', class: Google::Apis::AdmobV1::AppManualAppInfo, decorator: Google::Apis::AdmobV1::AppManualAppInfo::Representation
|
212
|
+
|
213
|
+
property :name, as: 'name'
|
214
|
+
property :platform, as: 'platform'
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
class AppLinkedAppInfo
|
219
|
+
# @private
|
220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
+
property :app_store_id, as: 'appStoreId'
|
222
|
+
property :display_name, as: 'displayName'
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
class AppManualAppInfo
|
227
|
+
# @private
|
228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
229
|
+
property :display_name, as: 'displayName'
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
157
233
|
class Date
|
158
234
|
# @private
|
159
235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -213,6 +289,24 @@ module Google
|
|
213
289
|
end
|
214
290
|
end
|
215
291
|
|
292
|
+
class ListAdUnitsResponse
|
293
|
+
# @private
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
+
collection :ad_units, as: 'adUnits', class: Google::Apis::AdmobV1::AdUnit, decorator: Google::Apis::AdmobV1::AdUnit::Representation
|
296
|
+
|
297
|
+
property :next_page_token, as: 'nextPageToken'
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
class ListAppsResponse
|
302
|
+
# @private
|
303
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
304
|
+
collection :apps, as: 'apps', class: Google::Apis::AdmobV1::App, decorator: Google::Apis::AdmobV1::App::Representation
|
305
|
+
|
306
|
+
property :next_page_token, as: 'nextPageToken'
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
216
310
|
class ListPublisherAccountsResponse
|
217
311
|
# @private
|
218
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -81,8 +81,9 @@ module Google
|
|
81
81
|
execute_or_queue_command(command, &block)
|
82
82
|
end
|
83
83
|
|
84
|
-
#
|
85
|
-
#
|
84
|
+
# Lists the AdMob publisher account that was most recently signed in to from the
|
85
|
+
# AdMob UI. For more information, see https://support.google.com/admob/answer/
|
86
|
+
# 10243672.
|
86
87
|
# @param [Fixnum] page_size
|
87
88
|
# Maximum number of accounts to return.
|
88
89
|
# @param [String] page_token
|
@@ -117,6 +118,88 @@ module Google
|
|
117
118
|
execute_or_queue_command(command, &block)
|
118
119
|
end
|
119
120
|
|
121
|
+
# List the ad units under the specified AdMob account.
|
122
|
+
# @param [String] parent
|
123
|
+
# Required. Resource name of the account to list ad units for. Example: accounts/
|
124
|
+
# pub-9876543210987654
|
125
|
+
# @param [Fixnum] page_size
|
126
|
+
# The maximum number of ad units to return. If unspecified or 0, at most 1000 ad
|
127
|
+
# units will be returned. The maximum value is 10,000; values above 10,000 will
|
128
|
+
# be coerced to 10,000.
|
129
|
+
# @param [String] page_token
|
130
|
+
# The value returned by the last `ListAdUnitsResponse`; indicates that this is a
|
131
|
+
# continuation of a prior `ListAdUnits` call, and that the system should return
|
132
|
+
# the next page of data.
|
133
|
+
# @param [String] fields
|
134
|
+
# Selector specifying which fields to include in a partial response.
|
135
|
+
# @param [String] quota_user
|
136
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
137
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
138
|
+
# @param [Google::Apis::RequestOptions] options
|
139
|
+
# Request-specific options
|
140
|
+
#
|
141
|
+
# @yield [result, err] Result & error if block supplied
|
142
|
+
# @yieldparam result [Google::Apis::AdmobV1::ListAdUnitsResponse] parsed result object
|
143
|
+
# @yieldparam err [StandardError] error object if request failed
|
144
|
+
#
|
145
|
+
# @return [Google::Apis::AdmobV1::ListAdUnitsResponse]
|
146
|
+
#
|
147
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
148
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
|
+
def list_account_ad_units(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
151
|
+
command = make_simple_command(:get, 'v1/{+parent}/adUnits', options)
|
152
|
+
command.response_representation = Google::Apis::AdmobV1::ListAdUnitsResponse::Representation
|
153
|
+
command.response_class = Google::Apis::AdmobV1::ListAdUnitsResponse
|
154
|
+
command.params['parent'] = parent unless parent.nil?
|
155
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
156
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
157
|
+
command.query['fields'] = fields unless fields.nil?
|
158
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
|
+
execute_or_queue_command(command, &block)
|
160
|
+
end
|
161
|
+
|
162
|
+
# List the apps under the specified AdMob account.
|
163
|
+
# @param [String] parent
|
164
|
+
# Required. Resource name of the account to list apps for. Example: accounts/pub-
|
165
|
+
# 9876543210987654
|
166
|
+
# @param [Fixnum] page_size
|
167
|
+
# The maximum number of apps to return. If unspecified or 0, at most 1000 apps
|
168
|
+
# will be returned. The maximum value is 10,000; values above 10,000 will be
|
169
|
+
# coerced to 10,000.
|
170
|
+
# @param [String] page_token
|
171
|
+
# The value returned by the last `ListAppsResponse`; indicates that this is a
|
172
|
+
# continuation of a prior `ListApps` call, and that the system should return the
|
173
|
+
# next page of data.
|
174
|
+
# @param [String] fields
|
175
|
+
# Selector specifying which fields to include in a partial response.
|
176
|
+
# @param [String] quota_user
|
177
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
178
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
179
|
+
# @param [Google::Apis::RequestOptions] options
|
180
|
+
# Request-specific options
|
181
|
+
#
|
182
|
+
# @yield [result, err] Result & error if block supplied
|
183
|
+
# @yieldparam result [Google::Apis::AdmobV1::ListAppsResponse] parsed result object
|
184
|
+
# @yieldparam err [StandardError] error object if request failed
|
185
|
+
#
|
186
|
+
# @return [Google::Apis::AdmobV1::ListAppsResponse]
|
187
|
+
#
|
188
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
189
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
190
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
191
|
+
def list_account_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
192
|
+
command = make_simple_command(:get, 'v1/{+parent}/apps', options)
|
193
|
+
command.response_representation = Google::Apis::AdmobV1::ListAppsResponse::Representation
|
194
|
+
command.response_class = Google::Apis::AdmobV1::ListAppsResponse
|
195
|
+
command.params['parent'] = parent unless parent.nil?
|
196
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
197
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
198
|
+
command.query['fields'] = fields unless fields.nil?
|
199
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
200
|
+
execute_or_queue_command(command, &block)
|
201
|
+
end
|
202
|
+
|
120
203
|
# Generates an AdMob Mediation report based on the provided report specification.
|
121
204
|
# Returns result of a server-side streaming RPC. The result is returned in a
|
122
205
|
# sequence of responses.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-admob_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2021-
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for AdMob API V1. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-admob_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-admob_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-admob_v1/v0.6.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-admob_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
68
|
requirements:
|
63
69
|
- - ">="
|
64
70
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
71
|
+
version: '2.5'
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for AdMob API V1
|