@zernio/node 0.2.821 → 0.2.822

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.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.822",
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.822",
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.822",
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>({