Cloudflare Developer Platform for Moloco

Planet-Scale Ad Intelligence at the Edge

Moloco processes $2B+ in ad spend across 2 billion daily users. Cloudflare's developer platform brings real-time bidding, ML inference, and ad creative serving to 330+ global PoPs -- eliminating GCP egress costs and slashing latency for every impression.

moloco-edge.workers.dev · Ad Bidding Pipeline
<12ms
Edge Bid Response
$0
R2 Egress Fees
330+
Global PoPs
0ms
Cold Start
Ad Request (SSP/Exchange)0ms
Cloudflare Workers (ML Inference)+5ms
R2 Creative Fetch + KV Targeting+4ms
Bid Response to Exchange+3ms
$2B+
Annualized Ad Spend
2B+
Daily Active Users Reached
250K+
Advertisers Served Globally
3M+
Independent Apps
Moloco's Product Suite

Three AI-Powered Advertising Platforms

Founded by YouTube's first ML monetization engineer, Moloco democratizes big-tech advertising AI for every business.

📱

Moloco Ads

Performance advertising platform reaching 2B+ daily users across 3M+ independent apps. AI-powered user acquisition, retargeting, and monetization for app marketers worldwide.

🛒

Commerce Media

AI-powered onsite advertising for major retailers and marketplaces. Real-time deep learning models deliver personalized, high-ROAS sponsored product ads that blend seamlessly with the shopping experience.

📺

Streaming Monetization

The first AI-native full-funnel ad stack for large streaming and CTV providers. Performance marketing campaigns, live event ad concurrency, and automated budget pacing at scale.

📡

Moloco SDK

Direct integration SDK for app publishers to improve monetization. Enables direct demand from Moloco's advertiser network with higher fill rates and eCPMs.

📊

Performance CTV

Drive measurable app installs and outcomes from the TV screen. Bridge the gap between CTV advertising and mobile performance with ML-powered attribution.

🔧

Developer APIs

Campaign Management, Reporting, and Event Tracking APIs. Programmatic access to create campaigns, pull performance data, and integrate event signals at scale.

Cloudflare Developer Platform

Edge-Native Infrastructure for Ad Tech at Scale

Replace centralized GCP workloads with globally distributed, zero-cold-start compute -- purpose-built for real-time bidding, ML inference, and creative delivery.

Workers
Real-Time Bid Processing
Deploy serverless bid logic across 330+ global PoPs with zero cold starts. Process OpenRTB bid requests in <10ms at the edge nearest to each ad exchange -- no centralized bid servers required.
Replaces: GCP Cloud Run / GKE bid servers
📦
R2
Zero-Egress Creative Storage
Store and serve billions of ad creatives (images, video, playables) with zero egress fees. Moloco processes billions of impressions daily -- R2 eliminates GCS egress costs that scale linearly with ad volume.
Replaces: GCS with massive egress bills
🧠
Workers AI
Edge ML Inference
Run CTR prediction, conversion probability, and bid optimization models at the edge. GPU-accelerated inference on Cloudflare's network means ML decisions happen where the traffic is, not in a remote GCP region.
Replaces: Vertex AI / GKE GPU nodes
🗄
KV
Audience Targeting at Edge
Globally distributed key-value store for audience segments, device profiles, and frequency caps. Sub-millisecond reads at every PoP -- no round-trips to centralized databases for bid-time targeting decisions.
Replaces: Cloud Bigtable / Redis lookups
💾
Durable Objects
Stateful Budget Pacing
Maintain per-campaign budget state, frequency caps, and pacing logic with strong consistency. Each campaign gets a dedicated Durable Object that coordinates spending across all global PoPs in real-time.
Replaces: Redis clusters for bid state
🔄
Workflows
Durable Campaign Pipelines
Orchestrate multi-step campaign lifecycle workflows: ad review, creative transcoding, ML model deployment, and reporting aggregation. Automatic retries and guaranteed execution across hours or days.
Replaces: Cloud Composer / Airflow
🛡
Sandboxes
Isolated Ad Logic Execution
Run advertiser-submitted custom bidding logic and creative scripts in sandboxed V8 isolates with strict egress controls. Safely execute untrusted code at scale without risking production systems.
New capability for Moloco
🌐
D1
Edge SQL for Ad Metadata
SQLite at the edge for campaign configs, creative metadata, and advertiser settings. Low-latency reads close to your users with automatic replication. No database connection pooling required.
Replaces: Cloud SQL / Spanner for configs
🔍
Vectorize
Semantic Ad Matching
Vector database for semantic ad-to-content matching. Find the most contextually relevant ads by embedding publisher content and matching against advertiser creative vectors in real-time.
New capability for Moloco
🚪
AI Gateway
LLM Cost Governance
Proxy all LLM calls through a single gateway with caching, rate limiting, token budgets, and automatic model fallback. Control costs as Moloco scales AI-powered creative generation and optimization.
New capability for Moloco
📊
Analytics Engine
Real-Time Ad Metrics
Write billions of impression, click, and conversion events from Workers. Query aggregated performance metrics with sub-second latency -- no separate analytics infrastructure required.
Replaces: BigQuery streaming inserts
🔒
Cloudflare Access
Zero Trust API Security
Protect Moloco's advertiser dashboard, reporting APIs, and internal ML pipelines with identity-aware access. Replace VPN-based access to GCP internals with per-request authentication and audit logging.
Replaces: GCP IAP / VPN tunnels
AI-Powered Use Cases

