@zernio/node 0.2.1042 → 0.2.1044

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.d.mts CHANGED
@@ -11587,7 +11587,7 @@ type TargetingSpec = {
11587
11587
  }>;
11588
11588
  };
11589
11589
  /**
11590
- * Minimum age. Applied on Meta, TikTok and Pinterest; rejected with 400 on Google, LinkedIn, X and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
11590
+ * Minimum age. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. LinkedIn rounds out to its buckets (18-24, 25-34, 35-54, 55+) and has no under-18 audience; X rounds out to the narrowest of its fixed ranges (e.g. 25-34 becomes 25-49, 18-65 becomes 18+). Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
11591
11591
  */
11592
11592
  ageMin?: number;
11593
11593
  /**
@@ -11595,7 +11595,7 @@ type TargetingSpec = {
11595
11595
  */
11596
11596
  ageMax?: number;
11597
11597
  /**
11598
- * Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok and Pinterest; rejected with 400 on Google, LinkedIn, X and OpenAI.
11598
+ * Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI.
11599
11599
  */
11600
11600
  gender?: 'all' | 'male' | 'female';
11601
11601
  /**
@@ -11608,7 +11608,7 @@ type TargetingSpec = {
11608
11608
  */
11609
11609
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
11610
11610
  /**
11611
- * Language codes restricting the audience by language. Applied on Meta and Google; rejected with 400 on TikTok, LinkedIn, Pinterest, X and OpenAI. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
11611
+ * Language codes restricting the audience by language. Applied on Meta, Google, TikTok, LinkedIn and X; rejected with 400 on Pinterest and OpenAI. A code the platform cannot target returns 400 listing the ones it can. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
11612
11612
  */
11613
11613
  languages?: Array<(string)>;
11614
11614
  /**
@@ -20337,8 +20337,11 @@ type ConnectAdsData = {
20337
20337
  /**
20338
20338
  * Existing SocialAccount ID. Required for `twitter` (X Ads). Optional for `tiktok`:
20339
20339
  * omit to enter ads-only mode (no TikTok posting account linked; ad creation uses
20340
- * a Brand Identity instead of a TT_USER). Ignored for same-token (`facebook`,
20341
- * `instagram`, `linkedin`, `pinterest`) and standalone (`googleads`) platforms.
20340
+ * a Brand Identity instead of a TT_USER). For same-token platforms (`facebook`,
20341
+ * `instagram`, `linkedin`, `pinterest`) it picks which posting account the ads
20342
+ * connection uses when the profile holds several of that platform; with one it can
20343
+ * be omitted, and an id that names no active account of the platform on the profile
20344
+ * is ignored. Ignored for standalone platforms (`googleads`).
20342
20345
  *
20343
20346
  */
20344
20347
  accountId?: string;
package/dist/index.d.ts CHANGED
@@ -11587,7 +11587,7 @@ type TargetingSpec = {
11587
11587
  }>;
11588
11588
  };
11589
11589
  /**
11590
- * Minimum age. Applied on Meta, TikTok and Pinterest; rejected with 400 on Google, LinkedIn, X and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
11590
+ * Minimum age. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. LinkedIn rounds out to its buckets (18-24, 25-34, 35-54, 55+) and has no under-18 audience; X rounds out to the narrowest of its fixed ranges (e.g. 25-34 becomes 25-49, 18-65 becomes 18+). Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
11591
11591
  */
11592
11592
  ageMin?: number;
11593
11593
  /**
@@ -11595,7 +11595,7 @@ type TargetingSpec = {
11595
11595
  */
11596
11596
  ageMax?: number;
11597
11597
  /**
11598
- * Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok and Pinterest; rejected with 400 on Google, LinkedIn, X and OpenAI.
11598
+ * Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI.
11599
11599
  */
11600
11600
  gender?: 'all' | 'male' | 'female';
11601
11601
  /**
@@ -11608,7 +11608,7 @@ type TargetingSpec = {
11608
11608
  */
11609
11609
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
11610
11610
  /**
11611
- * Language codes restricting the audience by language. Applied on Meta and Google; rejected with 400 on TikTok, LinkedIn, Pinterest, X and OpenAI. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
11611
+ * Language codes restricting the audience by language. Applied on Meta, Google, TikTok, LinkedIn and X; rejected with 400 on Pinterest and OpenAI. A code the platform cannot target returns 400 listing the ones it can. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
11612
11612
  */
