@zernio/node 0.2.870 → 0.2.871

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
@@ -39519,6 +39519,21 @@ type BoostPostData = {
39519
39519
  * Meta, TikTok, and LinkedIn. Publish state of the created entities. Omitted or ACTIVE publishes live (default); PAUSED creates them paused so you can review before they spend. On Meta a new campaign stays paused until explicitly activated; an attached ad is itself paused. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each).
39520
39520
  */
39521
39521
  status?: 'ACTIVE' | 'PAUSED';
39522
+ /**
39523
+ * Meta only, same semantics as POST /v1/ads/create: campaign = Advantage campaign budget (CBO), the budget and bid strategy sit on the campaign and the ad set inherits them. Default adset. Not allowed with adSetId.
39524
+ */
39525
+ budgetLevel?: 'adset' | 'campaign';
39526
+ /**
39527
+ * Meta only. Ad-set attribution windows, same shape as POST /v1/ads/create. Applied on OUTCOME_SALES, OUTCOME_LEADS and OUTCOME_APP_PROMOTION campaigns (conversions, lead_conversion, lead_generation, app_promotion); other objectives keep Meta's default. Not allowed with adSetId.
39528
+ */
39529
+ attributionSpec?: Array<{
39530
+ eventType: 'CLICK_THROUGH' | 'VIEW_THROUGH' | 'ENGAGED_VIDEO_VIEW';
39531
+ windowDays: 1 | 7 | 28;
39532
+ }>;
39533
+ /**
39534
+ * Meta only. Extra primary-text options Meta rotates on the boosted post (asset_feed_spec.bodies with DEGREES_OF_FREEDOM); the post keeps its own text as one of the options. Works for Facebook posts and Instagram media. Under a conversions or traffic goal Meta also wants a website URL on the options, taken from `linkUrl` (send it with a `callToAction`); engagement boosts need none.
39535
+ */
39536
+ bodies?: Array<(string)>;
39522
39537
  /**
39523
39538
  * Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
39524
39539
  * Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both
package/dist/index.d.ts CHANGED
@@ -39519,6 +39519,21 @@ type BoostPostData = {
39519
39519
  * Meta, TikTok, and LinkedIn. Publish state of the created entities. Omitted or ACTIVE publishes live (default); PAUSED creates them paused so you can review before they spend. On Meta a new campaign stays paused until explicitly activated; an attached ad is itself paused. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each).
39520
39520
  */
39521
39521
  status?: 'ACTIVE' | 'PAUSED';
39522
+ /**
39523
+ * Meta only, same semantics as POST /v1/ads/create: campaign = Advantage campaign budget (CBO), the budget and bid strategy sit on the campaign and the ad set inherits them. Default adset. Not allowed with adSetId.
39524
+ */
39525
+ budgetLevel?: 'adset' | 'campaign';
39526
+ /**
39527
+ * Meta only. Ad-set attribution windows, same shape as POST /v1/ads/create. Applied on OUTCOME_SALES, OUTCOME_LEADS and OUTCOME_APP_PROMOTION campaigns (conversions, lead_conversion, lead_generation, app_promotion); other objectives keep Meta's default. Not allowed with adSetId.
39528
+ */
39529
+ attributionSpec?: Array<{
39530
+ eventType: 'CLICK_THROUGH' | 'VIEW_THROUGH' | 'ENGAGED_VIDEO_VIEW';
39531
+ windowDays: 1 | 7 | 28;
39532
+ }>;
39533
+ /**
39534
+ * Meta only. Extra primary-text options Meta rotates on the boosted post (asset_feed_spec.bodies with DEGREES_OF_FREEDOM); the post keeps its own text as one of the options. Works for Facebook posts and Instagram media. Under a conversions or traffic goal Meta also wants a website URL on the options, taken from `linkUrl` (send it with a `callToAction`); engagement boosts need none.
39535
+ */
39536
+ bodies?: Array<(string)>;
39522
39537
  /**
39523
39538
  * Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
39524
39539
  * Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both
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: "@zernio/node",
39
- version: "0.2.870",
39
+ version: "0.2.871",
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: "@zernio/node",
8
- version: "0.2.870",
8
+ version: "0.2.871",
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": "@zernio/node",
3
- "version": "0.2.870",
3
+ "version": "0.2.871",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -40164,6 +40164,21 @@ export type BoostPostData = {
40164
40164
  * Meta, TikTok, and LinkedIn. Publish state of the created entities. Omitted or ACTIVE publishes live (default); PAUSED creates them paused so you can review before they spend. On Meta a new campaign stays paused until explicitly activated; an attached ad is itself paused. On LinkedIn the whole campaign group, campaign, and creative hierarchy stays PAUSED (intendedStatus PAUSED on each).
40165
40165
  */
40166
40166
  status?: 'ACTIVE' | 'PAUSED';
40167
+ /**
40168
+ * Meta only, same semantics as POST /v1/ads/create: campaign = Advantage campaign budget (CBO), the budget and bid strategy sit on the campaign and the ad set inherits them. Default adset. Not allowed with adSetId.
40169
+ */
40170
+ budgetLevel?: 'adset' | 'campaign';
40171
+ /**
40172
+ * Meta only. Ad-set attribution windows, same shape as POST /v1/ads/create. Applied on OUTCOME_SALES, OUTCOME_LEADS and OUTCOME_APP_PROMOTION campaigns (conversions, lead_conversion, lead_generation, app_promotion); other objectives keep Meta's default. Not allowed with adSetId.
40173
+ */
40174
+ attributionSpec?: Array<{
40175
+ eventType: 'CLICK_THROUGH' | 'VIEW_THROUGH' | 'ENGAGED_VIDEO_VIEW';
40176
+ windowDays: 1 | 7 | 28;
40177
+ }>;
40178
+ /**
40179
+ * Meta only. Extra primary-text options Meta rotates on the boosted post (asset_feed_spec.bodies with DEGREES_OF_FREEDOM); the post keeps its own text as one of the options. Works for Facebook posts and Instagram media. Under a conversions or traffic goal Meta also wants a website URL on the options, taken from `linkUrl` (send it with a `callToAction`); engagement boosts need none.
40180
+ */
40181
+ bodies?: Array<(string)>;
40167
40182
  /**
40168
40183
  * Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
40169
40184
  * Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both