@getlatedev/node 0.2.932 → 0.2.933
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +8 -0
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.
|
|
39
|
+
version: "0.2.933",
|
|
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.
|
|
8
|
+
version: "0.2.933",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -9697,6 +9697,14 @@ export const generateKeywordHistoricalMetrics = <ThrowOnError extends boolean =
|
|
|
9697
9697
|
* an invalid query returns a 400 carrying Google's message (note: selecting `segments.date`
|
|
9698
9698
|
* requires a finite date filter).
|
|
9699
9699
|
*
|
|
9700
|
+
* Queries run against Google Ads API **v25**, so write GAQL against the v25 field reference.
|
|
9701
|
+
* One exception is translated for backward compatibility: the legacy `campaign.start_date` /
|
|
9702
|
+
* `campaign.end_date` (removed by Google in v23) are rewritten to `campaign.start_date_time` /
|
|
9703
|
+
* `campaign.end_date_time`, and rows still carry `campaign.startDate` / `campaign.endDate` as
|
|
9704
|
+
* `YYYY-MM-DD`. In WHERE, `=`, `<`, `<=`, `>`, `>=`, `BETWEEN` and `IS [NOT] NULL` against a
|
|
9705
|
+
* `'YYYY-MM-DD'` literal are translated; any other form returns Google's 400. New code should
|
|
9706
|
+
* select the `_date_time` fields directly.
|
|
9707
|
+
*
|
|
9700
9708
|
*/
|
|
9701
9709
|
export const queryAdInsights = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<QueryAdInsightsData, ThrowOnError>) => {
|
|
9702
9710
|
return (options?.client ?? client).get<QueryAdInsightsResponse, QueryAdInsightsError, ThrowOnError>({
|