@zernio/node 0.2.1070 → 0.2.1071
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 +60 -0
- package/dist/index.d.ts +60 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +60 -0
package/dist/index.d.mts
CHANGED
|
@@ -39682,6 +39682,26 @@ type UpdateAdSetData = {
|
|
|
39682
39682
|
*
|
|
39683
39683
|
*/
|
|
39684
39684
|
bidStrategy?: (BidStrategy);
|
|
39685
|
+
/**
|
|
39686
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
39687
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
39688
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
39689
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
39690
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
39691
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
39692
|
+
* Applied with TikTok's adgroup/update; read it back with GET /v1/ads/ad-sets?adSetId=...&live=true.
|
|
39693
|
+
*
|
|
39694
|
+
*/
|
|
39695
|
+
smartTargeting?: {
|
|
39696
|
+
/**
|
|
39697
|
+
* TikTok smart_audience_enabled.
|
|
39698
|
+
*/
|
|
39699
|
+
audience?: boolean;
|
|
39700
|
+
/**
|
|
39701
|
+
* TikTok smart_interest_behavior_enabled.
|
|
39702
|
+
*/
|
|
39703
|
+
interestsBehaviors?: boolean;
|
|
39704
|
+
};
|
|
39685
39705
|
/**
|
|
39686
39706
|
* Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
|
|
39687
39707
|
* bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Internally converted to Meta's
|
|
@@ -44254,6 +44274,26 @@ type BoostPostData = {
|
|
|
44254
44274
|
* 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.
|
|
44255
44275
|
*/
|
|
44256
44276
|
bodies?: Array<(string)>;
|
|
44277
|
+
/**
|
|
44278
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
44279
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
44280
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
44281
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
44282
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
44283
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
44284
|
+
* Not available with smartPlus or when attaching to an existing ad set (adSetId).
|
|
44285
|
+
*
|
|
44286
|
+
*/
|
|
44287
|
+
smartTargeting?: {
|
|
44288
|
+
/**
|
|
44289
|
+
* TikTok smart_audience_enabled.
|
|
44290
|
+
*/
|
|
44291
|
+
audience?: boolean;
|
|
44292
|
+
/**
|
|
44293
|
+
* TikTok smart_interest_behavior_enabled.
|
|
44294
|
+
*/
|
|
44295
|
+
interestsBehaviors?: boolean;
|
|
44296
|
+
};
|
|
44257
44297
|
/**
|
|
44258
44298
|
* Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
|
|
44259
44299
|
* Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both
|
|
@@ -44504,6 +44544,26 @@ type CreateStandaloneAdData = {
|
|
|
44504
44544
|
*
|
|
44505
44545
|
*/
|
|
44506
44546
|
goal?: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'lead_conversion' | 'conversions' | 'app_promotion' | 'catalog_sales' | 'page_likes' | 'page_visits' | 'job_applicants';
|
|
44547
|
+
/**
|
|
44548
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
44549
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
44550
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
44551
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
44552
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
44553
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
44554
|
+
* Not available with smartPlus or when attaching to an existing ad set (adSetId).
|
|
44555
|
+
*
|
|
44556
|
+
*/
|
|
44557
|
+
smartTargeting?: {
|
|
44558
|
+
/**
|
|
44559
|
+
* TikTok smart_audience_enabled.
|
|
44560
|
+
*/
|
|
44561
|
+
audience?: boolean;
|
|
44562
|
+
/**
|
|
44563
|
+
* TikTok smart_interest_behavior_enabled.
|
|
44564
|
+
*/
|
|
44565
|
+
interestsBehaviors?: boolean;
|
|
44566
|
+
};
|
|
44507
44567
|
/**
|
|
44508
44568
|
* Meta, or TikTok with goal video_views (ENGAGED_VIEW, the 6-second default, or ENGAGED_VIEW_FIFTEEN; both bill per view). Meta: Explicit ad-set `optimization_goal` (e.g. `LANDING_PAGE_VIEWS`, `LINK_CLICKS`, `REACH`, `IMPRESSIONS`, `OFFSITE_CONVERSIONS`, `THRUPLAY`, `LEAD_GENERATION`). Overrides the default derived from `goal` (e.g. `traffic` defaults to `LINK_CLICKS`). Forwarded verbatim to Meta, which validates compatibility with the campaign objective and rejects incompatible combinations.
|
|
44509
44569
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -39682,6 +39682,26 @@ type UpdateAdSetData = {
|
|
|
39682
39682
|
*
|
|
39683
39683
|
*/
|
|
39684
39684
|
bidStrategy?: (BidStrategy);
|
|
39685
|
+
/**
|
|
39686
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
39687
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
39688
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
39689
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
39690
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
39691
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
39692
|
+
* Applied with TikTok's adgroup/update; read it back with GET /v1/ads/ad-sets?adSetId=...&live=true.
|
|
39693
|
+
*
|
|
39694
|
+
*/
|
|
39695
|
+
smartTargeting?: {
|
|
39696
|
+
/**
|
|
39697
|
+
* TikTok smart_audience_enabled.
|
|
39698
|
+
*/
|
|
39699
|
+
audience?: boolean;
|
|
39700
|
+
/**
|
|
39701
|
+
* TikTok smart_interest_behavior_enabled.
|
|
39702
|
+
*/
|
|
39703
|
+
interestsBehaviors?: boolean;
|
|
39704
|
+
};
|
|
39685
39705
|
/**
|
|
39686
39706
|
* Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
|
|
39687
39707
|
* bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Internally converted to Meta's
|
|
@@ -44254,6 +44274,26 @@ type BoostPostData = {
|
|
|
44254
44274
|
* 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.
|
|
44255
44275
|
*/
|
|
44256
44276
|
bodies?: Array<(string)>;
|
|
44277
|
+
/**
|
|
44278
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
44279
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
44280
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
44281
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
44282
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
44283
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
44284
|
+
* Not available with smartPlus or when attaching to an existing ad set (adSetId).
|
|
44285
|
+
*
|
|
44286
|
+
*/
|
|
44287
|
+
smartTargeting?: {
|
|
44288
|
+
/**
|
|
44289
|
+
* TikTok smart_audience_enabled.
|
|
44290
|
+
*/
|
|
44291
|
+
audience?: boolean;
|
|
44292
|
+
/**
|
|
44293
|
+
* TikTok smart_interest_behavior_enabled.
|
|
44294
|
+
*/
|
|
44295
|
+
interestsBehaviors?: boolean;
|
|
44296
|
+
};
|
|
44257
44297
|
/**
|
|
44258
44298
|
* Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
|
|
44259
44299
|
* Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both
|
|
@@ -44504,6 +44544,26 @@ type CreateStandaloneAdData = {
|
|
|
44504
44544
|
*
|
|
44505
44545
|
*/
|
|
44506
44546
|
goal?: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'lead_conversion' | 'conversions' | 'app_promotion' | 'catalog_sales' | 'page_likes' | 'page_visits' | 'job_applicants';
|
|
44547
|
+
/**
|
|
44548
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
44549
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
44550
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
44551
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
44552
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
44553
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
44554
|
+
* Not available with smartPlus or when attaching to an existing ad set (adSetId).
|
|
44555
|
+
*
|
|
44556
|
+
*/
|
|
44557
|
+
smartTargeting?: {
|
|
44558
|
+
/**
|
|
44559
|
+
* TikTok smart_audience_enabled.
|
|
44560
|
+
*/
|
|
44561
|
+
audience?: boolean;
|
|
44562
|
+
/**
|
|
44563
|
+
* TikTok smart_interest_behavior_enabled.
|
|
44564
|
+
*/
|
|
44565
|
+
interestsBehaviors?: boolean;
|
|
44566
|
+
};
|
|
44507
44567
|
/**
|
|
44508
44568
|
* Meta, or TikTok with goal video_views (ENGAGED_VIEW, the 6-second default, or ENGAGED_VIEW_FIFTEEN; both bill per view). Meta: Explicit ad-set `optimization_goal` (e.g. `LANDING_PAGE_VIEWS`, `LINK_CLICKS`, `REACH`, `IMPRESSIONS`, `OFFSITE_CONVERSIONS`, `THRUPLAY`, `LEAD_GENERATION`). Overrides the default derived from `goal` (e.g. `traffic` defaults to `LINK_CLICKS`). Forwarded verbatim to Meta, which validates compatibility with the campaign objective and rejects incompatible combinations.
|
|
44509
44569
|
*/
|
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.
|
|
39
|
+
version: "0.2.1071",
|
|
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.
|
|
8
|
+
version: "0.2.1071",
|
|
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
|
@@ -40087,6 +40087,26 @@ export type UpdateAdSetData = {
|
|
|
40087
40087
|
*
|
|
40088
40088
|
*/
|
|
40089
40089
|
bidStrategy?: (BidStrategy);
|
|
40090
|
+
/**
|
|
40091
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
40092
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
40093
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
40094
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
40095
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
40096
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
40097
|
+
* Applied with TikTok's adgroup/update; read it back with GET /v1/ads/ad-sets?adSetId=...&live=true.
|
|
40098
|
+
*
|
|
40099
|
+
*/
|
|
40100
|
+
smartTargeting?: {
|
|
40101
|
+
/**
|
|
40102
|
+
* TikTok smart_audience_enabled.
|
|
40103
|
+
*/
|
|
40104
|
+
audience?: boolean;
|
|
40105
|
+
/**
|
|
40106
|
+
* TikTok smart_interest_behavior_enabled.
|
|
40107
|
+
*/
|
|
40108
|
+
interestsBehaviors?: boolean;
|
|
40109
|
+
};
|
|
40090
40110
|
/**
|
|
40091
40111
|
* Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
|
|
40092
40112
|
* bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Internally converted to Meta's
|
|
@@ -44965,6 +44985,26 @@ export type BoostPostData = {
|
|
|
44965
44985
|
* 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.
|
|
44966
44986
|
*/
|
|
44967
44987
|
bodies?: Array<(string)>;
|
|
44988
|
+
/**
|
|
44989
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
44990
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
44991
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
44992
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
44993
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
44994
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
44995
|
+
* Not available with smartPlus or when attaching to an existing ad set (adSetId).
|
|
44996
|
+
*
|
|
44997
|
+
*/
|
|
44998
|
+
smartTargeting?: {
|
|
44999
|
+
/**
|
|
45000
|
+
* TikTok smart_audience_enabled.
|
|
45001
|
+
*/
|
|
45002
|
+
audience?: boolean;
|
|
45003
|
+
/**
|
|
45004
|
+
* TikTok smart_interest_behavior_enabled.
|
|
45005
|
+
*/
|
|
45006
|
+
interestsBehaviors?: boolean;
|
|
45007
|
+
};
|
|
44968
45008
|
/**
|
|
44969
45009
|
* Meta, or TikTok with `goal: video_views`. TikTok: ENGAGED_VIEW (6-second
|
|
44970
45010
|
* Focused View, the default) or ENGAGED_VIEW_FIFTEEN (15-second views), both
|
|
@@ -45239,6 +45279,26 @@ export type CreateStandaloneAdData = {
|
|
|
45239
45279
|
*
|
|
45240
45280
|
*/
|
|
45241
45281
|
goal?: 'engagement' | 'traffic' | 'awareness' | 'video_views' | 'lead_generation' | 'lead_conversion' | 'conversions' | 'app_promotion' | 'catalog_sales' | 'page_likes' | 'page_visits' | 'job_applicants';
|
|
45282
|
+
/**
|
|
45283
|
+
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
45284
|
+
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
|
45285
|
+
* When on, TikTok may deliver beyond the selected audiences or interests. Available on
|
|
45286
|
+
* Video views, Traffic, Lead generation, App install, Web conversion and Community interaction.
|
|
45287
|
+
* Only the flags you send are written; an unwritten flag reads back null in
|
|
45288
|
+
* `nativeSettings`, so send `false` explicitly to be able to verify it is off.
|
|
45289
|
+
* Not available with smartPlus or when attaching to an existing ad set (adSetId).
|
|
45290
|
+
*
|
|
45291
|
+
*/
|
|
45292
|
+
smartTargeting?: {
|
|
45293
|
+
/**
|
|
45294
|
+
* TikTok smart_audience_enabled.
|
|
45295
|
+
*/
|
|
45296
|
+
audience?: boolean;
|
|
45297
|
+
/**
|
|
45298
|
+
* TikTok smart_interest_behavior_enabled.
|
|
45299
|
+
*/
|
|
45300
|
+
interestsBehaviors?: boolean;
|
|
45301
|
+
};
|
|
45242
45302
|
/**
|
|
45243
45303
|
* Meta, or TikTok with goal video_views (ENGAGED_VIEW, the 6-second default, or ENGAGED_VIEW_FIFTEEN; both bill per view). Meta: Explicit ad-set `optimization_goal` (e.g. `LANDING_PAGE_VIEWS`, `LINK_CLICKS`, `REACH`, `IMPRESSIONS`, `OFFSITE_CONVERSIONS`, `THRUPLAY`, `LEAD_GENERATION`). Overrides the default derived from `goal` (e.g. `traffic` defaults to `LINK_CLICKS`). Forwarded verbatim to Meta, which validates compatibility with the campaign objective and rejects incompatible combinations.
|
|
45244
45304
|
*/
|