Ad Spy Pipeline
Automates competitor ad scraping from ForePlay/Anstrex, AI adapts creatives, and syncs campaigns to Facebook Ads for e-commerce brands.
Latest: v1.0.0
Initial release of Ad Spy Pipeline.
- Automates competitor ad monitoring, adaptation, and campaign syncing for e-commerce brands.
- Scrapes new ad creatives from ForePlay or Anstrex, deduplicates, and downloads assets.
- Uses AI (Kie.ai) to generate brand-specific, multi-format ad variants.
- Syncs adapted ads to Facebook in organized, paused campaigns for manual review.
- Requires API keys/accounts for data sources, AI generation, and Facebook integration.
- Designed for scheduled, hands-off daily operation via cron.
Ad Spy Pipeline
Automated competitor ad monitoring pipeline: scrape ads from ForePlay/Anstrex, generate adaptations with AI, and sync to Facebook Ads — all on autopilot.
Use when: you run e-commerce ads and want to automatically find competitor creatives, adapt them for your brand, and launch new campaigns without manual work.
What it does
3-stage automated pipeline:
Stage 1 — Scrape
- Monitors competitor brands on ForePlay or Anstrex
- Detects new ad creatives automatically
- Deduplicates against your existing library
- Downloads source images/videos
Stage 2 — Generate
- Sends source creatives to Kie.ai for AI adaptation
- Generates brand-specific versions (your colors, your product, your copy)
- Creates multiple aspect ratios (1:1 for feed, 9:16 for stories/reels)
- Auto-classifies creatives by marketing category (urgency, deal, gift, social proof, etc.)
Stage 3 — Sync to Facebook
- Creates ad campaigns via Facebook Marketing API
- Organizes by category and naming convention
- All ads created in PAUSED mode (you activate manually)
- Full traceability: source → adaptation → Facebook ad ID
Requirements
- ForePlay API key OR Anstrex account
- Kie.ai API key (image generation)
- Facebook Marketing API access token
- Facebook Ad Account ID
Cron Schedule
Set up daily runs:
0 7 * * * python3 storm_pipeline_agent.py --all
Tags
facebook-ads, advertising, competitor-research, ecommerce, automation, creative, marketing, foreplay, anstrex
