@zernio/node 0.2.1038 → 0.2.1040

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
@@ -11618,7 +11618,7 @@ type TargetingSpec = {
11618
11618
  name?: string;
11619
11619
  }>;
11620
11620
  /**
11621
- * 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.
11621
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta, TikTok and LinkedIn). 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.
11622
11622
  */
11623
11623
  behaviors?: Array<{
11624
11624
  id: string;
@@ -44222,6 +44222,18 @@ type ListAdAccountsResponse = ({
44222
44222
  * Meta only. Meta's `disable_reason` code, forwarded unchanged. Present when `accountStatus` is `2` (DISABLED) and Meta gives a reason, which is what separates a policy action from a payment problem. Meta does not publish a stable list of values for this field, so none are enumerated here: resolve the code against Meta's own ad account reference. Absent when Meta reports no reason, or when the connected token cannot read the field.
44223
44223
  */
44224
44224
  disableReason?: number;
44225
+ /**
44226
+ * TikTok only. Total balance the advertiser can spend (cash plus grant), in whole units of `currency`. Read from the Business Center balance when the connection has a finance role there, which is the only TikTok source that counts cash held in a shared payment portfolio; otherwise TikTok's advertiser-level balance, which can read 0 for a cash-funded advertiser.
44227
+ */
44228
+ balance?: number;
44229
+ /**
44230
+ * TikTok only. Cash part of `balance`, in whole units of `currency`. Absent when the connection has no finance role in the advertiser's Business Center.
44231
+ */
44232
+ cashBalance?: number;
44233
+ /**
44234
+ * TikTok only. Grant (ad credit) part of `balance`, in whole units of `currency`. Absent when the connection has no finance role in the advertiser's Business Center.
44235
+ */
44236
+ grantBalance?: number;
44225
44237
  /**
44226
44238
  * IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
44227
44239
  */
@@ -45492,7 +45504,7 @@ type CreateStandaloneAdData = {
45492
45504
  address?: string;
45493
45505
  }>;
45494
45506
  /**
45495
- * 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.
45507
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta, TikTok and LinkedIn). 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.
45496
45508
  */
45497
45509
  behaviors?: Array<{
45498
45510
  id: string;
package/dist/index.d.ts CHANGED
@@ -11618,7 +11618,7 @@ type TargetingSpec = {
11618
11618
  name?: string;
11619
11619
  }>;
11620
11620
  /**
11621
- * 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.
11621
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta, TikTok and LinkedIn). 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.
11622
11622
  */
11623
11623
  behaviors?: Array<{
11624
11624
  id: string;
@@ -44222,6 +44222,18 @@ type ListAdAccountsResponse = ({
44222
44222
  * Meta only. Meta's `disable_reason` code, forwarded unchanged. Present when `accountStatus` is `2` (DISABLED) and Meta gives a reason, which is what separates a policy action from a payment problem. Meta does not publish a stable list of values for this field, so none are enumerated here: resolve the code against Meta's own ad account reference. Absent when Meta reports no reason, or when the connected token cannot read the field.
44223
44223
  */
44224
44224
  disableReason?: number;
44225
+ /**
44226
+ * TikTok only. Total balance the advertiser can spend (cash plus grant), in whole units of `currency`. Read from the Business Center balance when the connection has a finance role there, which is the only TikTok source that counts cash held in a shared payment portfolio; otherwise TikTok's advertiser-level balance, which can read 0 for a cash-funded advertiser.
44227
+ */
44228
+ balance?: number;
44229
+ /**
44230
+ * TikTok only. Cash part of `balance`, in whole units of `currency`. Absent when the connection has no finance role in the advertiser's Business Center.
44231
+ */
44232
+ cashBalance?: number;
44233
+ /**
44234
+ * TikTok only. Grant (ad credit) part of `balance`, in whole units of `currency`. Absent when the connection has no finance role in the advertiser's Business Center.
44235
+ */
44236
+ grantBalance?: number;
44225
44237
  /**
44226
44238
  * IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
44227
44239
  */
@@ -45492,7 +45504,7 @@ type CreateStandaloneAdData = {
45492
45504
  address?: string;
45493
45505
  }>;
45494
45506
  /**
45495
- * 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.
45507
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta, TikTok and LinkedIn). 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.
45496
45508
  */
45497
45509
  behaviors?: Array<{
45498
45510
  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.1038",
39
+ version: "0.2.1040",
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.1038",
8
+ version: "0.2.1040",
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.1038",
3
+ "version": "0.2.1040",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -12001,11 +12001,14 @@ export const searchAdInterests = <ThrowOnError extends boolean = false>(options:
12001
12001
  *
12002
12002
  * - `geo`: locations, further scoped by `geoType`
12003
12003
  * - `interest`
12004
- * - `behavior`: Meta and TikTok, matched by name; ids feed `TargetingSpec.behaviors`.
12004
+ * - `behavior`: Meta, TikTok and LinkedIn, matched by name; ids feed `TargetingSpec.behaviors`.
12005
12005
  * Meta: its fixed behaviors catalog (e.g. `Small business owners`, `Frequent Travelers`).
12006
12006
  * TikTok: video and creator interaction categories (e.g. `Software & Apps`), with ids like
12007
12007
  * `video:1913101` or `creator:24001` and `path` starting with `Video interactions` or
12008
- * `Creator interactions`
12008
+ * `Creator interactions`. LinkedIn: member behaviors (e.g. `Frequent Travelers`,
12009
+ * `Job Seekers`, `Recently Promoted`), ids like `urn:li:memberBehavior:9`. Google has no
12010
+ * separate behavior catalog: its in-market and affinity segments come back from `interest`,
12011
+ * and X removed behavior targeting from its Ads API
12009
12012
  * - `income`: the household-income tiers the platform can target (Meta, TikTok, Google).
12010
12013
  * The id is the normalized tier (`top_5`, `top_10`, `top_10_25`, `top_25_50`) to pass as
12011
12014
  * `TargetingSpec.incomeTier`, never a platform segment id. Meta's tiers are US-only
@@ -10096,7 +10096,7 @@ export type TargetingSpec = {
10096
10096
  name?: string;
10097
10097
  }>;
10098
10098
  /**
10099
- * 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.
10099
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta, TikTok and LinkedIn). 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.
10100
10100
  */
10101
10101
  behaviors?: Array<{
10102
10102
  id: string;
@@ -44916,6 +44916,18 @@ export type ListAdAccountsResponse = ({
44916
44916
  * Meta only. Meta's `disable_reason` code, forwarded unchanged. Present when `accountStatus` is `2` (DISABLED) and Meta gives a reason, which is what separates a policy action from a payment problem. Meta does not publish a stable list of values for this field, so none are enumerated here: resolve the code against Meta's own ad account reference. Absent when Meta reports no reason, or when the connected token cannot read the field.
44917
44917
  */
44918
44918
  disableReason?: number;
44919
+ /**
44920
+ * TikTok only. Total balance the advertiser can spend (cash plus grant), in whole units of `currency`. Read from the Business Center balance when the connection has a finance role there, which is the only TikTok source that counts cash held in a shared payment portfolio; otherwise TikTok's advertiser-level balance, which can read 0 for a cash-funded advertiser.
44921
+ */
44922
+ balance?: number;
44923
+ /**
44924
+ * TikTok only. Cash part of `balance`, in whole units of `currency`. Absent when the connection has no finance role in the advertiser's Business Center.
44925
+ */
44926
+ cashBalance?: number;
44927
+ /**
44928
+ * TikTok only. Grant (ad credit) part of `balance`, in whole units of `currency`. Absent when the connection has no finance role in the advertiser's Business Center.
44929
+ */
44930
+ grantBalance?: number;
44919
44931
  /**
44920
44932
  * IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
44921
44933
  */
@@ -46221,7 +46233,7 @@ export type CreateStandaloneAdData = {
46221
46233
  address?: string;
46222
46234
  }>;
46223
46235
  /**
46224
- * 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.
46236
+ * Behaviour entities from /v1/ads/targeting/search?dimension=behavior (Meta, TikTok and LinkedIn). 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.
46225
46237
  */
46226
46238
  behaviors?: Array<{
46227
46239
  id: string;