@zernio/node 0.2.819 → 0.2.821

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
@@ -37848,6 +37848,10 @@ type BoostPostData = {
37848
37848
  * Meta, or TikTok with `smartPlus: true`. Attach the boosted post to this existing ad set instead of creating a campaign. On TikTok the id is an existing Smart+ ad group: the post is added as one more Spark ad in it (up to 30 per ad group), under the identity its `sparkAuthCode` creates; goal and budget are inherited from the Smart+ campaign; a regular ad group is rejected with a 400. Meta: The ad set then owns budget, schedule and targeting; sending those too is a 400.
37849
37849
  */
37850
37850
  adSetId?: string;
37851
+ /**
37852
+ * TikTok only. Create the ad group and the Spark ad under this existing TikTok campaign instead of creating a new campaign. The campaign keeps its own status and objective (the objective must fit `goal`). Cannot be combined with adSetId or smartPlus. On Meta use POST /v1/ads/create with existingCampaignId.
37853
+ */
37854
+ existingCampaignId?: string;
37851
37855
  /**
37852
37856
  * Required unless adSetId is set.
37853
37857
  */
package/dist/index.d.ts CHANGED
@@ -37848,6 +37848,10 @@ type BoostPostData = {
37848
37848
  * Meta, or TikTok with `smartPlus: true`. Attach the boosted post to this existing ad set instead of creating a campaign. On TikTok the id is an existing Smart+ ad group: the post is added as one more Spark ad in it (up to 30 per ad group), under the identity its `sparkAuthCode` creates; goal and budget are inherited from the Smart+ campaign; a regular ad group is rejected with a 400. Meta: The ad set then owns budget, schedule and targeting; sending those too is a 400.
37849
37849
  */
37850
37850
  adSetId?: string;
37851
+ /**
37852
+ * TikTok only. Create the ad group and the Spark ad under this existing TikTok campaign instead of creating a new campaign. The campaign keeps its own status and objective (the objective must fit `goal`). Cannot be combined with adSetId or smartPlus. On Meta use POST /v1/ads/create with existingCampaignId.
37853
+ */
37854
+ existingCampaignId?: string;
37851
37855
  /**
37852
37856
  * Required unless adSetId is set.
37853
37857
  */
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.819",
39
+ version: "0.2.821",
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.819",
8
+ version: "0.2.821",
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.819",
3
+ "version": "0.2.821",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8935,7 +8935,7 @@ export const getAd = <ThrowOnError extends boolean = false>(options: OptionsLega
8935
8935
  *
8936
8936
  * Per-platform support:
8937
8937
  * - **Meta** (Facebook + Instagram): all fields supported.
8938
- * - **TikTok**: status, budget, targeting (via `/v2/adgroup/update/`), and creative
8938
+ * - **TikTok**: status, budget, `name` (renames the ad), targeting (via `/v2/adgroup/update/`), and creative
8939
8939
  * (via `/v2/ad/update/` patch-style: `headline` is ignored, `body` becomes `ad_text`).
8940
8940
  * - **Google**: status, budget, KEYWORD edits via `targeting.keywords` /
8941
8941
  * `targeting.negativeKeywords`, DEVICE bid adjustments via `targeting.devices`,
@@ -38458,6 +38458,10 @@ export type BoostPostData = {
38458
38458
  * Meta, or TikTok with `smartPlus: true`. Attach the boosted post to this existing ad set instead of creating a campaign. On TikTok the id is an existing Smart+ ad group: the post is added as one more Spark ad in it (up to 30 per ad group), under the identity its `sparkAuthCode` creates; goal and budget are inherited from the Smart+ campaign; a regular ad group is rejected with a 400. Meta: The ad set then owns budget, schedule and targeting; sending those too is a 400.
38459
38459
  */
38460
38460
  adSetId?: string;
38461
+ /**
38462
+ * TikTok only. Create the ad group and the Spark ad under this existing TikTok campaign instead of creating a new campaign. The campaign keeps its own status and objective (the objective must fit `goal`). Cannot be combined with adSetId or smartPlus. On Meta use POST /v1/ads/create with existingCampaignId.
38463
+ */
38464
+ existingCampaignId?: string;
38461
38465
  /**
38462
38466
  * Required unless adSetId is set.
38463
38467
  */