@zernio/node 0.2.268 → 0.2.270
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +5 -0
package/dist/index.d.mts
CHANGED
|
@@ -19436,6 +19436,9 @@ type CreateStandaloneAdData = {
|
|
|
19436
19436
|
* additionally enforces co-selection rules (e.g. some positions require their parent
|
|
19437
19437
|
* publisher platform) and returns an actionable error which we surface. Non-Meta
|
|
19438
19438
|
* platforms reject this field.
|
|
19439
|
+
* Can be combined with `rawTargeting` — when both are set, the placement spec is
|
|
19440
|
+
* converted to Meta's snake_case and merged into the raw targeting object before
|
|
19441
|
+
* it is sent to Meta.
|
|
19439
19442
|
*
|
|
19440
19443
|
*/
|
|
19441
19444
|
placements?: {
|
|
@@ -19470,6 +19473,8 @@ type CreateStandaloneAdData = {
|
|
|
19470
19473
|
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
19471
19474
|
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
19472
19475
|
* separate fields, not part of targeting).
|
|
19476
|
+
* Can be combined with the top-level `placements` field — when both are present, placements are
|
|
19477
|
+
* converted to Meta's snake_case and merged into this object before it is sent to Meta.
|
|
19473
19478
|
*
|
|
19474
19479
|
*/
|
|
19475
19480
|
rawTargeting?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -19436,6 +19436,9 @@ type CreateStandaloneAdData = {
|
|
|
19436
19436
|
* additionally enforces co-selection rules (e.g. some positions require their parent
|
|
19437
19437
|
* publisher platform) and returns an actionable error which we surface. Non-Meta
|
|
19438
19438
|
* platforms reject this field.
|
|
19439
|
+
* Can be combined with `rawTargeting` — when both are set, the placement spec is
|
|
19440
|
+
* converted to Meta's snake_case and merged into the raw targeting object before
|
|
19441
|
+
* it is sent to Meta.
|
|
19439
19442
|
*
|
|
19440
19443
|
*/
|
|
19441
19444
|
placements?: {
|
|
@@ -19470,6 +19473,8 @@ type CreateStandaloneAdData = {
|
|
|
19470
19473
|
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
19471
19474
|
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
19472
19475
|
* separate fields, not part of targeting).
|
|
19476
|
+
* Can be combined with the top-level `placements` field — when both are present, placements are
|
|
19477
|
+
* converted to Meta's snake_case and merged into this object before it is sent to Meta.
|
|
19473
19478
|
*
|
|
19474
19479
|
*/
|
|
19475
19480
|
rawTargeting?: {
|
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.270",
|
|
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.270",
|
|
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
|
@@ -19941,6 +19941,9 @@ export type CreateStandaloneAdData = {
|
|
|
19941
19941
|
* additionally enforces co-selection rules (e.g. some positions require their parent
|
|
19942
19942
|
* publisher platform) and returns an actionable error which we surface. Non-Meta
|
|
19943
19943
|
* platforms reject this field.
|
|
19944
|
+
* Can be combined with `rawTargeting` — when both are set, the placement spec is
|
|
19945
|
+
* converted to Meta's snake_case and merged into the raw targeting object before
|
|
19946
|
+
* it is sent to Meta.
|
|
19944
19947
|
*
|
|
19945
19948
|
*/
|
|
19946
19949
|
placements?: {
|
|
@@ -19975,6 +19978,8 @@ export type CreateStandaloneAdData = {
|
|
|
19975
19978
|
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
19976
19979
|
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
19977
19980
|
* separate fields, not part of targeting).
|
|
19981
|
+
* Can be combined with the top-level `placements` field — when both are present, placements are
|
|
19982
|
+
* converted to Meta's snake_case and merged into this object before it is sent to Meta.
|
|
19978
19983
|
*
|
|
19979
19984
|
*/
|
|
19980
19985
|
rawTargeting?: {
|