@zernio/node 0.2.1021 → 0.2.1022

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
@@ -39918,7 +39918,7 @@ type GetAdTreeData = {
39918
39918
  */
39919
39919
  adAccountId?: string;
39920
39920
  /**
39921
- * Restrict the tree to a single campaign by its platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold a campaign id instead of paging the tree to find it. Mirrors the `campaignId` filter on GET /v1/ads.
39921
+ * Restrict the tree to one or more campaigns by platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Comma-separate up to 100 ids (`?campaignId=123,456`). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold campaign ids (for example from an `ad.status_changed` webhook) instead of paging the whole tree.
39922
39922
  */
39923
39923
  campaignId?: string;
39924
39924
  /**
@@ -39978,6 +39978,10 @@ type GetAdTreeData = {
39978
39978
  * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
39979
39979
  */
39980
39980
  toDate?: string;
39981
+ /**
39982
+ * Return only campaigns with a change stored since this time (ISO 8601 with offset, e.g. `2026-09-30T10:00:00Z`): a new ad, or a change to any ad's status, review status, name, budget or creative. Each matching campaign comes back whole (every ad set and ad). Metrics are not a change: to refresh numbers, filter with `hasDelivery=true` and a date range instead. Combines with every other filter (with `hasDelivery`/`minSpend` a campaign must match both).
39983
+ */
39984
+ updatedSince?: string;
39981
39985
  };
39982
39986
  };
39983
39987
  type GetAdTreeResponse = (AdTreeResponse | (AdTreeResponse & {
package/dist/index.d.ts CHANGED
@@ -39918,7 +39918,7 @@ type GetAdTreeData = {
39918
39918
  */
39919
39919
  adAccountId?: string;
39920
39920
  /**
39921
- * Restrict the tree to a single campaign by its platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold a campaign id instead of paging the tree to find it. Mirrors the `campaignId` filter on GET /v1/ads.
39921
+ * Restrict the tree to one or more campaigns by platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Comma-separate up to 100 ids (`?campaignId=123,456`). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold campaign ids (for example from an `ad.status_changed` webhook) instead of paging the whole tree.
39922
39922
  */
39923
39923
  campaignId?: string;
39924
39924
  /**
@@ -39978,6 +39978,10 @@ type GetAdTreeData = {
39978
39978
  * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
39979
39979
  */
39980
39980
  toDate?: string;
39981
+ /**
39982
+ * Return only campaigns with a change stored since this time (ISO 8601 with offset, e.g. `2026-09-30T10:00:00Z`): a new ad, or a change to any ad's status, review status, name, budget or creative. Each matching campaign comes back whole (every ad set and ad). Metrics are not a change: to refresh numbers, filter with `hasDelivery=true` and a date range instead. Combines with every other filter (with `hasDelivery`/`minSpend` a campaign must match both).
39983
+ */
39984
+ updatedSince?: string;
39981
39985
  };
39982
39986
  };
39983
39987
  type GetAdTreeResponse = (AdTreeResponse | (AdTreeResponse & {
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.1021",
39
+ version: "0.2.1022",
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.1021",
8
+ version: "0.2.1022",
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.1021",
3
+ "version": "0.2.1022",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -40313,7 +40313,7 @@ export type GetAdTreeData = {
40313
40313
  */
40314
40314
  adAccountId?: string;
40315
40315
  /**
40316
- * Restrict the tree to a single campaign by its platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold a campaign id instead of paging the tree to find it. Mirrors the `campaignId` filter on GET /v1/ads.
40316
+ * Restrict the tree to one or more campaigns by platform campaign id (the id the platform assigns, e.g. Meta's numeric campaign id). Comma-separate up to 100 ids (`?campaignId=123,456`). Filters the campaign set itself, so it works regardless of account size and pagination. Pass this when you already hold campaign ids (for example from an `ad.status_changed` webhook) instead of paging the whole tree.
40317
40317
  */
40318
40318
  campaignId?: string;
40319
40319
  /**
@@ -40373,6 +40373,10 @@ export type GetAdTreeData = {
40373
40373
  * End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.
40374
40374
  */
40375
40375
  toDate?: string;
40376
+ /**
40377
+ * Return only campaigns with a change stored since this time (ISO 8601 with offset, e.g. `2026-09-30T10:00:00Z`): a new ad, or a change to any ad's status, review status, name, budget or creative. Each matching campaign comes back whole (every ad set and ad). Metrics are not a change: to refresh numbers, filter with `hasDelivery=true` and a date range instead. Combines with every other filter (with `hasDelivery`/`minSpend` a campaign must match both).
40378
+ */
40379
+ updatedSince?: string;
40376
40380
  };
40377
40381
  };
40378
40382