Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ab2ae1e

Browse files
committedAug 24, 2023
feat(admob): update the api
#### admob:v1beta The following keys were added: - resources.accounts.resources.adSources.methods.list.scopes (Total Keys: 1) - resources.accounts.resources.adSources.resources.adapters.methods.list (Total Keys: 17) - resources.accounts.resources.adUnitMappings.methods.batchCreate (Total Keys: 12) - resources.accounts.resources.adUnits.methods.create (Total Keys: 12) - resources.accounts.resources.adUnits.resources.adUnitMappings.methods.create (Total Keys: 12) - resources.accounts.resources.adUnits.resources.adUnitMappings.methods.list (Total Keys: 19) - resources.accounts.resources.apps.methods.create (Total Keys: 12) - resources.accounts.resources.campaigns.methods.batchUpdate (Total Keys: 12) - resources.accounts.resources.campaigns.methods.list (Total Keys: 19) - resources.accounts.resources.mediationGroups.methods.create (Total Keys: 12) - resources.accounts.resources.mediationGroups.methods.list (Total Keys: 19) - resources.accounts.resources.mediationGroups.methods.patch (Total Keys: 15) - resources.accounts.resources.mediationGroups.resources.mediationAbExperiments.methods.create (Total Keys: 12) - resources.accounts.resources.mediationGroups.resources.mediationAbExperiments.methods.stop (Total Keys: 12) - schemas.AdUnit.properties.rewardSettings.$ref (Total Keys: 1) - schemas.AdUnitMapping (Total Keys: 10) - schemas.AdUnitRewardSettings (Total Keys: 5) - schemas.Adapter (Total Keys: 19) - schemas.AppLinkedAppInfo.properties.androidAppStores (Total Keys: 2) - schemas.BatchCreateAdUnitMappingsRequest (Total Keys: 4) - schemas.BatchCreateAdUnitMappingsResponse (Total Keys: 4) - schemas.BatchUpdateCampaignsRequest (Total Keys: 4) - schemas.BatchUpdateCampaignsResponse (Total Keys: 4) - schemas.Campaign (Total Keys: 13) - schemas.CreateAdUnitMappingRequest (Total Keys: 4) - schemas.ListAdUnitMappingsResponse (Total Keys: 5) - schemas.ListAdaptersResponse (Total Keys: 5) - schemas.ListCampaignsResponse (Total Keys: 5) - schemas.ListMediationGroupsResponse (Total Keys: 5) - schemas.MediationAbExperiment (Total Keys: 18) - schemas.MediationGroup (Total Keys: 35) - schemas.StopMediationAbExperimentRequest (Total Keys: 3) - schemas.UpdateCampaignRequest (Total Keys: 5)
1 parent 97653b0 commit ab2ae1e

12 files changed

