Debian Codegraph @

docs/dyn/adsenseplatform_v1.platforms.accounts.sites.html

raw
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_v1.html">AdSense Platform API</a> . <a href="adsenseplatform_v1.platforms.html">platforms</a> . <a href="adsenseplatform_v1.platforms.accounts.html">accounts</a> . <a href="adsenseplatform_v1.platforms.accounts.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="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a site for a specified account.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a site from a specified account.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a site from a specified sub-account.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists sites for a specific account.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#requestReview">requestReview(name, x__xgafv=None)</a></code></p>
97 <p class="firstline">Requests the review of a site. The site should be in REQUIRES_REVIEW or NEEDS_ATTENTION state. Note: Make sure you place an [ad tag](https://developers.google.com/adsense/platforms/direct/ad-tags) on your site before requesting a review.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106 <pre>Creates a site for a specified account.
107
108 Args:
109 parent: string, Required. Account to create site. Format: platforms/{platform}/accounts/{account_id} (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Representation of a Site.
114 &quot;domain&quot;: &quot;A String&quot;, # Domain/sub-domain of the site. Must be a valid domain complying with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and formatted as punycode [RFC 3492](https://www.ietf.org/rfc/rfc3492.txt) in case the domain contains unicode characters.
115 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a site. Format: platforms/{platform}/accounts/{account}/sites/{site}
116 &quot;state&quot;: &quot;A String&quot;, # Output only. State of a site.
117 }
118
119 x__xgafv: string, V1 error format.
120 Allowed values
121 1 - v1 error format
122 2 - v2 error format
123
124 Returns:
125 An object of the form:
126
127 { # Representation of a Site.
128 &quot;domain&quot;: &quot;A String&quot;, # Domain/sub-domain of the site. Must be a valid domain complying with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and formatted as punycode [RFC 3492](https://www.ietf.org/rfc/rfc3492.txt) in case the domain contains unicode characters.
129 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a site. Format: platforms/{platform}/accounts/{account}/sites/{site}
130 &quot;state&quot;: &quot;A String&quot;, # Output only. State of a site.
131 }</pre>
132 </div>
133
134 <div class="method">
135 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
136 <pre>Deletes a site from a specified account.
137
138 Args:
139 name: string, Required. The name of the site to delete. Format: platforms/{platform}/accounts/{account}/sites/{site} (required)
140 x__xgafv: string, V1 error format.
141 Allowed values
142 1 - v1 error format
143 2 - v2 error format
144
145 Returns:
146 An object of the form:
147
148 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
149 }</pre>
150 </div>
151
152 <div class="method">
153 <code class="details" id="get">get(name, x__xgafv=None)</code>
154 <pre>Gets a site from a specified sub-account.
155
156 Args:
157 name: string, Required. The name of the site to retrieve. Format: platforms/{platform}/accounts/{account}/sites/{site} (required)
158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
162
163 Returns:
164 An object of the form:
165
166 { # Representation of a Site.
167 &quot;domain&quot;: &quot;A String&quot;, # Domain/sub-domain of the site. Must be a valid domain complying with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and formatted as punycode [RFC 3492](https://www.ietf.org/rfc/rfc3492.txt) in case the domain contains unicode characters.
168 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a site. Format: platforms/{platform}/accounts/{account}/sites/{site}
169 &quot;state&quot;: &quot;A String&quot;, # Output only. State of a site.
170 }</pre>
171 </div>
172
173 <div class="method">
174 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
175 <pre>Lists sites for a specific account.
176
177 Args:
178 parent: string, Required. The account which owns the sites. Format: platforms/{platform}/accounts/{account} (required)
179 pageSize: integer, The maximum number of sites to include in the response, used for paging. If unspecified, at most 10000 sites will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
180 pageToken: string, A page token, received from a previous `ListSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSites` must match the call that provided the page token.
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186 Returns:
187 An object of the form:
188
189 { # Response definition for the site list rpc.
190 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token used to page through sites. To retrieve the next page of the results, set the next request&#x27;s &quot;page_token&quot; value to this.
191 &quot;sites&quot;: [ # The sites returned in this list response.
192 { # Representation of a Site.
193 &quot;domain&quot;: &quot;A String&quot;, # Domain/sub-domain of the site. Must be a valid domain complying with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and formatted as punycode [RFC 3492](https://www.ietf.org/rfc/rfc3492.txt) in case the domain contains unicode characters.
194 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of a site. Format: platforms/{platform}/accounts/{account}/sites/{site}
195 &quot;state&quot;: &quot;A String&quot;, # Output only. State of a site.
196 },
197 ],
198 }</pre>
199 </div>
200
201 <div class="method">
202 <code class="details" id="list_next">list_next()</code>
203 <pre>Retrieves the next page of results.
204
205 Args:
206 previous_request: The request for the previous page. (required)
207 previous_response: The response from the request for the previous page. (required)
208
209 Returns:
210 A request object that you can call &#x27;execute()&#x27; on to request the next
211 page. Returns None if there are no more items in the collection.
212 </pre>
213 </div>
214
215 <div class="method">
216 <code class="details" id="requestReview">requestReview(name, x__xgafv=None)</code>
217 <pre>Requests the review of a site. The site should be in REQUIRES_REVIEW or NEEDS_ATTENTION state. Note: Make sure you place an [ad tag](https://developers.google.com/adsense/platforms/direct/ad-tags) on your site before requesting a review.
218
219 Args:
220 name: string, Required. The name of the site to submit for review. Format: platforms/{platform}/accounts/{account}/sites/{site} (required)
221 x__xgafv: string, V1 error format.
222 Allowed values
223 1 - v1 error format
224 2 - v2 error format
225
226 Returns:
227 An object of the form:
228
229 { # Response definition for the site request review rpc.
230 }</pre>
231 </div>
232
233 </body></html>