Architecture Overview

The Scope3 Campaign API is built around a Brand Agent architecture that mirrors how programmatic advertising actually works in the industry.

Why Brand Agents?

Every major programmatic platform uses an account-based hierarchy:
  • Google Ads: Advertiser Account → Campaigns
  • The Trade Desk: Advertiser → Campaigns
  • Facebook Business: Ad Account → Campaigns
Brand agents serve as your advertiser account, owning all marketing assets and campaigns.

Platform Migration Reference

If you’re migrating from other platforms, here are the key concept mappings:
Scope3 ConceptThe Trade DeskDisplay & Video 360Amazon DSPMeta Business
Brand AgentAdvertiserAdvertiserAccountAd Account
CampaignLine ItemInsertion OrderOrderCampaign
CreativeCreativeAssetCreativeAd Creative
SignalData ElementFirst-Party DataAudience SignalCustom Audience
Brand StoryAudience SegmentAudienceLifestyle SegmentLookalike Audience
TacticDeal/StrategyTargeting ComboOptimization StrategyAd Set
Migration Tip: Start by creating one Brand Agent per advertiser account you currently manage. Most of your existing campaign structure can map directly to Scope3 campaigns.

Core Concepts

Brand Agent

Your advertiser account that owns all resources. Think of it as your marketing organization within Scope3.
Brand Agent: "Nike"
├── Campaigns: Holiday Sale, Summer Launch, Back to School
│   └── Tactics: Auto-generated inventory + signal combinations
├── Creatives: Video ads, display banners, native content
├── Brand Stories: Performance-focused, lifestyle-oriented audiences
├── Brand Standards: Safety rules, blocked domains
└── Outcome Scoring: Performance measurement and optimization
When to create: One per advertiser/brand. Most organizations have 1-3 brand agents.

Campaigns

Marketing initiatives with specific budgets, targeting, and optimization goals.
  • Budget: Total spend and pacing rules
  • Targeting: Who to reach (via signals and brand stories)
  • Creative: What content to show (via creative assets)
  • Optimization: How to improve performance (via tactics)
  • Delivery: Real-time spend and performance tracking

Creatives

Your actual ad content - videos, images, text, or interactive media.
TypeUse CaseExample
VideoCTV, YouTube, social30-second brand spot
ImageDisplay, social, nativeProduct photography
NativeIn-feed, content marketingArticle-style ads
HTML5Interactive, rich mediaPlayable game ads
Reusability: Creatives can be shared across multiple campaigns within the same brand agent.

Natural Language Campaign Creation

Unlike traditional DSPs that require manual parameter configuration, Scope3 campaigns are created using natural language prompts that describe your goals in plain English.
Agentic Campaign Management: AI agents automatically convert your natural language instructions into technical advertising configurations.Instead of filling out forms with targeting parameters, you describe campaign goals, and AI agents handle:
  • Audience targeting configuration
  • Bidding strategy selection
  • Creative optimization rules
  • Performance monitoring setup

Tactics

Algorithm-driven optimization approaches that determine how your campaign buys inventory. Each tactic combines:
  • Signals: Data inputs for targeting (age, interests, behaviors)
  • Brand Stories: AI-generated audience profiles that guide targeting
  • Optimization: ML algorithms that improve performance
Example Tactic:
Signals: ["age_25_34", "interest_sports", "device_mobile"]
Brand Stories: ["performance", "lifestyle"]  
→ Targets mobile sports fans 25-34 with performance/lifestyle messaging

Signals & Brand Stories

What they are: Data points used for targeting and optimizationExamples:
  • Demographics: age_25_34, income_high
  • Interests: interest_sports, interest_travel
  • Behaviors: purchase_intent, brand_affinity
  • Context: device_mobile, weekend_viewing
Usage: Group by signals in reports to understand which audiences perform best

Data Model

Resource Hierarchy

Brand Agent (ba_*)
├── Campaigns (camp_*)
│   ├── Delivery Summary (real-time performance)
│   ├── Notification Thresholds (automated alerts)
│   └── Tactics (tactic_*) - Auto-generated combinations
├── Creatives (cr_*) - Shared across campaigns  
├── Brand Stories - AI-generated audience profiles
├── Brand Standards (domain blocks, safety rules)
├── Outcome Scoring (performance measurement)
└── Webhook Subscriptions (real-time notifications)

