@zernio/node 0.2.211 → 0.2.212
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 +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +14 -0
package/dist/index.d.mts
CHANGED
|
@@ -18062,6 +18062,20 @@ type CreateStandaloneAdData = {
|
|
|
18062
18062
|
*
|
|
18063
18063
|
*/
|
|
18064
18064
|
savedTargetingId?: string;
|
|
18065
|
+
/**
|
|
18066
|
+
* Meta only. A raw Meta-native targeting spec passed to the ad set VERBATIM (snake_case:
|
|
18067
|
+
* `geo_locations`, `age_min`, `excluded_custom_audiences`, `flexible_spec`, `targeting_automation`,
|
|
18068
|
+
* business places, etc.) — exactly the shape `GET /v1/ads/{adId}` returns for external ads. Use it to
|
|
18069
|
+
* clone a campaign's targeting EXACTLY, preserving advanced fields the camelCase targeting fields can't
|
|
18070
|
+
* model. Mutually exclusive with the camelCase targeting fields (countries/regions/cities/interests/
|
|
18071
|
+
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
18072
|
+
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
18073
|
+
* separate fields, not part of targeting).
|
|
18074
|
+
*
|
|
18075
|
+
*/
|
|
18076
|
+
rawTargeting?: {
|
|
18077
|
+
[key: string]: unknown;
|
|
18078
|
+
};
|
|
18065
18079
|
/**
|
|
18066
18080
|
* Meta only. Declares the ad's special category, required for housing, employment, credit, or
|
|
18067
18081
|
* political/social-issue ads (Meta enforces restricted targeting for these). Note: setting a special
|
package/dist/index.d.ts
CHANGED
|
@@ -18062,6 +18062,20 @@ type CreateStandaloneAdData = {
|
|
|
18062
18062
|
*
|
|
18063
18063
|
*/
|
|
18064
18064
|
savedTargetingId?: string;
|
|
18065
|
+
/**
|
|
18066
|
+
* Meta only. A raw Meta-native targeting spec passed to the ad set VERBATIM (snake_case:
|
|
18067
|
+
* `geo_locations`, `age_min`, `excluded_custom_audiences`, `flexible_spec`, `targeting_automation`,
|
|
18068
|
+
* business places, etc.) — exactly the shape `GET /v1/ads/{adId}` returns for external ads. Use it to
|
|
18069
|
+
* clone a campaign's targeting EXACTLY, preserving advanced fields the camelCase targeting fields can't
|
|
18070
|
+
* model. Mutually exclusive with the camelCase targeting fields (countries/regions/cities/interests/
|
|
18071
|
+
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
18072
|
+
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
18073
|
+
* separate fields, not part of targeting).
|
|
18074
|
+
*
|
|
18075
|
+
*/
|
|
18076
|
+
rawTargeting?: {
|
|
18077
|
+
[key: string]: unknown;
|
|
18078
|
+
};
|
|
18065
18079
|
/**
|
|
18066
18080
|
* Meta only. Declares the ad's special category, required for housing, employment, credit, or
|
|
18067
18081
|
* political/social-issue ads (Meta enforces restricted targeting for these). Note: setting a special
|
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.212",
|
|
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.212",
|
|
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
|
@@ -18529,6 +18529,20 @@ export type CreateStandaloneAdData = {
|
|
|
18529
18529
|
*
|
|
18530
18530
|
*/
|
|
18531
18531
|
savedTargetingId?: string;
|
|
18532
|
+
/**
|
|
18533
|
+
* Meta only. A raw Meta-native targeting spec passed to the ad set VERBATIM (snake_case:
|
|
18534
|
+
* `geo_locations`, `age_min`, `excluded_custom_audiences`, `flexible_spec`, `targeting_automation`,
|
|
18535
|
+
* business places, etc.) — exactly the shape `GET /v1/ads/{adId}` returns for external ads. Use it to
|
|
18536
|
+
* clone a campaign's targeting EXACTLY, preserving advanced fields the camelCase targeting fields can't
|
|
18537
|
+
* model. Mutually exclusive with the camelCase targeting fields (countries/regions/cities/interests/
|
|
18538
|
+
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
18539
|
+
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
18540
|
+
* separate fields, not part of targeting).
|
|
18541
|
+
*
|
|
18542
|
+
*/
|
|
18543
|
+
rawTargeting?: {
|
|
18544
|
+
[key: string]: unknown;
|
|
18545
|
+
};
|
|
18532
18546
|
/**
|
|
18533
18547
|
* Meta only. Declares the ad's special category, required for housing, employment, credit, or
|
|
18534
18548
|
* political/social-issue ads (Meta enforces restricted targeting for these). Note: setting a special
|