@getlatedev/node 0.2.265 → 0.2.267

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
@@ -19154,6 +19154,10 @@ type CreateStandaloneAdData = {
19154
19154
  * Required on legacy + multi-creative shapes. Inherited on attach.
19155
19155
  */
19156
19156
  budgetType?: 'daily' | 'lifetime';
19157
+ /**
19158
+ * Meta only. Publish state of the created ad set + ad. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused and skips activation, so you can review before they spend.
19159
+ */
19160
+ status?: 'ACTIVE' | 'PAUSED';
19157
19161
  /**
19158
19162
  * Meta only. Where the budget lives, which selects the Meta budget model:
19159
19163
  * - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
@@ -19282,6 +19286,30 @@ type CreateStandaloneAdData = {
19282
19286
  *
19283
19287
  */
19284
19288
  adSetId?: string;
19289
+ /**
19290
+ * Meta only. Add the new ad set under this EXISTING campaign
19291
+ * instead of creating a new one (multi-ad-set audience testing).
19292
+ * The new ad set's budget is matched to the campaign's mode
19293
+ * automatically: for a CBO campaign (campaign-level budget) omit
19294
+ * `budgetAmount`/`budgetType` — the campaign owns the budget; for
19295
+ * an ABO campaign pass them (they go on the new ad set). On
19296
+ * failure only the new ad set is cleaned up; the existing campaign
19297
+ * is left untouched and is never (re)activated. Mutually exclusive
19298
+ * with `adSetId` and `creatives[]`.
19299
+ *
19300
+ */
19301
+ existingCampaignId?: string;
19302
+ /**
19303
+ * Meta only. Reuse an EXISTING ad creative by id instead of
19304
+ * building a new one from the copy/media fields (which are then
19305
+ * ignored). Combine with `existingCampaignId` to build a
19306
+ * multi-ad-set campaign that shares one creative. Mutually
19307
+ * exclusive with `creatives[]`, `dynamicCreative`, and
19308
+ * `placementAssets`. The creative id used is returned as
19309
+ * `creativeId` on the create response.
19310
+ *
19311
+ */
19312
+ existingCreativeId?: string;
19285
19313
  /**
19286
19314
  * Google Display only
19287
19315
  */
@@ -19509,6 +19537,11 @@ type CreateStandaloneAdData = {
19509
19537
  * placement. Each rule's `placements` accepts the same fields as the top-level
19510
19538
  * `placements` object; Meta enforces co-selection rules and returns an actionable error.
19511
19539
  *
19540
+ * Note on text rendering: Meta suppresses primary text and headline on fullscreen
19541
+ * placements (Stories and Reels) in actual ad delivery; the fields are accepted and
19542
+ * the ad publishes, but the copy is not shown to users. For visible copy on those
19543
+ * placements, bake the text into the creative image or video itself.
19544
+ *
19512
19545
  * A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad
19513
19546
  * format). Image mode: `defaultImageUrl` + `rules[].imageUrl`. Video mode:
19514
19547
  * `defaultVideoUrl` + `rules[].videoUrl` (optional `thumbnailUrl`/`defaultThumbnailUrl`
package/dist/index.d.ts CHANGED
@@ -19154,6 +19154,10 @@ type CreateStandaloneAdData = {
19154
19154
  * Required on legacy + multi-creative shapes. Inherited on attach.
19155
19155
  */
19156
19156
  budgetType?: 'daily' | 'lifetime';
19157
+ /**
19158
+ * Meta only. Publish state of the created ad set + ad. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused and skips activation, so you can review before they spend.
19159
+ */
19160
+ status?: 'ACTIVE' | 'PAUSED';
19157
19161
  /**
19158
19162
  * Meta only. Where the budget lives, which selects the Meta budget model:
19159
19163
  * - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
@@ -19282,6 +19286,30 @@ type CreateStandaloneAdData = {
19282
19286
  *
19283
19287
  */
19284
19288
  adSetId?: string;
19289
+ /**
19290
+ * Meta only. Add the new ad set under this EXISTING campaign
19291
+ * instead of creating a new one (multi-ad-set audience testing).
19292
+ * The new ad set's budget is matched to the campaign's mode
19293
+ * automatically: for a CBO campaign (campaign-level budget) omit
19294
+ * `budgetAmount`/`budgetType` — the campaign owns the budget; for
19295
+ * an ABO campaign pass them (they go on the new ad set). On
19296
+ * failure only the new ad set is cleaned up; the existing campaign
19297
+ * is left untouched and is never (re)activated. Mutually exclusive
19298
+ * with `adSetId` and `creatives[]`.
19299
+ *
19300
+ */
19301
+ existingCampaignId?: string;
19302
+ /**
19303
+ * Meta only. Reuse an EXISTING ad creative by id instead of
19304
+ * building a new one from the copy/media fields (which are then
19305
+ * ignored). Combine with `existingCampaignId` to build a
19306
+ * multi-ad-set campaign that shares one creative. Mutually
19307
+ * exclusive with `creatives[]`, `dynamicCreative`, and
19308
+ * `placementAssets`. The creative id used is returned as
19309
+ * `creativeId` on the create response.
19310
+ *
19311
+ */
19312
+ existingCreativeId?: string;
19285
19313
  /**
19286
19314
  * Google Display only
19287
19315
  */
@@ -19509,6 +19537,11 @@ type CreateStandaloneAdData = {
19509
19537
  * placement. Each rule's `placements` accepts the same fields as the top-level
19510
19538
  * `placements` object; Meta enforces co-selection rules and returns an actionable error.
19511
19539
  *
19540
+ * Note on text rendering: Meta suppresses primary text and headline on fullscreen
19541
+ * placements (Stories and Reels) in actual ad delivery; the fields are accepted and
19542
+ * the ad publishes, but the copy is not shown to users. For visible copy on those
19543
+ * placements, bake the text into the creative image or video itself.
19544
+ *
19512
19545
  * A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad
19513
19546
  * format). Image mode: `defaultImageUrl` + `rules[].imageUrl`. Video mode:
19514
19547
  * `defaultVideoUrl` + `rules[].videoUrl` (optional `thumbnailUrl`/`defaultThumbnailUrl`
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.265",
39
+ version: "0.2.267",
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.265",
8
+ version: "0.2.267",
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.265",
3
+ "version": "0.2.267",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -19659,6 +19659,10 @@ export type CreateStandaloneAdData = {
19659
19659
  * Required on legacy + multi-creative shapes. Inherited on attach.
19660
19660
  */
19661
19661
  budgetType?: 'daily' | 'lifetime';
19662
+ /**
19663
+ * Meta only. Publish state of the created ad set + ad. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused and skips activation, so you can review before they spend.
19664
+ */
19665
+ status?: 'ACTIVE' | 'PAUSED';
19662
19666
  /**
19663
19667
  * Meta only. Where the budget lives, which selects the Meta budget model:
19664
19668
  * - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
@@ -19787,6 +19791,30 @@ export type CreateStandaloneAdData = {
19787
19791
  *
19788
19792
  */
19789
19793
  adSetId?: string;
19794
+ /**
19795
+ * Meta only. Add the new ad set under this EXISTING campaign
19796
+ * instead of creating a new one (multi-ad-set audience testing).
19797
+ * The new ad set's budget is matched to the campaign's mode
19798
+ * automatically: for a CBO campaign (campaign-level budget) omit
19799
+ * `budgetAmount`/`budgetType` — the campaign owns the budget; for
19800
+ * an ABO campaign pass them (they go on the new ad set). On
19801
+ * failure only the new ad set is cleaned up; the existing campaign
19802
+ * is left untouched and is never (re)activated. Mutually exclusive
19803
+ * with `adSetId` and `creatives[]`.
19804
+ *
19805
+ */
19806
+ existingCampaignId?: string;
19807
+ /**
19808
+ * Meta only. Reuse an EXISTING ad creative by id instead of
19809
+ * building a new one from the copy/media fields (which are then
19810
+ * ignored). Combine with `existingCampaignId` to build a
19811
+ * multi-ad-set campaign that shares one creative. Mutually
19812
+ * exclusive with `creatives[]`, `dynamicCreative`, and
19813
+ * `placementAssets`. The creative id used is returned as
19814
+ * `creativeId` on the create response.
19815
+ *
19816
+ */
19817
+ existingCreativeId?: string;
19790
19818
  /**
19791
19819
  * Google Display only
19792
19820
  */
@@ -20014,6 +20042,11 @@ export type CreateStandaloneAdData = {
20014
20042
  * placement. Each rule's `placements` accepts the same fields as the top-level
20015
20043
  * `placements` object; Meta enforces co-selection rules and returns an actionable error.
20016
20044
  *
20045
+ * Note on text rendering: Meta suppresses primary text and headline on fullscreen
20046
+ * placements (Stories and Reels) in actual ad delivery; the fields are accepted and
20047
+ * the ad publishes, but the copy is not shown to users. For visible copy on those
20048
+ * placements, bake the text into the creative image or video itself.
20049
+ *
20017
20050
  * A block is all-image OR all-video, never mixed (Meta's asset_feed_spec carries one ad
20018
20051
  * format). Image mode: `defaultImageUrl` + `rules[].imageUrl`. Video mode:
20019
20052
  * `defaultVideoUrl` + `rules[].videoUrl` (optional `thumbnailUrl`/`defaultThumbnailUrl`