@zernio/node 0.2.1852 → 0.2.1853
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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +3 -0
package/dist/index.d.mts
CHANGED
|
@@ -83588,6 +83588,9 @@ type CreateMessagingAdData = {
|
|
|
83588
83588
|
* - `LEAD_GENERATION` needs a single `destination: whatsapp` (a 400 with `destinations` or another destination) and runs the campaign under `OUTCOME_LEADS`.
|
|
83589
83589
|
* - `objective`, when sent with `LEAD_GENERATION`, must be `OUTCOME_LEADS`.
|
|
83590
83590
|
* - With `existingCampaignId` the campaign must be `OUTCOME_LEADS` (a 400 otherwise).
|
|
83591
|
+
* - Meta enables `LEAD_GENERATION` for WhatsApp per ad account and has no API to check it in advance.
|
|
83592
|
+
* - On an ad account without it, Meta refuses the ad set with subcode 2490408: a 400 `platform_api_error` with `param: optimizationGoal`. `validateOnly` reports it without creating anything.
|
|
83593
|
+
* - Use `CONVERSATIONS` there (with `objective: OUTCOME_LEADS` for a Leads campaign).
|
|
83591
83594
|
*
|
|
83592
83595
|
*/
|
|
83593
83596
|
optimizationGoal?: 'CONVERSATIONS' | 'LEAD_GENERATION';
|
package/dist/index.d.ts
CHANGED
|
@@ -83588,6 +83588,9 @@ type CreateMessagingAdData = {
|
|
|
83588
83588
|
* - `LEAD_GENERATION` needs a single `destination: whatsapp` (a 400 with `destinations` or another destination) and runs the campaign under `OUTCOME_LEADS`.
|
|
83589
83589
|
* - `objective`, when sent with `LEAD_GENERATION`, must be `OUTCOME_LEADS`.
|
|
83590
83590
|
* - With `existingCampaignId` the campaign must be `OUTCOME_LEADS` (a 400 otherwise).
|
|
83591
|
+
* - Meta enables `LEAD_GENERATION` for WhatsApp per ad account and has no API to check it in advance.
|
|
83592
|
+
* - On an ad account without it, Meta refuses the ad set with subcode 2490408: a 400 `platform_api_error` with `param: optimizationGoal`. `validateOnly` reports it without creating anything.
|
|
83593
|
+
* - Use `CONVERSATIONS` there (with `objective: OUTCOME_LEADS` for a Leads campaign).
|
|
83591
83594
|
*
|
|
83592
83595
|
*/
|
|
83593
83596
|
optimizationGoal?: 'CONVERSATIONS' | 'LEAD_GENERATION';
|
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.
|
|
39
|
+
version: "0.2.1853",
|
|
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.
|
|
8
|
+
version: "0.2.1853",
|
|
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
|
@@ -85787,6 +85787,9 @@ export type CreateMessagingAdData = {
|
|
|
85787
85787
|
* - `LEAD_GENERATION` needs a single `destination: whatsapp` (a 400 with `destinations` or another destination) and runs the campaign under `OUTCOME_LEADS`.
|
|
85788
85788
|
* - `objective`, when sent with `LEAD_GENERATION`, must be `OUTCOME_LEADS`.
|
|
85789
85789
|
* - With `existingCampaignId` the campaign must be `OUTCOME_LEADS` (a 400 otherwise).
|
|
85790
|
+
* - Meta enables `LEAD_GENERATION` for WhatsApp per ad account and has no API to check it in advance.
|
|
85791
|
+
* - On an ad account without it, Meta refuses the ad set with subcode 2490408: a 400 `platform_api_error` with `param: optimizationGoal`. `validateOnly` reports it without creating anything.
|
|
85792
|
+
* - Use `CONVERSATIONS` there (with `objective: OUTCOME_LEADS` for a Leads campaign).
|
|
85790
85793
|
*
|
|
85791
85794
|
*/
|
|
85792
85795
|
optimizationGoal?: 'CONVERSATIONS' | 'LEAD_GENERATION';
|