Debian Codegraph @

docs/dyn/adsense_v2.accounts.adclients.customchannels.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> . <a href="adsense_v2.accounts.adclients.html">adclients</a> . <a href="adsense_v2.accounts.adclients.customchannels.html">customchannels</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 custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.</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 custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets information about the selected custom channel.</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 all the custom channels available in an ad client.</p>
92 <p class="toc_element">
93 <code><a href="#listLinkedAdUnits">listLinkedAdUnits(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists all the ad units available for a custom channel.</p>
95 <p class="toc_element">
96 <code><a href="#listLinkedAdUnits_next">listLinkedAdUnits_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#list_next">list_next()</a></code></p>
100 <p class="firstline">Retrieves the next page of results.</p>
101 <p class="toc_element">
102 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="close">close()</code>
107 <pre>Close httplib2 connections.</pre>
108 </div>
109
110 <div class="method">
111 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
112 <pre>Creates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.
113
114 Args:
115 parent: string, Required. The ad client to create a custom channel under. Format: accounts/{account}/adclients/{adclient} (required)
116 body: object, The request body.
117 The object takes the form of:
118
119 { # Representation of a custom channel.
120 &quot;active&quot;: True or False, # Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.
121 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the custom channel.
122 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
123 &quot;reportingDimensionId&quot;: &quot;A String&quot;, # Output only. Unique ID of the custom channel as used in the `CUSTOM_CHANNEL_ID` reporting dimension.
124 }
125
126 x__xgafv: string, V1 error format.
127 Allowed values
128 1 - v1 error format
129 2 - v2 error format
130
131 Returns:
132 An object of the form:
133
134 { # Representation of a custom channel.
135 &quot;active&quot;: True or False, # Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.
136 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the custom channel.
137 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
138 &quot;reportingDimensionId&quot;: &quot;A String&quot;, # Output only. Unique ID of the custom channel as used in the `CUSTOM_CHANNEL_ID` reporting dimension.
139 }</pre>
140 </div>
141
142 <div class="method">
143 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
144 <pre>Deletes a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.
145
146 Args:
147 name: string, Required. Name of the custom channel to delete. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel} (required)
148 x__xgafv: string, V1 error format.
149 Allowed values
150 1 - v1 error format
151 2 - v2 error format
152
153 Returns:
154 An object of the form:
155
156 { # 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); }
157 }</pre>
158 </div>
159
160 <div class="method">
161 <code class="details" id="get">get(name, x__xgafv=None)</code>
162 <pre>Gets information about the selected custom channel.
163
164 Args:
165 name: string, Required. Name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel} (required)
166 x__xgafv: string, V1 error format.
167 Allowed values
168 1 - v1 error format
169 2 - v2 error format
170
171 Returns:
172 An object of the form:
173
174 { # Representation of a custom channel.
175 &quot;active&quot;: True or False, # Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.
176 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the custom channel.
177 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
178 &quot;reportingDimensionId&quot;: &quot;A String&quot;, # Output only. Unique ID of the custom channel as used in the `CUSTOM_CHANNEL_ID` reporting dimension.
179 }</pre>
180 </div>
181
182 <div class="method">
183 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
184 <pre>Lists all the custom channels available in an ad client.
185
186 Args:
187 parent: string, Required. The ad client which owns the collection of custom channels. Format: accounts/{account}/adclients/{adclient} (required)
188 pageSize: integer, The maximum number of custom channels to include in the response, used for paging. If unspecified, at most 10000 custom channels will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
189 pageToken: string, A page token, received from a previous `ListCustomChannels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomChannels` must match the call that provided the page token.
190 x__xgafv: string, V1 error format.
191 Allowed values
192 1 - v1 error format
193 2 - v2 error format
194
195 Returns:
196 An object of the form:
197
198 { # Response definition for the custom channel list rpc.
199 &quot;customChannels&quot;: [ # The custom channels returned in this list response.
200 { # Representation of a custom channel.
201 &quot;active&quot;: True or False, # Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.
202 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the custom channel.
203 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
204 &quot;reportingDimensionId&quot;: &quot;A String&quot;, # Output only. Unique ID of the custom channel as used in the `CUSTOM_CHANNEL_ID` reporting dimension.
205 },
206 ],
207 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token used to page through alerts. To retrieve the next page of the results, set the next request&#x27;s &quot;page_token&quot; value to this.
208 }</pre>
209 </div>
210
211 <div class="method">
212 <code class="details" id="listLinkedAdUnits">listLinkedAdUnits(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
213 <pre>Lists all the ad units available for a custom channel.
214
215 Args:
216 parent: string, Required. The custom channel which owns the collection of ad units. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel} (required)
217 pageSize: integer, The maximum number of ad units to include in the response, used for paging. If unspecified, at most 10000 ad units will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.
218 pageToken: string, A page token, received from a previous `ListLinkedAdUnits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLinkedAdUnits` must match the call that provided the page token.
219 x__xgafv: string, V1 error format.
220 Allowed values
221 1 - v1 error format
222 2 - v2 error format
223
224 Returns:
225 An object of the form:
226
227 { # Response definition for the ad units linked to a custom channel list rpc.
228 &quot;adUnits&quot;: [ # The ad units returned in the list response.
229 { # Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.
230 &quot;contentAdsSettings&quot;: { # Settings specific to content ads (AFC). # Required. Settings specific to content ads (AFC).
231 &quot;size&quot;: &quot;A String&quot;, # Required. Size of the ad unit. e.g. &quot;728x90&quot;, &quot;1x3&quot; (for responsive ad units).
232 &quot;type&quot;: &quot;A String&quot;, # Required. Type of the ad unit.
233 },
234 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the ad unit, as provided when the ad unit was created.
235 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}
236 &quot;reportingDimensionId&quot;: &quot;A String&quot;, # Output only. Unique ID of the ad unit as used in the `AD_UNIT_ID` reporting dimension.
237 &quot;state&quot;: &quot;A String&quot;, # Required. State of the ad unit.
238 },
239 ],
240 &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token used to page through ad units. To retrieve the next page of the results, set the next request&#x27;s &quot;page_token&quot; value to this.
241 }</pre>
242 </div>
243
244 <div class="method">
245 <code class="details" id="listLinkedAdUnits_next">listLinkedAdUnits_next()</code>
246 <pre>Retrieves the next page of results.
247
248 Args:
249 previous_request: The request for the previous page. (required)
250 previous_response: The response from the request for the previous page. (required)
251
252 Returns:
253 A request object that you can call &#x27;execute()&#x27; on to request the next
254 page. Returns None if there are no more items in the collection.
255 </pre>
256 </div>
257
258 <div class="method">
259 <code class="details" id="list_next">list_next()</code>
260 <pre>Retrieves the next page of results.
261
262 Args:
263 previous_request: The request for the previous page. (required)
264 previous_response: The response from the request for the previous page. (required)
265
266 Returns:
267 A request object that you can call &#x27;execute()&#x27; on to request the next
268 page. Returns None if there are no more items in the collection.
269 </pre>
270 </div>
271
272 <div class="method">
273 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
274 <pre>Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by [AdSense for Platforms](https://developers.google.com/adsense/platforms/) publishers. Contact your account manager if you need to use this method.
275
276 Args:
277 name: string, Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel} (required)
278 body: object, The request body.
279 The object takes the form of:
280
281 { # Representation of a custom channel.
282 &quot;active&quot;: True or False, # Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.
283 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the custom channel.
284 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
285 &quot;reportingDimensionId&quot;: &quot;A String&quot;, # Output only. Unique ID of the custom channel as used in the `CUSTOM_CHANNEL_ID` reporting dimension.
286 }
287
288 updateMask: string, The list of fields to update. If empty, a full update is performed.
289 x__xgafv: string, V1 error format.
290 Allowed values
291 1 - v1 error format
292 2 - v2 error format
293
294 Returns:
295 An object of the form:
296
297 { # Representation of a custom channel.
298 &quot;active&quot;: True or False, # Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.
299 &quot;displayName&quot;: &quot;A String&quot;, # Required. Display name of the custom channel.
300 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
301 &quot;reportingDimensionId&quot;: &quot;A String&quot;, # Output only. Unique ID of the custom channel as used in the `CUSTOM_CHANNEL_ID` reporting dimension.
302 }</pre>
303 </div>
304
305 </body></html>