Platform API Landscape & AI Model Ecosystem
Platform API Landscape & AI Model Ecosystem
Third-party ad campaign automation for small advertisers — technical feasibility as of September 2026 Research basis: official developer documentation fetched Sept 2026 (see Sources). TikTok figures are from its official developer portal structure where the SPA could not be fetched; approximations are marked with "~" or "(approx.)".
1. Executive Summary
A small independent team can build this product today. No priority platform outright blocks new third-party tools; the gating factor is access approval lead time, not capability or cost. All four priority platforms support the full loop our product needs: OAuth account connection → campaign/ad-set/ad creation → budgets → creative upload → insights read-back.
MVP Verdict Table
| Platform | MVP Verdict | Gating item | Realistic lead time |
|---|---|---|---|
| Google Ads API | GREEN | Basic developer token review | ~5 business days (official) |
| Microsoft Advertising API | GREEN | Developer token request (self-serve portal) | Hours–days; public sandbox token |
| TikTok Marketing API | YELLOW | Business verification + Marketing-API product/app review | Weeks to ~2 months |
| Meta Marketing API | YELLOW | "Full access" tier: business verification + App Review + usage track record | ~1–3 months |
| Snapchat Ads API | YELLOW | Developer app + scope approval | ~2–6 weeks |
| Pinterest Ads API | YELLOW | App review for write scopes | ~2–6 weeks |
| X Ads API | YELLOW/RED | Paid X API access tiers + Ads-API approval; volatile policy | Unpredictable |
| LinkedIn Ads API | RED | Marketing Developer Platform application is selective; annual audit | Months; often rejected |
Bottom line: Launch v1 on Google Ads + Microsoft Ads (fastest access, search budgets are conservative), run Meta App Review in parallel, add TikTok in v3.
2. Per-Platform Detail (Priority Four)
2.1 Meta Marketing API
Access requirements (verified from official docs, Sept 2026):
- Meta renamed tiers: Standard/Limited Access (default) vs Advanced/"Full" Access. Standard access only works for users with a role on your app — fine for dogfooding, not for customers.
- To manage other people's ad accounts (our core use case) you need Full Access to
ads_read/ads_managementvia per-permission App Review. - Prerequisites before applying: app must have made ≥500 Marketing API calls in the last 15 days with error rate <15% in the last 500 calls; business verification of the linked Business Manager (required since Feb 2023); annual Data Use Checkup.
- Limited tier is deliberately crippled: 1 system user, no managing ad accounts/Pages via Business Manager; Full tier: 10 system users, full Business Manager + Catalog API.
Capabilities: full campaign → ad set → ad creation hierarchy; daily/lifetime budgets; ad creative upload (images/videos via ad account adimages/advideos endpoints, plus flexible creative formats); OAuth 2.0 (scope=ads_management,ads_read) so advertisers connect their own accounts; Insights API (sync + async jobs) for metrics.
Rate limits (verified): per ad account + business-use-case, rolling 1 hour, exposed via X-Business-Use-Case-Usage header (call_count, total_cputime, estimated_time_to_regain_access). Quota depends on access tier — Ads Management base: 100,000 + 40 × active ads/hour at full tier vs ~300 + 40×active at development tier. Errors: code 4 (app), 17 (user), 80004 (Ads Management). Batch up to 50 calls.
Third-party / AI-ad restrictions: special ad categories (housing, employment, credit) have restricted targeting; political/social-issue ads require authorization + "Paid for by" disclaimers; Meta requires advertisers to disclose photorealistic AI-generated/altered creative (AI-disclosure flag), with mandatory labels in political/social-issue ads; Meta Platform Terms + Developer Policies apply and are checked continuously.
Verdict: YELLOW — the product is fully buildable, but customer-facing launch waits on business verification + App Review plus the 500-call warm-up; plan 4–12 weeks and build your own ad account first to bank the track record.
Sources: Access levels, Marketing API authorization, Rate limiting
2.2 Google Ads API
Access requirements (verified):
- Sign up → Test Account token (auto-granted, test accounts only, 15k ops/day). Google may auto-upgrade to Explorer (2,880 production ops/day).
- Apply for Basic access in the API Center of your manager account — official review time: ~5 business days. Optional brand verification of your Google Cloud project speeds it up. Basic = 15,000 operations/day on production accounts, "sufficient for most developers."
- Standard access (~10 business days review) is only needed at high volume; external tools must pass Required Minimum Functionality checks and provide demo sign-in access.
- Permissible-use categories: full management vs reporting-only vs keyword-research — choose when applying.
- OAuth 2.0 via Google Cloud OAuth client; all managed accounts must be linked under your manager (MCC) hierarchy or invited with
login-customer-idheaders.
Capabilities: complete CRUD for campaigns/ad groups/ads/assets, budgets (daily via campaign_budget), Performance Max, responsive search ads, asset upload (image/video assets in AssetService), GAQL reporting (GoogleAdsService.Search/SearchStream) — everything we need, with excellent client libraries in 7 languages.
Rate limits: operation-count caps per token level (above); gRPC payload limits; per-method throttles at high volume.
Third-party / AI-ad restrictions: advertiser identity verification; AI-generated content disclosure required in election/political ads (digital synthetic content); restricted verticals (financial services, healthcare, gambling) need certification; personalized-ads restrictions for sensitive categories; third-party tools must comply with Google's Third-Party Ad Tools policies (no sharing of ad performance data across products, disclosure of data use).
Verdict: GREEN — Basic access is a ~1-week self-serve-plus-review process with no company history requirement; 15k ops/day is ample for small-advertiser MVP.
Source: Access levels
2.3 TikTok Marketing API
Access requirements (from official portal structure; SPA could not be fetched — verify in-app):
- Register at developers.tiktok.com → create app → request the Marketing API product. Access is tiered: Sandbox (documented, pre-production ad accounts) → Self-managed/Production after review.
- Production access requires business verification (entity docs, license) and an app review of requested scopes and use case; review of a clean use case is commonly weeks, not days.
- Advertiser connection via OAuth 2.0 + TikTok's advertiser authorization flow (
auth_codeexchange; scopes such as campaign operation and reporting on the advertiser's ad accounts).
Capabilities: campaign/ad-group/ad creation, budget types (day/total), asset upload (image/video via file endpoints), reporting/reports endpoints (async), audiences; developer-portal consoles for testing.
Rate limits: per-app/per-endpoint quotas documented in the portal (historically ~10 req/s for most endpoints, tighter for auth and report endpoints); sandbox accounts are capped and cannot serve real delivery.
Third-party / AI-ad restrictions: political ads banned; restricted verticals (financial, crypto, dating 18+, health claims); TikTok requires disclosure/labeling of realistic AIGC (AI-generated) content; unlicensed use of third-party IP banned; tools acting on behalf of advertisers must honor advertiser authorization scope-limits.
Verdict: YELLOW — accessible to new entrants (sandbox is instant, review is achievable), but business verification + product review makes it slower than Google/Microsoft; target for v3.
Sources: developers.tiktok.com, Marketing API portal
2.4 Microsoft Advertising API
Access requirements (verified):
- Any Microsoft Advertising user with a developer token can use the API. Sandbox is open to everyone with a universal token (
BBD37VB98) — you can build before approval. - Production: sign in as Super Admin at the (new since mid-2025) Developer Portal → click Request Token. The universal developer token works for any number of users/customers — no app-store-style review, no volume history required.
- OAuth 2.0 (Microsoft identity platform) for user consent; register an app for client ID. Legacy single-user tokens deprecated.
Capabilities: SOAP + REST campaign management (campaigns, ad groups, ads, keywords, budgets via CampaignManagement service), bulk upload (BulkService) for high-throughput changes, GetBudgets/daily budget fields, media/image asset upload, reporting service, GetUser/SearchAccounts to enumerate a consenting user's accounts (clean "connect my ad account" flow).
Rate limits: documented per-operation throttles and per-minute call caps (returns error 117 "CallRateExceeded"); generous relative to our volumes.
Third-party / AI-ad restrictions: advertiser verification program; political ads require "Paid by" attribution; restricted content categories similar to Google (finance, health, gambling certifications); no AI-specific creative ban, but deceptive synthetic content falls under misrepresentation policies.
Verdict: GREEN — public sandbox token means day-1 development; production token is self-serve via portal, days at most.
Source: Get Started with Bing Ads API
2.5 Secondary Platforms (summary)
| Platform | Access path | Write-access approval | Notable constraints | Verdict |
|---|---|---|---|---|
| Snapchat (Ads API) | dev app + OAuth; business account | Scope-level app review (ads_management) | Political/restricted categories; AIGC labeling; 20 req/s-class limits (approx.) | YELLOW |
| Pinterest (Ads API) | dev app + OAuth | App review for write scopes; reporting open | Clean docs, modest traffic; ~1,000 req/hr-class app limits (approx.) | YELLOW |
| X (Ads API) | X developer account, paid tier + Ads API approval | Approval opaque; policy churn since 2023 | Tier pricing high at Enterprise level; political ads restrictions | YELLOW/RED |
| LinkedIn (Ads API) | Marketing Developer Platform application | Selective review + mandatory annual audit; many SMB-tool applications rejected | High bar, B2B niche; "3-legged" member OAuth only after MDP approval | RED |
3. Recommended Launch Sequencing
- v1 (weeks 1–8) — Google Ads API + Microsoft Advertising API. Both GREEN: build day-1 against Microsoft sandbox, apply for Google Basic on day 1 (~5 business days). Search is a low-risk, high-intent surface for small advertisers; the full loop (connect account → generate copy → create campaign with daily budget → read insights) is achievable.
- v2 (months 2–4) — Meta Marketing API. Start App Review warm-up (500 calls on own ad account, business verification) during v1. Meta is the biggest SMB spend pool; launch only after Full Access to
ads_management+ads_readlands. Add AI image creative pipeline here (Meta rewards creative volume). - v3 (months 4–7) — TikTok Marketing API. Kick off business verification + product review early (it's the long pole); add vertical video generation (Sora/Veo/Runway) for TikTok-native creative.
- Later/optional: Pinterest and Snapchat (similar pattern, smaller TAM); only pursue X if customer demand justifies its approval friction; skip LinkedIn for SMB self-serve.
4. AI Model Ecosystem (product brain)
All prices Sept 2026, standard API tiers. "Short generation" ≈ 300 input + 150 output tokens (typical ad-copy brief).
4.1 Text (ad copy)
| Model | Input $/1M tok | Output $/1M tok | ~Cost / 1,000 short gens | Notes |
|---|---|---|---|---|
| OpenAI gpt-5.4-nano | $0.20 | $1.25 | ~$0.25 | cheapest OpenAI tier |
| OpenAI gpt-5.6-terra | $2.00 | $12.00 | ~$2.40 | strong default quality |
| Google Gemini 3 Flash Preview | $0.50 | $3.00 | ~$0.60 | free tier exists (no data-guarantee) |
| Google Gemini 3.1 Pro Preview | $2.00 (≤200k) | $12.00 | ~$2.40 | flagship reasoning |
| Anthropic Claude Haiku 4.5 | $1.00 | $5.00 | ~$1.05 | fast, cheap |
| Anthropic Claude Sonnet 5 | $2.00 | $10.00 | ~$2.10 | workhorse |
Batch APIs are 50% off on all three vendors; cached input ~10× cheaper on OpenAI. Practical pattern: cheap model (Gemini Flash / nano) for bulk variant generation; mid-tier for compliance rewriting and strategy.
4.2 Image (ad creatives)
| Engine | ~Price per image | Ratios | Commercial terms |
|---|---|---|---|
| OpenAI gpt-image-1 / -2 (token-priced, $30/1M img-output tok) | ~$0.02–0.25 by size/quality | 1:1, 3:2, 2:3 (API) | Commercial use permitted; customers own outputs |
| OpenAI gpt-image-1-mini | ~$0.01–0.05 | same | same |
| Google Nano Banana (2.5 Flash Image) | ~$0.039 | up to 14 ratios incl. 16:9, 9:16, 4:5 | paid tier = commercial, no training on your data |
| Google Gemini 3 Pro Image (Nano Banana Pro) | ~$0.13 (1–2K) | same | same |
| FLUX (Black Forest Labs) API (FLUX.2 / Kontext) | ~$0.03–0.10 (pay-as-you-go; portal shows per-resolution rates) | full set incl. ad-standard 4:5/9:16 | Commercial license with API output (BFL license terms) |
| Ideogram / Recraft APIs | ~$0.03–0.08 (approx.) | incl. 4:5, 9:16, 16:9 | commercial use on paid plans (approx.; verify current TOS) |
Ad-platform-friendly ratios (1:1, 4:5, 9:16) are supported across all five — no blocking constraint.
4.3 Video (2026 status)
| Engine | Availability | ~Cost per video (10s) | Notes |
|---|---|---|---|
| OpenAI Sora 2 API | GA, API available | $1.00 (720p, $0.10/s); Pro 1080p $7.00 ($0.70/s); batch half price | audio+video in one model |
| Google Veo 3.1 | GA in Gemini API | $0.50–4.00 ($0.05–0.40/s by tier) | native audio on higher tiers |
| Runway (Gen-4/Gen-4 Turbo) | API with prepaid credits | ~$0.50–2.50 (approx. $0.05–0.25/s) | strong editing/controls |
| HeyGen API | GA | ~$0.30–1.00/min-class for avatar video (approx.) | talking-head UGC-style ads |
| Creatify API | GA | ~$0.20–0.60 per ad video (approx.) | product-URL → ad-video pipeline, SMB-oriented |
| Pika | API limited/creative-first | n/a | least enterprise-API-ready of the set |
Recommendation: v2 static images (Nano Banana/gpt-image-mini at pennies), v3 10-second vertical video (Sora 2 720p at ~$1/video or Veo lite) — a $5/month AI-creative cost per small advertiser is achievable.
4.4 Agent orchestration
- Function/tool calling is table stakes in all three stacks: OpenAI Responses API (tools, native tool-calling loop), Anthropic tool use, Gemini function calling.
- MCP (Model Context Protocol) is the open standard for wrapping external systems and is now supported by OpenAI, Anthropic, Claude Code, VS Code, Cursor and more — a natural fit to expose each ad platform's API as typed tools (create_campaign, set_budget, get_insights) once, and reuse across clients. Wrapping four ad platforms behind one MCP server plus a policy layer (rate-limit guardrails from §2, spend caps, dry-run mode) is the recommended architecture.
- Human-in-the-loop for spend (mandatory pattern for small advertisers): agent drafts campaign JSON + budget → UI shows diff + projected spend → explicit user approval → execute; audit log every mutation; hard ceiling per account per day enforced server-side regardless of model output; auto-rollback on platform policy rejections.
5. Compliance Checklist
- Platform approvals: Google Basic token; Microsoft production token; Meta business verification + App Review (ads_management, ads_read) + annual Data Use Checkup; TikTok business verification + product review.
- OAuth: least-privilege scopes; token refresh handling; revoke support; never store ad-account passwords.
- Special ad categories: flag housing/employment/credit (Meta, Google), financial/health/gambling certifications (all four), political ads (disallowed on TikTok; disclaimers on Meta/Google/Microsoft).
- AI-content disclosure: apply platform AI-disclosure flags for photorealistic synthetic creative (Meta AIGC labeling, TikTok AIGC label, Google synthetic-content disclosure in political ads); keep provenance metadata per asset.
- Third-party tool terms: Google Third-Party Ad Tools / Required Minimum Functionality (demo access if applying for Standard); Meta Platform Terms & Developer Policies; Microsoft API agreement.
- Data protection: GDPR/CCPA — audience uploads are sensitive; DPA with customers; deletion pipelines.
- Spend safety: server-side budget ceilings, human approval for every launch/budget increase, immutable audit log, dry-run validation against platform policy endpoints before submission.
- Rate-limit engineering: honor BUC headers (Meta), operation budgets (Google), throttles (Microsoft), per-endpoint quotas (TikTok); exponential backoff.
6. Sources
- Google Ads API access levels — https://developers.google.com/google-ads/api/docs/access-levels
- Meta access levels (Standard/Advanced) — https://developers.facebook.com/docs/graph-api/overview/access-levels
- Meta Marketing API authorization (Limited vs Full access, 500-call prerequisite) — https://developers.facebook.com/docs/marketing-api/overview/authorization
- Meta Graph API rate limiting (BUC limits per ad account) — https://developers.facebook.com/docs/graph-api/overview/rate-limiting
- Microsoft Advertising API Get Started (developer token, sandbox BBD37VB98, new portal) — https://learn.microsoft.com/en-us/advertising/guides/get-started?view=bingads-13
- TikTok for Developers / Marketing API portal (registration, business verification; SPA — verify in-app) — https://developers.tiktok.com , https://business-api.tiktok.com/portal/docs?id=1737172483799042
- Gemini API pricing — https://ai.google.dev/gemini-api/docs/pricing
- Claude pricing — https://docs.claude.com/en/docs/about-claude/pricing
- OpenAI API pricing (gpt-5.x/6, gpt-image, Sora 2) — https://developers.openai.com/api/docs/pricing
- Model Context Protocol intro — https://modelcontextprotocol.io/docs/getting-started/intro
- BFL FLUX API pricing — https://bfl.ai/pricing
- Runway API docs — https://docs.dev.runwayml.com (fetched page unavailable; approx. pricing flagged)