@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 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
- * 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
+ * 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/.../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
+ * 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
- * 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
+ * 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/.../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
+ * 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.269",
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.269",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.269",
3
+ "version": "0.2.270",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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
- * 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
+ * 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/.../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
+ * 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?: {