Create a Campaign
Changed onCreate a new campaign in Local Falcon. Campaigns allow you to schedule recurring scans for one or multiple locations with one or multiple keywords.
Every location must already be in your Saved Locations (see /v2/locations/add). Each run scans every location × keyword × platform, so adding platforms with platform multiplies the scans, and the credits, per run.
Keywords may contain placeholders that are filled in per location at run time, so one keyword such as {category} {city} works across locations in different cities.
Use keyword_type to choose whether keywords run on map platforms, AI platforms or both, and location_settings to give individual locations their own grid or platforms.
All parameters are validated before anything is created, so a 400 response means no campaign was created. Duplicate keywords (ignoring case) and empty entries in place_id or keyword are skipped.
If a single location or keyword can't be added, the campaign is still created and the problem is listed in exceptions. If a later step fails after the campaign has been created, the response includes step and data.campaign_key, and the campaign is left as an unstarted draft. Starting the campaign fails with 400 when the account doesn't have enough credits.
Request
- Base URLhttps://api.localfalcon.com
- Authnone declared
Request body application/x-www-form-urlencoded
Example request
{
"platform": "native,chatgpt",
"location_settings": "{\"ChIJUW__IQikz4kRMzHhVYurBuo\":{\"grid_size\":\"9\",\"radius\":\"3\",\"platforms\":\"native,chatgpt\"}}"
}Response
Campaign created successfully.
Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new
every-2-weeksenum value to the request property - info
added the new
every-3-weeksenum value to the request property - info
added the new
every-4-weeksenum value to the request property
- info