Debian Codegraph @

docs/dyn/displayvideo_v1.firstAndThirdPartyAudiences.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="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="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(advertiserId=None, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a FirstAndThirdPartyAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`</p>
83 <p class="toc_element">
84 <code><a href="#editCustomerMatchMembers">editCustomerMatchMembers(firstAndThirdPartyAudienceId, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Updates the member list of a Customer Match audience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`</p>
86 <p class="toc_element">
87 <code><a href="#get">get(firstAndThirdPartyAudienceId, advertiserId=None, partnerId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a first and third party audience.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(advertiserId=None, filter=None, orderBy=None, pageSize=None, pageToken=None, partnerId=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists first and third party audiences. The order is defined by the order_by parameter.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(firstAndThirdPartyAudienceId, advertiserId=None, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates an existing FirstAndThirdPartyAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(advertiserId=None, body=None, x__xgafv=None)</code>
106 <pre>Creates a FirstAndThirdPartyAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
107
108 Args:
109 body: object, The request body.
110 The object takes the form of:
111
112 { # Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.
113 &quot;activeDisplayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
114 &quot;appId&quot;: &quot;A String&quot;, # The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
115 &quot;audienceSource&quot;: &quot;A String&quot;, # Output only. The source of the audience.
116 &quot;audienceType&quot;: &quot;A String&quot;, # The type of the audience.
117 &quot;contactInfoList&quot;: { # Wrapper message for a list of contact information defining Customer Match audience members. # Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`
118 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
119 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
120 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
121 },
122 &quot;contactInfos&quot;: [ # A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn&#x27;t be greater than 500,000.
123 { # Contact information defining a Customer Match audience member.
124 &quot;countryCode&quot;: &quot;A String&quot;, # Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
125 &quot;hashedEmails&quot;: [ # A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
126 &quot;A String&quot;,
127 ],
128 &quot;hashedFirstName&quot;: &quot;A String&quot;, # SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
129 &quot;hashedLastName&quot;: &quot;A String&quot;, # SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
130 &quot;hashedPhoneNumbers&quot;: [ # A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.
131 &quot;A String&quot;,
132 ],
133 &quot;zipCodes&quot;: [ # A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
134 &quot;A String&quot;,
135 ],
136 },
137 ],
138 },
139 &quot;description&quot;: &quot;A String&quot;, # The user-provided description of the audience. Only applicable to first party audiences.
140 &quot;displayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
141 &quot;displayDesktopAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
142 &quot;displayMobileAppAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
143 &quot;displayMobileWebAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
144 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the first and third party audience.
145 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Output only. The unique ID of the first and third party audience. Assigned by the system.
146 &quot;firstAndThirdPartyAudienceType&quot;: &quot;A String&quot;, # Whether the audience is a first or third party audience.
147 &quot;gmailAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
148 &quot;membershipDurationDays&quot;: &quot;A String&quot;, # The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
149 &quot;mobileDeviceIdList&quot;: { # Wrapper message for a list of mobile device IDs defining Customer Match audience members. # Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
150 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
151 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
152 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
153 },
154 &quot;mobileDeviceIds&quot;: [ # A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn&#x27;t be greater than 500,000.
155 &quot;A String&quot;,
156 ],
157 },
158 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the first and third party audience.
159 &quot;youtubeAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
160 }
161
162 advertiserId: string, Required. The ID of the advertiser under whom the FirstAndThirdPartyAudience will be created.
163 x__xgafv: string, V1 error format.
164 Allowed values
165 1 - v1 error format
166 2 - v2 error format
167
168 Returns:
169 An object of the form:
170
171 { # Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.
172 &quot;activeDisplayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
173 &quot;appId&quot;: &quot;A String&quot;, # The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
174 &quot;audienceSource&quot;: &quot;A String&quot;, # Output only. The source of the audience.
175 &quot;audienceType&quot;: &quot;A String&quot;, # The type of the audience.
176 &quot;contactInfoList&quot;: { # Wrapper message for a list of contact information defining Customer Match audience members. # Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`
177 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
178 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
179 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
180 },
181 &quot;contactInfos&quot;: [ # A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn&#x27;t be greater than 500,000.
182 { # Contact information defining a Customer Match audience member.
183 &quot;countryCode&quot;: &quot;A String&quot;, # Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
184 &quot;hashedEmails&quot;: [ # A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
185 &quot;A String&quot;,
186 ],
187 &quot;hashedFirstName&quot;: &quot;A String&quot;, # SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
188 &quot;hashedLastName&quot;: &quot;A String&quot;, # SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
189 &quot;hashedPhoneNumbers&quot;: [ # A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.
190 &quot;A String&quot;,
191 ],
192 &quot;zipCodes&quot;: [ # A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
193 &quot;A String&quot;,
194 ],
195 },
196 ],
197 },
198 &quot;description&quot;: &quot;A String&quot;, # The user-provided description of the audience. Only applicable to first party audiences.
199 &quot;displayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
200 &quot;displayDesktopAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
201 &quot;displayMobileAppAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
202 &quot;displayMobileWebAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
203 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the first and third party audience.
204 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Output only. The unique ID of the first and third party audience. Assigned by the system.
205 &quot;firstAndThirdPartyAudienceType&quot;: &quot;A String&quot;, # Whether the audience is a first or third party audience.
206 &quot;gmailAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
207 &quot;membershipDurationDays&quot;: &quot;A String&quot;, # The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
208 &quot;mobileDeviceIdList&quot;: { # Wrapper message for a list of mobile device IDs defining Customer Match audience members. # Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
209 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
210 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
211 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
212 },
213 &quot;mobileDeviceIds&quot;: [ # A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn&#x27;t be greater than 500,000.
214 &quot;A String&quot;,
215 ],
216 },
217 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the first and third party audience.
218 &quot;youtubeAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
219 }</pre>
220 </div>
221
222 <div class="method">
223 <code class="details" id="editCustomerMatchMembers">editCustomerMatchMembers(firstAndThirdPartyAudienceId, body=None, x__xgafv=None)</code>
224 <pre>Updates the member list of a Customer Match audience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
225
226 Args:
227 firstAndThirdPartyAudienceId: string, Required. The ID of the Customer Match FirstAndThirdPartyAudience whose members will be edited. (required)
228 body: object, The request body.
229 The object takes the form of:
230
231 { # Request message for FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
232 &quot;addedContactInfoList&quot;: { # Wrapper message for a list of contact information defining Customer Match audience members. # Input only. A list of contact information to define the members to be added.
233 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
234 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
235 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
236 },
237 &quot;contactInfos&quot;: [ # A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn&#x27;t be greater than 500,000.
238 { # Contact information defining a Customer Match audience member.
239 &quot;countryCode&quot;: &quot;A String&quot;, # Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
240 &quot;hashedEmails&quot;: [ # A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
241 &quot;A String&quot;,
242 ],
243 &quot;hashedFirstName&quot;: &quot;A String&quot;, # SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
244 &quot;hashedLastName&quot;: &quot;A String&quot;, # SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
245 &quot;hashedPhoneNumbers&quot;: [ # A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.
246 &quot;A String&quot;,
247 ],
248 &quot;zipCodes&quot;: [ # A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
249 &quot;A String&quot;,
250 ],
251 },
252 ],
253 },
254 &quot;addedMobileDeviceIdList&quot;: { # Wrapper message for a list of mobile device IDs defining Customer Match audience members. # Input only. A list of mobile device IDs to define the members to be added.
255 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
256 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
257 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
258 },
259 &quot;mobileDeviceIds&quot;: [ # A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn&#x27;t be greater than 500,000.
260 &quot;A String&quot;,
261 ],
262 },
263 &quot;advertiserId&quot;: &quot;A String&quot;, # Required. The ID of the owner advertiser of the updated Customer Match FirstAndThirdPartyAudience.
264 }
265
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 { # The response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
275 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Required. The ID of the updated Customer Match FirstAndThirdPartyAudience.
276 }</pre>
277 </div>
278
279 <div class="method">
280 <code class="details" id="get">get(firstAndThirdPartyAudienceId, advertiserId=None, partnerId=None, x__xgafv=None)</code>
281 <pre>Gets a first and third party audience.
282
283 Args:
284 firstAndThirdPartyAudienceId: string, Required. The ID of the first and third party audience to fetch. (required)
285 advertiserId: string, The ID of the advertiser that has access to the fetched first and third party audience.
286 partnerId: string, The ID of the partner that has access to the fetched first and third party audience.
287 x__xgafv: string, V1 error format.
288 Allowed values
289 1 - v1 error format
290 2 - v2 error format
291
292 Returns:
293 An object of the form:
294
295 { # Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.
296 &quot;activeDisplayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
297 &quot;appId&quot;: &quot;A String&quot;, # The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
298 &quot;audienceSource&quot;: &quot;A String&quot;, # Output only. The source of the audience.
299 &quot;audienceType&quot;: &quot;A String&quot;, # The type of the audience.
300 &quot;contactInfoList&quot;: { # Wrapper message for a list of contact information defining Customer Match audience members. # Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`
301 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
302 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
303 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
304 },
305 &quot;contactInfos&quot;: [ # A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn&#x27;t be greater than 500,000.
306 { # Contact information defining a Customer Match audience member.
307 &quot;countryCode&quot;: &quot;A String&quot;, # Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
308 &quot;hashedEmails&quot;: [ # A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
309 &quot;A String&quot;,
310 ],
311 &quot;hashedFirstName&quot;: &quot;A String&quot;, # SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
312 &quot;hashedLastName&quot;: &quot;A String&quot;, # SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
313 &quot;hashedPhoneNumbers&quot;: [ # A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.
314 &quot;A String&quot;,
315 ],
316 &quot;zipCodes&quot;: [ # A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
317 &quot;A String&quot;,
318 ],
319 },
320 ],
321 },
322 &quot;description&quot;: &quot;A String&quot;, # The user-provided description of the audience. Only applicable to first party audiences.
323 &quot;displayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
324 &quot;displayDesktopAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
325 &quot;displayMobileAppAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
326 &quot;displayMobileWebAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
327 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the first and third party audience.
328 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Output only. The unique ID of the first and third party audience. Assigned by the system.
329 &quot;firstAndThirdPartyAudienceType&quot;: &quot;A String&quot;, # Whether the audience is a first or third party audience.
330 &quot;gmailAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
331 &quot;membershipDurationDays&quot;: &quot;A String&quot;, # The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
332 &quot;mobileDeviceIdList&quot;: { # Wrapper message for a list of mobile device IDs defining Customer Match audience members. # Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
333 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
334 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
335 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
336 },
337 &quot;mobileDeviceIds&quot;: [ # A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn&#x27;t be greater than 500,000.
338 &quot;A String&quot;,
339 ],
340 },
341 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the first and third party audience.
342 &quot;youtubeAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
343 }</pre>
344 </div>
345
346 <div class="method">
347 <code class="details" id="list">list(advertiserId=None, filter=None, orderBy=None, pageSize=None, pageToken=None, partnerId=None, x__xgafv=None)</code>
348 <pre>Lists first and third party audiences. The order is defined by the order_by parameter.
349
350 Args:
351 advertiserId: string, The ID of the advertiser that has access to the fetched first and third party audiences.
352 filter: string, Allows filtering by first and third party audience fields. Supported syntax: * Filter expressions for first and third party audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All first and third party audiences 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. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.
353 orderBy: string, Field by which to sort the list. Acceptable values are: * `firstAndThirdPartyAudienceId` (default) * `displayName` 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`.
354 pageSize: integer, Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
355 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 `ListFirstAndThirdPartyAudiences` method. If not specified, the first page of results will be returned.
356 partnerId: string, The ID of the partner that has access to the fetched first and third party audiences.
357 x__xgafv: string, V1 error format.
358 Allowed values
359 1 - v1 error format
360 2 - v2 error format
361
362 Returns:
363 An object of the form:
364
365 {
366 &quot;firstAndThirdPartyAudiences&quot;: [ # The list of first and third party audiences. Audience size properties will not be included. This list will be absent if empty.
367 { # Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.
368 &quot;activeDisplayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
369 &quot;appId&quot;: &quot;A String&quot;, # The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
370 &quot;audienceSource&quot;: &quot;A String&quot;, # Output only. The source of the audience.
371 &quot;audienceType&quot;: &quot;A String&quot;, # The type of the audience.
372 &quot;contactInfoList&quot;: { # Wrapper message for a list of contact information defining Customer Match audience members. # Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`
373 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
374 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
375 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
376 },
377 &quot;contactInfos&quot;: [ # A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn&#x27;t be greater than 500,000.
378 { # Contact information defining a Customer Match audience member.
379 &quot;countryCode&quot;: &quot;A String&quot;, # Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
380 &quot;hashedEmails&quot;: [ # A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
381 &quot;A String&quot;,
382 ],
383 &quot;hashedFirstName&quot;: &quot;A String&quot;, # SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
384 &quot;hashedLastName&quot;: &quot;A String&quot;, # SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
385 &quot;hashedPhoneNumbers&quot;: [ # A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.
386 &quot;A String&quot;,
387 ],
388 &quot;zipCodes&quot;: [ # A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
389 &quot;A String&quot;,
390 ],
391 },
392 ],
393 },
394 &quot;description&quot;: &quot;A String&quot;, # The user-provided description of the audience. Only applicable to first party audiences.
395 &quot;displayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
396 &quot;displayDesktopAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
397 &quot;displayMobileAppAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
398 &quot;displayMobileWebAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
399 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the first and third party audience.
400 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Output only. The unique ID of the first and third party audience. Assigned by the system.
401 &quot;firstAndThirdPartyAudienceType&quot;: &quot;A String&quot;, # Whether the audience is a first or third party audience.
402 &quot;gmailAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
403 &quot;membershipDurationDays&quot;: &quot;A String&quot;, # The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
404 &quot;mobileDeviceIdList&quot;: { # Wrapper message for a list of mobile device IDs defining Customer Match audience members. # Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
405 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
406 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
407 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
408 },
409 &quot;mobileDeviceIds&quot;: [ # A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn&#x27;t be greater than 500,000.
410 &quot;A String&quot;,
411 ],
412 },
413 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the first and third party audience.
414 &quot;youtubeAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
415 },
416 ],
417 &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 `ListFirstAndThirdPartyAudiences` method to retrieve the next page of results.
418 }</pre>
419 </div>
420
421 <div class="method">
422 <code class="details" id="list_next">list_next()</code>
423 <pre>Retrieves the next page of results.
424
425 Args:
426 previous_request: The request for the previous page. (required)
427 previous_response: The response from the request for the previous page. (required)
428
429 Returns:
430 A request object that you can call &#x27;execute()&#x27; on to request the next
431 page. Returns None if there are no more items in the collection.
432 </pre>
433 </div>
434
435 <div class="method">
436 <code class="details" id="patch">patch(firstAndThirdPartyAudienceId, advertiserId=None, body=None, updateMask=None, x__xgafv=None)</code>
437 <pre>Updates an existing FirstAndThirdPartyAudience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
438
439 Args:
440 firstAndThirdPartyAudienceId: string, Output only. The unique ID of the first and third party audience. Assigned by the system. (required)
441 body: object, The request body.
442 The object takes the form of:
443
444 { # Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.
445 &quot;activeDisplayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
446 &quot;appId&quot;: &quot;A String&quot;, # The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
447 &quot;audienceSource&quot;: &quot;A String&quot;, # Output only. The source of the audience.
448 &quot;audienceType&quot;: &quot;A String&quot;, # The type of the audience.
449 &quot;contactInfoList&quot;: { # Wrapper message for a list of contact information defining Customer Match audience members. # Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`
450 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
451 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
452 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
453 },
454 &quot;contactInfos&quot;: [ # A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn&#x27;t be greater than 500,000.
455 { # Contact information defining a Customer Match audience member.
456 &quot;countryCode&quot;: &quot;A String&quot;, # Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
457 &quot;hashedEmails&quot;: [ # A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
458 &quot;A String&quot;,
459 ],
460 &quot;hashedFirstName&quot;: &quot;A String&quot;, # SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
461 &quot;hashedLastName&quot;: &quot;A String&quot;, # SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
462 &quot;hashedPhoneNumbers&quot;: [ # A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.
463 &quot;A String&quot;,
464 ],
465 &quot;zipCodes&quot;: [ # A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
466 &quot;A String&quot;,
467 ],
468 },
469 ],
470 },
471 &quot;description&quot;: &quot;A String&quot;, # The user-provided description of the audience. Only applicable to first party audiences.
472 &quot;displayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
473 &quot;displayDesktopAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
474 &quot;displayMobileAppAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
475 &quot;displayMobileWebAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
476 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the first and third party audience.
477 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Output only. The unique ID of the first and third party audience. Assigned by the system.
478 &quot;firstAndThirdPartyAudienceType&quot;: &quot;A String&quot;, # Whether the audience is a first or third party audience.
479 &quot;gmailAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
480 &quot;membershipDurationDays&quot;: &quot;A String&quot;, # The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
481 &quot;mobileDeviceIdList&quot;: { # Wrapper message for a list of mobile device IDs defining Customer Match audience members. # Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
482 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
483 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
484 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
485 },
486 &quot;mobileDeviceIds&quot;: [ # A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn&#x27;t be greater than 500,000.
487 &quot;A String&quot;,
488 ],
489 },
490 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the first and third party audience.
491 &quot;youtubeAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
492 }
493
494 advertiserId: string, Required. The ID of the owner advertiser of the updated FirstAndThirdPartyAudience.
495 updateMask: string, Required. The mask to control which fields to update. Updates are only supported for the following fields: * `displayName` * `description` * `membershipDurationDays`
496 x__xgafv: string, V1 error format.
497 Allowed values
498 1 - v1 error format
499 2 - v2 error format
500
501 Returns:
502 An object of the form:
503
504 { # Describes a first or third party audience list used for targeting. First party audiences are created via usage of client data. Third party audiences are provided by Third Party data providers and can only be licensed to customers.
505 &quot;activeDisplayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network in the past month. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
506 &quot;appId&quot;: &quot;A String&quot;, # The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
507 &quot;audienceSource&quot;: &quot;A String&quot;, # Output only. The source of the audience.
508 &quot;audienceType&quot;: &quot;A String&quot;, # The type of the audience.
509 &quot;contactInfoList&quot;: { # Wrapper message for a list of contact information defining Customer Match audience members. # Input only. A list of contact information to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_CONTACT_INFO`
510 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
511 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
512 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
513 },
514 &quot;contactInfos&quot;: [ # A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn&#x27;t be greater than 500,000.
515 { # Contact information defining a Customer Match audience member.
516 &quot;countryCode&quot;: &quot;A String&quot;, # Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
517 &quot;hashedEmails&quot;: [ # A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
518 &quot;A String&quot;,
519 ],
520 &quot;hashedFirstName&quot;: &quot;A String&quot;, # SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
521 &quot;hashedLastName&quot;: &quot;A String&quot;, # SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
522 &quot;hashedPhoneNumbers&quot;: [ # A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code.
523 &quot;A String&quot;,
524 ],
525 &quot;zipCodes&quot;: [ # A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
526 &quot;A String&quot;,
527 ],
528 },
529 ],
530 },
531 &quot;description&quot;: &quot;A String&quot;, # The user-provided description of the audience. Only applicable to first party audiences.
532 &quot;displayAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for the Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only returned in GET request.
533 &quot;displayDesktopAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
534 &quot;displayMobileAppAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
535 &quot;displayMobileWebAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
536 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the first and third party audience.
537 &quot;firstAndThirdPartyAudienceId&quot;: &quot;A String&quot;, # Output only. The unique ID of the first and third party audience. Assigned by the system.
538 &quot;firstAndThirdPartyAudienceType&quot;: &quot;A String&quot;, # Whether the audience is a first or third party audience.
539 &quot;gmailAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
540 &quot;membershipDurationDays&quot;: &quot;A String&quot;, # The duration in days that an entry remains in the audience after the qualifying event. If the audience has no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and less than or equal to 540. Only applicable to first party audiences. This field is required if one of the following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`
541 &quot;mobileDeviceIdList&quot;: { # Wrapper message for a list of mobile device IDs defining Customer Match audience members. # Input only. A list of mobile device IDs to define the initial audience members. Only applicable to audience_type `CUSTOMER_MATCH_DEVICE_ID`
542 &quot;consent&quot;: { # User consent status. # Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error.
543 &quot;adPersonalization&quot;: &quot;A String&quot;, # Represents consent for ad personalization.
544 &quot;adUserData&quot;: &quot;A String&quot;, # Represents consent for ad user data.
545 },
546 &quot;mobileDeviceIds&quot;: [ # A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn&#x27;t be greater than 500,000.
547 &quot;A String&quot;,
548 ],
549 },
550 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the first and third party audience.
551 &quot;youtubeAudienceSize&quot;: &quot;A String&quot;, # Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two significant digits. Only applicable to first party audiences. Only returned in GET request.
552 }</pre>
553 </div>
554
555 </body></html>