@getlatedev/node 0.2.1741 → 0.2.1742

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1741",
39
+ version: "0.2.1742",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1741",
8
+ version: "0.2.1742",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1741",
3
+ "version": "0.2.1742",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20905,10 +20905,11 @@ export const deleteAdAudience = <ThrowOnError extends boolean = false>(options:
20905
20905
  *
20906
20906
  * ### Large lists
20907
20907
  *
20908
- * Send lists over 10,000 people as several requests to the same audience: each one adds to it, except on LinkedIn.
20908
+ * Send lists over 10,000 people as several requests to the same audience: each one adds to it.
20909
20909
  *
20910
20910
  * - **TikTok and Pinterest**: the first upload creates the audience on the platform, later uploads add to it. TikTok allows 24 updates per audience per day.
20911
- * - **LinkedIn**: each upload replaces the whole list (a list-upload segment holds one list), so send the full list in one request.
20911
+ * - **LinkedIn**: LinkedIn takes a list as one file, so Zernio keeps the hashed emails sent to each list and uploads the whole list about a minute after the requests stop (every 15 minutes while they keep coming).
20912
+ * - **LinkedIn limits**: a list holds at most 300,000 contacts (more returns 422 and changes nothing). LinkedIn matches each upload in up to 48 hours. A list last uploaded before 2026-11-23 starts again from its next upload.
20912
20913
  *
20913
20914
  * ### Reddit
20914
20915
  *
@@ -20930,13 +20931,14 @@ export const addUsersToAdAudience = <ThrowOnError extends boolean = false>(optio
20930
20931
 
20931
20932
  /**
20932
20933
  * Remove users from audience
20933
- * Removes people from a Meta or Reddit customer list audience. Same body as
20934
+ * Removes people from a Meta, Reddit or LinkedIn customer list audience. Same body as
20934
20935
  * `POST /v1/ads/audiences/{audienceId}/users`: plaintext keys are normalized and SHA-256 hashed
20935
20936
  * exactly like an upload and hashed keys are sent as is, so a row removes the person it added.
20936
20937
  *
20937
- * Meta and Reddit only, customer_list only. Every other platform returns 422 with code `feature_not_available`,
20938
- * and every other audience type returns 422. Max 10,000 users per request. The platform applies the removal
20939
- * asynchronously, so the audience size does not drop immediately. On Reddit `invalidEntrySamples` is always empty.
20938
+ * - Meta, Reddit and LinkedIn customer_list audiences only. Every other platform returns 422 with code `feature_not_available`, and every other audience type returns 422.
20939
+ * - Max 10,000 users per request. The platform applies the removal asynchronously, so the audience size does not drop immediately.
20940
+ * - LinkedIn removes them from the list Zernio keeps and uploads what is left about a minute later.
20941
+ * - On Reddit `invalidEntrySamples` is always empty.
20940
20942
  *
20941
20943
  */
20942
20944
  export const removeUsersFromAdAudience = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RemoveUsersFromAdAudienceData, ThrowOnError>) => {