@koda-sl/baker-cli 0.377.0 → 0.379.0-dev.0114084a3
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 +6 -1
- package/dist/{chunk-FGHMWBUD.js → chunk-CHJOTJTZ.js} +4 -4
- package/dist/chunk-CHJOTJTZ.js.map +1 -0
- package/dist/{chunk-WKGKDYX3.js → chunk-VLUGGVJL.js} +6 -1
- package/dist/{chunk-WKGKDYX3.js.map → chunk-VLUGGVJL.js.map} +1 -1
- package/dist/cli.js +888 -422
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/dist/{shared-VAA3SCQR.js → shared-J7DQZ2ED.js} +4 -2
- package/package.json +1 -1
- package/dist/chunk-FGHMWBUD.js.map +0 -1
- /package/dist/{shared-VAA3SCQR.js.map → shared-J7DQZ2ED.js.map} +0 -0
package/README.md
CHANGED
|
@@ -905,6 +905,9 @@ baker ads meta leads --form-id 987654321 --full # raw conta
|
|
|
905
905
|
baker ads meta campaigns --account-id act_123 # ACTIVE only by default
|
|
906
906
|
baker ads meta ads --account-id act_123 --all-statuses # widen to everything
|
|
907
907
|
|
|
908
|
+
# "Find the October ad" — Meta matches the name, so only that row is read
|
|
909
|
+
baker ads meta ads --account-id act_123 --all-statuses --name-contains octubre --fields id,name,adset_id,creative_id
|
|
910
|
+
|
|
908
911
|
# "Tell me about ad 9988"
|
|
909
912
|
baker ads meta creatives --creative-id 9988
|
|
910
913
|
baker ads meta preview --creative-id 9988 --ad-format MOBILE_FEED_STANDARD --out-file /tmp/p.html
|
|
@@ -966,7 +969,7 @@ baker ads meta draft remove meta_temp_cr # removing a create cascades to depen
|
|
|
966
969
|
baker ads meta draft clear
|
|
967
970
|
```
|
|
968
971
|
|
|
969
|
-
Status changes are `pause|resume|archive` subcommands on `campaigns`/`adsets`/`ads`. `duplicate` reconstructs a paused copy from the live snapshot (`--replace` also pauses the original once the copy publishes — write it attached, `--replace=false` or `--no-replace`, since the spaced form `--replace false` is rejected: a boolean flag written with a space is set to true and the word dropped). Carousel/dynamic creatives and complex targeting go via `--file` (creativeType `carousel`/`dynamic`; full Meta targeting spec). Advantage+ Creative enhancements: `--standard-enhancements on|off`, or per-feature toggles via a `--file` `enhancements.features` map.
|
|
972
|
+
Status changes are `pause|resume|archive|delete` subcommands on `campaigns`/`adsets`/`ads`. `archive` keeps the entity readable in Ads Manager; `delete` removes it permanently (an archived entity can only be deleted). `duplicate` reconstructs a paused copy from the live snapshot (`--replace` also pauses the original once the copy publishes — write it attached, `--replace=false` or `--no-replace`, since the spaced form `--replace false` is rejected: a boolean flag written with a space is set to true and the word dropped). Carousel/dynamic creatives and complex targeting go via `--file` (creativeType `carousel`/`dynamic`; full Meta targeting spec). Advantage+ Creative enhancements: `--standard-enhancements on|off`, or per-feature toggles via a `--file` `enhancements.features` map.
|
|
970
973
|
|
|
971
974
|
#### Smart defaults (so agents don't enumerate the API)
|
|
972
975
|
|
|
@@ -984,6 +987,8 @@ Status changes are `pause|resume|archive` subcommands on `campaigns`/`adsets`/`a
|
|
|
984
987
|
|
|
985
988
|
**Listing rows (`campaigns`/`adsets`/`ads`/`activities`)** print a table of compact rows by default — the fields you decide with (id, name, `effective_status`, budgets, goal; for activities who/when/what and a one-line `change`). `--fields a,b.c` returns exactly those dotted paths, `--full` returns every field Meta sent (targeting, tracking specs, raw `extra_data`), and `--output json` returns the rows in the `{ ok, data }` envelope.
|
|
986
989
|
|
|
990
|
+
To find one entity by name, pass `--name-contains <text>` to `campaigns`, `adsets` or `ads`: Meta matches it server-side (case-insensitive), so only the matching rows are read instead of the whole account.
|
|
991
|
+
|
|
987
992
|
**Pagination** is auto-drained (no manual cursor handling).
|
|
988
993
|
|
|
989
994
|
#### Full command surface
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
shouldEscalate
|
|
21
21
|
} from "./chunk-HJEMOSPH.js";
|
|
22
22
|
|
|
23
|
-
//
|
|
23
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/index.js
|
|
24
24
|
var require_safe_stable_stringify = __commonJS({
|
|
25
|
-
"
|
|
25
|
+
"../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
26
26
|
"use strict";
|
|
27
27
|
var { hasOwnProperty } = Object.prototype;
|
|
28
28
|
var stringify = configure2();
|
|
@@ -1123,7 +1123,7 @@ function resolveAdaptFormats(params) {
|
|
|
1123
1123
|
return params.formats ?? [];
|
|
1124
1124
|
}
|
|
1125
1125
|
|
|
1126
|
-
//
|
|
1126
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1127
1127
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1128
1128
|
var configure = import__.default.configure;
|
|
1129
1129
|
var wrapper_default = import__.default;
|
|
@@ -9986,4 +9986,4 @@ export {
|
|
|
9986
9986
|
defaultRegistry,
|
|
9987
9987
|
createEngineFromEnv
|
|
9988
9988
|
};
|
|
9989
|
-
//# sourceMappingURL=chunk-
|
|
9989
|
+
//# sourceMappingURL=chunk-CHJOTJTZ.js.map
|