verify
Live-check that configured tokens actually work. Hits each platform API that supports a credential check — so you catch an expired token before a real conversion does.
Usage
shell
adscapi verify [--platform <key>] [--all]
Flags
| Flag | Effect |
|---|---|
--platform <key> | Live-check only this platform (must still be configured). Ignored when --all is set |
--all | Check every configured platform that supports a live credential check (default when neither flag is set) |
Default (no flags) verifies every configured platform that supports a live check — same as --all. Only platforms with a documented credential endpoint appear; others stay silent here (see doctor for the [· ] unverifiable rows).
Output
shell
$ npx adscapi verify [OK ] meta — EMQ 8.2 [OK ] ga4 [ERR] tiktok — invalid access token $ npx adscapi verify --platform meta [OK ] meta — EMQ 8.2
Each line is [OK ] or [ERR] plus optional detail. For Meta, detail can include Event Match Quality (EMQ) — treat it as the scoreboard when tuning identity. See Match quality.
If nothing supports a live check yet: No configured platform supports a live credential check yet.
Related
- check — secrets present (no network)
- doctor — same live checks + nonzero exit for CI
- Match quality