Launch Campaigns
The Launch API endpoint runs your ads through the template you've created at Scalemate
Endpoint Details
URL: https://api.scalemate.co/api/external/v1/launch
Method: POST
Headers
Content-Type: application/json
X-Api-Key: <YOUR_API_KEY>You can generate the API Key at the Settings page under API Key section
Parameters
file_links
Mixed (required)
string[]
OR
List of URLs pointing to files needed for the workflow. Each link should be accessible from this endpoint.
Custom descriptions supported only for Meta Ads templates
url - Required
title - Optional
description - Optional
destination_url - Optional
If optional fields not passed Scalemate will use data from template
destination_url
string (Optional)
Valid URL to page you want to promote
template_id
string (Required)
Specifies the template ID to use for the workflow. It can be found at the end of the URL.
schedule_date
string (Optional)
Specifies the scheduled launch time for the campaign in ISO 8601 format.
max_creatives_per_adset
number (Optional)
Rewrites Ad set configuration max number ads
pac_rules
object (Optional)
stories:
string | undefined
feed:
string | undefined
search:
string | undefined
Defines the rules for distributing ad creatives across different placements by using Placement Asset Customization.
Supports only the following placement keys:
stories, feed, and search.
Each key accepts a string value that should contain part of the asset’s name to help identify which asset should be used for which placement.
This field can be an empty string or entirely omitted if no customization is required for a specific placement.
Example:
{"stories": "16x9", "feed": "4x3", "search": "1x1" }
webhook_url
string (Optional)
The URL that will receive the webhook callback. Once the event is triggered, a POST request will be sent to this URL containing the relevant payload. This must be a publicly accessible HTTPS endpoint.
campaign_name_override
string (Optional)
Override campaign name created during launch.
Meta Ads Only
adset_name_override
string (Optional)
Override ALL ad set names created during launch. Meta Ads Only
config_id
string (Optional)
ID of a saved Configuration to overrides to the launch. Will override the template's settings for ALL adsets created in the launch. Meta Ads Only
Example Request Body
You can locate the template_id at the end of the URL within the Scalemate app. For example, in the URL https://app.scalemate.co/workflow/builder/912, the template_id is 912.
Example cURL Request
Example Response
Webhook Response
Last updated