Your preferences
Stored in this browser. Server secrets stay in /opt/adbuyer/.env.
Pipeline AI keys (Anthropic, OpenAI, Gemini, Ollama) →
Active provider
Loading…
Provider
—
Model
—
Pipeline
—
Use cases
Configuration
Admin only. Keys are stored on the server in ai_runtime_config (override .env). Leave key fields blank to keep the current value.
Providers
Status after save. Pipeline uses the active provider for briefings and queue reasoning.
Onboard clients
Client must exist in Trinity clients (AdIntel Meta sync) first.
Available to enable
All Trinity clients are already enabled.
Enabled for AdBuyer
No clients enabled yet.
Client rules & mode
Thresholds drive the rule engine. Operating mode controls whether actions execute automatically.
BA ↔ Trinity mapping
Links Trinity UUID to BA integer clients.id for ETL.
| Trinity client | BA client id | Meta account | Notes |
|---|
Connection status
Loading…
Meta Ad Library (competitor ads)
Competitor intelligence in AdIntel uses Meta’s Ad Library API — not the same permission as your
OSH campaign token. Both use the same Meta Developer app (META_APP_ID on the server).
- Register that app at facebook.com/ads/library/api (identity verification required).
- Keep using
META_SYSTEM_USER_TOKENin/opt/adbuyer/.env— no separate token type once approved. - Optional on Trinity:
META_ACCESS_TOKENinbusiness_adintel/.envfor AdIntel-only fallback. - Per-client Meta tokens in AdIntel Admin are used when env tokens are unset.
AdIntel links
Server secrets stay in /opt/adbuyer/.env. UI link can be overridden in Account.
AdIntel data depth
Row counts per enabled client from shared adintel_db. HTTP recommendations probe uses the first client.
| Client | Ads | Insights | Predictions | Copy | Visual | Last insight | Action |
|---|
No enabled clients with thresholds.
BA funnel (lead_outcome)
Rows synced from BusinessAnalytics via ETL. Mapping lives under Clients.
| Client | BA id | Mapping | lead_outcome rows | ETL watermark |
|---|
No enabled clients or funnel data yet.
Scheduler
Loading…
Scheduler enabled
—
APScheduler running
—
Client stagger
—
Default mode (new clients)
—
Scheduled jobs
No jobs scheduled (scheduler disabled or not started).
Last pipeline run
Finished
—
Ads evaluated
—
Queue items created
—
Last scheduler tick
—
Run evaluation now
Admin only — same job as the morning cron. Results appear in Morning Review.