11613
11613
  languages?: Array<(string)>;
11614
11614
  /**
@@ -20337,8 +20337,11 @@ type ConnectAdsData = {
20337
20337
  /**
20338
20338
  * Existing SocialAccount ID. Required for `twitter` (X Ads). Optional for `tiktok`:
20339
20339
  * omit to enter ads-only mode (no TikTok posting account linked; ad creation uses
20340
- * a Brand Identity instead of a TT_USER). Ignored for same-token (`facebook`,
20341
- * `instagram`, `linkedin`, `pinterest`) and standalone (`googleads`) platforms.
20340
+ * a Brand Identity instead of a TT_USER). For same-token platforms (`facebook`,
20341
+ * `instagram`, `linkedin`, `pinterest`) it picks which posting account the ads
20342
+ * connection uses when the profile holds several of that platform; with one it can
20343
+ * be omitted, and an id that names no active account of the platform on the profile
20344
+ * is ignored. Ignored for standalone platforms (`googleads`).
20342
20345
  *
20343
20346
  */
20344
20347
  accountId?: string;
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: "@zernio/node",
39
- version: "0.2.1042",
39
+ version: "0.2.1044",
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: "@zernio/node",
8
- version: "0.2.1042",
8
+ version: "0.2.1044",
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": "@zernio/node",
3
- "version": "0.2.1042",
3
+ "version": "0.2.1044",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10065,7 +10065,7 @@ export type TargetingSpec = {
10065
10065
  }>;
10066
10066
  };
10067
10067
  /**
10068
- * Minimum age. Applied on Meta, TikTok and Pinterest; rejected with 400 on Google, LinkedIn, X and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
10068
+ * Minimum age. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI. Each platform clamps to its own range: Meta and Pinterest effectively cap at 65 (65 = 65+), TikTok maps up to 100. LinkedIn rounds out to its buckets (18-24, 25-34, 35-54, 55+) and has no under-18 audience; X rounds out to the narrowest of its fixed ranges (e.g. 25-34 becomes 25-49, 18-65 becomes 18+). Pinterest has no under-18 bucket, so an ageMin below 18 starts at 18 there.
10069
10069
  */
10070
10070
  ageMin?: number;
10071
10071
  /**
@@ -10073,7 +10073,7 @@ export type TargetingSpec = {
10073
10073
  */
10074
10074
  ageMax?: number;
10075
10075
  /**
10076
- * Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok and Pinterest; rejected with 400 on Google, LinkedIn, X and OpenAI.
10076
+ * Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok, Pinterest, LinkedIn and X; rejected with 400 on Google and OpenAI.
10077
10077
  */
10078
10078
  gender?: 'all' | 'male' | 'female';
10079
10079
  /**
@@ -10086,7 +10086,7 @@ export type TargetingSpec = {
10086
10086
  */
10087
10087
  incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
10088
10088
  /**
10089
- * Language codes restricting the audience by language. Applied on Meta and Google; rejected with 400 on TikTok, LinkedIn, Pinterest, X and OpenAI. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
10089
+ * Language codes restricting the audience by language. Applied on Meta, Google, TikTok, LinkedIn and X; rejected with 400 on Pinterest and OpenAI. A code the platform cannot target returns 400 listing the ones it can. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
10090
10090
  */
10091
10091
  languages?: Array<(string)>;
10092
10092
  /**
@@ -19271,8 +19271,11 @@ export type ConnectAdsData = {
19271
19271
  /**
19272
19272
  * Existing SocialAccount ID. Required for `twitter` (X Ads). Optional for `tiktok`:
19273
19273
  * omit to enter ads-only mode (no TikTok posting account linked; ad creation uses
19274
- * a Brand Identity instead of a TT_USER). Ignored for same-token (`facebook`,
19275
- * `instagram`, `linkedin`, `pinterest`) and standalone (`googleads`) platforms.
19274
+ * a Brand Identity instead of a TT_USER). For same-token platforms (`facebook`,
19275
+ * `instagram`, `linkedin`, `pinterest`) it picks which posting account the ads
19276
+ * connection uses when the profile holds several of that platform; with one it can
19277
+ * be omitted, and an id that names no active account of the platform on the profile
19278
+ * is ignored. Ignored for standalone platforms (`googleads`).
19276
19279
  *
19277
19280
  */
19278
19281
  accountId?: string;