Endpoints
Ads
Session-authenticated ad campaign draft, saved campaign, and performance endpoints.
POST
Ads endpoints power the dashboard campaign builder. They use the signed-in app session, not
X-NearIQ-Key. Ad campaign creation requires a plan with ad campaign access. Drafts are saved for review; users remain in control before publishing.
NearIQ drafts campaign structure, copy, budgets, and targeting from stored business and competitor context. Users should review and edit all ad content before publishing.
POST /api/ads/generate-draft
Generates an ad campaign draft for a selected platform and mode.string
google, facebook, or linkedin. Defaults to google.string
simple or advanced. Defaults to simple.object
Optional voice and music preference for video creative.