Debian Codegraph @

docs/dyn/adsense_v2.accounts.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="adsense_v2.html">AdSense Management API</a> . <a href="adsense_v2.accounts.html">accounts</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="adsense_v2.accounts.adclients.html">adclients()</a></code>
79 </p>
80 <p class="firstline">Returns the adclients Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="adsense_v2.accounts.alerts.html">alerts()</a></code>
84 </p>
85 <p class="firstline">Returns the alerts Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="adsense_v2.accounts.payments.html">payments()</a></code>
89 </p>
90 <p class="firstline">Returns the payments Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="adsense_v2.accounts.policyIssues.html">policyIssues()</a></code>
94 </p>
95 <p class="firstline">Returns the policyIssues Resource.</p>
96
97 <p class="toc_element">
98 <code><a href="adsense_v2.accounts.reports.html">reports()</a></code>
99 </p>
100 <p class="firstline">Returns the reports Resource.</p>
101
102 <p class="toc_element">
103 <code><a href="adsense_v2.accounts.sites.html">sites()</a></code>
104 </p>
105 <p class="firstline">Returns the sites Resource.</p>
106
107 <p class="toc_element">
108 <code><a href="#close">close()</a></code></p>
109 <p class="firstline">Close httplib2 connections.</p>
110 <p class="toc_element">
111 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
112 <p class="firstline">Gets information about the selected AdSense account.</p>
113 <p class="toc_element">
114 <code><a href="#getAdBlockingRecoveryTag">getAdBlockingRecoveryTag(name, x__xgafv=None)</a></code></p>
115 <p class="firstline">Gets the ad blocking recovery tag of an account.</p>
116 <p class="toc_element">
117 <code><a href="#list">list(pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
118 <p class="firstline">Lists all accounts available to this user.</p>
119 <p class="toc_element">
120 <code><a href="#listChildAccounts">listChildAccounts(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
121 <p class="firstline">Lists all accounts directly managed by the given AdSense account.</p>
122 <p class="toc_element">
123 <code><a href="#listChildAccounts_next">listChildAccounts_next()</a></code></p>
124 <p class="firstline">Retrieves the next page of results.</p>
125 <p class="toc_element">
126 <code><a href="#list_next">list_next()</a></code></p>
127 <p class="firstline">Retrieves the next page of results.</p>
128 <h3>Method Details</h3>
129 <div class="method">
130 <code class="details" id="close">close()</code>
131 <pre>Close httplib2 connections.</pre>
132 </div>
133
134 <div class="method">
135 <code class="details" id="get">get(name, x__xgafv=None)</code>
136 <pre>Gets information about the selected AdSense account.
137
138 Args:
139 name: string, Required. Account to get information about. Format: accounts/{account} (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 { # Representation of an account.
149 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of the account.
150 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of this account.
151 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the account. Format: accounts/pub-[0-9]+
152 &quot;pendingTasks&quot;: [ # Output only. Outstanding tasks that need to be completed as part of the sign-up process for a new account. e.g. &quot;billing-profile-creation&quot;, &quot;phone-pin-verification&quot;.
153 &quot;A String&quot;,
154 ],
155 &quot;premium&quot;: True or False, # Output only. Whether this account is premium. Premium accounts have access to additional spam-related metrics.
156 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the account.
157 &quot;timeZone&quot;: { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # The account time zone, as used by reporting. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725).
158 &quot;id&quot;: &quot;A String&quot;, # IANA Time Zone Database time zone. For example &quot;America/New_York&quot;.
159 &quot;version&quot;: &quot;A String&quot;, # Optional. IANA Time Zone Database version number. For example &quot;2019a&quot;.
160 },
161 }</pre>
162 </div>
163
164 <div class="method">
165 <code class="details" id="getAdBlockingRecoveryTag">getAdBlockingRecoveryTag(name, x__xgafv=None)</code>
166 <pre>Gets the ad blocking recovery tag of an account.
167
168 Args:
169 name: string, Required. The name of the account to get the tag for. Format: accounts/{account} (required)
170 x__xgafv: string, V1 error format.
171 Allowed values
172 1 - v1 error format
173 2 - v2 error format
174
175 Returns:
176 An object of the form:
177
178 { # Representation of an ad blocking recovery tag. See https://support.google.com/adsense/answer/11575177.
179 &quot;errorProtectionCode&quot;: &quot;A String&quot;, # Error protection code that can be used in conjunction with the tag. It&#x27;ll display a message to users if an [ad blocking extension blocks their access to your site](https://support.google.com/adsense/answer/11575480).
180 &quot;tag&quot;: &quot;A String&quot;, # The ad blocking recovery tag. Note that the message generated by the tag can be blocked by an ad blocking extension. If this is not your desired outcome, then you&#x27;ll need to use it in conjunction with the error protection code.
181 }</pre>
182 </div>
183
184 <div class="method">
185 <code class="details" id="list">list(pageSize=None, pageToken=None, x__xgafv=None)</code>
186 <pre>Lists all accounts available to this user.
187
188 Args:
189 pageSize: integer, The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
190 pageToken: string, A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token.
191 x__xgafv: string, V1 error format.
192 Allowed values
193 1 - v1 error format
194 2 - v2 error format
195
196 Returns:
197 An object of the form:
198
199 { # Response definition for the account list rpc.
200 &quot;accounts&quot;: [ # The accounts returned in this list response.
201 { # Representation of an account.
202 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of the account.
203 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of this account.
204 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the account. Format: accounts/pub-[0-9]+
205 &quot;pendingTasks&quot;: [ # Output only. Outstanding tasks that need to be completed as part of the sign-up process for a new account. e.g. &quot;billing-profile-creation&quot;, &quot;phone-pin-verification&quot;.
206 &quot;A String&quot;,
207 ],
208 &quot;premium&quot;: True or False, # Output only. Whether this account is premium. Premium accounts have access to additional spam-related metrics.
209 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the account.
210 &quot;timeZone&quot;: { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # The account time zone, as used by reporting. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725).
211 &quot;id&quot;: &quot;A String&quot;, # IANA Time Zone Database time zone. For example &quot;America/New_York&quot;.
212 &quot;version&quot;: &quot;A String&quot;, # Optional. IANA Time Zone Database version number. For example &quot;2019a&quot;.
213 },
214 },
215 ],
216 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token used to page through accounts. To retrieve the next page of the results, set the next request&#x27;s &quot;page_token&quot; value to this.
217 }</pre>
218 </div>
219
220 <div class="method">
221 <code class="details" id="listChildAccounts">listChildAccounts(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
222 <pre>Lists all accounts directly managed by the given AdSense account.
223
224 Args:
225 parent: string, Required. The parent account, which owns the child accounts. Format: accounts/{account} (required)
226 pageSize: integer, The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
227 pageToken: string, A page token, received from a previous `ListChildAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListChildAccounts` must match the call that provided the page token.
228 x__xgafv: string, V1 error format.
229 Allowed values
230 1 - v1 error format
231 2 - v2 error format
232
233 Returns:
234 An object of the form:
235
236 { # Response definition for the child account list rpc.
237 &quot;accounts&quot;: [ # The accounts returned in this list response.
238 { # Representation of an account.
239 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Creation time of the account.
240 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Display name of this account.
241 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the account. Format: accounts/pub-[0-9]+
242 &quot;pendingTasks&quot;: [ # Output only. Outstanding tasks that need to be completed as part of the sign-up process for a new account. e.g. &quot;billing-profile-creation&quot;, &quot;phone-pin-verification&quot;.
243 &quot;A String&quot;,
244 ],
245 &quot;premium&quot;: True or False, # Output only. Whether this account is premium. Premium accounts have access to additional spam-related metrics.
246 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the account.
247 &quot;timeZone&quot;: { # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). # The account time zone, as used by reporting. For more information, see [changing the time zone of your reports](https://support.google.com/adsense/answer/9830725).
248 &quot;id&quot;: &quot;A String&quot;, # IANA Time Zone Database time zone. For example &quot;America/New_York&quot;.
249 &quot;version&quot;: &quot;A String&quot;, # Optional. IANA Time Zone Database version number. For example &quot;2019a&quot;.
250 },
251 },
252 ],
253 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token used to page through accounts. To retrieve the next page of the results, set the next request&#x27;s &quot;page_token&quot; value to this.
254 }</pre>
255 </div>
256
257 <div class="method">
258 <code class="details" id="listChildAccounts_next">listChildAccounts_next()</code>
259 <pre>Retrieves the next page of results.
260
261 Args:
262 previous_request: The request for the previous page. (required)
263 previous_response: The response from the request for the previous page. (required)
264
265 Returns:
266 A request object that you can call &#x27;execute()&#x27; on to request the next
267 page. Returns None if there are no more items in the collection.
268 </pre>
269 </div>
270
271 <div class="method">
272 <code class="details" id="list_next">list_next()</code>
273 <pre>Retrieves the next page of results.
274
275 Args:
276 previous_request: The request for the previous page. (required)
277 previous_response: The response from the request for the previous page. (required)
278
279 Returns:
280 A request object that you can call &#x27;execute()&#x27; on to request the next
281 page. Returns None if there are no more items in the collection.
282 </pre>
283 </div>
284
285 </body></html>