Skip to content

Commit 04355c7

Browse files
feat(adsenseplatform): update the api
#### adsenseplatform:v1alpha The following keys were added: - resources.accounts.resources.platforms.resources.childAccounts.resources.sites.methods.list (Total Keys: 16) - resources.accounts.resources.platforms.resources.childAccounts.resources.sites.methods.patch (Total Keys: 15) - resources.accounts.resources.platforms.resources.groups.methods.list (Total Keys: 16) - schemas.Decimal (Total Keys: 3) - schemas.ListPlatformChildSitesResponse (Total Keys: 5) - schemas.ListPlatformGroupsResponse (Total Keys: 5) - schemas.PlatformChildSite (Total Keys: 6) - schemas.PlatformGroup (Total Keys: 4)
1 parent 8b40ee6 commit 04355c7

5 files changed

+615
-1
lines changed
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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="adsenseplatform_v1alpha.html">AdSense Platform API</a> . <a href="adsenseplatform_v1alpha.accounts.html">accounts</a> . <a href="adsenseplatform_v1alpha.accounts.platforms.html">platforms</a> . <a href="adsenseplatform_v1alpha.accounts.platforms.childAccounts.html">childAccounts</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="adsenseplatform_v1alpha.accounts.platforms.childAccounts.sites.html">sites()</a></code>
79+
</p>
80+
<p class="firstline">Returns the sites Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<h3>Method Details</h3>
86+
<div class="method">
87+
<code class="details" id="close">close()</code>
88+
<pre>Close httplib2 connections.</pre>
89+
</div>
90+
91+
</body></html>
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
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="adsenseplatform_v1alpha.html">AdSense Platform API</a> . <a href="adsenseplatform_v1alpha.accounts.html">accounts</a> . <a href="adsenseplatform_v1alpha.accounts.platforms.html">platforms</a> . <a href="adsenseplatform_v1alpha.accounts.platforms.childAccounts.html">childAccounts</a> . <a href="adsenseplatform_v1alpha.accounts.platforms.childAccounts.sites.html">sites</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">Lists Platform Child Sites for a specified Platform Child Account.</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+
<p class="toc_element">
87+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Update a Platform Child Site.</p>
89+
<h3>Method Details</h3>
90+
<div class="method">
91+
<code class="details" id="close">close()</code>
92+
<pre>Close httplib2 connections.</pre>
93+
</div>
94+
95+
<div class="method">
96+
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
97+
<pre>Lists Platform Child Sites for a specified Platform Child Account.
98+
99+
Args:
100+
parent: string, Required. The name of the platform to retrieve. Format: accounts/{account}/platforms/{platform}/childAccounts/{child_publisher_code} (required)
101+
pageSize: integer, Optional. The maximum number of children to include in the response, used for paging. If unspecified, at most 10000 platforms will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
102+
pageToken: string, Optional. A page token, received from a previous `ListPlatformChildren` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPlatformChildren` must match the call that provided the page token.
103+
x__xgafv: string, V1 error format.
104+
Allowed values
105+
1 - v1 error format
106+
2 - v2 error format
107+
108+
Returns:
109+
An object of the form:
110+
111+
{ # Response definition for the list platform child sites rpc.
112+
&quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token used to page through platforms. To retrieve the next page of the results, set the next request&#x27;s &quot;page_token&quot; value to this.
113+
&quot;platformChildSites&quot;: [ # The platform child sites returned in this list response.
114+
{ # Representation of a Transparent Platform Child Site.
115+
&quot;domain&quot;: &quot;A String&quot;, # Output only. Domain URL of the Platform Child Site. Part of the PlatformChildSite name.
116+
&quot;name&quot;: &quot;A String&quot;, # Identifier. Format: accounts/{account}/platforms/{platform}/childAccounts/{child}/sites/{platformChildSite}
117+
&quot;platformGroup&quot;: &quot;A String&quot;, # Resource name of the Platform Group of the Platform Child Site.
118+
},
119+
],
120+
}</pre>
121+
</div>
122+
123+
<div class="method">
124+
<code class="details" id="list_next">list_next()</code>
125+
<pre>Retrieves the next page of results.
126+
127+
Args:
128+
previous_request: The request for the previous page. (required)
129+
previous_response: The response from the request for the previous page. (required)
130+
131+
Returns:
132+
A request object that you can call &#x27;execute()&#x27; on to request the next
133+
page. Returns None if there are no more items in the collection.
134+
</pre>
135+
</div>
136+
137+
<div class="method">
138+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
139+
<pre>Update a Platform Child Site.
140+
141+
Args:
142+
name: string, Identifier. Format: accounts/{account}/platforms/{platform}/childAccounts/{child}/sites/{platformChildSite} (required)
143+
body: object, The request body.
144+
The object takes the form of:
145+
146+
{ # Representation of a Transparent Platform Child Site.
147+
&quot;domain&quot;: &quot;A String&quot;, # Output only. Domain URL of the Platform Child Site. Part of the PlatformChildSite name.
148+
&quot;name&quot;: &quot;A String&quot;, # Identifier. Format: accounts/{account}/platforms/{platform}/childAccounts/{child}/sites/{platformChildSite}
149+
&quot;platformGroup&quot;: &quot;A String&quot;, # Resource name of the Platform Group of the Platform Child Site.
150+
}
151+
152+
updateMask: string, Optional. The list of fields to update - currently only supports updating the `platform_group` field.
153+
x__xgafv: string, V1 error format.
154+
Allowed values
155+
1 - v1 error format
156+
2 - v2 error format
157+
158+
Returns:
159+
An object of the form:
160+
161+
{ # Representation of a Transparent Platform Child Site.
162+
&quot;domain&quot;: &quot;A String&quot;, # Output only. Domain URL of the Platform Child Site. Part of the PlatformChildSite name.
163+
&quot;name&quot;: &quot;A String&quot;, # Identifier. Format: accounts/{account}/platforms/{platform}/childAccounts/{child}/sites/{platformChildSite}
164+
&quot;platformGroup&quot;: &quot;A String&quot;, # Resource name of the Platform Group of the Platform Child Site.
165+
}</pre>
166+
</div>
167+
168+
</body></html>

0 commit comments

Comments
 (0)