Debian Codegraph @

docs/dyn/datamanager_v1.accountTypes.accounts.userListDirectLicenses.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="datamanager_v1.html">Data Manager API</a> . <a href="datamanager_v1.accountTypes.html">accountTypes</a> . <a href="datamanager_v1.accountTypes.accounts.html">accounts</a> . <a href="datamanager_v1.accountTypes.accounts.userListDirectLicenses.html">userListDirectLicenses</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 user list direct license. This feature is only available to data partners.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Retrieves a user list direct license. This feature is only available to data partners.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists all user list direct licenses owned by the parent account. This feature is only available to data partners.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates a user list direct license. This feature is only available to data partners.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
103 <pre>Creates a user list direct license. This feature is only available to data partners.
104
105 Args:
106 parent: string, Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID} (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # A user list direct license. This feature is only available to data partners.
111 &quot;clientAccountDisplayName&quot;: &quot;A String&quot;, # Output only. Name of client customer which the user list is being licensed to. This field is read-only.
112 &quot;clientAccountId&quot;: &quot;A String&quot;, # Immutable. ID of client customer which the user list is being licensed to.
113 &quot;clientAccountType&quot;: &quot;A String&quot;, # Immutable. Account type of client customer which the user list is being licensed to.
114 &quot;historicalPricings&quot;: [ # Output only. Pricing history of this user list license. This field is read-only.
115 { # A user list license pricing.
116 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
117 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
118 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
119 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
120 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
121 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
122 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
123 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
124 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
125 },
126 ],
127 &quot;metrics&quot;: { # Metrics related to a user list license. # Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
128 &quot;clickCount&quot;: &quot;A String&quot;, # Output only. The number of clicks for the user list license.
129 &quot;endDate&quot;: &quot;A String&quot;, # Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `start_date` is used in the filter, `end_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
130 &quot;impressionCount&quot;: &quot;A String&quot;, # Output only. The number of impressions for the user list license.
131 &quot;revenueUsdMicros&quot;: &quot;A String&quot;, # Output only. The revenue for the user list license in USD micros.
132 &quot;startDate&quot;: &quot;A String&quot;, # Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `end_date` is used in the filter, `start_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
133 },
134 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user list direct license.
135 &quot;pricing&quot;: { # A user list license pricing. # Optional. UserListDirectLicense pricing.
136 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
137 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
138 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
139 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
140 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
141 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
142 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
143 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
144 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
145 },
146 &quot;status&quot;: &quot;A String&quot;, # Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
147 &quot;userListDisplayName&quot;: &quot;A String&quot;, # Output only. Name of the user list being licensed. This field is read-only.
148 &quot;userListId&quot;: &quot;A String&quot;, # Immutable. ID of the user list being licensed.
149 }
150
151 x__xgafv: string, V1 error format.
152 Allowed values
153 1 - v1 error format
154 2 - v2 error format
155
156 Returns:
157 An object of the form:
158
159 { # A user list direct license. This feature is only available to data partners.
160 &quot;clientAccountDisplayName&quot;: &quot;A String&quot;, # Output only. Name of client customer which the user list is being licensed to. This field is read-only.
161 &quot;clientAccountId&quot;: &quot;A String&quot;, # Immutable. ID of client customer which the user list is being licensed to.
162 &quot;clientAccountType&quot;: &quot;A String&quot;, # Immutable. Account type of client customer which the user list is being licensed to.
163 &quot;historicalPricings&quot;: [ # Output only. Pricing history of this user list license. This field is read-only.
164 { # A user list license pricing.
165 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
166 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
167 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
168 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
169 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
170 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
171 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
172 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
173 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
174 },
175 ],
176 &quot;metrics&quot;: { # Metrics related to a user list license. # Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
177 &quot;clickCount&quot;: &quot;A String&quot;, # Output only. The number of clicks for the user list license.
178 &quot;endDate&quot;: &quot;A String&quot;, # Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `start_date` is used in the filter, `end_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
179 &quot;impressionCount&quot;: &quot;A String&quot;, # Output only. The number of impressions for the user list license.
180 &quot;revenueUsdMicros&quot;: &quot;A String&quot;, # Output only. The revenue for the user list license in USD micros.
181 &quot;startDate&quot;: &quot;A String&quot;, # Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `end_date` is used in the filter, `start_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
182 },
183 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user list direct license.
184 &quot;pricing&quot;: { # A user list license pricing. # Optional. UserListDirectLicense pricing.
185 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
186 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
187 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
188 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
189 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
190 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
191 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
192 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
193 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
194 },
195 &quot;status&quot;: &quot;A String&quot;, # Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
196 &quot;userListDisplayName&quot;: &quot;A String&quot;, # Output only. Name of the user list being licensed. This field is read-only.
197 &quot;userListId&quot;: &quot;A String&quot;, # Immutable. ID of the user list being licensed.
198 }</pre>
199 </div>
200
201 <div class="method">
202 <code class="details" id="get">get(name, x__xgafv=None)</code>
203 <pre>Retrieves a user list direct license. This feature is only available to data partners.
204
205 Args:
206 name: string, Required. The resource name of the user list direct license. (required)
207 x__xgafv: string, V1 error format.
208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
211
212 Returns:
213 An object of the form:
214
215 { # A user list direct license. This feature is only available to data partners.
216 &quot;clientAccountDisplayName&quot;: &quot;A String&quot;, # Output only. Name of client customer which the user list is being licensed to. This field is read-only.
217 &quot;clientAccountId&quot;: &quot;A String&quot;, # Immutable. ID of client customer which the user list is being licensed to.
218 &quot;clientAccountType&quot;: &quot;A String&quot;, # Immutable. Account type of client customer which the user list is being licensed to.
219 &quot;historicalPricings&quot;: [ # Output only. Pricing history of this user list license. This field is read-only.
220 { # A user list license pricing.
221 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
222 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
223 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
224 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
225 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
226 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
227 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
228 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
229 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
230 },
231 ],
232 &quot;metrics&quot;: { # Metrics related to a user list license. # Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
233 &quot;clickCount&quot;: &quot;A String&quot;, # Output only. The number of clicks for the user list license.
234 &quot;endDate&quot;: &quot;A String&quot;, # Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `start_date` is used in the filter, `end_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
235 &quot;impressionCount&quot;: &quot;A String&quot;, # Output only. The number of impressions for the user list license.
236 &quot;revenueUsdMicros&quot;: &quot;A String&quot;, # Output only. The revenue for the user list license in USD micros.
237 &quot;startDate&quot;: &quot;A String&quot;, # Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `end_date` is used in the filter, `start_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
238 },
239 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user list direct license.
240 &quot;pricing&quot;: { # A user list license pricing. # Optional. UserListDirectLicense pricing.
241 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
242 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
243 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
244 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
245 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
246 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
247 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
248 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
249 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
250 },
251 &quot;status&quot;: &quot;A String&quot;, # Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
252 &quot;userListDisplayName&quot;: &quot;A String&quot;, # Output only. Name of the user list being licensed. This field is read-only.
253 &quot;userListId&quot;: &quot;A String&quot;, # Immutable. ID of the user list being licensed.
254 }</pre>
255 </div>
256
257 <div class="method">
258 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
259 <pre>Lists all user list direct licenses owned by the parent account. This feature is only available to data partners.
260
261 Args:
262 parent: string, Required. The account whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID} (required)
263 filter: string, Optional. A [filter string](https://google.aip.dev/160) to apply to the list request. All fields need to be on the left hand side of each condition (for example: `user_list_id = 123`). Fields must be specified using either all [camel case](https://en.wikipedia.org/wiki/Camel_case) or all [snake case](https://en.wikipedia.org/wiki/Snake_case). Don&#x27;t use a combination of camel case and snake case. **Supported Operations:** - `AND` - `=` - `!=` - `&gt;` - `&gt;=` - `&lt;` - `&lt;=` **Unsupported Fields:** - `name` (use get method instead) - `historical_pricings` and all its subfields - `pricing.start_time` - `pricing.end_time`
264 pageSize: integer, Optional. The maximum number of licenses to return per page. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
265 pageToken: string, Optional. A page token, received from a previous `ListUserListDirectLicense` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserListDirectLicense` must match the call that provided the page token.
266 x__xgafv: string, V1 error format.
267 Allowed values
268 1 - v1 error format
269 2 - v2 error format
270
271 Returns:
272 An object of the form:
273
274 { # Response from the ListUserListDirectLicensesRequest.
275 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
276 &quot;userListDirectLicenses&quot;: [ # The licenses for the given user list in the request.
277 { # A user list direct license. This feature is only available to data partners.
278 &quot;clientAccountDisplayName&quot;: &quot;A String&quot;, # Output only. Name of client customer which the user list is being licensed to. This field is read-only.
279 &quot;clientAccountId&quot;: &quot;A String&quot;, # Immutable. ID of client customer which the user list is being licensed to.
280 &quot;clientAccountType&quot;: &quot;A String&quot;, # Immutable. Account type of client customer which the user list is being licensed to.
281 &quot;historicalPricings&quot;: [ # Output only. Pricing history of this user list license. This field is read-only.
282 { # A user list license pricing.
283 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
284 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
285 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
286 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
287 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
288 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
289 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
290 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
291 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
292 },
293 ],
294 &quot;metrics&quot;: { # Metrics related to a user list license. # Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
295 &quot;clickCount&quot;: &quot;A String&quot;, # Output only. The number of clicks for the user list license.
296 &quot;endDate&quot;: &quot;A String&quot;, # Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `start_date` is used in the filter, `end_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
297 &quot;impressionCount&quot;: &quot;A String&quot;, # Output only. The number of impressions for the user list license.
298 &quot;revenueUsdMicros&quot;: &quot;A String&quot;, # Output only. The revenue for the user list license in USD micros.
299 &quot;startDate&quot;: &quot;A String&quot;, # Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `end_date` is used in the filter, `start_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
300 },
301 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user list direct license.
302 &quot;pricing&quot;: { # A user list license pricing. # Optional. UserListDirectLicense pricing.
303 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
304 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
305 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
306 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
307 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
308 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
309 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
310 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
311 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
312 },
313 &quot;status&quot;: &quot;A String&quot;, # Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
314 &quot;userListDisplayName&quot;: &quot;A String&quot;, # Output only. Name of the user list being licensed. This field is read-only.
315 &quot;userListId&quot;: &quot;A String&quot;, # Immutable. ID of the user list being licensed.
316 },
317 ],
318 }</pre>
319 </div>
320
321 <div class="method">
322 <code class="details" id="list_next">list_next()</code>
323 <pre>Retrieves the next page of results.
324
325 Args:
326 previous_request: The request for the previous page. (required)
327 previous_response: The response from the request for the previous page. (required)
328
329 Returns:
330 A request object that you can call &#x27;execute()&#x27; on to request the next
331 page. Returns None if there are no more items in the collection.
332 </pre>
333 </div>
334
335 <div class="method">
336 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
337 <pre>Updates a user list direct license. This feature is only available to data partners.
338
339 Args:
340 name: string, Identifier. The resource name of the user list direct license. (required)
341 body: object, The request body.
342 The object takes the form of:
343
344 { # A user list direct license. This feature is only available to data partners.
345 &quot;clientAccountDisplayName&quot;: &quot;A String&quot;, # Output only. Name of client customer which the user list is being licensed to. This field is read-only.
346 &quot;clientAccountId&quot;: &quot;A String&quot;, # Immutable. ID of client customer which the user list is being licensed to.
347 &quot;clientAccountType&quot;: &quot;A String&quot;, # Immutable. Account type of client customer which the user list is being licensed to.
348 &quot;historicalPricings&quot;: [ # Output only. Pricing history of this user list license. This field is read-only.
349 { # A user list license pricing.
350 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
351 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
352 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
353 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
354 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
355 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
356 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
357 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
358 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
359 },
360 ],
361 &quot;metrics&quot;: { # Metrics related to a user list license. # Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
362 &quot;clickCount&quot;: &quot;A String&quot;, # Output only. The number of clicks for the user list license.
363 &quot;endDate&quot;: &quot;A String&quot;, # Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `start_date` is used in the filter, `end_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
364 &quot;impressionCount&quot;: &quot;A String&quot;, # Output only. The number of impressions for the user list license.
365 &quot;revenueUsdMicros&quot;: &quot;A String&quot;, # Output only. The revenue for the user list license in USD micros.
366 &quot;startDate&quot;: &quot;A String&quot;, # Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `end_date` is used in the filter, `start_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
367 },
368 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user list direct license.
369 &quot;pricing&quot;: { # A user list license pricing. # Optional. UserListDirectLicense pricing.
370 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
371 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
372 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
373 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
374 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
375 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
376 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
377 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
378 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
379 },
380 &quot;status&quot;: &quot;A String&quot;, # Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
381 &quot;userListDisplayName&quot;: &quot;A String&quot;, # Output only. Name of the user list being licensed. This field is read-only.
382 &quot;userListId&quot;: &quot;A String&quot;, # Immutable. ID of the user list being licensed.
383 }
384
385 updateMask: string, Optional. The list of fields to update. The special character `*` is not supported and an `INVALID_UPDATE_MASK` error will be thrown if used.
386 x__xgafv: string, V1 error format.
387 Allowed values
388 1 - v1 error format
389 2 - v2 error format
390
391 Returns:
392 An object of the form:
393
394 { # A user list direct license. This feature is only available to data partners.
395 &quot;clientAccountDisplayName&quot;: &quot;A String&quot;, # Output only. Name of client customer which the user list is being licensed to. This field is read-only.
396 &quot;clientAccountId&quot;: &quot;A String&quot;, # Immutable. ID of client customer which the user list is being licensed to.
397 &quot;clientAccountType&quot;: &quot;A String&quot;, # Immutable. Account type of client customer which the user list is being licensed to.
398 &quot;historicalPricings&quot;: [ # Output only. Pricing history of this user list license. This field is read-only.
399 { # A user list license pricing.
400 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
401 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
402 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
403 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
404 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
405 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
406 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
407 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
408 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
409 },
410 ],
411 &quot;metrics&quot;: { # Metrics related to a user list license. # Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call
412 &quot;clickCount&quot;: &quot;A String&quot;, # Output only. The number of clicks for the user list license.
413 &quot;endDate&quot;: &quot;A String&quot;, # Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `start_date` is used in the filter, `end_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
414 &quot;impressionCount&quot;: &quot;A String&quot;, # Output only. The number of impressions for the user list license.
415 &quot;revenueUsdMicros&quot;: &quot;A String&quot;, # Output only. The revenue for the user list license in USD micros.
416 &quot;startDate&quot;: &quot;A String&quot;, # Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If `end_date` is used in the filter, `start_date` is also required. If neither `start_date` nor `end_date` are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.
417 },
418 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the user list direct license.
419 &quot;pricing&quot;: { # A user list license pricing. # Optional. UserListDirectLicense pricing.
420 &quot;buyerApprovalState&quot;: &quot;A String&quot;, # Output only. The buyer approval state of this pricing. This field is read-only.
421 &quot;costMicros&quot;: &quot;A String&quot;, # Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`.
422 &quot;costType&quot;: &quot;A String&quot;, # Immutable. The cost type of this pricing. Can be set only in the `create` operation. Can&#x27;t be updated for an existing license.
423 &quot;currencyCode&quot;: &quot;A String&quot;, # Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.
424 &quot;endTime&quot;: &quot;A String&quot;, # Optional. End time of the pricing.
425 &quot;maxCostMicros&quot;: &quot;A String&quot;, # Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if `currency_code` is `USD`. This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to`0`, there is no cap.
426 &quot;pricingActive&quot;: True or False, # Output only. Whether this pricing is active.
427 &quot;pricingId&quot;: &quot;A String&quot;, # Output only. The ID of this pricing.
428 &quot;startTime&quot;: &quot;A String&quot;, # Output only. Start time of the pricing.
429 },
430 &quot;status&quot;: &quot;A String&quot;, # Optional. Status of UserListDirectLicense - ENABLED or DISABLED.
431 &quot;userListDisplayName&quot;: &quot;A String&quot;, # Output only. Name of the user list being licensed. This field is read-only.
432 &quot;userListId&quot;: &quot;A String&quot;, # Immutable. ID of the user list being licensed.
433 }</pre>
434 </div>
435
436 </body></html>