@zernio/node 0.2.713 → 0.2.714

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
@@ -2012,6 +2012,10 @@ type AdMetrics = {
2012
2012
  * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
2013
2013
  */
2014
2014
  conversions?: number;
2015
+ /**
2016
+ * All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
2017
+ */
2018
+ allConversions?: number;
2015
2019
  /**
2016
2020
  * Derived spend / conversions in the same currency as spend. 0 when conversions is 0.
2017
2021
  */
@@ -2160,6 +2164,10 @@ type AdsTimelineResponse = {
2160
2164
  * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
2161
2165
  */
2162
2166
  conversions?: number;
2167
+ /**
2168
+ * All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
2169
+ */
2170
+ allConversions?: number;
2163
2171
  costPerConversion?: number;
2164
2172
  /**
2165
2173
  * Per-action-type counts merged across all ads on this day. Keys are platform-native action types.
package/dist/index.d.ts CHANGED
@@ -2012,6 +2012,10 @@ type AdMetrics = {
2012
2012
  * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
2013
2013
  */
2014
2014
  conversions?: number;
2015
+ /**
2016
+ * All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
2017
+ */
2018
+ allConversions?: number;
2015
2019
  /**
2016
2020
  * Derived spend / conversions in the same currency as spend. 0 when conversions is 0.
2017
2021
  */
@@ -2160,6 +2164,10 @@ type AdsTimelineResponse = {
2160
2164
  * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
2161
2165
  */
2162
2166
  conversions?: number;
2167
+ /**
2168
+ * All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
2169
+ */
2170
+ allConversions?: number;
2163
2171
  costPerConversion?: number;
2164
2172
  /**
2165
2173
  * Per-action-type counts merged across all ads on this day. Keys are platform-native action types.
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.713",
39
+ version: "0.2.714",
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.713",
8
+ version: "0.2.714",
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.713",
3
+ "version": "0.2.714",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8156,6 +8156,8 @@ export const getAdTree = <ThrowOnError extends boolean = false>(options?: Option
8156
8156
  * and `backfillPending: true` while the rest is backfilled in the background;
8157
8157
  * repeat the request shortly until it returns 200 with full data.
8158
8158
  *
8159
+ * With adAccountId set to a Google customer id this is the customer-level performance report (clicks, cost, impressions, conversions, all conversions per day).
8160
+ *
8159
8161
  */
8160
8162
  export const getAdsTimeline = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => {
8161
8163
  return (options?.client ?? client).get<GetAdsTimelineResponse, GetAdsTimelineError, ThrowOnError>({
@@ -686,6 +686,10 @@ export type AdMetrics = {
686
686
  * Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
687
687
  */
688
688
  conversions?: number;
689
+ /**
690
+ * All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
691
+ */
692
+ allConversions?: number;
689
693
  /**
690
694
  * Derived spend / conversions in the same currency as spend. 0 when conversions is 0.
691
695
  */
@@ -838,6 +842,10 @@ export type AdsTimelineResponse = {
838
842
  * Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
839
843
  */
840
844
  conversions?: number;
845
+ /**
846
+ * All conversions, including actions excluded from the Conversions column (Google metrics.all_conversions). 0 on platforms without the concept.
847
+ */
848
+ allConversions?: number;
841
849
  costPerConversion?: number;
842
850
  /**
843
851
  * Per-action-type counts merged across all ads on this day. Keys are platform-native action types.