How Cloudflare Accelerates Moloco's AI Stack

Concrete opportunities where Cloudflare's developer platform solves real ad-tech engineering challenges at Moloco's scale.

Real-Time Bidding

Sub-10ms Programmatic Bid Decisions

Moloco processes billions of bid requests daily across global ad exchanges. Each request has a ~100ms timeout. Centralizing bid logic in GCP regions adds unnecessary network latency.

Cloudflare Fit
Workers run bid logic at 330+ PoPs with zero cold starts. KV stores audience segments for instant targeting. Durable Objects maintain per-campaign budget pacing with global consistency. Workers AI runs CTR prediction models at the edge.
WorkersKVDurable ObjectsWorkers AI
Creative Delivery

Zero-Egress Ad Creative Serving

Moloco serves ad creatives (images, video, playables) billions of times daily. Cloud storage egress fees scale linearly with impression volume -- a major cost driver at Moloco's scale.

Cloudflare Fit
R2 stores all creative assets with zero egress fees -- no matter how many billions of impressions are served. Workers handle dynamic creative optimization, A/B variant selection, and format adaptation at the edge.
R2WorkersCache API
ML Inference

Edge-Native ML for Ad Optimization

Moloco's deep learning models power CTR prediction, conversion optimization, and bid pricing. Running these in centralized GPU clusters adds latency to time-sensitive bidding decisions.

Cloudflare Fit
Workers AI runs optimized inference models on Cloudflare's GPU fleet. Vectorize enables semantic ad-to-content matching. AI Gateway manages model routing, caching, and cost controls across multiple LLM providers for creative generation.
Workers AIVectorizeAI Gateway
Commerce Media

Retailer Ad Platform at the Edge

Moloco Commerce Media powers onsite ads for major retailers. Each product listing page requires real-time personalized ad decisions based on shopper behavior, inventory, and advertiser bids.

Cloudflare Fit
Workers serve personalized sponsored products at the edge with sub-10ms latency. D1 stores product catalog metadata. Sandboxes let retailers run custom ranking logic in isolated environments without risking the core ad serving pipeline.
WorkersD1SandboxesKV
Streaming & CTV

High-Concurrency Live Event Ads

Moloco Streaming Monetization needs to handle massive ad concurrency during live events -- millions of simultaneous ad requests during a single broadcast with strict latency requirements.

Cloudflare Fit
Workers scale instantly to handle millions of concurrent ad decisions with no pre-provisioning. Durable Objects manage budget pacing and frequency caps in real-time across all viewers. Workflows orchestrate multi-step ad insertion pipelines.
WorkersDurable ObjectsWorkflowsStream
Developer APIs

Global API Gateway for 250K+ Advertisers

Moloco's Campaign Management, Reporting, and Event APIs serve 250K+ advertisers globally. API latency directly impacts advertiser experience and adoption of self-serve campaign tools.

Cloudflare Fit
Workers serve as a global API gateway with built-in rate limiting and auth. D1 stores advertiser configs close to users. Cloudflare Access provides zero-trust authentication. Analytics Engine captures API usage metrics at scale.
WorkersD1AccessAnalytics Engine
Architecture

Moloco Ad Serving on Cloudflare

How a bid request flows through Cloudflare's edge -- from ad exchange to impression, in under 12ms.

Ad Bid Request Flow · moloco-edge.workers.dev
Source
Ad Exchange / SSP
OpenRTB
Compute
Workers (Bid Logic)
Inference
ML
Workers AI (CTR)
Lookup
Data
KV + DO (State)
Serve
Creative
R2 (Assets)
Commerce Media Request Flow · Retailer Onsite Ads
Shopper
Product Page
Request
Edge
Workers (Ranking)
Personalize
ML
Workers AI
Custom
Sandbox
Retailer Logic
Response
Result
Sponsored Ads
Cloudflare Advantage

Why Cloudflare for Moloco

Concrete cost and performance advantages for Moloco's infrastructure at scale.

$0

Egress Fees on R2

Traditional cloud storage charges $0.12/GB for egress. At Moloco's scale of billions of creative serves, this is a massive recurring cost. R2 has zero egress fees -- ever. Store and serve ad creatives without worrying about bandwidth bills.

0ms

Cold Start Latency

Traditional serverless platforms have 500ms-5s cold starts. In programmatic advertising, every millisecond matters. Workers start in under 1ms, consistently -- no warm-up pools, no over-provisioning.

330+

Global Edge Locations

Major clouds offer ~40 regions. Cloudflare has 330+ PoPs. For real-time bidding, compute proximity to ad exchanges matters. Run bid logic, ML inference, and creative delivery at the edge nearest to every exchange.

10x

Simpler Operations

No Kubernetes clusters to manage, no autoscaling configs, no node pool sizing. Workers scale to millions of requests automatically. Ship ad-serving logic as code, not as infrastructure.

SOC 2

Enterprise Compliance

Cloudflare is SOC 2 Type II, ISO 27001, and GDPR compliant -- matching Moloco's existing compliance posture. Data residency controls ensure ad data stays in the right jurisdictions.

DDoS

Built-In Protection

Ad tech APIs are frequent DDoS targets. Every Workers request is protected by Cloudflare's DDoS mitigation, WAF, and Bot Management -- no additional infrastructure or configuration required.

Ready to Build the Future of Ad Tech at the Edge?

Let's discuss how Cloudflare's developer platform can power Moloco's next phase of planet-scale growth.