blob: d1a24b549774aa04b93fb64edb99499f8d5561f2 [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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="displayvideo_v1.html">Display & Video 360 API</a> . <a href="displayvideo_v1.advertisers.html">advertisers</a> . <a href="displayvideo_v1.advertisers.channels.html">channels</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="displayvideo_v1.advertisers.channels.sites.html">sites()</a></code>
79</p>
80<p class="firstline">Returns the sites Resource.</p>
81
82<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070083 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070086 <code><a href="#create">create(advertiserId, body=None, partnerId=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Creates a new channel. Returns the newly created channel if successful.</p>
88<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070089 <code><a href="#get">get(advertiserId, channelId, partnerId=None, x__xgafv=None)</a></code></p>
90<p class="firstline">Gets a channel for a partner or advertiser.</p>
91<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070092 <code><a href="#list">list(advertiserId, pageSize=None, orderBy=None, filter=None, pageToken=None, partnerId=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070093<p class="firstline">Lists channels for a partner or advertiser.</p>
94<p class="toc_element">
95 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
96<p class="firstline">Retrieves the next page of results.</p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070097<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070098 <code><a href="#patch">patch(advertiserId, channelId, body=None, partnerId=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099<p class="firstline">Updates a channel. Returns the updated channel if successful.</p>
Bu Sun Kim65020912020-05-20 12:08:20 -0700100<h3>Method Details</h3>
101<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700102 <code class="details" id="close">close()</code>
103 <pre>Close httplib2 connections.</pre>
104</div>
105
106<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700107 <code class="details" id="create">create(advertiserId, body=None, partnerId=None, x__xgafv=None)</code>
108 <pre>Creates a new channel. Returns the newly created channel if successful.
109
110Args:
111 advertiserId: string, The ID of the advertiser that owns the created channel. (required)
112 body: object, The request body.
113 The object takes the form of:
114
115{ # A single channel. Channels are custom groups of related websites and apps.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700116 &quot;channelId&quot;: &quot;A String&quot;, # Output only. The unique ID of the channel. Assigned by the system.
117 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.
118 &quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the channel.
119 &quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the channel.
120 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the channel.
121 }
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700122
123 partnerId: string, The ID of the partner that owns the created channel.
124 x__xgafv: string, V1 error format.
125 Allowed values
126 1 - v1 error format
127 2 - v2 error format
128
129Returns:
130 An object of the form:
131
132 { # A single channel. Channels are custom groups of related websites and apps.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700133 &quot;channelId&quot;: &quot;A String&quot;, # Output only. The unique ID of the channel. Assigned by the system.
134 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.
135 &quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the channel.
136 &quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the channel.
137 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the channel.
138 }</pre>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700139</div>
140
141<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 <code class="details" id="get">get(advertiserId, channelId, partnerId=None, x__xgafv=None)</code>
143 <pre>Gets a channel for a partner or advertiser.
144
145Args:
146 advertiserId: string, The ID of the advertiser that owns the fetched channel. (required)
147 channelId: string, Required. The ID of the channel to fetch. (required)
148 partnerId: string, The ID of the partner that owns the fetched channel.
149 x__xgafv: string, V1 error format.
150 Allowed values
151 1 - v1 error format
152 2 - v2 error format
153
154Returns:
155 An object of the form:
156
157 { # A single channel. Channels are custom groups of related websites and apps.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700158 &quot;channelId&quot;: &quot;A String&quot;, # Output only. The unique ID of the channel. Assigned by the system.
159 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.
160 &quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the channel.
161 &quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the channel.
162 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the channel.
163 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700164</div>
165
166<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700167 <code class="details" id="list">list(advertiserId, pageSize=None, orderBy=None, filter=None, pageToken=None, partnerId=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700168 <pre>Lists channels for a partner or advertiser.
169
170Args:
171 advertiserId: string, The ID of the advertiser that owns the channels. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700172 pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
173 orderBy: string, Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix &quot; desc&quot; should be added to the field name. Example: `displayName desc`.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700174 filter: string, Allows filtering by channel fields. Supported syntax: * Filter expressions for channel currently can only contain at most one * restriction. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `CONTAINS (:)`. * Supported fields: - `displayName` Examples: * All channels for which the display name contains &quot;google&quot;: `displayName : &quot;google&quot;`. The length of this field should be no more than 500 characters.
175 pageToken: string, A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.
176 partnerId: string, The ID of the partner that owns the channels.
Bu Sun Kim65020912020-05-20 12:08:20 -0700177 x__xgafv: string, V1 error format.
178 Allowed values
179 1 - v1 error format
180 2 - v2 error format
181
182Returns:
183 An object of the form:
184
185 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700186 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListChannels` method to retrieve the next page of results.
187 &quot;channels&quot;: [ # The list of channels. This list will be absent if empty.
Bu Sun Kim65020912020-05-20 12:08:20 -0700188 { # A single channel. Channels are custom groups of related websites and apps.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700189 &quot;channelId&quot;: &quot;A String&quot;, # Output only. The unique ID of the channel. Assigned by the system.
190 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.
191 &quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the channel.
192 &quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the channel.
193 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the channel.
194 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700195 ],
196 }</pre>
197</div>
198
199<div class="method">
200 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
201 <pre>Retrieves the next page of results.
202
203Args:
204 previous_request: The request for the previous page. (required)
205 previous_response: The response from the request for the previous page. (required)
206
207Returns:
208 A request object that you can call &#x27;execute()&#x27; on to request the next
209 page. Returns None if there are no more items in the collection.
210 </pre>
211</div>
212
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700213<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700214 <code class="details" id="patch">patch(advertiserId, channelId, body=None, partnerId=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700215 <pre>Updates a channel. Returns the updated channel if successful.
216
217Args:
218 advertiserId: string, The ID of the advertiser that owns the created channel. (required)
219 channelId: string, Output only. The unique ID of the channel. Assigned by the system. (required)
220 body: object, The request body.
221 The object takes the form of:
222
223{ # A single channel. Channels are custom groups of related websites and apps.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700224 &quot;channelId&quot;: &quot;A String&quot;, # Output only. The unique ID of the channel. Assigned by the system.
225 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.
226 &quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the channel.
227 &quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the channel.
228 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the channel.
229 }
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700230
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700231 partnerId: string, The ID of the partner that owns the created channel.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700232 updateMask: string, Required. The mask to control which fields to update.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700233 x__xgafv: string, V1 error format.
234 Allowed values
235 1 - v1 error format
236 2 - v2 error format
237
238Returns:
239 An object of the form:
240
241 { # A single channel. Channels are custom groups of related websites and apps.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700242 &quot;channelId&quot;: &quot;A String&quot;, # Output only. The unique ID of the channel. Assigned by the system.
243 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes.
244 &quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the channel.
245 &quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the channel.
246 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the channel.
247 }</pre>
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700248</div>
249
Bu Sun Kim65020912020-05-20 12:08:20 -0700250</body></html>