+2524
-47
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="admob_v1beta.html">AdMob API</a> . <a href="admob_v1beta.accounts.html">accounts</a> . <a href="admob_v1beta.accounts.adSources.html">adSources</a> . <a href="admob_v1beta.accounts.adSources.adapters.html">adapters</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">List the adapters of the ad source.</p>
83+
<p class="toc_element">
84+
<code><a href="#list_next">list_next()</a></code></p>
85+
<p class="firstline">Retrieves the next page of results.</p>
86+
<h3>Method Details</h3>
87+
<div class="method">
88+
<code class="details" id="close">close()</code>
89+
<pre>Close httplib2 connections.</pre>
90+
</div>
91+
92+
<div class="method">
93+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
94+
<pre>List the adapters of the ad source.
95+
96+
Args:
97+
parent: string, Required. The parent which owns this collection of adapters. Format: accounts/{publisher_id}/adSources/{ad_source_id} (required)
98+
pageSize: integer, The maximum number of adapters to return. If unspecified or 0, at most 10,000 adapters will be returned. The maximum value is 20,000; values above 20,000 will be coerced to 20,000.
99+
pageToken: string, A page token, received from a previous `ListAdapters` call. Provide this to retrieve the subsequent page.
100+
x__xgafv: string, V1 error format.
101+
Allowed values
102+
1 - v1 error format
103+
2 - v2 error format
104+
105+
Returns:
106+
An object of the form:
107+
108+
{ # Response for the ListAdaptersRequest.
109+
&quot;adapters&quot;: [ # The adapter.
110+
{ # Describes adapters supported by each mediation ad source. Adapters correspond to a specific SDK implementation of the ad source, and are each associated with a single platform and a list of supported ad unit formats. Adapters may also require setting some configurations to perform ad requests. Configurations can be specified in the AdUnitMapping by setting the [ad_unit_configurations](#AdUnitMapping.ad_unit_configurations) key/value pairs. For example, the ad_unit_configurations can be used to pass various IDs to the adapter&#x27;s third-party SDK.
111+
&quot;adapterConfigMetadata&quot;: [ # Output only. Configuration metadata associated with this adapter.
112+
{ # Configuration metadata associated with this adapter. They are used to define the ad_unit_configurations associated with AdUnitMappings for the this adapter.
113+
&quot;adapterConfigMetadataId&quot;: &quot;A String&quot;, # This is used to fill the key of the [ad_unit_configurations](#AdUnitMapping.ad_unit_configurations).
114+
&quot;adapterConfigMetadataLabel&quot;: &quot;A String&quot;, # Name of the adapter configuration metadata.
115+
&quot;isRequired&quot;: True or False, # Whether this metadata is required for configuring the AdUnitMappings.
116+
},
117+
],
118+
&quot;adapterId&quot;: &quot;A String&quot;, # Output only. ID of this adapter. It is used to set [adapter_id](#AdUnitMapping.adapter_id).
119+
&quot;formats&quot;: [ # Output only. Indicates the formats of the ad units supported by this adapter.
120+
&quot;A String&quot;,
121+
],
122+
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the adapter. Format is: accounts/{publisher_id}/adSources/{ad_source_id}/adapters/{adapter_id}.
123+
&quot;platform&quot;: &quot;A String&quot;, # Output only. Mobile application platform supported by this adapter. Supported values are: IOS, ANDROID, WINDOWS_PHONE
124+
&quot;title&quot;: &quot;A String&quot;, # Output only. The display name of this adapter.
125+
},
126+
],
127+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Used to set the `page_token` in the `ListAdapterRequest` to retrieve the next page. If this field is omitted, there are no subsequent pages.
128+
}</pre>
129+
</div>
130+
131+
<div class="method">
132+
<code class="details" id="list_next">list_next()</code>
133+
<pre>Retrieves the next page of results.
134+
135+
Args:
136+
previous_request: The request for the previous page. (required)
137+
previous_response: The response from the request for the previous page. (required)
138+
139+
Returns:
140+
A request object that you can call &#x27;execute()&#x27; on to request the next
141+
page. Returns None if there are no more items in the collection.
142+
</pre>
143+
</div>
144+
145+
</body></html>

