@zernio/node 0.2.1016 → 0.2.1018

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
@@ -6067,7 +6067,7 @@ type CtwaAdRequestBody = {
6067
6067
  devicePlatforms?: Array<('mobile' | 'desktop')>;
6068
6068
  };
6069
6069
  /**
6070
- * Restrict the audience by gender (Meta `genders`). Stored on the ad and read back in `targeting.gender`.
6070
+ * Restrict the audience by gender (Meta `genders`). Omit or send all for everyone; all is ignored in adSetId attach mode. Stored on the ad and read back in `targeting.gender`.
6071
6071
  */
6072
6072
  gender?: 'all' | 'male' | 'female';
6073
6073
  /**
@@ -6262,7 +6262,7 @@ type CtwaAdRequestBody = {
6262
6262
  */
6263
6263
  type budgetType = 'daily' | 'lifetime';
6264
6264
  /**
6265
- * Restrict the audience by gender (Meta `genders`). Stored on the ad and read back in `targeting.gender`.
6265
+ * Restrict the audience by gender (Meta `genders`). Omit or send all for everyone; all is ignored in adSetId attach mode. Stored on the ad and read back in `targeting.gender`.
6266
6266
  */
6267
6267
  type gender = 'all' | 'male' | 'female';
6268
6268
  /**
@@ -9460,11 +9460,11 @@ type MetaCustomerLifecycle = {
9460
9460
  */
9461
9461
  strategy: 'all_customers' | 'new_customers' | 'new_customers_excluding_engaged';
9462
9462
  /**
9463
- * Custom audience ids that define your existing customers. Omit to use the definition saved on the ad account. Only with a new_customers strategy.
9463
+ * Custom audience ids that define your existing customers. Required with both new_customers strategies (Meta answers 400 subcode 1870251 without them); not allowed with all_customers.
9464
9464
  */
9465
9465
  existingCustomerAudienceIds?: Array<(string)>;
9466
9466
  /**
9467
- * Custom audience ids that define engaged people. Only with new_customers_excluding_engaged.
9467
+ * Custom audience ids of people who engaged but have not bought. Required with new_customers_excluding_engaged, not allowed with the other strategies.
9468
9468
  */
9469
9469
  engagedAudienceIds?: Array<(string)>;
9470
9470
  };
package/dist/index.d.ts CHANGED
@@ -6067,7 +6067,7 @@ type CtwaAdRequestBody = {
6067
6067
  devicePlatforms?: Array<('mobile' | 'desktop')>;
6068
6068
  };
6069
6069
  /**
6070
- * Restrict the audience by gender (Meta `genders`). Stored on the ad and read back in `targeting.gender`.
6070
+ * Restrict the audience by gender (Meta `genders`). Omit or send all for everyone; all is ignored in adSetId attach mode. Stored on the ad and read back in `targeting.gender`.
6071
6071
  */
6072
6072
  gender?: 'all' | 'male' | 'female';
6073
6073
  /**
@@ -6262,7 +6262,7 @@ type CtwaAdRequestBody = {
6262
6262
  */
6263
6263
  type budgetType = 'daily' | 'lifetime';
6264
6264
  /**
6265
- * Restrict the audience by gender (Meta `genders`). Stored on the ad and read back in `targeting.gender`.
6265
+ * Restrict the audience by gender (Meta `genders`). Omit or send all for everyone; all is ignored in adSetId attach mode. Stored on the ad and read back in `targeting.gender`.
6266
6266
  */
6267
6267
  type gender = 'all' | 'male' | 'female';
6268
6268
  /**
@@ -9460,11 +9460,11 @@ type MetaCustomerLifecycle = {
9460
9460
  */
9461
9461
  strategy: 'all_customers' | 'new_customers' | 'new_customers_excluding_engaged';
9462
9462
  /**
9463
- * Custom audience ids that define your existing customers. Omit to use the definition saved on the ad account. Only with a new_customers strategy.
9463
+ * Custom audience ids that define your existing customers. Required with both new_customers strategies (Meta answers 400 subcode 1870251 without them); not allowed with all_customers.
9464
9464
  */
9465
9465
  existingCustomerAudienceIds?: Array<(string)>;
9466
9466
  /**
9467
- * Custom audience ids that define engaged people. Only with new_customers_excluding_engaged.
9467
+ * Custom audience ids of people who engaged but have not bought. Required with new_customers_excluding_engaged, not allowed with the other strategies.
9468
9468
  */
9469
9469
  engagedAudienceIds?: Array<(string)>;
9470
9470
  };
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.1016",
39
+ version: "0.2.1018",
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.1016",
8
+ version: "0.2.1018",
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.1016",
3
+ "version": "0.2.1018",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4276,7 +4276,7 @@ export type CtwaAdRequestBody = {
4276
4276
  devicePlatforms?: Array<('mobile' | 'desktop')>;
4277
4277
  };
4278
4278
  /**
4279
- * Restrict the audience by gender (Meta `genders`). Stored on the ad and read back in `targeting.gender`.
4279
+ * Restrict the audience by gender (Meta `genders`). Omit or send all for everyone; all is ignored in adSetId attach mode. Stored on the ad and read back in `targeting.gender`.
4280
4280
  */
4281
4281
  gender?: 'all' | 'male' | 'female';
4282
4282
  /**
@@ -4473,7 +4473,7 @@ export type CtwaAdRequestBody = {
4473
4473
  export type budgetType = 'daily' | 'lifetime';
4474
4474
 
4475
4475
  /**
4476
- * Restrict the audience by gender (Meta `genders`). Stored on the ad and read back in `targeting.gender`.
4476
+ * Restrict the audience by gender (Meta `genders`). Omit or send all for everyone; all is ignored in adSetId attach mode. Stored on the ad and read back in `targeting.gender`.
4477
4477
  */
4478
4478
  export type gender = 'all' | 'male' | 'female';
4479
4479
 
@@ -7824,11 +7824,11 @@ export type MetaCustomerLifecycle = {
7824
7824
  */
7825
7825
  strategy: 'all_customers' | 'new_customers' | 'new_customers_excluding_engaged';
7826
7826
  /**
7827
- * Custom audience ids that define your existing customers. Omit to use the definition saved on the ad account. Only with a new_customers strategy.
7827
+ * Custom audience ids that define your existing customers. Required with both new_customers strategies (Meta answers 400 subcode 1870251 without them); not allowed with all_customers.
7828
7828
  */
7829
7829
  existingCustomerAudienceIds?: Array<(string)>;
7830
7830
  /**
7831
- * Custom audience ids that define engaged people. Only with new_customers_excluding_engaged.
7831
+ * Custom audience ids of people who engaged but have not bought. Required with new_customers_excluding_engaged, not allowed with the other strategies.
7832
7832
  */
7833
7833
  engagedAudienceIds?: Array<(string)>;
7834
7834
  };