blob: 5f5542add8f0a78e1585f764d2adc40616ac73ac [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.firstAndThirdPartyAudiences.html">firstAndThirdPartyAudiences</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#get">get(firstAndThirdPartyAudienceId, advertiserId=None, partnerId=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Gets a first and third party audience.</p>
80<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070081 <code><a href="#list">list(pageToken=None, pageSize=None, advertiserId=None, orderBy=None, partnerId=None, filter=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070082<p class="firstline">Lists first and third party audiences.</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(firstAndThirdPartyAudienceId, advertiserId=None, partnerId=None, x__xgafv=None)</code>
89 <pre>Gets a first and third party audience.
90
91Args:
92 firstAndThirdPartyAudienceId: string, Required. The ID of the first and third party audience to fetch. (required)
93 advertiserId: string, The ID of the advertiser that has access to the fetched first and
94third party audience.
95 partnerId: string, The ID of the partner that has access to the fetched first and
96third party audience.
97 x__xgafv: string, V1 error format.
98 Allowed values
99 1 - v1 error format
100 2 - v2 error format
101
102Returns:
103 An object of the form:
104
105 { # Describes a first or third party audience list used for targeting.
106 # First party audiences are created via usage of client data.
107 # Third party audiences are provided by Third Party data providers and can only
108 # be licensed to customers.
109 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Output only. The unique ID of the first and third party audience. Assigned by the
110 # system.
111 &quot;firstAndThirdPartyAudienceType&quot;: &quot;A String&quot;, # Output only. Whether the audience is a first or third party audience.
112 # .
113 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the first and third party audience.
114 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the first and third party audience.
115 # .
116 }</pre>
117</div>
118
119<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700120 <code class="details" id="list">list(pageToken=None, pageSize=None, advertiserId=None, orderBy=None, partnerId=None, filter=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700121 <pre>Lists first and third party audiences.
122
123The order is defined by the
124order_by parameter.
125
126Args:
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700127 pageToken: string, A token identifying a page of results the server should return.
128Typically, this is the value of
129next_page_token
130returned from the previous call to `ListFirstAndThirdPartyAudiences`
131method. If not specified, the first page of results will be returned.
132 pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will
133default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
134is specified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700135 advertiserId: string, The ID of the advertiser that has access to the fetched first and
136third party audiences.
137 orderBy: string, Field by which to sort the list.
138Acceptable values are:
139
140* `firstAndThirdPartyAudienceId` (default)
141* `displayName`
142
143The default sorting order is ascending. To specify descending order for
144a field, a suffix &quot;desc&quot; should be added to the field name. Example:
145`displayName desc`.
146 partnerId: string, The ID of the partner that has access to the fetched first and
147third party audiences.
148 filter: string, Allows filtering by first and third party audience fields.
149
150Supported syntax:
151
152* Filter expressions for first and third party audiences currently can
153only contain at most one restriction.
154* A restriction has the form of `{field} {operator} {value}`.
155* The operator must be `CONTAINS (:)`.
156* Supported fields:
157 - `displayName`
158
159Examples:
160
161* All first and third party audiences for which the display name contains
162&quot;Google&quot;: `displayName : &quot;Google&quot;`.
163
164The length of this field should be no more than 500 characters.
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 x__xgafv: string, V1 error format.
166 Allowed values
167 1 - v1 error format
168 2 - v2 error format
169
170Returns:
171 An object of the form:
172
173 {
174 &quot;firstAndThirdPartyAudiences&quot;: [ # The list of first and third party audiences. Audience size properties will
175 # not be included.
176 #
177 # This list will be absent if empty.
178 { # Describes a first or third party audience list used for targeting.
179 # First party audiences are created via usage of client data.
180 # Third party audiences are provided by Third Party data providers and can only
181 # be licensed to customers.
182 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Output only. The unique ID of the first and third party audience. Assigned by the
183 # system.
184 &quot;firstAndThirdPartyAudienceType&quot;: &quot;A String&quot;, # Output only. Whether the audience is a first or third party audience.
185 # .
186 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the first and third party audience.
187 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the first and third party audience.
188 # .
189 },
190 ],
191 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results.
192 # Pass this value in the
193 # page_token
194 # field in the subsequent call to `ListFirstAndThirdPartyAudiences` method to
195 # retrieve the next page of results.
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
213</body></html>