@getlatedev/node 0.2.1818 → 0.2.1819

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
@@ -70227,9 +70227,9 @@ type GetAdTreeData = {
70227
70227
  */
70228
70228
  search?: string;
70229
70229
  /**
70230
- * Campaign-level sort order. `newest` (default) / `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` order by aggregated spend in the requested date range; campaigns with no spend land at the end.
70230
+ * Campaign order. `newest` (default) / `oldest`: by the newest ad's createdAt. `spend_*`: by spend in the date range. `results_*` / `cost_per_result_*`: by results, or spend per result, for each campaign's objective (reach summed across its ads); no-result campaigns end a cost order.
70231
70231
  */
70232
- sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
70232
+ sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc' | 'results_desc' | 'results_asc' | 'cost_per_result_asc' | 'cost_per_result_desc';
70233
70233
  /**
70234
70234
  * `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager. Matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default; use the `status` param for that.
70235
70235
  */
package/dist/index.d.ts CHANGED
@@ -70227,9 +70227,9 @@ type GetAdTreeData = {
70227
70227
  */
70228
70228
  search?: string;
70229
70229
  /**
70230
- * Campaign-level sort order. `newest` (default) / `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` order by aggregated spend in the requested date range; campaigns with no spend land at the end.
70230
+ * Campaign order. `newest` (default) / `oldest`: by the newest ad's createdAt. `spend_*`: by spend in the date range. `results_*` / `cost_per_result_*`: by results, or spend per result, for each campaign's objective (reach summed across its ads); no-result campaigns end a cost order.
70231
70231
  */
70232
- sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
70232
+ sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc' | 'results_desc' | 'results_asc' | 'cost_per_result_asc' | 'cost_per_result_desc';
70233
70233
  /**
70234
70234
  * `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager. Matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default; use the `status` param for that.
70235
70235
  */
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: "@getlatedev/node",
39
- version: "0.2.1818",
39
+ version: "0.2.1819",
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: "@getlatedev/node",
8
- version: "0.2.1818",
8
+ version: "0.2.1819",
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": "@getlatedev/node",
3
- "version": "0.2.1818",
3
+ "version": "0.2.1819",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -71685,9 +71685,9 @@ export type GetAdTreeData = {
71685
71685
  */
71686
71686
  search?: string;
71687
71687
  /**
71688
- * Campaign-level sort order. `newest` (default) / `oldest` order by the campaign's newest-ad createdAt. `spend_desc` / `spend_asc` order by aggregated spend in the requested date range; campaigns with no spend land at the end.
71688
+ * Campaign order. `newest` (default) / `oldest`: by the newest ad's createdAt. `spend_*`: by spend in the date range. `results_*` / `cost_per_result_*`: by results, or spend per result, for each campaign's objective (reach summed across its ads); no-result campaigns end a cost order.
71689
71689
  */
71690
- sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc';
71690
+ sort?: 'newest' | 'oldest' | 'spend_desc' | 'spend_asc' | 'results_desc' | 'results_asc' | 'cost_per_result_asc' | 'cost_per_result_desc';
71691
71691
  /**
71692
71692
  * `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager. Matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default; use the `status` param for that.
71693
71693
  */