@koda-sl/baker-cli 0.387.0 → 0.388.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 +43 -1
- package/dist/{chunk-HJEMOSPH.js → chunk-AOVFDDVW.js} +11 -1
- package/dist/{chunk-HJEMOSPH.js.map → chunk-AOVFDDVW.js.map} +1 -1
- package/dist/{chunk-FGHMWBUD.js → chunk-FPJ5FXAX.js} +3 -3
- package/dist/{chunk-WLDM2TRF.js → chunk-NEZ3NAJV.js} +4 -4
- package/dist/{chunk-MF7YA62W.js → chunk-OKE2QJSJ.js} +3 -3
- package/dist/{chunk-VZEDAFAR.js → chunk-QIQ57EIA.js} +2 -2
- package/dist/{chunk-XHC4LMK4.js → chunk-T2UNK5BW.js} +7 -7
- package/dist/cli.js +37901 -11839
- package/dist/cli.js.map +1 -1
- package/dist/{client-GR6YL3YX.js → client-EQOSDYJL.js} +4 -4
- package/dist/engine/index.js +3 -3
- package/dist/{env-4P5HOGNA.js → env-ANKM47IJ.js} +2 -2
- package/dist/{output-NMQXZF3Z.js → output-NR4EJQDV.js} +5 -5
- package/dist/{shared-6762QE6R.js → shared-SLCDVV45.js} +6 -6
- package/package.json +3 -1
- /package/dist/{chunk-FGHMWBUD.js.map → chunk-FPJ5FXAX.js.map} +0 -0
- /package/dist/{chunk-WLDM2TRF.js.map → chunk-NEZ3NAJV.js.map} +0 -0
- /package/dist/{chunk-MF7YA62W.js.map → chunk-OKE2QJSJ.js.map} +0 -0
- /package/dist/{chunk-VZEDAFAR.js.map → chunk-QIQ57EIA.js.map} +0 -0
- /package/dist/{chunk-XHC4LMK4.js.map → chunk-T2UNK5BW.js.map} +0 -0
- /package/dist/{client-GR6YL3YX.js.map → client-EQOSDYJL.js.map} +0 -0
- /package/dist/{env-4P5HOGNA.js.map → env-ANKM47IJ.js.map} +0 -0
- /package/dist/{output-NMQXZF3Z.js.map → output-NR4EJQDV.js.map} +0 -0
- /package/dist/{shared-6762QE6R.js.map → shared-SLCDVV45.js.map} +0 -0
package/README.md
CHANGED
|
@@ -157,7 +157,7 @@ Use `--output` to change format:
|
|
|
157
157
|
|
|
158
158
|
### Ad Platforms (`baker ads`)
|
|
159
159
|
|
|
160
|
-
Multi-platform ad commands. Google, Meta, and LinkedIn support both reads and **staged writes** (create/update campaigns, ad sets/ad groups, ads, creatives, audiences — applied on chat publish); X (Twitter) is read + analytics. TikTok is coming.
|
|
160
|
+
Multi-platform ad commands. Google, Meta, and LinkedIn support both reads and **staged writes** (create/update campaigns, ad sets/ad groups, ads, creatives, audiences — applied on chat publish); X (Twitter) is read + analytics; ChatGPT Ads is read + analytics + staged writes. TikTok is coming.
|
|
161
161
|
|
|
162
162
|
---
|
|
163
163
|
|
|
@@ -863,6 +863,48 @@ baker ads x targeting-constants --constant tv_shows --locale en-US
|
|
|
863
863
|
|
|
864
864
|
---
|
|
865
865
|
|
|
866
|
+
### ChatGPT Ads (`baker ads chatgpt`)
|
|
867
|
+
|
|
868
|
+
Read the company's ChatGPT Ads account (OpenAI's ads inside ChatGPT conversations) and how it performs, and stage changes to it that apply when the chat is published. The company connects one account in the dashboard (Brain → Integrations → ChatGPT Ads) with an API key from its Ads Manager; the key stays in Baker and never reaches the CLI, so there is no account id to pass.
|
|
869
|
+
|
|
870
|
+
| Subcommand | What it returns |
|
|
871
|
+
|---|---|
|
|
872
|
+
| `account` | Name, currency, timezone, status, and the brand and account reviews that decide whether anything serves |
|
|
873
|
+
| `campaigns` | Campaigns: objective, daily or lifetime budget (currency units), schedule, locations, platforms, serving issues |
|
|
874
|
+
| `ad-groups` | Ad groups (`--campaign-id`): bid strategy, max bid, context hints, serving issues |
|
|
875
|
+
| `ads` | Ads (`--ad-group-id`): the card's copy, image, destination, review outcome, serving issues |
|
|
876
|
+
| `conversions` | Pixels (with the pixel id a landing page installs) and conversions, with the campaigns using each |
|
|
877
|
+
| `insights` | Impressions, clicks, spend, CTR, CPC, CPM, conversions, CPA, ROAS — per `--level account\|campaign\|ad_group\|ad`, over `--days N` or `--since/--until`, `--granularity`, `--segment country\|device\|platform\|product` |
|
|
878
|
+
| `campaigns create\|update\|pause\|resume\|archive` | Stage a campaign change: objective, daily or lifetime budget (currency units), schedule, countries and regions included and excluded, audiences, platforms, tracking template, status, the conversions it measures (`--conversion-event-ids`), a catalog (`--catalog-id`) |
|
|
879
|
+
| `ad-groups create\|update\|pause\|resume\|archive` | Stage an ad group change: context hints, bid strategy, max bid, audience bid adjustments, tracking template, product filters, status |
|
|
880
|
+
| `ads create\|update\|pause\|resume\|archive` | Stage a chat card: title, body, landing page, image and its crop, tracking template, status |
|
|
881
|
+
| `ads create-product` | Stage a catalog ad group's product ad: a title template the catalog's products fill in |
|
|
882
|
+
| `pixels create` | Stage a new website pixel |
|
|
883
|
+
| `audiences` | Custom audiences, with `create\|add\|remove\|archive` — members hashed on your machine, never sent raw |
|
|
884
|
+
| `catalogs` | Product catalogs, with `uploads` (how each upload went) and `products` (preview filters) |
|
|
885
|
+
| `conversions report` | Conversions split into click-through and view-through, with the attribution windows |
|
|
886
|
+
| `history` | What changed in the account, by anyone, with each field before and after |
|
|
887
|
+
| `account update` | Stage the advertiser's brand name or icon (`--favicon-url`) |
|
|
888
|
+
| `conversions create` | Stage a conversion — a standard event (`lead_created`, `order_created`, …) or a custom one by name — counted from the account's pixel |
|
|
889
|
+
| `conversions events` | What the pixel delivered in the last ~15 minutes — proof a site sends the event |
|
|
890
|
+
| `locations <place>` | Regions, cities and markets ChatGPT Ads can target, with the id `--location-ids` takes |
|
|
891
|
+
| `draft` | Review the staged changes as a tree; `show`, `amend`, `remove`, `clear`. After a publish, what applied and what failed |
|
|
892
|
+
|
|
893
|
+
`--full` on the list commands returns ChatGPT Ads' own objects. ChatGPT Ads refuses some metric and breakdown combinations (CPA, conversion rate and sales cannot be broken down; conversions come daily or as one total); `insights` refuses them first and says why.
|
|
894
|
+
|
|
895
|
+
Writes need `BAKER_CHAT_ID`: they stage on the chat and reach ChatGPT Ads only when it is published. New entities are created paused unless `--status active`.
|
|
896
|
+
|
|
897
|
+
```bash
|
|
898
|
+
baker ads chatgpt account
|
|
899
|
+
baker ads chatgpt insights --days 30 --granularity daily --level account
|
|
900
|
+
baker ads chatgpt insights --campaign-id cmpn_123 --level ad --sort spend
|
|
901
|
+
baker ads chatgpt campaigns create --name "Spring push" --objective clicks --daily-budget 20 --countries ES
|
|
902
|
+
baker ads chatgpt ad-groups create --campaign-id chatgpt_temp_ab12 --name "Rooftop owners" --context-hints "solar panels for my house" --max-bid 2.50
|
|
903
|
+
baker ads chatgpt draft
|
|
904
|
+
```
|
|
905
|
+
|
|
906
|
+
---
|
|
907
|
+
|
|
866
908
|
### Meta Ads (`baker ads meta`)
|
|
867
909
|
|
|
868
910
|
Meta Marketing API (Facebook + Instagram). Connect via OAuth in the dashboard, pick which ad accounts to scope to, then call from the CLI. Account ID via `--account-id act_123` or `BAKER_META_AD_ACCOUNT_ID` env var.
|
|
@@ -4,6 +4,14 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __glob = (map) => (path) => {
|
|
8
|
+
var fn = map[path];
|
|
9
|
+
if (fn) return fn();
|
|
10
|
+
throw new Error("Module not found in bundle: " + path);
|
|
11
|
+
};
|
|
12
|
+
var __esm = (fn, res) => function __init() {
|
|
13
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
14
|
+
};
|
|
7
15
|
var __commonJS = (cb, mod) => function __require() {
|
|
8
16
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
17
|
};
|
|
@@ -1247,6 +1255,8 @@ function childEnvWith(extra) {
|
|
|
1247
1255
|
}
|
|
1248
1256
|
|
|
1249
1257
|
export {
|
|
1258
|
+
__glob,
|
|
1259
|
+
__esm,
|
|
1250
1260
|
__commonJS,
|
|
1251
1261
|
__toESM,
|
|
1252
1262
|
isChallengeBody,
|
|
@@ -1289,4 +1299,4 @@ export {
|
|
|
1289
1299
|
captureVimeoCookie,
|
|
1290
1300
|
childEnvWith
|
|
1291
1301
|
};
|
|
1292
|
-
//# sourceMappingURL=chunk-
|
|
1302
|
+
//# sourceMappingURL=chunk-AOVFDDVW.js.map
|