blob: 36b49c6a0e7dfb4d0ae0dabdd324f037c37c4ba4 [file] [log] [blame]
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -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="adexchangebuyer2_v2beta1.html">Ad Exchange Buyer API II</a> . <a href="adexchangebuyer2_v2beta1.accounts.html">accounts</a> . <a href="adexchangebuyer2_v2beta1.accounts.clients.html">clients</a> . <a href="adexchangebuyer2_v2beta1.accounts.clients.users.html">users</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Thomas Coffee2f245372017-03-27 10:39:26 -070078 <code><a href="#get">get(accountId, clientAccountId, userId, x__xgafv=None)</a></code></p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070079<p class="firstline">Retrieves an existing client user.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#list">list(accountId, clientAccountId, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070082<p class="firstline">Lists all the known client users for a specified</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<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070087 <code><a href="#update">update(accountId, clientAccountId, userId, body=None, x__xgafv=None)</a></code></p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070088<p class="firstline">Updates an existing client user.</p>
89<h3>Method Details</h3>
90<div class="method">
Thomas Coffee2f245372017-03-27 10:39:26 -070091 <code class="details" id="get">get(accountId, clientAccountId, userId, x__xgafv=None)</code>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070092 <pre>Retrieves an existing client user.
93
94Args:
Bu Sun Kim65020912020-05-20 12:08:20 -070095 accountId: string, Numerical account ID of the client&#x27;s sponsor buyer. (required) (required)
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070096 clientAccountId: string, Numerical account ID of the client buyer
97that the user to be retrieved is associated with. (required) (required)
98 userId: string, Numerical identifier of the user to retrieve. (required) (required)
99 x__xgafv: string, V1 error format.
100 Allowed values
101 1 - v1 error format
102 2 - v2 error format
103
104Returns:
105 An object of the form:
106
107 { # A client user is created under a client buyer and has restricted access to
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108 # the Marketplace and certain other sections of the Authorized Buyers UI based
109 # on the role granted to the associated client buyer.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700110 #
111 # The only way a new client user can be created is via accepting an
112 # email invitation
113 # (see the
114 # accounts.clients.invitations.create
115 # method).
116 #
117 # All fields are required unless otherwise specified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 &quot;clientAccountId&quot;: &quot;A String&quot;, # Numerical account ID of the client buyer
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700119 # with which the user is associated; the
120 # buyer must be a client of the current sponsor buyer.
121 # The value of this field is ignored in an update operation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700122 &quot;userId&quot;: &quot;A String&quot;, # The unique numerical ID of the client user
123 # that has accepted an invitation.
124 # The value of this field is ignored in an update operation.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700125 &quot;status&quot;: &quot;A String&quot;, # The status of the client user.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700126 &quot;email&quot;: &quot;A String&quot;, # User&#x27;s email address. The value of this field
127 # is ignored in an update operation.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700128 }</pre>
129</div>
130
131<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700132 <code class="details" id="list">list(accountId, clientAccountId, pageToken=None, pageSize=None, x__xgafv=None)</code>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700133 <pre>Lists all the known client users for a specified
134sponsor buyer account ID.
135
136Args:
137 accountId: string, Numerical account ID of the sponsor buyer of the client to list users for.
138(required) (required)
139 clientAccountId: string, The account ID of the client buyer to list users for. (required)
140You must specify either a string representation of a
141numerical account identifier or the `-` character
142to list all the client users for all the clients
143of a given sponsor buyer. (required)
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700144 pageToken: string, A token identifying a page of results the server should return.
145Typically, this is the value of
146ListClientUsersResponse.nextPageToken
147returned from the previous call to the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700148accounts.clients.users.list
149method.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 pageSize: integer, Requested page size. The server may return fewer clients than requested.
151If unspecified, the server will pick an appropriate default.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700152 x__xgafv: string, V1 error format.
153 Allowed values
154 1 - v1 error format
155 2 - v2 error format
156
157Returns:
158 An object of the form:
159
160 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700161 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700162 # Pass this value in the
163 # ListClientUsersRequest.pageToken
164 # field in the subsequent call to the
165 # clients.invitations.list
166 # method to retrieve the next
167 # page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -0700168 &quot;users&quot;: [ # The returned list of client users.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700169 { # A client user is created under a client buyer and has restricted access to
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700170 # the Marketplace and certain other sections of the Authorized Buyers UI based
171 # on the role granted to the associated client buyer.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700172 #
173 # The only way a new client user can be created is via accepting an
174 # email invitation
175 # (see the
176 # accounts.clients.invitations.create
177 # method).
178 #
179 # All fields are required unless otherwise specified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700180 &quot;clientAccountId&quot;: &quot;A String&quot;, # Numerical account ID of the client buyer
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700181 # with which the user is associated; the
182 # buyer must be a client of the current sponsor buyer.
183 # The value of this field is ignored in an update operation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700184 &quot;userId&quot;: &quot;A String&quot;, # The unique numerical ID of the client user
185 # that has accepted an invitation.
186 # The value of this field is ignored in an update operation.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700187 &quot;status&quot;: &quot;A String&quot;, # The status of the client user.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700188 &quot;email&quot;: &quot;A String&quot;, # User&#x27;s email address. The value of this field
189 # is ignored in an update operation.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700190 },
191 ],
192 }</pre>
193</div>
194
195<div class="method">
196 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
197 <pre>Retrieves the next page of results.
198
199Args:
200 previous_request: The request for the previous page. (required)
201 previous_response: The response from the request for the previous page. (required)
202
203Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700204 A request object that you can call &#x27;execute()&#x27; on to request the next
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700205 page. Returns None if there are no more items in the collection.
206 </pre>
207</div>
208
209<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700210 <code class="details" id="update">update(accountId, clientAccountId, userId, body=None, x__xgafv=None)</code>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700211 <pre>Updates an existing client user.
212Only the user status can be changed on update.
213
214Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700215 accountId: string, Numerical account ID of the client&#x27;s sponsor buyer. (required) (required)
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700216 clientAccountId: string, Numerical account ID of the client buyer that the user to be retrieved
217is associated with. (required) (required)
218 userId: string, Numerical identifier of the user to retrieve. (required) (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700219 body: object, The request body.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700220 The object takes the form of:
221
222{ # A client user is created under a client buyer and has restricted access to
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700223 # the Marketplace and certain other sections of the Authorized Buyers UI based
224 # on the role granted to the associated client buyer.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700225 #
226 # The only way a new client user can be created is via accepting an
227 # email invitation
228 # (see the
229 # accounts.clients.invitations.create
230 # method).
231 #
232 # All fields are required unless otherwise specified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 &quot;clientAccountId&quot;: &quot;A String&quot;, # Numerical account ID of the client buyer
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700234 # with which the user is associated; the
235 # buyer must be a client of the current sponsor buyer.
236 # The value of this field is ignored in an update operation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700237 &quot;userId&quot;: &quot;A String&quot;, # The unique numerical ID of the client user
238 # that has accepted an invitation.
239 # The value of this field is ignored in an update operation.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700240 &quot;status&quot;: &quot;A String&quot;, # The status of the client user.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700241 &quot;email&quot;: &quot;A String&quot;, # User&#x27;s email address. The value of this field
242 # is ignored in an update operation.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700243}
244
245 x__xgafv: string, V1 error format.
246 Allowed values
247 1 - v1 error format
248 2 - v2 error format
249
250Returns:
251 An object of the form:
252
253 { # A client user is created under a client buyer and has restricted access to
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700254 # the Marketplace and certain other sections of the Authorized Buyers UI based
255 # on the role granted to the associated client buyer.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700256 #
257 # The only way a new client user can be created is via accepting an
258 # email invitation
259 # (see the
260 # accounts.clients.invitations.create
261 # method).
262 #
263 # All fields are required unless otherwise specified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700264 &quot;clientAccountId&quot;: &quot;A String&quot;, # Numerical account ID of the client buyer
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700265 # with which the user is associated; the
266 # buyer must be a client of the current sponsor buyer.
267 # The value of this field is ignored in an update operation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700268 &quot;userId&quot;: &quot;A String&quot;, # The unique numerical ID of the client user
269 # that has accepted an invitation.
270 # The value of this field is ignored in an update operation.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700271 &quot;status&quot;: &quot;A String&quot;, # The status of the client user.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700272 &quot;email&quot;: &quot;A String&quot;, # User&#x27;s email address. The value of this field
273 # is ignored in an update operation.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700274 }</pre>
275</div>
276
277</body></html>