@zernio/node 0.2.1035 → 0.2.1036

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
@@ -6094,7 +6094,7 @@ type CtwaAdRequestBody = {
6094
6094
  [key: string]: unknown;
6095
6095
  };
6096
6096
  /**
6097
- * Meta behavior ids. Each dimension is its own flexible_spec entry: OR within, AND across.
6097
+ * Behavior ids from /v1/ads/targeting/search?dimension=behavior. Meta: each dimension is its own flexible_spec entry (OR within, AND across). TikTok: video/creator interaction categories, sent as the ad group's actions.
6098
6098
  */
6099
6099
  behaviors?: Array<{
6100
6100
  id: string;
@@ -11610,7 +11610,7 @@ type TargetingSpec = {
11610
11610
  name?: string;
11611
11611
  }>;
11612
11612
  /**
11613
- * Behaviour entities from /v1/ads/targeting/search?dimension=behavior. Supported on Meta only (TikTok behaviours are rejected with a 400).
11613
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only.
11614
11614
  */
11615
11615
  behaviors?: Array<{
11616
11616
  id: string;
@@ -45476,7 +45476,7 @@ type CreateStandaloneAdData = {
45476
45476
  address?: string;
45477
45477
  }>;
45478
45478
  /**
45479
- * Behaviour entities from /v1/ads/targeting/search?dimension=behavior. Supported on Meta only (TikTok behaviours are rejected with a 400). Each must include id.
45479
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only. Each must include id.
45480
45480
  */
45481
45481
  behaviors?: Array<{
45482
45482
  id: string;
package/dist/index.d.ts CHANGED
@@ -6094,7 +6094,7 @@ type CtwaAdRequestBody = {
6094
6094
  [key: string]: unknown;
6095
6095
  };
6096
6096
  /**
6097
- * Meta behavior ids. Each dimension is its own flexible_spec entry: OR within, AND across.
6097
+ * Behavior ids from /v1/ads/targeting/search?dimension=behavior. Meta: each dimension is its own flexible_spec entry (OR within, AND across). TikTok: video/creator interaction categories, sent as the ad group's actions.
6098
6098
  */
6099
6099
  behaviors?: Array<{
6100
6100
  id: string;
@@ -11610,7 +11610,7 @@ type TargetingSpec = {
11610
11610
  name?: string;
11611
11611
  }>;
11612
11612
  /**
11613
- * Behaviour entities from /v1/ads/targeting/search?dimension=behavior. Supported on Meta only (TikTok behaviours are rejected with a 400).
11613
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only.
11614
11614
  */
11615
11615
  behaviors?: Array<{
11616
11616
  id: string;
@@ -45476,7 +45476,7 @@ type CreateStandaloneAdData = {
45476
45476
  address?: string;
45477
45477
  }>;
45478
45478
  /**
45479
- * Behaviour entities from /v1/ads/targeting/search?dimension=behavior. Supported on Meta only (TikTok behaviours are rejected with a 400). Each must include id.
45479
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only. Each must include id.
45480
45480
  */
45481
45481
  behaviors?: Array<{
45482
45482
  id: 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.1035",
39
+ version: "0.2.1036",
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.1035",
8
+ version: "0.2.1036",
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.1035",
3
+ "version": "0.2.1036",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -11999,8 +11999,11 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
11999
11999
  *
12000
12000
  * - `geo`: locations, further scoped by `geoType`
12001
12001
  * - `interest`
12002
- * - `behavior`: Meta-only, matched by name against Meta's fixed behaviors catalog
12003
- * (e.g. `Small business owners`, `Frequent Travelers`); ids feed `TargetingSpec.behaviors`
12002
+ * - `behavior`: Meta and TikTok, matched by name; ids feed `TargetingSpec.behaviors`.
12003
+ * Meta: its fixed behaviors catalog (e.g. `Small business owners`, `Frequent Travelers`).
12004
+ * TikTok: video and creator interaction categories (e.g. `Software & Apps`), with ids like
12005
+ * `video:1913101` or `creator:24001` and `path` starting with `Video interactions` or
12006
+ * `Creator interactions`
12004
12007
  * - `income`: the household-income tiers the platform can target (Meta, TikTok, Google).
12005
12008
  * The id is the normalized tier (`top_5`, `top_10`, `top_10_25`, `top_25_50`) to pass as
12006
12009
  * `TargetingSpec.incomeTier`, never a platform segment id. Meta's tiers are US-only
@@ -4302,7 +4302,7 @@ export type CtwaAdRequestBody = {
4302
4302
  [key: string]: unknown;
4303
4303
  };
4304
4304
  /**
4305
- * Meta behavior ids. Each dimension is its own flexible_spec entry: OR within, AND across.
4305
+ * Behavior ids from /v1/ads/targeting/search?dimension=behavior. Meta: each dimension is its own flexible_spec entry (OR within, AND across). TikTok: video/creator interaction categories, sent as the ad group's actions.
4306
4306
  */
4307
4307
  behaviors?: Array<{
4308
4308
  id: string;
@@ -10088,7 +10088,7 @@ export type TargetingSpec = {
10088
10088
  name?: string;
10089
10089
  }>;
10090
10090
  /**
10091
- * Behaviour entities from /v1/ads/targeting/search?dimension=behavior. Supported on Meta only (TikTok behaviours are rejected with a 400).
10091
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only.
10092
10092
  */
10093
10093
  behaviors?: Array<{
10094
10094
  id: string;
@@ -46205,7 +46205,7 @@ export type CreateStandaloneAdData = {
46205
46205
  address?: string;
46206
46206
  }>;
46207
46207
  /**
46208
- * Behaviour entities from /v1/ads/targeting/search?dimension=behavior. Supported on Meta only (TikTok behaviours are rejected with a 400). Each must include id.
46208
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta and TikTok). On TikTok they target people who interacted with videos (watched to the end, liked, commented or shared, last 15 days) or creators (followed or viewed the profile) in the picked categories, and the ad group uses the TikTok placement only. Each must include id.
46209
46209
  */
46210
46210
  behaviors?: Array<{
46211
46211
  id: string;