‎docs/dyn/admob_v1beta.accounts.adSources.html

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="admob_v1beta.html">AdMob API</a> . <a href="admob_v1beta.accounts.html">accounts</a> . <a href="admob_v1beta.accounts.adSources.html">adSources</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="admob_v1beta.accounts.adSources.adapters.html">adapters()</a></code>
79+
</p>
80+
<p class="firstline">Returns the adapters Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="#close">close()</a></code></p>
7984
<p class="firstline">Close httplib2 connections.</p>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="admob_v1beta.html">AdMob API</a> . <a href="admob_v1beta.accounts.html">accounts</a> . <a href="admob_v1beta.accounts.adUnitMappings.html">adUnitMappings</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#batchCreate">batchCreate(parent, body=None, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Batch create the ad unit mappings under the specific AdMob account. The maximum allowed batch size is 100.</p>
80+
<p class="toc_element">
81+
<code><a href="#close">close()</a></code></p>
82+
<p class="firstline">Close httplib2 connections.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="batchCreate">batchCreate(parent, body=None, x__xgafv=None)</code>
86+
<pre>Batch create the ad unit mappings under the specific AdMob account. The maximum allowed batch size is 100.
87+
88+
Args:
89+
parent: string, Required. The AdMob account which owns this collection of ad unit mappings. Format: accounts/{publisher_id} See https://support.google.com/admob/answer/2784578 for instructions on how to find your AdMob publisher ID. (required)
90+
body: object, The request body.
91+
The object takes the form of:
92+
93+
{ # Request to create a batch of ad unit mappings under the specific AdMob account.
94+
&quot;requests&quot;: [ # Required. The request message specifying the ad unit mappings to create. A maximum of 100 ad unit mappings can be created in a batch. If the number of ad unit mappings in the batch request exceed 100, the entire request will be rejected and no ad unit mappings will be created.
95+
{ # Request to create an ad unit mapping under the specific AdMob account and ad unit.
96+
&quot;adUnitMapping&quot;: { # Settings to map an AdMob ad unit to a 3rd party ad unit. # Required. The ad unit mapping to create.
97+
&quot;adUnitConfigurations&quot;: { # Settings for the specified ad unit to make an ad request to 3rd party ad network. Key-value pairs with values set by the user for the keys requested by the ad network. Please see https://support.google.com/admob/answer/3245073 for details on how to configure the network settings.
98+
&quot;a_key&quot;: &quot;A String&quot;,
99+
},
100+
&quot;adapterId&quot;: &quot;A String&quot;, # The ID of mediation ad source adapter used by this ad unit mapping. The adapter determines the information needed in the ad_network_settings.
101+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of this ad unit mapping instance.
102+
&quot;name&quot;: &quot;A String&quot;, # Resource name of this ad unit mapping. Format is: accounts/{publisher_id}/adUnits/{ad_unit_id_fragment}/adUnitMappings/{ad_unit_mapping_id} Example: accounts/pub-1234567890123456/adUnits/0123456789/adUnitMappings/987654321
103+
&quot;state&quot;: &quot;A String&quot;, # Output only. The status of this ad unit mapping.
104+
},
105+
&quot;parent&quot;: &quot;A String&quot;, # Required. The parent which owns the ad unit mapping. Format: accounts/{publisher_id}/adUnits/{ad_unit_id}
106+
},
107+
],
108+
}
109+
110+
x__xgafv: string, V1 error format.
111+
Allowed values
112+
1 - v1 error format
113+
2 - v2 error format
114+
115+
Returns:
116+
An object of the form:
117+
118+
{ # Response containing a batch of created ad unit mappings.
119+
&quot;adUnitMappings&quot;: [ # The Ad units mappings created under the requested account.
120+
{ # Settings to map an AdMob ad unit to a 3rd party ad unit.
121+
&quot;adUnitConfigurations&quot;: { # Settings for the specified ad unit to make an ad request to 3rd party ad network. Key-value pairs with values set by the user for the keys requested by the ad network. Please see https://support.google.com/admob/answer/3245073 for details on how to configure the network settings.
122+
&quot;a_key&quot;: &quot;A String&quot;,
123+
},
124+
&quot;adapterId&quot;: &quot;A String&quot;, # The ID of mediation ad source adapter used by this ad unit mapping. The adapter determines the information needed in the ad_network_settings.
125+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. The display name of this ad unit mapping instance.
126+
&quot;name&quot;: &quot;A String&quot;, # Resource name of this ad unit mapping. Format is: accounts/{publisher_id}/adUnits/{ad_unit_id_fragment}/adUnitMappings/{ad_unit_mapping_id} Example: accounts/pub-1234567890123456/adUnits/0123456789/adUnitMappings/987654321
127+
&quot;state&quot;: &quot;A String&quot;, # Output only. The status of this ad unit mapping.
128+
},
129+
],
130+
}</pre>
131+
</div>
132+
133+
<div class="method">
134+
<code class="details" id="close">close()</code>
135+
<pre>Close httplib2 connections.</pre>
136+
</div>
137+
138+
</body></html>

0 commit comments

Comments
 (0)
Please sign in to comment.