@zinn-digital/sdk 0.1.1453 → 0.1.1454

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.
@@ -16023,7 +16023,7 @@ export interface paths {
16023
16023
  cookie?: never;
16024
16024
  };
16025
16025
  /**
16026
- * Zinn® Ads analytics leaderboard by network, account, campaign, country or product/site (za-280).
16026
+ * Zinn® Ads analytics leaderboard by network, account, campaign, country, device or product/site (za-280, za-282).
16027
16027
  * @description Rows sorted by spend, paged with `offset` and `limit` (`total` counts every row), each with its comparison figures and a spend sparkline. Gated on `ads.view` over the organisations the person can view; `org_id` narrows to that organisation and its client organisations. Stored rows only (the daily audit's figures), never a network call. Money is integer micros of the reporting `currency`: each account's currency is converted at the CURRENT stored rate, named in `fx`; a currency with no rate is left out of the blended figures and listed in `unconverted`. Conversions are thousandths; ROAS, CTR and conversion rate are basis points; CPA and CPC are micros; a ratio with no denominator is null (za-280).
16028
16028
  */
16029
16029
  get: operations["getAdsAnalyticsBreakdown"];
@@ -63145,7 +63145,7 @@ export interface components {
63145
63145
  };
63146
63146
  AdsAnalyticsBreakdown: components["schemas"]["AdsAnalyticsFrame"] & {
63147
63147
  /** @enum {string} */
63148
- by: "network" | "connection" | "campaign" | "country" | "offering";
63148
+ by: "network" | "connection" | "campaign" | "country" | "device" | "offering";
63149
63149
  limit: number;
63150
63150
  offset: number;
63151
63151
  rows: components["schemas"]["AdsAnalyticsRow"][];
@@ -63324,6 +63324,11 @@ export interface components {
63324
63324
  connection_id?: string;
63325
63325
  country?: string;
63326
63326
  currencies: string[];
63327
+ /**
63328
+ * @description za-282: the device of a `by=device` row.
63329
+ * @enum {string}
63330
+ */
63331
+ device?: "mobile" | "desktop" | "tablet" | "tv" | "other";
63327
63332
  key: string;
63328
63333
  kind?: string;
63329
63334
  label: string;
@@ -112306,6 +112311,8 @@ export interface components {
112306
112311
  AdsAnalyticsCountry: string;
112307
112312
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
112308
112313
  AdsAnalyticsCurrency: string;
112314
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
112315
+ AdsAnalyticsDevice: string;
112309
112316
  AdsAnalyticsFrom: string;
112310
112317
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
112311
112318
  AdsAnalyticsGrain: "day" | "week" | "month";
@@ -137669,7 +137676,7 @@ export interface operations {
137669
137676
  getAdsAnalyticsBreakdown: {
137670
137677
  parameters: {
137671
137678
  query?: {
137672
- by?: "network" | "connection" | "campaign" | "country" | "offering";
137679
+ by?: "network" | "connection" | "campaign" | "country" | "device" | "offering";
137673
137680
  /** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
137674
137681
  campaign?: components["parameters"]["AdsAnalyticsCampaign"];
137675
137682
  compare?: components["parameters"]["AdsAnalyticsCompare"];
@@ -137679,6 +137686,8 @@ export interface operations {
137679
137686
  country?: components["parameters"]["AdsAnalyticsCountry"];
137680
137687
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
137681
137688
  currency?: components["parameters"]["AdsAnalyticsCurrency"];
137689
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
137690
+ device?: components["parameters"]["AdsAnalyticsDevice"];
137682
137691
  from?: components["parameters"]["AdsAnalyticsFrom"];
137683
137692
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
137684
137693
  grain?: components["parameters"]["AdsAnalyticsGrain"];
@@ -137729,6 +137738,8 @@ export interface operations {
137729
137738
  country?: components["parameters"]["AdsAnalyticsCountry"];
137730
137739
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
137731
137740
  currency?: components["parameters"]["AdsAnalyticsCurrency"];
137741
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
137742
+ device?: components["parameters"]["AdsAnalyticsDevice"];
137732
137743
  from?: components["parameters"]["AdsAnalyticsFrom"];
137733
137744
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
137734
137745
  grain?: components["parameters"]["AdsAnalyticsGrain"];
@@ -137777,6 +137788,8 @@ export interface operations {
137777
137788
  country?: components["parameters"]["AdsAnalyticsCountry"];
137778
137789
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
137779
137790
  currency?: components["parameters"]["AdsAnalyticsCurrency"];
137791
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
137792
+ device?: components["parameters"]["AdsAnalyticsDevice"];
137780
137793
  from?: components["parameters"]["AdsAnalyticsFrom"];
137781
137794
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
137782
137795
  grain?: components["parameters"]["AdsAnalyticsGrain"];
@@ -137825,6 +137838,8 @@ export interface operations {
137825
137838
  country?: components["parameters"]["AdsAnalyticsCountry"];
137826
137839
  /** @description Reporting currency (ISO 4217). Default the one currency in play, else the organisation's. */
137827
137840
  currency?: components["parameters"]["AdsAnalyticsCurrency"];
137841
+ /** @description Comma-separated devices: `mobile`, `desktop`, `tablet`, `tv`, `other` (za-282). Reads the device-level figures (Google Ads accounts, campaign grain). No stored level is split by both country and device, so `device` with `country` is refused (422, field `device`). */
137842
+ device?: components["parameters"]["AdsAnalyticsDevice"];
137828
137843
  from?: components["parameters"]["AdsAnalyticsFrom"];
137829
137844
  /** @description Bucket size. Default day up to 92 days, week up to 366, month beyond. */
137830
137845
  grain?: components["parameters"]["AdsAnalyticsGrain"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1453",
3
+ "version": "0.1.1454",
4
4
  "description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",