@zernio/node 0.2.821 → 0.2.823

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
@@ -38528,7 +38528,11 @@ type CreateStandaloneAdData = {
38528
38528
  */
38529
38529
  adSetId?: string;
38530
38530
  /**
38531
- * Meta, Google Ads, and LinkedIn. On Meta: add the new ad
38531
+ * Meta, Google Ads, LinkedIn and TikTok. On TikTok: creates
38532
+ * the ad group and the ad under this existing campaign; the
38533
+ * campaign is neither created nor activated and its
38534
+ * objective must fit `goal`; not with `smartPlus`.
38535
+ * On Meta: add the new ad
38532
38536
  * set under this EXISTING campaign instead of creating a new
38533
38537
  * one (multi-ad-set audience testing). The new ad set's
38534
38538
  * budget is matched to the campaign's mode automatically:
package/dist/index.d.ts CHANGED
@@ -38528,7 +38528,11 @@ type CreateStandaloneAdData = {
38528
38528
  */
38529
38529
  adSetId?: string;
38530
38530
  /**
38531
- * Meta, Google Ads, and LinkedIn. On Meta: add the new ad
38531
+ * Meta, Google Ads, LinkedIn and TikTok. On TikTok: creates
38532
+ * the ad group and the ad under this existing campaign; the
38533
+ * campaign is neither created nor activated and its
38534
+ * objective must fit `goal`; not with `smartPlus`.
38535
+ * On Meta: add the new ad
38532
38536
  * set under this EXISTING campaign instead of creating a new
38533
38537
  * one (multi-ad-set audience testing). The new ad set's
38534
38538
  * budget is matched to the campaign's mode automatically:
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.821",
39
+ version: "0.2.823",
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.821",
8
+ version: "0.2.823",
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.821",
3
+ "version": "0.2.823",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8704,11 +8704,17 @@ export const createAdSet = <ThrowOnError extends boolean = false>(options: Optio
8704
8704
 
8705
8705
  /**
8706
8706
  * Duplicate an ad set
8707
- * Duplicates an ad set, including its ads and creatives by default (`deepCopy: true`),
8708
- * via Meta's native `POST /{adset-id}/copies`. The copy is created paused so callers can
8709
- * review before launching. `campaignId` retargets the copy into another campaign; omitted
8710
- * = the source's own campaign. The new hierarchy materializes asynchronously, and sync
8711
- * discovery is triggered automatically (`syncAfter: false` to skip).
8707
+ * Duplicates an ad set. The copy is created paused so callers can review before launching.
8708
+ * `campaignId` retargets the copy into another campaign; omitted = the source's own campaign.
8709
+ *
8710
+ * Meta: ads and creatives are included by default (`deepCopy: true`) via Meta's native
8711
+ * `POST /{adset-id}/copies`; the new hierarchy materializes asynchronously and sync discovery
8712
+ * is triggered automatically (`syncAfter: false` to skip).
8713
+ *
8714
+ * TikTok: the ad group is read and recreated under the campaign with its targeting, bidding,
8715
+ * budget and schedule (start reset to now); `deepCopy: true` recreates its ads too (default
8716
+ * false). `startTime`, `endTime` and `renameStrategy` are ignored and `statusOption` must be
8717
+ * PAUSED or absent. The copy appears on the next discovery sync.
8712
8718
  */
8713
8719
  export const duplicateAdSet = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DuplicateAdSetData, ThrowOnError>) => {
8714
8720
  return (options?.client ?? client).post<DuplicateAdSetResponse, DuplicateAdSetError, ThrowOnError>({
@@ -39144,7 +39144,11 @@ export type CreateStandaloneAdData = {
39144
39144
  */
39145
39145
  adSetId?: string;
39146
39146
  /**
39147
- * Meta, Google Ads, and LinkedIn. On Meta: add the new ad
39147
+ * Meta, Google Ads, LinkedIn and TikTok. On TikTok: creates
39148
+ * the ad group and the ad under this existing campaign; the
39149
+ * campaign is neither created nor activated and its
39150
+ * objective must fit `goal`; not with `smartPlus`.
39151
+ * On Meta: add the new ad
39148
39152
  * set under this EXISTING campaign instead of creating a new
39149
39153
  * one (multi-ad-set audience testing). The new ad set's
39150
39154
  * budget is matched to the campaign's mode automatically: