@koda-sl/baker-cli 0.150.0 → 0.151.0-dev.1a051172a
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 +14 -2
- package/dist/{chunk-OO5BDH3J.js → chunk-JBDSJZBZ.js} +4 -4
- package/dist/chunk-JBDSJZBZ.js.map +1 -0
- package/dist/cli.js +161 -9
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-OO5BDH3J.js.map +0 -1
package/README.md
CHANGED
|
@@ -300,11 +300,22 @@ When a query fails, the error includes a `fix` object with the exact corrected c
|
|
|
300
300
|
|
|
301
301
|
### `baker ads google changes`
|
|
302
302
|
|
|
303
|
-
|
|
303
|
+
Read the change history of an account.
|
|
304
|
+
|
|
305
|
+
Google keeps account history in two layers, and neither reaches past 90 days:
|
|
306
|
+
|
|
307
|
+
| Scope | Reach | What you get |
|
|
308
|
+
|-------------|---------|---------------------------------------------------------------------|
|
|
309
|
+
| `detail` | 30 days | What changed, old → new value, and who changed it |
|
|
310
|
+
| `summary` | 90 days | Which resources were added, changed or removed — no values, no user |
|
|
311
|
+
|
|
312
|
+
Beyond 90 days there is no API. Infer the change from a monthly spend trend per campaign
|
|
313
|
+
instead, or ask the user to check the change history in the Google Ads web UI.
|
|
304
314
|
|
|
305
315
|
```bash
|
|
306
316
|
baker ads google changes --customer-id 1234567890
|
|
307
317
|
baker ads google changes --customer-id 1234567890 --days 14 --resource-type CAMPAIGN
|
|
318
|
+
baker ads google changes --customer-id 1234567890 --days 60 --scope summary
|
|
308
319
|
```
|
|
309
320
|
|
|
310
321
|
**Flags:**
|
|
@@ -312,7 +323,8 @@ baker ads google changes --customer-id 1234567890 --days 14 --resource-type CAMP
|
|
|
312
323
|
| Flag | Description |
|
|
313
324
|
|-------------------|---------------------------------------------------------------|
|
|
314
325
|
| `--customer-id` | Google Ads customer ID. Falls back to `BAKER_GOOGLE_ADS_CUSTOMER_ID` env var. |
|
|
315
|
-
| `--
|
|
326
|
+
| `--scope` | `detail` (default, 30 days) or `summary` (90 days) |
|
|
327
|
+
| `--days` | Lookback days (default 7). Max 30 with `detail`, 90 with `summary` |
|
|
316
328
|
| `--resource-type` | Filter: CAMPAIGN, AD_GROUP, AD_GROUP_AD, AD_GROUP_CRITERION |
|
|
317
329
|
| `--limit` | Max results (default 50) |
|
|
318
330
|
| `--output` | Format: `json` \| `csv` \| `jsonl` \| `md` |
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
__toESM
|
|
8
8
|
} from "./chunk-RK67WL4O.js";
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js
|
|
11
11
|
var require_safe_stable_stringify = __commonJS({
|
|
12
|
-
"
|
|
12
|
+
"../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
13
13
|
"use strict";
|
|
14
14
|
var { hasOwnProperty } = Object.prototype;
|
|
15
15
|
var stringify = configure2();
|
|
@@ -1070,7 +1070,7 @@ function resolveAdaptFormats(params) {
|
|
|
1070
1070
|
return params.formats ?? [];
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
|
-
//
|
|
1073
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1074
1074
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1075
1075
|
var configure = import__.default.configure;
|
|
1076
1076
|
var wrapper_default = import__.default;
|
|
@@ -7941,4 +7941,4 @@ export {
|
|
|
7941
7941
|
defaultRegistry,
|
|
7942
7942
|
createEngineFromEnv
|
|
7943
7943
|
};
|
|
7944
|
-
//# sourceMappingURL=chunk-
|
|
7944
|
+
//# sourceMappingURL=chunk-JBDSJZBZ.js.map
|