All tools

Advertising · create_ad_campaign

Create ad campaign

Paused campaign on OpenAI Ads, Meta Ads or Google Ads.

Price
included
Requirements
OpenAI Ads or Meta Ads or Google Ads
set it up in Settings → Integrations
Human approval
Yes, by default
outside-facing write: a human validates

Input

FieldTypeDescription
platform *openai_ads | meta_ads | google_ads
name *stringNom lisible : « [Offre] — [Cible] — [Mois] ».
objectivetraffic | conversions | leads | awareness | signupstraffic · conversions · leads · awareness · signups (défaut traffic).
landingUrl *stringPage d'atterrissage (https).
dailyBudgetnumberBudget quotidien en devise (ex. 20 = 20 €).
lifetimeBudgetnumberBudget total en devise (Meta : exige endAt).
currencystringDevise du compte publicitaire (défaut EUR).
startAtstringDébut (YYYY-MM-DD ou ISO). Défaut : au lancement.
endAtstringFin (YYYY-MM-DD ou ISO).
targetingobject
ads *array
targetCpanumberCoût par acquisition cible en devise (pilote les alertes de sync_ad_metrics).
maxBidCentsnumberEnchère max CPC en centimes (optionnel).
missionIdstringMission durable servie par cette campagne.
marketingCampaignIdstringCampagne marketing parapluie (plan_campaign) si elle existe.
notesstringHypothèse testée, segment, angle.

Call this tool

Through the HTTP API, or from the MCP server with the run meta-tool.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"create_ad_campaign","input":{"platform":"openai_ads","name":"…","objective":"traffic","landingUrl":"…"}}'
$run({ "tool": "create_ad_campaign", "input": {"platform":"openai_ads","name":"…","objective":"traffic","landingUrl":"…"} })