@koda-sl/baker-cli 0.344.0-dev.9890d9fcc → 0.344.0
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/README.md +2 -4
- package/dist/{chunk-D5P4COPD.js → chunk-FFOURYP5.js} +4 -4
- package/dist/chunk-FFOURYP5.js.map +1 -0
- package/dist/cli.js +14 -135
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-D5P4COPD.js.map +0 -1
package/README.md
CHANGED
|
@@ -339,9 +339,9 @@ The same lines also go to stderr. A read with nothing to report prints none of i
|
|
|
339
339
|
|-----------------|--------------------------------------------------------------|
|
|
340
340
|
| `--customer-id` | Google Ads customer ID (10 digits, no dashes). Falls back to `BAKER_GOOGLE_ADS_CUSTOMER_ID` env var. |
|
|
341
341
|
| `--preset` | Named query template (see presets below) |
|
|
342
|
-
| `--date-range` | Override preset date range
|
|
342
|
+
| `--date-range` | Override preset date range (LAST_7_DAYS, LAST_30_DAYS, etc.) |
|
|
343
343
|
| `--include-paused` | Include paused entities in preset results. Off by default: presets return only actually-serving entities (enabled campaign **and** ad group **and** ad). Google Ads has no single serving flag, so the whole chain must be `ENABLED` for an entity to serve. |
|
|
344
|
-
| `--limit` | Max rows per page (default 200
|
|
344
|
+
| `--limit` | Max rows per page (default 200) |
|
|
345
345
|
| `--cursor` | Pagination cursor from previous response |
|
|
346
346
|
| `--all` | Auto-paginate all results. Exhausts the pages, not the statement's `LIMIT` — pair it with a `--limit` above the expected row count, and a read that still fills its cap is flagged `TRUNCATED_RESULTS` either way |
|
|
347
347
|
| `--out` | Write data to file (format from extension: .csv, .jsonl, .json) |
|
|
@@ -387,8 +387,6 @@ The CLI rejects or automatically corrects common GAQL mistakes before hitting th
|
|
|
387
387
|
| `shopping_performance_view.product_*` | Rewrites to `segments.product_*` | Field renamed |
|
|
388
388
|
| `campaign.status = 'ACTIVE'` | Rewrites to `= 'ENABLED'` | Enum corrected |
|
|
389
389
|
| `segments.conversion_action_name` with `metrics.cost_micros` | Rejects; split into separate conversion-action and spend queries | `INCOMPATIBLE_FIELDS` with `fix.action: "split_query"` |
|
|
390
|
-
| `DURING` with a literal Google does not accept (`LAST_90_DAYS`, `LAST_12_MONTHS`, `THIS_YEAR` …) | Rejects before any request; `DURING` takes only `TODAY`, `YESTERDAY`, `LAST_7_DAYS`, `LAST_14_DAYS`, `LAST_30_DAYS`, `LAST_BUSINESS_WEEK`, `THIS_MONTH`, `LAST_MONTH`, `THIS_WEEK_SUN_TODAY`, `THIS_WEEK_MON_TODAY`, `LAST_WEEK_SUN_SAT`, `LAST_WEEK_MON_SUN` | `INVALID_DATE_RANGE`, with `fix.correctedCommand` spelling the same window as `BETWEEN 'YYYY-MM-DD' AND 'YYYY-MM-DD'` |
|
|
391
|
-
| `--limit` outside 1–10,000 | Rejects before any request | `VALIDATION_ERROR` naming the cap and `--all --out` for bigger reads |
|
|
392
390
|
| `FROM ad_group_criterion` without `negative` field | Warns | `"ad_group_criterion returns BOTH positive and negative keywords. Use --preset positive-keywords or negative-keywords."` |
|
|
393
391
|
|
|
394
392
|
Auto-fixed queries proceed normally. Warnings appear in the response:
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
shouldEscalate
|
|
20
20
|
} from "./chunk-4VP5WWPR.js";
|
|
21
21
|
|
|
22
|
-
//
|
|
22
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
|
|
23
23
|
var require_safe_stable_stringify = __commonJS({
|
|
24
|
-
"
|
|
24
|
+
"../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
25
25
|
"use strict";
|
|
26
26
|
var { hasOwnProperty } = Object.prototype;
|
|
27
27
|
var stringify = configure2();
|
|
@@ -1113,7 +1113,7 @@ function resolveAdaptFormats(params) {
|
|
|
1113
1113
|
return params.formats ?? [];
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
|
-
//
|
|
1116
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1117
1117
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1118
1118
|
var configure = import__.default.configure;
|
|
1119
1119
|
var wrapper_default = import__.default;
|
|
@@ -9804,4 +9804,4 @@ export {
|
|
|
9804
9804
|
defaultRegistry,
|
|
9805
9805
|
createEngineFromEnv
|
|
9806
9806
|
};
|
|
9807
|
-
//# sourceMappingURL=chunk-
|
|
9807
|
+
//# sourceMappingURL=chunk-FFOURYP5.js.map
|