blob: 41719e8fcd9bf5457501ba67cf3cee770eb02361 [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">
78 <code><a href="#get">get(advertiserId, channelId, partnerId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Gets a channel for a partner or advertiser.</p>
80<p class="toc_element">
81 <code><a href="#list">list(advertiserId, orderBy=None, partnerId=None, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Lists channels for a partner or advertiser.</p>
83<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
88 <code class="details" id="get">get(advertiserId, channelId, partnerId=None, x__xgafv=None)</code>
89 <pre>Gets a channel for a partner or advertiser.
90
91Args:
92 advertiserId: string, The ID of the advertiser that owns the fetched channel. (required)
93 channelId: string, Required. The ID of the channel to fetch. (required)
94 partnerId: string, The ID of the partner that owns the fetched channel.
95 x__xgafv: string, V1 error format.
96 Allowed values
97 1 - v1 error format
98 2 - v2 error format
99
100Returns:
101 An object of the form:
102
103 { # A single channel. Channels are custom groups of related websites and apps.
Bu Sun Kim65020912020-05-20 12:08:20 -0700104 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the channel.
105 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the channel.
106 # Must be UTF-8 encoded with a maximum length of 240 bytes.
107 &quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the channel.
108 &quot;channelId&quot;: &quot;A String&quot;, # Output only. The unique ID of the channel. Assigned by the system.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700109 &quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the channel.
Bu Sun Kim65020912020-05-20 12:08:20 -0700110 }</pre>
111</div>
112
113<div class="method">
114 <code class="details" id="list">list(advertiserId, orderBy=None, partnerId=None, filter=None, pageToken=None, pageSize=None, x__xgafv=None)</code>
115 <pre>Lists channels for a partner or advertiser.
116
117Args:
118 advertiserId: string, The ID of the advertiser that owns the channels. (required)
119 orderBy: string, Field by which to sort the list.
120Acceptable values are:
121
122* `displayName` (default)
123* `channelId`
124
125The default sorting order is ascending. To specify descending order for a
126field, a suffix &quot; desc&quot; should be added to the field name. Example:
127`displayName desc`.
128 partnerId: string, The ID of the partner that owns the channels.
129 filter: string, Allows filtering by channel fields.
130
131Supported syntax:
132
133* Filter expressions for channel currently can only contain at most one
134* restriction.
135* A restriction has the form of `{field} {operator} {value}`.
136* The operator must be `CONTAINS (:)`.
137* Supported fields:
138 - `displayName`
139
140Examples:
141
142* All channels for which the display name contains &quot;google&quot;:
143`displayName : &quot;google&quot;`.
144
145The length of this field should be no more than 500 characters.
146 pageToken: string, A token identifying a page of results the server should return.
147Typically, this is the value of
148next_page_token returned from the
149previous call to `ListChannels` method. If not specified, the first page
150of results will be returned.
151 pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will
152default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
153is specified.
154 x__xgafv: string, V1 error format.
155 Allowed values
156 1 - v1 error format
157 2 - v2 error format
158
159Returns:
160 An object of the form:
161
162 {
163 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results.
164 # Pass this value in the page_token field
165 # in the subsequent call to `ListChannels` method to retrieve the next page
166 # of results.
167 &quot;channels&quot;: [ # The list of channels.
168 #
169 # This list will be absent if empty.
170 { # A single channel. Channels are custom groups of related websites and apps.
Bu Sun Kim65020912020-05-20 12:08:20 -0700171 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the channel.
172 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the channel.
173 # Must be UTF-8 encoded with a maximum length of 240 bytes.
174 &quot;partnerId&quot;: &quot;A String&quot;, # The ID of the partner that owns the channel.
175 &quot;channelId&quot;: &quot;A String&quot;, # Output only. The unique ID of the channel. Assigned by the system.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700176 &quot;advertiserId&quot;: &quot;A String&quot;, # The ID of the advertiser that owns the channel.
Bu Sun Kim65020912020-05-20 12:08:20 -0700177 },
178 ],
179 }</pre>
180</div>
181
182<div class="method">
183 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
184 <pre>Retrieves the next page of results.
185
186Args:
187 previous_request: The request for the previous page. (required)
188 previous_response: The response from the request for the previous page. (required)
189
190Returns:
191 A request object that you can call &#x27;execute()&#x27; on to request the next
192 page. Returns None if there are no more items in the collection.
193 </pre>
194</div>
195
196</body></html>