⚙️ Global Settings
Configure API keys, landing page URL, and campaign defaults. Per-project overrides are in Project Settings.
1. Run schema.sql against your MySQL database.
2. Enter your OpenAI API key (get one at platform.openai.com).
3. Enter your NewsBreak Access Token (Ad Manager → Resources → API Access Tokens).
4. Set up your landing page and enter its URL above.
5. In NewsBreak Event Management, create a web event with Postback tracking.
• Event type: complete_registration
• Postback URL from NewsBreak: https://business.newsbreak.com/tracking/attribute?callback={click_id}&event_type=complete_registration
6. Set up cron: 0 */4 * * * php /path/to/cron/pull_reports.php
7. Generate creatives → Upload assets → Deploy!
| Macro | Description |
|---|---|
| __CALLBACK_PARAM__ | Click ID for postback attribution |
| __CAMPAIGN_ID__ | Campaign ID |
| __CAMPAIGN_NAME__ | Campaign name |
| __FLIGHT_ID__ | Ad Set / Flight ID |
| __FLIGHT_NAME__ | Ad Set / Flight name |
| __CREATIVE_ID__ | Creative ID |
| __CREATIVE_NAME__ | Creative name |
| __OS__ | User's operating system |
These are auto-appended to your landing URL when deploying campaigns.