ID Patterns

All resources follow consistent ID patterns:
  • Brand Agents: ba_abc123
  • Campaigns: camp_xyz789
  • Creatives: cr_def456
  • Brand Stories: bs_ghi789
  • Tactics: tactic_jkl012

Reporting Architecture

Dual-Mode Design

The API supports two distinct reporting approaches:
Natural Language Summaries
  • Rich text responses with insights
  • Health scores and recommendations
  • ASCII charts and visualizations
  • Conversational interface via AI assistants
User: "How's my campaign doing?"
Response: "🎯 Health Score: 87/100 (Healthy)
          📊 Spending on track, strong mobile performance..."

Scoring Outcome Model

All campaign performance is captured as scoring outcomes for optimization:
interface ScoringOutcome {
  campaignId: string;       // Campaign this outcome applies to
  tacticId?: string;        // Optional tactic ID for tactic-level measurement
  creativeId?: string;      // Optional creative ID for creative-level measurement
  exposureRange: {
    start: Date;            // When exposure began
    end: Date;              // When exposure ended  
  };
  performanceIndex: number; // 0 = no value, 100 = expected, 1000 = 10x expected
  source: string;           // Data source (e.g., "scope3")
  timestamp: Date;          // When outcome was recorded
}
This feeds into the three-component scoring system for campaign optimization.

Integration Patterns

MCP (Model Context Protocol)

Conversational tool framework for AI assistants like Claude and ChatGPT. Benefits:
  • Natural language interface
  • No API knowledge required
  • Rich text responses with insights
  • Perfect for campaign managers and marketers

Direct API

RESTful API with full programmatic access. Benefits:
  • Complete control and customization
  • Integration with existing systems
  • Batch operations and automation
  • Real-time webhook notifications

Webhooks

Real-time push notifications for scoring outcomes and campaign updates. Use cases:
  • Performance alerts and anomaly detection
  • Budget pacing notifications
  • Optimization opportunity alerts
  • Integration with Slack, PagerDuty, etc.

Account Organization

Customer ID

The billing account identifier that groups multiple brand agents under a single organization. This enables: Agency Management: Multiple client brand agents under one customer account Enterprise Management: Multiple brand divisions or product lines
Reseller Accounts: Multiple end-client accounts under one billing relationship
Customer Account: "ACME Agency" 
├── Brand Agent: "Nike Global"
│   ├── Campaigns: Holiday Sale, Summer Launch
│   └── Creatives: Video ads, display banners
├── Brand Agent: "Coca-Cola US"  
│   ├── Campaigns: New Product, Seasonal
│   └── Creatives: Social content, CTV spots
└── Brand Agent: "Ford Motors"
    ├── Campaigns: F-150 Launch, Dealer Network
    └── Creatives: Vehicle showcases, lifestyle
All API operations are automatically scoped to your customer account for security and data isolation.

Security & Authentication

  • Authenticate via Authorization: Bearer header (or legacy x-scope3-api-key)
  • Keys are scoped to specific organizations
  • Rate limited to 1000 requests/hour per key
  • No server-side storage - provide in each request

Performance & Limits

ResourceLimitNotes
API Requests1,000/hour per keyBurst allowance available
Webhook Retries25 attempts2x exponential backoff
Data Export Size100MB inlineLarger exports via download URL
Campaign Budget$1,000 minimum$10,000+ recommended
Creative File Size50MB maximumCDN delivery recommended

Best Practices

  • One per brand/advertiser: Don’t create multiple brand agents for the same brand
  • Clear naming: Use descriptive names that team members will understand
  • Resource sharing: Take advantage of shared creatives and brand stories across campaigns
  • Focused targeting: Each campaign should have a clear audience and goal
  • Sufficient budget: $10,000+ enables meaningful ML optimization
  • Creative variety: Test multiple creative assets to find top performers
  • Set up webhooks: Get real-time alerts for important events
  • Regular analysis: Use tactic analysis tools to optimize signal/brand story performance
  • Data export: Integrate with your BI systems for deeper analysis

Common Patterns

Setting Up a New Brand

Optimizing Performance

Enterprise Integration

Next Steps