MCPHerramientas MCP/Conexiones/create_boost_config
create_boost_config
Writeconnections:write
Save a reusable boost configuration for running a paid Facebook/Instagram ad promotion on a post (name, ad account, targeting, daily budget, duration) on a connected account, so future boosts can reuse it via boostConfigId instead of repeating targeting every time. dailyBudget is in minor currency units (cents) matching the ad account's currency (see list_ad_accounts). This only saves a preset — it does not spend anything by itself; spending happens when create_post_boost runs, either directly or via this config.
Parámetros
connectionIdstringobligatorio
The id of the connected account this config belongs to (required).
adAccountIdstringobligatorio
The id of the ad account to use (from list_ad_accounts) (required).
namestringobligatorio
A display name for this preset (required).
targetingobjectopcional
Ad targeting. All fields optional — omitted ones use the platform's defaults / broad targeting.
ageMinnumberopcional
Minimum age.
ageMaxnumberopcional
Maximum age.
gendersnumber[]opcional
Platform gender codes to target.
geoLocationsobjectopcional
Geographic targeting.
countriesstring[]opcional
ISO country codes.
regionsstring[]opcional
Region/state names or ids.
citiesstring[]opcional
City names or ids.
zipsstring[]opcional
Postal/ZIP codes.
interestsobject[]opcional
Interest targeting.
idstringopcional
namestringopcional
publisherPlatformsstring[]opcional
Platform surfaces to run on, e.g. ["facebook", "instagram"].
dailyBudgetnumberobligatorio
Daily budget in minor currency units (cents) — required.
durationDaysnumberobligatorio
How many days the boost runs for — required.
delayHoursnumberopcional
Hours to wait after the post goes live before boosting starts. Defaults to 0.
publisherPlatformsstring[]opcional
Platform surfaces to run on, e.g. ["facebook", "instagram"].
Solicitud de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_boost_config",
"arguments": {
"connectionId": "string",
"adAccountId": "string",
"name": "string",
"dailyBudget": 0,
"durationDays": 0
}
}
}Respuesta de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.