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