Dynamic Cloaking Rules
Overview
Section titled “Overview”Configure GhostFlow’s AI-powered cloaking system programmatically to adjust rules based on traffic patterns and campaign performance.
Concepts
Section titled “Concepts”- Safe page — The page shown to moderators and bots
- Money page — The real offer page shown to qualified traffic
- Cloaking rules — Conditions that determine which page to show
Updating Campaign Cloaking via API
Section titled “Updating Campaign Cloaking via API”curl -X PUT https://devcore.getghostflow.io/api/v1/campaigns/{id} \ -H "Authorization: Bearer gf_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "cloaking": { "enabled": true, "mode": "ai_auto", "geo_whitelist": ["US", "CA", "GB"], "device_filter": "mobile_only" } }'Required Scopes
Section titled “Required Scopes”Your API key needs: read:campaigns, write:campaigns