@koda-sl/baker-cli 0.344.0-dev.9890d9fcc → 0.345.0-dev.9f4314fa9
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 +3 -5
- package/dist/cli.js +309 -369
- package/dist/cli.js.map +1 -1
- package/package.json +1 -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:
|
|
@@ -1279,7 +1277,7 @@ baker analytics tracking --platform meta # the same for one platform, read from
|
|
|
1279
1277
|
baker analytics map --platform google --set kw=keyword # name a parameter, seen or not yet
|
|
1280
1278
|
baker analytics map --platform google --remove kw # take that answer back
|
|
1281
1279
|
baker analytics conversions # what counts, what each produced, and which Forms count nothing
|
|
1282
|
-
baker analytics conversions --candidates # everything these pages do, and which of it is counted
|
|
1280
|
+
baker analytics conversions --candidates --output md # everything these pages do, and which of it is counted, as tables
|
|
1283
1281
|
baker analytics conversions --flow contact # one Form's endings as event keys, traffic or not
|
|
1284
1282
|
baker analytics conversions --event page:request_demo --name "Demo requested"
|
|
1285
1283
|
baker analytics conversions --event page:a --event submit:b --name "Lead" # both, as one number
|