Build a standardized connector/adapter architecture for onboarding new ad platforms rapidly. Each platform implements a common interface: auth, sync, CRUD, insights, rules.
Technical design:
- Common interface: PlatformConnector with methods: authenticate(), syncAccounts(), syncCampaigns(), syncInsights(), createCampaign(), updateCampaign(), toggleStatus()
- Normalized data model: campaigns, ad groups, ads mapped to a unified schema regardless of platform
- Platform-specific adapters inherit from common base
- Shared rate limiting, retry logic, error handling
- Plugin-style registration: add new platform = implement adapter + register
Impact: Reduces time-to-integrate from months to weeks for new platforms. Critical foundation for scaling to 7+ platforms.
