@getlatedev/node 0.2.269 → 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 +8 -9
- package/dist/index.d.ts +8 -9
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +8 -9
package/dist/index.d.mts
CHANGED
|
@@ -19436,10 +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
|
-
*
|
|
19440
|
-
*
|
|
19441
|
-
*
|
|
19442
|
-
* object using Meta's snake_case field names.
|
|
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.
|
|
19443
19442
|
*
|
|
19444
19443
|
*/
|
|
19445
19444
|
placements?: {
|
|
@@ -19471,11 +19470,11 @@ type CreateStandaloneAdData = {
|
|
|
19471
19470
|
* business places, etc.) — exactly the shape `GET /v1/ads/{adId}` returns for external ads. Use it to
|
|
19472
19471
|
* clone a campaign's targeting EXACTLY, preserving advanced fields the camelCase targeting fields can't
|
|
19473
19472
|
* model. Mutually exclusive with the camelCase targeting fields (countries/regions/cities/interests/
|
|
19474
|
-
* ageMin
|
|
19475
|
-
*
|
|
19476
|
-
*
|
|
19477
|
-
*
|
|
19478
|
-
* object
|
|
19473
|
+
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
19474
|
+
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
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.
|
|
19479
19478
|
*
|
|
19480
19479
|
*/
|
|
19481
19480
|
rawTargeting?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -19436,10 +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
|
-
*
|
|
19440
|
-
*
|
|
19441
|
-
*
|
|
19442
|
-
* object using Meta's snake_case field names.
|
|
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.
|
|
19443
19442
|
*
|
|
19444
19443
|
*/
|
|
19445
19444
|
placements?: {
|
|
@@ -19471,11 +19470,11 @@ type CreateStandaloneAdData = {
|
|
|
19471
19470
|
* business places, etc.) — exactly the shape `GET /v1/ads/{adId}` returns for external ads. Use it to
|
|
19472
19471
|
* clone a campaign's targeting EXACTLY, preserving advanced fields the camelCase targeting fields can't
|
|
19473
19472
|
* model. Mutually exclusive with the camelCase targeting fields (countries/regions/cities/interests/
|
|
19474
|
-
* ageMin
|
|
19475
|
-
*
|
|
19476
|
-
*
|
|
19477
|
-
*
|
|
19478
|
-
* object
|
|
19473
|
+
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
19474
|
+
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
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.
|
|
19479
19478
|
*
|
|
19480
19479
|
*/
|
|
19481
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: "@getlatedev/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: "@getlatedev/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,10 +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
|
-
*
|
|
19945
|
-
*
|
|
19946
|
-
*
|
|
19947
|
-
* object using Meta's snake_case field names.
|
|
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.
|
|
19948
19947
|
*
|
|
19949
19948
|
*/
|
|
19950
19949
|
placements?: {
|
|
@@ -19976,11 +19975,11 @@ export type CreateStandaloneAdData = {
|
|
|
19976
19975
|
* business places, etc.) — exactly the shape `GET /v1/ads/{adId}` returns for external ads. Use it to
|
|
19977
19976
|
* clone a campaign's targeting EXACTLY, preserving advanced fields the camelCase targeting fields can't
|
|
19978
19977
|
* model. Mutually exclusive with the camelCase targeting fields (countries/regions/cities/interests/
|
|
19979
|
-
* ageMin
|
|
19980
|
-
*
|
|
19981
|
-
*
|
|
19982
|
-
*
|
|
19983
|
-
* object
|
|
19978
|
+
* ageMin/...), `audienceId`, and `savedTargetingId` (sending both → 422). Sent as-is; Meta validates and
|
|
19979
|
+
* surfaces any errors. If cloning an EU campaign, also pass `dsaBeneficiary` / `dsaPayor` (those are
|
|
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.
|
|
19984
19983
|
*
|
|
19985
19984
|
*/
|
|
19986
19985
|
rawTargeting?: {
|