Ads Manager

experimental

Cross-platform ad monitoring (Meta, Google) over an upstream ads service. Records insight snapshots to D1, raises anomaly alerts, and exposes a normalized campaign view. Platform apps/OAuth/tokens live in the upstream service; access is a paid, entitlement-gated connector.

Ads Manager is source-visible, contract-first code — your agent reads the whole interface before it composes, never a black box.

Every hook has typed I/O and required tests, and the composition is pinned in microservices.lock.json — what you inspect here is exactly what pnpm microservices check verifies and deploys.

Typed hooks

Extension points with typed input/output and required tests — customize behavior without forking the module.

  • beforeSync
  • onAlertRaised

Events emitted

A stable, documented event surface other modules can subscribe to.

  • ad.account_connected
  • ad.account_disconnected
  • ad.insights_synced
  • ad.alert_raised

Permissions

Scoped capabilities the module declares; the gateway enforces them at the boundary.

  • ads.connect
  • ads.read
  • ads.manage
  • ads.admin
  • ads.observe

Experimental listing. Generated from the canonical module manifest via `registry build`.