MCPMCP-Tools/Verbindungen/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.
Parameter
connectionIdstringerforderlich
The id of the connected account this config belongs to (required).
adAccountIdstringerforderlich
The id of the ad account to use (from list_ad_accounts) (required).
namestringerforderlich
A display name for this preset (required).
targetingobjectoptional
Ad targeting. All fields optional — omitted ones use the platform's defaults / broad targeting.
ageMinnumberoptional
Minimum age.
ageMaxnumberoptional
Maximum age.
gendersnumber[]optional
Platform gender codes to target.
geoLocationsobjectoptional
Geographic targeting.
countriesstring[]optional
ISO country codes.
regionsstring[]optional
Region/state names or ids.
citiesstring[]optional
City names or ids.
zipsstring[]optional
Postal/ZIP codes.
interestsobject[]optional
Interest targeting.
idstringoptional
namestringoptional
publisherPlatformsstring[]optional
Platform surfaces to run on, e.g. ["facebook", "instagram"].
dailyBudgetnumbererforderlich
Daily budget in minor currency units (cents) — required.
durationDaysnumbererforderlich
How many days the boost runs for — required.
delayHoursnumberoptional
Hours to wait after the post goes live before boosting starts. Defaults to 0.
publisherPlatformsstring[]optional
Platform surfaces to run on, e.g. ["facebook", "instagram"].
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_boost_config",
"arguments": {
"connectionId": "string",
"adAccountId": "string",
"name": "string",
"dailyBudget": 0,
"durationDays": 0
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.