@zernio/node 0.2.795 → 0.2.797
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 +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +12 -0
package/dist/index.d.mts
CHANGED
|
@@ -37166,6 +37166,14 @@ type BoostPostData = {
|
|
|
37166
37166
|
*/
|
|
37167
37167
|
adAccountId: string;
|
|
37168
37168
|
name: string;
|
|
37169
|
+
/**
|
|
37170
|
+
* Exact name for the campaign this boost provisions. Omitted keeps the default `<name> - Campaign`. Every platform: on LinkedIn it names the campaign group. Ignored on the Meta attach shape (`adSetId`), which creates no campaign.
|
|
37171
|
+
*/
|
|
37172
|
+
campaignName?: string;
|
|
37173
|
+
/**
|
|
37174
|
+
* Exact name for the ad-group level this boost provisions. Omitted keeps the default `<name> - Ad Group`. Meta: ad set; TikTok, Pinterest, Google: ad group; X: line item; LinkedIn: the campaign under the campaign group. Ignored on the Meta attach shape.
|
|
37175
|
+
*/
|
|
37176
|
+
adSetName?: string;
|
|
37169
37177
|
/**
|
|
37170
37178
|
* Available goals vary by platform. Meta (Facebook/Instagram) and TikTok support all 7. LinkedIn supports all except app_promotion. X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
|
|
37171
37179
|
*/
|
|
@@ -37430,6 +37438,10 @@ type BoostPostData = {
|
|
|
37430
37438
|
*
|
|
37431
37439
|
*/
|
|
37432
37440
|
sparkAuthCode?: string;
|
|
37441
|
+
/**
|
|
37442
|
+
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms.
|
|
37443
|
+
*/
|
|
37444
|
+
smartPlus?: boolean;
|
|
37433
37445
|
/**
|
|
37434
37446
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
37435
37447
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|
package/dist/index.d.ts
CHANGED
|
@@ -37166,6 +37166,14 @@ type BoostPostData = {
|
|
|
37166
37166
|
*/
|
|
37167
37167
|
adAccountId: string;
|
|
37168
37168
|
name: string;
|
|
37169
|
+
/**
|
|
37170
|
+
* Exact name for the campaign this boost provisions. Omitted keeps the default `<name> - Campaign`. Every platform: on LinkedIn it names the campaign group. Ignored on the Meta attach shape (`adSetId`), which creates no campaign.
|
|
37171
|
+
*/
|
|
37172
|
+
campaignName?: string;
|
|
37173
|
+
/**
|
|
37174
|
+
* Exact name for the ad-group level this boost provisions. Omitted keeps the default `<name> - Ad Group`. Meta: ad set; TikTok, Pinterest, Google: ad group; X: line item; LinkedIn: the campaign under the campaign group. Ignored on the Meta attach shape.
|
|
37175
|
+
*/
|
|
37176
|
+
adSetName?: string;
|
|
37169
37177
|
/**
|
|
37170
37178
|
* Available goals vary by platform. Meta (Facebook/Instagram) and TikTok support all 7. LinkedIn supports all except app_promotion. X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
|
|
37171
37179
|
*/
|
|
@@ -37430,6 +37438,10 @@ type BoostPostData = {
|
|
|
37430
37438
|
*
|
|
37431
37439
|
*/
|
|
37432
37440
|
sparkAuthCode?: string;
|
|
37441
|
+
/**
|
|
37442
|
+
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms.
|
|
37443
|
+
*/
|
|
37444
|
+
smartPlus?: boolean;
|
|
37433
37445
|
/**
|
|
37434
37446
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
37435
37447
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|
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.797",
|
|
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.797",
|
|
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
|
@@ -37767,6 +37767,14 @@ export type BoostPostData = {
|
|
|
37767
37767
|
*/
|
|
37768
37768
|
adAccountId: string;
|
|
37769
37769
|
name: string;
|
|
37770
|
+
/**
|
|
37771
|
+
* Exact name for the campaign this boost provisions. Omitted keeps the default `<name> - Campaign`. Every platform: on LinkedIn it names the campaign group. Ignored on the Meta attach shape (`adSetId`), which creates no campaign.
|
|
37772
|
+
*/
|
|
37773
|
+
campaignName?: string;
|
|
37774
|
+
/**
|
|
37775
|
+
* Exact name for the ad-group level this boost provisions. Omitted keeps the default `<name> - Ad Group`. Meta: ad set; TikTok, Pinterest, Google: ad group; X: line item; LinkedIn: the campaign under the campaign group. Ignored on the Meta attach shape.
|
|
37776
|
+
*/
|
|
37777
|
+
adSetName?: string;
|
|
37770
37778
|
/**
|
|
37771
37779
|
* Available goals vary by platform. Meta (Facebook/Instagram) and TikTok support all 7. LinkedIn supports all except app_promotion. X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
|
|
37772
37780
|
*/
|
|
@@ -38031,6 +38039,10 @@ export type BoostPostData = {
|
|
|
38031
38039
|
*
|
|
38032
38040
|
*/
|
|
38033
38041
|
sparkAuthCode?: string;
|
|
38042
|
+
/**
|
|
38043
|
+
* TikTok only. Run the Spark post in a Smart+ campaign (goal `conversions` = Smart+ Web Conversions, `lead_generation` = Smart+ Lead Generation) instead of a regular campaign. Requires `sparkAuthCode` (the Smart+ ad runs the post under the identity that redeeming its Spark code creates; a Business Center-owned post is not accepted there) and `promotedObject.pixelId` + `customEventType`. `app_promotion` is not available on a Spark post. Rejected with a 400 on other platforms.
|
|
38044
|
+
*/
|
|
38045
|
+
smartPlus?: boolean;
|
|
38034
38046
|
/**
|
|
38035
38047
|
* TikTok-only on this endpoint. The pixel a Website Conversion ad group
|
|
38036
38048
|
* optimizes toward, so a Spark Ad built from an existing organic post can
|