@getlatedev/node 0.2.585 → 0.2.586
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 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +8 -0
package/dist/index.d.mts
CHANGED
|
@@ -1556,6 +1556,10 @@ type Ad = {
|
|
|
1556
1556
|
* Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
|
|
1557
1557
|
*/
|
|
1558
1558
|
videoUrl?: (string) | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* Meta ad creative id backing this ad. Reusable via existingCreativeId on POST /v1/ads/create.
|
|
1561
|
+
*/
|
|
1562
|
+
creativeId?: (string) | null;
|
|
1559
1563
|
/**
|
|
1560
1564
|
* Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
|
|
1561
1565
|
*/
|
|
@@ -30078,6 +30082,10 @@ type CreateStandaloneAdData = {
|
|
|
30078
30082
|
* Meta and TikTok. Publish state of the created entities. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused so you can review before they spend. On Meta the pause is held on the campaign this call creates, leaving the ad set and ad switched on, so a single PUT /v1/ads/campaigns/{campaignId}/status with `active` brings the whole thing live. It is held at every level instead when the pause cannot rely on the campaign: `existingCampaignId` (that campaign may be running and is never touched) or `campaignStatus: ACTIVE`. On TikTok the whole campaign > ad group > ad hierarchy stays paused.
|
|
30079
30083
|
*/
|
|
30080
30084
|
status?: 'ACTIVE' | 'PAUSED';
|
|
30085
|
+
/**
|
|
30086
|
+
* Meta only. Overrides `status` for the campaign level alone, so you can create a live campaign whose ad set and ad stay paused, or the reverse. Omitted, it follows `status`.
|
|
30087
|
+
*/
|
|
30088
|
+
campaignStatus?: 'ACTIVE' | 'PAUSED';
|
|
30081
30089
|
/**
|
|
30082
30090
|
* Meta only. Where the budget lives, which selects the Meta budget model:
|
|
30083
30091
|
* - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
|
package/dist/index.d.ts
CHANGED
|
@@ -1556,6 +1556,10 @@ type Ad = {
|
|
|
1556
1556
|
* Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
|
|
1557
1557
|
*/
|
|
1558
1558
|
videoUrl?: (string) | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* Meta ad creative id backing this ad. Reusable via existingCreativeId on POST /v1/ads/create.
|
|
1561
|
+
*/
|
|
1562
|
+
creativeId?: (string) | null;
|
|
1559
1563
|
/**
|
|
1560
1564
|
* Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
|
|
1561
1565
|
*/
|
|
@@ -30078,6 +30082,10 @@ type CreateStandaloneAdData = {
|
|
|
30078
30082
|
* Meta and TikTok. Publish state of the created entities. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused so you can review before they spend. On Meta the pause is held on the campaign this call creates, leaving the ad set and ad switched on, so a single PUT /v1/ads/campaigns/{campaignId}/status with `active` brings the whole thing live. It is held at every level instead when the pause cannot rely on the campaign: `existingCampaignId` (that campaign may be running and is never touched) or `campaignStatus: ACTIVE`. On TikTok the whole campaign > ad group > ad hierarchy stays paused.
|
|
30079
30083
|
*/
|
|
30080
30084
|
status?: 'ACTIVE' | 'PAUSED';
|
|
30085
|
+
/**
|
|
30086
|
+
* Meta only. Overrides `status` for the campaign level alone, so you can create a live campaign whose ad set and ad stay paused, or the reverse. Omitted, it follows `status`.
|
|
30087
|
+
*/
|
|
30088
|
+
campaignStatus?: 'ACTIVE' | 'PAUSED';
|
|
30081
30089
|
/**
|
|
30082
30090
|
* Meta only. Where the budget lives, which selects the Meta budget model:
|
|
30083
30091
|
* - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
|
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.586",
|
|
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.586",
|
|
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
|
@@ -271,6 +271,10 @@ export type Ad = {
|
|
|
271
271
|
* Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
|
|
272
272
|
*/
|
|
273
273
|
videoUrl?: (string) | null;
|
|
274
|
+
/**
|
|
275
|
+
* Meta ad creative id backing this ad. Reusable via existingCreativeId on POST /v1/ads/create.
|
|
276
|
+
*/
|
|
277
|
+
creativeId?: (string) | null;
|
|
274
278
|
/**
|
|
275
279
|
* Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
|
|
276
280
|
*/
|
|
@@ -30615,6 +30619,10 @@ export type CreateStandaloneAdData = {
|
|
|
30615
30619
|
* Meta and TikTok. Publish state of the created entities. Omitted or ACTIVE publishes live (default, back-compat); PAUSED creates them paused so you can review before they spend. On Meta the pause is held on the campaign this call creates, leaving the ad set and ad switched on, so a single PUT /v1/ads/campaigns/{campaignId}/status with `active` brings the whole thing live. It is held at every level instead when the pause cannot rely on the campaign: `existingCampaignId` (that campaign may be running and is never touched) or `campaignStatus: ACTIVE`. On TikTok the whole campaign > ad group > ad hierarchy stays paused.
|
|
30616
30620
|
*/
|
|
30617
30621
|
status?: 'ACTIVE' | 'PAUSED';
|
|
30622
|
+
/**
|
|
30623
|
+
* Meta only. Overrides `status` for the campaign level alone, so you can create a live campaign whose ad set and ad stay paused, or the reverse. Omitted, it follows `status`.
|
|
30624
|
+
*/
|
|
30625
|
+
campaignStatus?: 'ACTIVE' | 'PAUSED';
|
|
30618
30626
|
/**
|
|
30619
30627
|
* Meta only. Where the budget lives, which selects the Meta budget model:
|
|
30620
30628
|
* - `adset` (default): ABO (Ad-set Budget Optimization). The budget is set on the
|