L'Atlas / Serveurs MCP / Hermoso
Serveur MCP

Hermoso

io.github.hermoso-ai/hermoso

Serveur MCP OK 500 outils

Faire examiner Voir les tarifs

À quoi ça sert

Donne accès à un catalogue d'outils que l'on active à la demande (`find_tools`, `enable_tools`, `call_tool`) pour lancer et promouvoir une activité, avec suivi du statut et des crédits.

Résumé rédigé par L’Atlas le 29 nov. 2026, reformulé seulement à partir de la description de l’auteur et des outils vus par notre test. Texte de l’auteur ci-dessous.

Market what your AI built. 1,800+ tools, usable alone. Start free: 160+ credits. No markup.

Fiche technique

Auteur
hermoso-ai (espace de noms du registre)
Dépôt
github.com/hermoso-ai/hermoso
Site
hermoso.ai/mcp
Version
0.1.709
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://app.hermoso.ai/mcp?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/full?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/all?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/lean?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/core?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/create?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/ads?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/social?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/sites?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/analytics?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/research?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/reports?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/scheduler?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/creators?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/gemini?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/copilot?src=registry Streamable HTTP
https://app.hermoso.ai/mcp/s/{groups}?src=registry Streamable HTTP
Paquets
hermoso 0.1.709 npm stdio
Outils
500
Catégories
—
Dernière mise à jour
2 déc. 2026
Publication
2 déc. 2026

Auteur vérifié et popularité

Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la

Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.

  • Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
  • ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
  • et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli

Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche

MarkdownREADME.md
[![Statut sur L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.hermoso-ai/hermoso.svg)](https://latlas.dev/mcp/io.github.hermoso-ai/hermoso)
HTML
<a href="https://latlas.dev/mcp/io.github.hermoso-ai/hermoso"><img src="https://latlas.dev/badge/statut/mcp/io.github.hermoso-ai/hermoso.svg" alt="Statut sur L’Atlas" height="20"></a>

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.hermoso-ai/hermoso.svg)](https://latlas.dev/mcp/io.github.hermoso-ai/hermoso)
HTML
<a href="https://latlas.dev/mcp/io.github.hermoso-ai/hermoso"><img src="https://latlas.dev/badge/fiche/io.github.hermoso-ai/hermoso.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://app.hermoso.ai/mcp?src=registry
Dernier résultat
OK 28 nov. 2026, 11:35
Temps de réponse
1 673 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
227

Adresse
https://app.hermoso.ai/mcp/full?src=registry
Dernier résultat
Échec 28 nov. 2026, 09:46 réponse trop volumineuse

Adresse
https://app.hermoso.ai/mcp/all?src=registry
Dernier résultat
Échec 28 nov. 2026, 11:25 réponse trop volumineuse

Adresse
https://app.hermoso.ai/mcp/lean?src=registry
Dernier résultat
OK 28 nov. 2026, 09:01
Temps de réponse
1 906 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
227

Adresse
https://app.hermoso.ai/mcp/core?src=registry
Dernier résultat
OK 28 nov. 2026, 09:04
Temps de réponse
910 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
22

Adresse
https://app.hermoso.ai/mcp/create?src=registry
Dernier résultat
OK 28 nov. 2026, 08:24
Temps de réponse
1 108 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
251

Adresse
https://app.hermoso.ai/mcp/ads?src=registry
Dernier résultat
OK 28 nov. 2026, 09:49
Temps de réponse
1 291 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
500

Adresse
https://app.hermoso.ai/mcp/social?src=registry
Dernier résultat
OK 28 nov. 2026, 08:56
Temps de réponse
1 388 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
500

Adresse
https://app.hermoso.ai/mcp/sites?src=registry
Dernier résultat
OK 28 nov. 2026, 10:37
Temps de réponse
1 168 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
173

Adresse
https://app.hermoso.ai/mcp/analytics?src=registry
Dernier résultat
OK 28 nov. 2026, 11:22
Temps de réponse
975 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
232

Adresse
https://app.hermoso.ai/mcp/research?src=registry
Dernier résultat
OK 28 nov. 2026, 10:49
Temps de réponse
662 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
18

Adresse
https://app.hermoso.ai/mcp/reports?src=registry
Dernier résultat
OK 28 nov. 2026, 09:38
Temps de réponse
1 126 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
29

Adresse
https://app.hermoso.ai/mcp/scheduler?src=registry
Dernier résultat
OK 28 nov. 2026, 11:17
Temps de réponse
979 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
25

Adresse
https://app.hermoso.ai/mcp/creators?src=registry
Dernier résultat
OK 28 nov. 2026, 08:57
Temps de réponse
1 207 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
17

Adresse
https://app.hermoso.ai/mcp/gemini?src=registry
Dernier résultat
OK 28 nov. 2026, 10:26
Temps de réponse
817 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
92

Adresse
https://app.hermoso.ai/mcp/copilot?src=registry
Dernier résultat
OK 28 nov. 2026, 09:13
Temps de réponse
1 401 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
hermoso 0.1.689
Outils
38

Adresse
https://app.hermoso.ai/mcp/s/{groups}?src=registry
Dernier résultat
Non testable 28 nov. 2026, 11:13 adresse à compléter (variable)

Historique

DateAdresseRésultatRéponseOutils
28 nov. 2026, 11:35app.hermoso.ai/mcp?src=registryOK1 673 ms227
28 nov. 2026, 11:25app.hermoso.ai/mcp/all?src=registryÉchec1 593 ms—
28 nov. 2026, 11:22app.hermoso.ai/mcp/analytics?src=registryOK975 ms232
28 nov. 2026, 11:17app.hermoso.ai/mcp/scheduler?src=registryOK979 ms25
28 nov. 2026, 11:13app.hermoso.ai/mcp/s/{groups}?src=registryNon testable0 ms—
28 nov. 2026, 10:49app.hermoso.ai/mcp/research?src=registryOK662 ms18
28 nov. 2026, 10:37app.hermoso.ai/mcp/sites?src=registryOK1 168 ms173
28 nov. 2026, 10:26app.hermoso.ai/mcp/gemini?src=registryOK817 ms92
28 nov. 2026, 09:49app.hermoso.ai/mcp/ads?src=registryOK1 291 ms500
28 nov. 2026, 09:46app.hermoso.ai/mcp/full?src=registryÉchec2 315 ms—
28 nov. 2026, 09:38app.hermoso.ai/mcp/reports?src=registryOK1 126 ms29
28 nov. 2026, 09:13app.hermoso.ai/mcp/copilot?src=registryOK1 401 ms38
28 nov. 2026, 09:04app.hermoso.ai/mcp/core?src=registryOK910 ms22
28 nov. 2026, 09:01app.hermoso.ai/mcp/lean?src=registryOK1 906 ms227
28 nov. 2026, 08:57app.hermoso.ai/mcp/creators?src=registryOK1 207 ms17
28 nov. 2026, 08:56app.hermoso.ai/mcp/social?src=registryOK1 388 ms500
28 nov. 2026, 08:24app.hermoso.ai/mcp/create?src=registryOK1 108 ms251

Outils exposés (500, réponse à tools/list, 28 nov. 2026)

enable_tools

Turn on more Hermoso tools

LIST a group of tools that is not in this session's roster. IT IS NOT HOW YOU REACH A TOOL — call_tool runs any Hermoso tool whether or not it is listed, and that works everywhere. Use this when the session will use MANY tools from one area and you want them in your list. WORKS ON CLIENTS THAT RE-READ THE TOOL LIST (stdio, the CLI, Cursor, Claude Code); a host that fixed its roster at connect time — claude.ai and ChatGPT do — will not show the new tools until it reconnects, and this tool says so in its reply rather than reporting a success you cannot use. The connect-time route that always works is `?tools=all` on the server URL. The default roster is CORE-FIRST: the core tools plus a few that make the connection drivable. Every other tool is held out of the LIST on SIZE alone — the whole registry is several hundred thousand tokens of schema re-sent on every turn, and a roster far past the 30-50 tool mark measurably degrades tool choice. The heaviest groups are `ads`, `analytics`, `channel_admin`: paid-campaign management across every ad platform is most of the total schema weight. NOTHING held out is unfinished or unsafe, and nothing is unreachable — find_tools finds it and call_tool runs it. CALL THIS WHEN A WHOLE AREA IS IN PLAY. If the user settles into building, budgeting, targeting or reporting on ad campaigns, call enable_tools({groups:['ads']}) and the tools appear. If they ask about their own site or product analytics, a tag/tracking container, or how a search engin…

ParamètreTypeRequisDescription
groupsarray<string>ouiGroups to switch on, e.g. ['ads']. Unknown names are refused by name rather than ignored.

get_instructions

Read Hermoso's full instructions

Free. Hermoso's instructions on demand: a topic (areas, instagram, capabilities, roster, safety, credits, setup, launch, all) for the rest of the session instructions, any tool's name for its FULL rules, or "paid-calls" for get_cost, expected_credits, idempotency_key, revision and context.

ParamètreTypeRequisDescription
topicstringouiA topic, a tool name or "paid-calls"

find_tools

Find a Hermoso tool by name or task

Search EVERY Hermoso tool — your starting list is deliberately short, and everything else in the product is here — by name, task or group. Each row gives the tool's PARAMETERS in one line, its CREDIT COST (free means free on every plan; a tool that runs a model quotes the live per-model figure) and its recent HEALTH on this server (failure rate and typical duration, or "no recent calls", which means unseen and not broken). Use it the moment the user asks for something you do not see a tool for (a campaign, an ad set, a lead form, a click-to-WhatsApp ad, a report, keywords, audiences): a tool missing from your list is NEVER proof the feature is missing. Then RUN the tool you found with call_tool({name, args}): search, then run, two calls for any tool in the product. A tool that is failing or needs a connector this workspace has not made is ranked last and marked, never hidden — pass onlyHealthy:true if you want those left out. Free, read-only.

ParamètreTypeRequisDescription
querystringnonwords from the task or the tool name, e.g. "lead form", "whatsapp", "google ads keyword", "meta insights"
groupstringnonlimit to one group: core, research, create, channels, channel_admin, analytics, ads, files, workspace
limitnumbernonhow many to return (default 12, max 40)
onlyHealthybooleannonleave out tools that are failing their recent calls or that need a connector this workspace has not made. Default false — nothing is hidden unless you ask, because a missing row reads as a missing capability.

call_tool

Run any Hermoso tool by name

Run a Hermoso tool that is not in this session's starting list (paid campaigns, analytics, channel admin and more), using the exact `name` and `args` that find_tools returned. Use find_tools first. It runs that one tool on this Hermoso account, and the tool's own rules still apply: a spend or a delete still asks for confirm. Use it on hosts that keep the tool list they fetched at connect time (claude.ai, ChatGPT), where enable_tools cannot add tools mid-conversation. Arguments are checked against the tool's schema; a mistake comes back with the expected parameters. A tool for an account this workspace has not connected answers with the link to connect it.

ParamètreTypeRequisDescription
namestringouithe tool name exactly as find_tools returned it, e.g. create_meta_lead_form
argsobjectnonthe tool's arguments as an object, exactly as its own schema takes them
revisionstringnonthe revision find_tools gave for this tool; a changed tool is refused unrun, with its current params
contextstringnonoptional: the user's underlying goal in one short sentence, for analytics only (no names, contact details or URLs); every tool also accepts it directly

start_business

Start a business from an idea

Use when the user wants to start a business or launch an offer from an idea ("start a coffee subscription called Bean Club"). Pass the idea in their words, plus name, domain, country and budget if given. Saves it on the brand and answers the launch plan (brand, a landing page the AI in the chat writes and Hermoso hosts, its address, email on the domain, payments, posts, ads, tracking), each step with its status, the next call and any link the user must click. Calling again picks up where it left off. After each step call business_status and show its checklist. Free.

ParamètreTypeRequisDescription
ideastringnonthe idea in the user's words (needed the first time)
namestringnonbusiness name
domainstringnona domain they want or own
countrystringnontwo letters, e.g. US
budgetstringnona budget they mentioned, in their words

business_status

Show the business launch progress

The launch plan from start_business, read back live: each step's status, what is done, the next call and any link the user must click. Show its checklist in the chat after each step. Free, read-only.

Aucun paramètre.

welcome

Ways to start with Hermoso

Use when the user first connects Hermoso or asks what it can do. Answers up to five concrete ways to start, for what this app does, tailored to their brand and what is connected, each with an example ask in plain words and the one call that starts it. Offer them as short choices with their example asks. Free, read-only.

Aucun paramètre.

hermoso_capabilities

Hermoso models, options and credit costs

Probe what this Hermoso account can do RIGHT NOW: available image/video model ids + their credit costs (estimates: a render is charged its actual cost), aspect ratios, video durations, the recipe ids, and the canEdit/canAvatar flags. Call it when you need a specific model id, a credit cost, or a capability you are not sure of. Read-only, free.

Aucun paramètre.

hermoso_other_capabilities

Where each Hermoso feature is

Use this when the user asks for something this connection's tools do not cover, or asks which Hermoso app or connection does what. Returns each area of Hermoso (posting, paid ads, ad creation, research, analytics and the rest) with the Hermoso app or connection that covers it and its link, so you can tell the user where to do it. Read-only: it runs nothing and changes nothing.

Aucun paramètre.

hermoso_credits

Credit balance

Return the credit balance, recent priced calls with their credits, and costModel (the one-sentence rule of what costs credits). THE RULE: only AI model runs and Ad Spy research spend credits; publishing, scheduling, ads management, analytics, comments, DMs and connectors cost no credits on any plan (X is the single per-call exception; xCost gives its exact credits per post, with and without a link). Check before kicking off paid generation; answer "does posting cost credits?" with NO. HOW MANY posts is set by the plan, not credits: the Free plan includes up to 10 posts on 3 channels, and a post counts once however many channels it goes to (`posting` says how many are used); every paid plan posts without a limit and runs autopilot (every paid plan includes Autopilot plus unlimited posting and scheduling; each plan's live price and monthly credits come with the plan list). Starter, Pro and Studio: no markup on models, on every credit the account spends, extra packs included (memberRate); Basic and Free pay standard prices.

Aucun paramètre.

buy_credits

Buy credits

Out of credits? Top up with a credit PACK. Call with no argument to list the available packs (id · credits · price), from the smallest ($10 for 400 credits, for something small and quick) up to $400 for 17,000; $25 buys 1,000 and the bigger packs carry a little more value. Every pack grants exactly its listed credits. If the account has a saved card and you have billing-admin rights, calling with `pack` quotes the exact charge and calling again with confirm:true AND the quote's quote_token charges the saved card instantly (same one-click top-up as the app — no redirect). If there's no saved card yet, you get a Stripe checkout URL to hand your human for the FIRST purchase; their card saves for one-click after that. Packs only; subscriptions are managed by a person in Billing. IF YOU ARE AN AGENT HOLDING YOUR OWN PAYMENT CREDENTIAL, there is a third path that needs no human at all: `POST /api/billing/machine-payment` with a `packId` answers HTTP 402 carrying an MPP challenge, and grants the pack once you authorise and retry with the credential — the same packs, the same prices, the same credits. `GET /api/billing/config` carries a `machinePayments` block listing the packs with their per-credit rates and saying whether that lane is enabled on this server. Most agents do NOT have their own credential yet, so the checkout link above remains the normal path. To stop running out entirely, turn on auto-reload with set_auto_reload (admin) — low balances then top themselves up from th…

ParamètreTypeRequisDescription
packstringnonthe pack id to buy (e.g. pack-2050) — omit to list the available packs first
confirmbooleannonset true to actually charge the saved card for `pack` (required for the one-click charge; ignored on the checkout-link path)
quote_tokenstringnonthe quoteToken returned by the quote step — REQUIRED (with confirm:true) to charge; it binds the exact pack + price you quoted (10-minute validity) and makes a retried confirm idempotent
offerstringnona partner offer code (e.g. SECRET30): instead of a pack, returns the Starter-free-for-1-month checkout link (300 credits during the month, $0 today, card required) when this account can take it

report_bug

Report a bug

Report a bug in Hermoso to the team. Use this when something in Hermoso genuinely misbehaves — a tool errors unexpectedly, returns a wrong or malformed result, a render comes back broken, or documented behaviour doesn't match what happened. Include what you were trying to do, the exact tool call and arguments, and what came back. Do NOT use it for out-of-credits, a policy refusal, or a missing capability (use request_feature for that). Free, no credits.

ParamètreTypeRequisDescription
summarystringouione-line summary of the bug
detailsstringouiwhat you were doing, the tool + arguments you called, what you expected, and what actually happened (paste the exact error)
severityenum: "low" | "medium" | "high"nonhigh = blocks the task or loses paid work; medium = wrong output but workable; low = cosmetic

request_feature

Request a feature

Ask the Hermoso team for a capability that doesn't exist yet. Use this when you need something Hermoso genuinely can't do — an unsupported platform or channel, a missing model, an export format, a tool that would have completed the user's task but isn't available. Say what the user was trying to achieve, not just the feature name — the use case is what gets built. Free, no credits.

ParamètreTypeRequisDescription
summarystringouione line: the capability you need
detailsstringouiwhat the user was actually trying to achieve, why the current tools couldn't do it, and what you'd expect the capability to do

contact_support

Contact Hermoso support

Message Hermoso's human support team for the user: billing, account or sign-in problems, a connector that will not connect, or a question the tools cannot answer. Use the user's words. The team replies by email to the account's address (the result names it). Defects you found: report_bug. Missing capabilities: request_feature. Free.

ParamètreTypeRequisDescription
messagestringouithe user's question, in their words, with what they tried
pagestringnonwhere it happened: a tool, page or job id

affiliate_status

Referral link and earnings

The account's Refer & earn program: the referral link and code, clicks, signups, paying referrals, and earnings (held, available to withdraw, in review, paid, owed back from refunds). The program pays a share of every plan and credit-pack payment a referred account makes for 12 months (the current rates are in terms.ratePercent and terms.packRatePercent); the link's cookie lasts 60 days; each commission is held 60 days before it can be withdrawn. Not joined yet: says so, then join_affiliate_program. Free.

Aucun paramètre.

join_affiliate_program

Join Refer & earn

Join the affiliate program and get a referral link (https://app.hermoso.ai/r/ ). Needs acceptTerms:true: the affiliate terms at hermoso.ai/terms#affiliates (no self-referral, no paid search ads on the Hermoso name, no spam; commissions are taken back on refunds and chargebacks). Show the user those rules before accepting for them. code: an optional chosen code (5 to 24 letters or digits). The account owner only. Free.

ParamètreTypeRequisDescription
acceptTermsbooleanouitrue = the user accepts the affiliate terms
codestringnona chosen code, e.g. MAYA20; omit for a random one

affiliate_payout_setup

Set up affiliate payouts

Answer the secure page from our payment processor where the affiliate adds their bank details and confirms who they are (the processor keeps them, Hermoso never sees them). Needed once before withdraw_affiliate_earnings. Free.

Aucun paramètre.

withdraw_affiliate_earnings

Withdraw affiliate earnings

Pay the available affiliate earnings to the affiliate's payout account (minimum $50; it then reaches their bank). Without confirm it only says how much would be sent. confirm:true sends it. Free.

ParamètreTypeRequisDescription
confirmbooleannontrue = send it

claim_referral_code

Enter a referral code

Record that a friend referred this account, for someone who signed up without the friend's link: within 14 days of signing up and before the first payment. Free.

ParamètreTypeRequisDescription
codestringouithe friend's referral code

billing_status

Billing status

Show this account's billing at a glance: current plan (quote plan.priceUsd per plan.period), credit balance, whether auto-reload is on, whether a card is on file, and whether YOU (this key) have ADMIN rights to change billing. Read-only, free. Call it before upgrade_plan / set_auto_reload to know what's possible — members have read-only billing. IN A SHARED TEAM WORKSPACE A MEMBER SEES THE PLAN AND THE BALANCE ONLY: the workspace owner's payment card and auto-reload belong to them and are not reported (billingScope:'member'). Never tell a member there is no card on file — the honest answer is that you cannot see it. plan.memberRate: media models at cost + 10%; plan.legacy: an older plan kept at its price. posting: the posting allowance (Free includes up to 10 posts on 3 channels; "N of 10 posts used", unlimited on every paid plan).

Aucun paramètre.

upgrade_plan

Upgrade plan

Change the SUBSCRIPTION plan (admin only). No argument lists the monthly plans. Each plan leads with what it is for. Every paid plan (Starter, Pro, Studio) includes Autopilot, unlimited posting and scheduling, monthly credits and no markup on models on every credit including extra packs; Starter is also the plan for someone who only posts and schedules. Basic is no longer sold (existing subscribers keep it): never offer it. The no-argument listing gives each plan's live price, monthly credits and sites (unlimited pages and landing pages on each site, so a business can keep every landing page on one); quote prices from it, never from memory. Every paid plan posts without a limit (Free: up to 10 posts on 3 channels). New subscriber: a Checkout URL for the human. Existing subscriber upgrading: a quote + quote_token; once the human agrees, call again with confirm:true and quote_token to charge the card on file. Downgrade: a billing-page link; it starts at the term's end.

ParamètreTypeRequisDescription
planstringnonthe plan id to move to (e.g. pro) — omit to list the available plans first
periodenum: "mo" | "yr"nonmonthly only ('yr' buys monthly)
confirmbooleannontrue (with quote_token) to make a quoted upgrade
quote_tokenstringnonthe quoteToken from the quote step
offerstringnona partner offer code (e.g. SECRET30): Starter free for 1 month — 300 credits during the month, then the normal monthly plan; card required, $0 today, cancel anytime before it renews

set_auto_reload

Set auto-reload

Turn automatic credit reloads on or off (admin only): when the balance drops below a threshold, the card on file is charged for a top-up pack — SERVER-SIDE, even with no app open. Requires a saved card, added once in the app at first checkout/top-up; if there's none the tool tells you exactly where to add it. After that one-time card setup, agents can manage auto-reload, top-ups and plan links fully. Members (read-only billing) get an 'ask an admin' message.

ParamètreTypeRequisDescription
enabledbooleanouitrue to turn auto-reload on, false to turn it off
thresholdCreditsintegernonreload when the balance drops below this many credits
reloadCreditsintegernonhow many credits to add each reload — must match a credit pack size (see buy_credits)

list_brands

List profiles

List every profile on this account (id + name; a profile is a brand, a creator or a personal workspace) and which one this connection acts on, PLUS any profile another account shared with you. Call this, then use_brand to switch; a SHARED profile switches the same way (pass its name or the profile id printed here). If a profile looks empty when the app shows it full, you are acting on a different one: call this first. overview:true instead reads ACROSS every brand you run (for clients or users): per brand, posts waiting for approval, failed and stuck posts, connections that need reconnecting (with the reconnect link), credits used and upcoming posts over the last `days` (default 7); includeAdSpend:true adds ad spend (reads each ad platform, slower); brands narrows it. Read-only, free.

ParamètreTypeRequisDescription
overviewbooleannonread across every brand: what needs attention on each
daysnumbernonoverview window, 1-31 (default 7)
brandsarray<string> | stringnonoverview: only these brands (ids or names)
includeAdSpendbooleannonoverview: also read ad spend per brand

use_brand

Switch profile

Pin which profile this connection acts on. Pass the profile id or exact name from list_brands. Works for your own profiles AND one another account SHARED with you (pass its name or the profile id list_brands prints); access is verified against your real membership before it is pinned. Persists for this API key until changed, on every surface (hosted connector included — no environment variables, no restart). On a signed-in connector it also moves every other Hermoso connector the same person signed in from the same app (e.g. all the Hermoso connectors in Claude), so they act on one profile.

ParamètreTypeRequisDescription
brandstringouiprofile id (e.g. default / p_xxx), its exact name from list_brands, or the profile id of one shared with you

create_brand

Create a profile

Add a NEW profile (a brand, client, creator or personal workspace) and switch to it. Each has its OWN brand details, memory, swipefile, Library, avatars, skills, playbooks and connectors; nothing leaks between them. Use draft_brand to FILL it and update_brand to edit it. Re-running with the same name returns the existing profile instead of a duplicate. Creating it is free. Drafting a NEW brand into it (draft_brand) needs the credits for its research on the balance, about 100; with fewer, draft_brand refuses before anything runs or is charged and says how many it needs and how many the account has.

ParamètreTypeRequisDescription
namestringouithe name for the new profile (a brand, client or creator name)
activatebooleannonswitch this connection to the new profile (default true); everything you do next scopes to it

delete_brand

Delete a profile

PERMANENTLY delete a profile and EVERYTHING in it — brand details, memory, swipefile, Library creations, generated assets, avatars, skills, playbooks, chats — and disconnect its connected accounts. Irreversible, and it applies to everyone the workspace is shared with. Call it WITHOUT confirm first: it reports exactly what that workspace holds. Show the user that inventory verbatim, get an unambiguous yes, then call again with confirm:true — plus, if the workspace is not empty, confirmName set to its exact name and confirmConnectors set to the number of connected accounts it reported. Those two exist because confirming INTENT does not prove you picked the right WORKSPACE, and a wrong target is how a live profile was destroyed. The account's FIRST/anchor profile cannot be deleted this way (it holds the workspace's root storage) — that one is replaced from the app.

ParamètreTypeRequisDescription
brandstringouiprofile id or exact name from list_brands
confirmbooleannonREQUIRED true — this destroys the whole profile and cannot be undone
confirmNamestringnonthe workspace's EXACT name, required when it is not empty — copy it from the inventory this tool returned, after the user has agreed to it
confirmConnectorsnumbernonthe number of connected accounts the inventory reported, required when there is at least one — the user must specifically agree to losing them, because reconnecting each needs a browser and no agent can do it

upload_file

Upload a local file -> durable public URL

Persist an ARBITRARY user file (image, video, audio, PDF or document, up to 150MB) into Hermoso and get back a durable public URL that EVERY publish, schedule and ad-build tool accepts. Kept in the Library. THIS IS THE BRING-YOUR-OWN-CREATIVE PATH: it is for files that have NOTHING to do with a Hermoso render (media on the user's desktop, an agency's finished ad, a photo they shot), and it means you can publish, schedule and run ads through Hermoso without generating anything here. Provide exactly ONE source — passing two is an error, never a silent preference: `url` (ANY public http(s) link — Hermoso fetches it server-side, so nothing crosses this connection and there is no practical size limit; THIS IS THE ONE THAT ALWAYS WORKS, including on the hosted connector), `dataUri` (a base64 data: URI — keep it under ~15MB, since the bytes travel over this connection). If the file is already at a public https URL, the Meta, Reddit and ChatGPT-Ads tools take it directly and re-host it safely — but LinkedIn (posts and ad creatives), Pinterest, the YouTube thumbnail and upload_google_ads_asset upload the BYTES themselves and therefore refuse an external host, so run it through here first and pass the URL this returns. When in doubt, use this: its URL works everywhere. (Calling the underlying HTTP route directly? POST /api/upload takes the file's RAW BYTES as the request body with its own content-type — NOT multipart/form-data — or ?url= with no body.) Returns {url, kind, bytes}.

ParamètreTypeRequisDescription
getUploadUrlbooleannonASK FOR A ONE-TIME UPLOAD URL instead of uploading now — use this whenever the file is on the user’s machine and you can run a shell or an HTTP request. Returns a uploadUrl you PUT the raw bytes to (any HTTP client), which answers with the durable Hermoso url. It beats `dataUri` for anything but a…
urlstringnona PUBLIC http(s) URL Hermoso fetches server-side (private/internal addresses are refused, and every redirect hop is re-checked). A share link from Dropbox, Google Drive, OneDrive, SharePoint or Box works as the file itself (set to "Anyone with the link"); an iCloud Drive link does not, Apple gives…
dataUristringnonbase64 data: URI of the file bytes (data: ;base64, ) — bytes travel over this connection, so keep it small
namestringnonoriginal file name — helps pick the right extension

pinterest_ads_async_report

Pinterest deep (async) ad report

The DEEP Pinterest ad report — Pinterest’s ASYNCHRONOUS lane, which reaches 914 DAYS back (2.5 years) where pinterest_ads_report stops at 90, and carries roughly three times the metric columns (conversion, ROAS and cross-device families the quick report does not have). Use it for anything older than three months, and for revenue questions. Levels: ADVERTISER / CAMPAIGN / AD_GROUP / PIN_PROMOTION / KEYWORD / PRODUCT_GROUP / PRODUCT_ITEM plus their *_TARGETING twins. Pinterest generates it asynchronously, so this may come back pending:true with a token — CALL AGAIN WITH THAT TOKEN to pick it up, and never re-submit without it (a second submit generates a second report). Pinterest’s own windows are enforced here with the reason rather than as an opaque 400: 914 days back over at most 186 days; at HOUR granularity 8 days back over 3; at a PRODUCT_ITEM level 92 back over 31. A finished report link is valid five minutes and the report one hour, so an EXPIRED status means run it again, not that anything failed. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonPinterest ad account id; omit when only one is shared with this profile
tokenstringnonRESUME a pending report — pass the token back instead of re-submitting
sincestringnonYYYY-MM-DD (default 30 days ago)
untilstringnonYYYY-MM-DD (default today)
granularityenum: "TOTAL" | "DAY" | "HOUR" | "WEEK" | "MONTH"nontime bucket: TOTAL, DAY, HOUR, WEEK or MONTH
levelstringnonADVERTISER | CAMPAIGN | AD_GROUP | PIN_PROMOTION | KEYWORD | PRODUCT_GROUP | PRODUCT_ITEM (+ _TARGETING variants) — default CAMPAIGN. An unknown level is refused with the list.
columnsarray<string>nonPinterest async metric columns — omit for the standard spend/impressions/clicks/CTR/conversions set
campaignIdsarray<string>nonlimit the report to these campaign ids
adGroupIdsarray<string>nonlimit the report to these ad group ids
adIdsarray<string>nonlimit the report to these ad ids
targetingTypesarray<string>nononly valid with a *_TARGETING level
reportFormatenum: "JSON" | "CSV"nonJSON or CSV

search_pinterest_ads_targeting

Find Pinterest ad targeting options

THE IDS AN AD GROUP’S targetingSpec NEEDS. create_pinterest_ads_campaign and create_pinterest_ads_ad_group accept interests, locales, locations, age buckets and keywords — this is where those values come from, and guessing one is the worst option available: Pinterest ACCEPTS a well-formed but wrong interest id and the campaign then quietly targets the wrong people. Pass targetingType (INTEREST, GEO, LOCATION, LOCALE, AGE_BUCKET, GENDER, APPTYPE, KEYWORD, AUDIENCE_INCLUDE, AUDIENCE_EXCLUDE) and optionally `query` to narrow the list. INTERESTS ARE A TREE: pass interestId instead to drill into one and get its children, which is how you get from "Food" to something specific enough to target. Pinterest publishes no search parameter of its own, so `query` filters the full list HERE — the note says so, because a filter we applied is not a filter the vendor applied. Read-only, 0 credits, no new permission (it uses ads:read, already granted).

ParamètreTypeRequisDescription
adAccountIdstringnonPinterest ad account id; omit when only one is shared with this profile
targetingTypeenum: "APPTYPE" | "GENDER" | "LOCALE" | "AGE_BUCKET" | "LOCATION" | "GEO" | "INTEREST" | "KEYWORD" …nonwhich catalog to list — required unless you pass interestId
querystringnonnarrow the list to options mentioning this text (filtered here, not by Pinterest)
interestIdstringnondrill INTO one interest and return its child interests — how you walk the interest tree
limitnumbernon1–500, default 100

upload_meta_asset

Upload an asset to a Meta ad account

Upload creative(s) — a finished Hermoso ad OR arbitrary user files (e.g. A folder of media from the user’s desktop) — into a connected ad account’s ASSET LIBRARY so the user or a later ad-build step can use them in their OWN campaigns. Pass `url` for one file, or `urls` (up to 20) to BULK-upload in a single call. Each accepts a public https URL, a data: URI, or a Hermoso /generated path; for LOCAL files call upload_file first and pass the url(s) it returns. Image -> image hash; video -> video id.

ParamètreTypeRequisDescription
adAccountIdstringouiAd account id
urlstringnona single public https URL / data: URI / /generated path; a URL, not a local file path; use upload_file for local files
urlsarray<string>nonup to 20 media URLs/paths for a one-call BULK upload
kindenum: "image" | "video"noninferred from the URL if omitted
namestringnona label for the asset

create_meta_campaign

Create a Meta ad campaign (paused)

Use this when the user asks to create a new Facebook or Instagram ad campaign on their own ad account. Create a campaign on a connected Meta ad account. Always created PAUSED — it spends NOTHING until you activate it with set_meta_campaign_status(confirm:true). Optionally set a dailyBudgetUsd (an amount in the AD ACCOUNT’s currency, e.g. CAD on a CAD account — the name is historical, it is not USD). Pass adAccountId + an objective. Needs ads-management permission on the connected account. CATALOG / ADVANTAGE+ CATALOG ADS (also called DPA or dynamic product ads) ARE SUPPORTED: pass productCatalogId here and productSetId on the ad set, and the campaign is catalog-backed. Say YES when a user asks for catalog, Advantage+ catalog, DPA or feed-driven ads. Before building on an account for the first time, run the ad account health check, which says whether it can run ads (status, payment method, spending limit, rejected ads).

ParamètreTypeRequisDescription
namestringouicampaign name
adAccountIdstringouiAd account id
objectiveenum: "OUTCOME_TRAFFIC" | "OUTCOME_AWARENESS" | "OUTCOME_ENGAGEMENT" | "OUTCOME_LEADS" | "OUTCOME_SALES" | "OUTCOME_APP_PROMOTION"nondefault OUTCOME_TRAFFIC
bidStrategyenum: "LOWEST_COST_WITHOUT_CAP" | "LOWEST_COST_WITH_BID_CAP" | "COST_CAP" | "LOWEST_COST_WITH_MIN_ROAS"nonwith dailyBudgetUsd: how the campaign bids across its ad sets — LOWEST_COST_WITHOUT_CAP (default: highest volume), LOWEST_COST_WITH_BID_CAP / COST_CAP (each ad set then needs bidAmountUsd), LOWEST_COST_WITH_MIN_ROAS (each ad set needs minRoas)
dailyBudgetUsdnumbernonoptional campaign daily budget in the AD ACCOUNT's currency (not necessarily USD — the reply names it); real spend once ACTIVE. With it, the campaign holds the budget (Advantage+ campaign budget) and every ad set under it carries NONE — create_meta_adset / create_meta_ad then send no ad-set budget
productCatalogIdstringnonCATALOG (dynamic product) ADS. This is the CAMPAIGN-level half of a catalog ad; the AD SET takes a productSetId and the creative takes the same set. Passing a product SET id here is refused by name with the level it belongs on. The binding is READ BACK from Meta before it is reported, so a 200 is n…
specialAdCategoriesarray<enum: "HOUSING" | "EMPLOYMENT" | "CREDIT" | "FINANCIAL_PRODUCTS_SERVICES" | "ISSUES_ELECTIONS_POLITICS" | "ONLINE_GAMBLING_AND_GAMING">nonlegally required for housing, employment, credit/financial, political or gambling ads; it restricts targeting (ages 18-65+, all genders, wide locations). The reply states what Meta stored
specialAdCategoryCountryarray<string>nonwith specialAdCategories: the 2-letter ISO countries the declaration is made for (Meta’s special_ad_category_country), e.g. ["SY"]. Left out, Meta uses the ad account’s tax country; ISSUES_ELECTIONS_POLITICS needs it

set_meta_campaign_status

Activate or pause a Meta campaign

Turn a campaign ON (ACTIVE) or OFF (PAUSED). ACTIVATING STARTS REAL AD SPEND — you MUST first show the user the campaign name + its daily budget, get an explicit yes, then call with status:"ACTIVE" and confirm:true. Pausing is always safe. Needs ads-management permission.

ParamètreTypeRequisDescription
campaignIdstringouithe campaign id (from create_meta_campaign)
statusenum: "ACTIVE" | "PAUSED"ouiACTIVE = start spending; PAUSED = stop
confirmbooleannonREQUIRED true to activate (real spend) — set only after the user explicitly approved the budget

upload_meta_playable

Upload a playable ad to Meta

Upload a PLAYABLE ad (an interactive HTML game the advertiser already has) to a Meta ad account. Pass url: ONE HTML file up to 2 MB, or a zip up to 5 MB (under 100 files) with index.html at the top; it must call FbPlayableAd.onCTAClick() and load nothing from outside. Hermoso checks those rules first and refuses a file Meta would reject. Returns playableAssetId: build the ad with create_meta_ad(playableAssetId, adSetId of an App Installs ad set, ONE lead-in video). Meta has no way to delete a playable once uploaded. Free.

ParamètreTypeRequisDescription
adAccountIdstringouiad account id
urlstringouipublic https link to the HTML file or zip; upload_file turns a local file into one
namestringnondisplay name for the playable in Meta; optional

list_meta_playables

List Meta playables

List the playables uploaded to a Meta ad account (id and name), for create_meta_ad's playableAssetId. Free.

ParamètreTypeRequisDescription
adAccountIdstringouiact_… or the bare number
limitnumbernonmaximum number of playables to return

create_meta_ad

Build a full Meta ad (campaign -> ad set -> ad, paused)

Build a complete, ready-to-run Meta ad: campaign -> ad set (FULL targeting + budget + schedule + bidding) -> creative -> ad(s), ALL created PAUSED — it spends NOTHING until you activate the campaign with set_meta_campaign_status(confirm:true). This is the "create a campaign and put the ads on it" path. IMAGE, VIDEO (uploaded, transcoded and thumbnailed for you) and CAROUSEL (format:"carousel", 2–10 cards each with its own headline/description/link) all work. Targeting is the `targeting` object: geo down to cities with a radius, age, gender, interests, behaviours, custom audiences and lookalikes, languages, placements, devices and OS. For a conversion objective pass pixelId + conversionEvent and the ad set optimizes for that conversion. Schedule with startTime/endTime + dayparting; bid with bidStrategy + bidAmountUsd/minRoas; use lifetimeBudgetUsd (with endTime) for a fixed flight. Attach to an existing campaign with campaignId or an existing ad set with adSetId. Everything is READ BACK from Meta before you are told it exists — print the returned summary verbatim (it carries 24-hour Meta PREVIEW LINKS for the first ad — hand them to the user; preview_meta_ad renders any ad in any placement). Needs ads-management on the connected account. BOOST AN EXISTING POST: pass boostPostId — a post you have ALREADY published (numeric id, the _ form, or a permalink) — INSTEAD of any creative, and the ad promotes that post exactly as published, comments and all. The post keeps its own capt…

ParamètreTypeRequisDescription
boostPostIdstringnonPromote a post that ALREADY EXISTS instead of building a new ad from media. Accepts the numeric post id, _ , or a permalink (an Instagram post is its NUMERIC media id — an instagram.com link carries only a shortcode, which Meta cannot resolve). Cannot be combined with image/video inputs. The post k…
boostTargetenum: "facebook" | "instagram"nonWhich surface the boosted post lives on. Default facebook. REQUIRED for an Instagram post: an IG media id and a Facebook post id are both bare digits, so this is never inferred — Meta takes a different creative for each (object_story_id for a Page post; object_id + instagram_user_id + source_instag…
threadsUserIdstringnonTHREADS: the Threads account id the ad runs under on Threads. Leave it out: when targeting.publisherPlatforms includes threads (or the ad set already has it), Hermoso finds the Threads profile linked to the Page's Instagram account itself. An existing Facebook or Instagram post (boostPostId) can be…
partnershipAdCodestringnonPARTNERSHIP AD FROM A CREATOR'S CODE: the ad code a creator shares for their own Instagram post (their post > ... > Partnership label and ads > Ad code). The ad promotes THEIR post as a partnership ad run by this brand — no media id needed. Use INSTEAD of boostPostId; cannot be combined with your o…
partnershipAdFormatenum: "both" | "single" | "auto"nonWhich identities a boosted partnership post shows (Meta's ad_format): both = creator AND brand (Meta's default), single = only the first identity, auto = Meta picks per impression (Instagram only). Only with partnershipAdCode or boostPostId.
adAccountIdstringouiAd account id
formatenum: "auto" | "carousel"nonauto = one ad per asset (image or video); carousel = ONE multi-card ad
imageUrlstringnonpublic https image URL for the ad creative
imageUrlsarray<string>nonseveral image URLs -> one ad each, or the carousel cards in order
videoUrlstringnona video URL -> a real Meta VIDEO ad (uploaded + transcoded + thumbnailed for you)
thumbnailUrlstringnoncustom video thumbnail (otherwise Meta picks a frame)
messagestringnonprimary ad text
headlinestringnonheadline
descriptionstringnonthe smaller description line under the headline
cardsarray<object>noncarousel cards in order — each may set its own headline/description/link
carouselEndCardbooleannonappend the Page end card to a carousel
linkstringnonDestination URL (defaults to the brand domain).
ctastringnoncall-to-action, e.g. SHOP_NOW / LEARN_MORE / SIGN_UP (default LEARN_MORE); WHATSAPP_MESSAGE for a click-to-WhatsApp ad (see destinationType). Any Meta call-to-action type works (SEE_DETAILS…); unknown ones are refused, not swapped.
leadFormIdstringnonLEAD ADS — attach an instant form (from list_meta_lead_forms / create_meta_lead_form) so the button opens that form INSIDE Facebook/Instagram instead of sending the click to a website. Requires objective:"OUTCOME_LEADS"; the ad set is then optimized for LEAD_GENERATION and pointed at the form autom…
objectiveenum: "OUTCOME_TRAFFIC" | "OUTCOME_AWARENESS" | "OUTCOME_ENGAGEMENT" | "OUTCOME_LEADS" | "OUTCOME_SALES"nondefault OUTCOME_TRAFFIC
brandedContentSponsorIgIdstringnonPARTNERSHIP AD — the Instagram account id shown as the PAID PARTNER on this ad (Meta’s `instagram_branded_content.sponsor_id`), so the ad runs as a creator collaboration rather than as a plain brand ad. Hermoso sends this id EXACTLY as given and does not work out which id belongs in which slot — Me…
brandedContentSponsorPageIdstringnonPARTNERSHIP AD — the Facebook Page id of the paid partner (Meta’s `facebook_branded_content.sponsor_page_id`). Give BOTH halves when the ad runs across both surfaces: supplying only one leaves the other surface’s placements with no partnership label at all, and the returned summary says which half…
productSetIdstringnonCATALOG (dynamic product) ADS. Meta binds a catalog at TWO levels and they are different ids on different objects: the CAMPAIGN takes productCatalogId, the AD SET takes productSetId. Passing a CATALOG id here is refused by name rather than moved, because Meta’s own error for a mis-placed id names n…
dailyBudgetUsdnumbernonad-set daily budget in the AD ACCOUNT's currency (historical name — not necessarily USD; default 10, or 1,000 in a whole-unit currency like JPY) — spends only once ACTIVE. Under a campaign that HAS its own budget (create_meta_campaign with dailyBudgetUsd, Advantage+ campaign budget) leave this and…
lifetimeBudgetUsdnumbernona fixed total instead of a daily budget, in the ad account's currency — REQUIRES endTime
countrystringnon2-letter shorthand when you are not passing full targeting (default US)
targetingobjectnonfull Meta ad-set targeting — age, gender, geo, interests, behaviours, audiences, languages, placements, devices. Use EXACTLY these key names: an unrecognised one (e.g. geoLocations) is REFUSED by name — it is never dropped, because a dropped geo key used to fall back to targeting the United States.
pixelIdstringnonMeta Pixel id — with this the ad set optimizes for a real CONVERSION instead of falling back to link clicks
conversionEventstringnonPURCHASE | LEAD | COMPLETE_REGISTRATION | ADD_TO_CART | INITIATED_CHECKOUT | …
customConversionIdstringnonMeta custom conversion id (digits), from Meta Events Manager
applicationIdstringnonapp-promotion ads
objectStoreUrlstringnonapp store link for an app-install ad
optimizationGoalstringnonoverride, e.g. OFFSITE_CONVERSIONS / LANDING_PAGE_VIEWS / THRUPLAY / VALUE
billingEventstringnondefault IMPRESSIONS
bidStrategyenum: "LOWEST_COST_WITHOUT_CAP" | "LOWEST_COST_WITH_BID_CAP" | "COST_CAP" | "LOWEST_COST_WITH_MIN_ROAS"nonbidding: lowest cost, bid cap, cost cap or minimum ROAS (Meta's strategy names)
bidAmountUsdnumbernonREQUIRED for a bid cap / cost cap
minRoasnumbernonREQUIRED for LOWEST_COST_WITH_MIN_ROAS, e.g. 1.1
startTimestringnonISO-8601 with offset, e.g. 2026-08-01T09:00:00-0700
endTimestringnonREQUIRED with lifetimeBudgetUsd
adsetSchedulearray<object>nondayparting — minutes from midnight (0–1440), days 0=Sunday…6=Saturday
attributionSpecarray<any>none.g. [{event_type:"CLICK_THROUGH",window_days:7}]
dsaBeneficiarystringnonEU AD TRANSPARENCY: the person or organisation this ad promotes (Meta shows it on the ad). Meta requires it whenever the ad set reaches the EU; omit it and Hermoso uses the ad account's own default, else this profile's brand name, else the Page name, and the summary says which was used
dsaPayorstringnonEU AD TRANSPARENCY: who pays for the ads (Meta shows it on the ad). Omit it and it matches dsaBeneficiary
specialAdCategoriesarray<enum: "HOUSING" | "EMPLOYMENT" | "CREDIT" | "ISSUES_ELECTIONS_POLITICS" | "ONLINE_GAMBLING_AND_GAMING" | "FINANCIAL_PRODUCTS_SERVICES">nonlegally required when the ad falls in one of these categories — it restricts targeting
specialAdCategoryCountryarray<string>nonwith specialAdCategories: the 2-letter ISO countries the declaration is made for (Meta’s special_ad_category_country), e.g. ["SY"]. Left out, the countries this ad targets are used; ISSUES_ELECTIONS_POLITICS needs it
instagramUserIdstringnonrun it on Instagram under the brand’s own handle
namestringnonbase name for the campaign/ad set/ads
campaignIdstringnonattach to an existing campaign instead of creating one
destinationTypestringnonWHERE A CLICK LANDS, and worth deciding for a merchant with a shop. "WEBSITE" sends it to their own site — their pixel fires, their email capture runs, their upsell flow works. "WEBSITE_AND_SHOP" lets Meta route it into the in-app Facebook/Instagram Shop instead: often fewer taps to a purchase, but…
creativeEnhancementsenum: "off" | "meta" | objectnonMETA'S AUTOMATIC CREATIVE ENHANCEMENTS (Advantage+ creative: AI text overlays, stickers, templates, generated backgrounds, uncropping, text rewrites, translation…). DEFAULT "off": every one is explicitly switched OFF so the ad runs exactly as made. "meta" leaves Meta's own defaults. Or an object tu…
urlTagsstring | booleannonUTM click tracking Meta appends to every click (the creative's url_tags). DEFAULT ON: utm_source=meta&utm_medium=paid&utm_campaign={{campaign.name}}&utm_term={{adset.name}}&utm_content={{ad.name}} (Meta fills the {{…}} per click) — skipped automatically when your link already has utm_ parameters. P…
phoneNumberstringnonCLICK-TO-CALL: the number the Call Now button dials, international format (+15551234567); with destinationType PHONE_CALL
whatsappPhoneNumberstringnonCLICK-TO-WHATSAPP: the WhatsApp Business number the chat opens with, in international format. Sent as the ad set’s promoted whatsapp_phone_number when destinationType is WHATSAPP; Meta still requires that number to be linked to the Page.
adSetIdstringnonattach the ad(s) to an EXISTING ad set (skips ad-set creation)
playableAssetIdstringnona PLAYABLE from upload_meta_playable, shown after the lead-in video. Needs adSetId of an App Installs ad set and exactly ONE video; the button installs the app the ad set promotes
pageIdstringnonOmit when the brand has one Page; with several the call lists them, so ask the user which one.

create_meta_adset

Create a Meta ad set (audience + budget + schedule)

Create an AD SET on an EXISTING Meta campaign — the level that holds the audience, budget, schedule and bidding. Use it to hang SEVERAL ad sets off ONE campaign, which is how you actually test audiences on Meta (one ad set per audience, same campaign, same creative). Takes the same full `targeting`, pixelId/conversionEvent, bidStrategy, schedule and budget fields as create_meta_ad. Created PAUSED and read back from Meta. It has NO ads until you call create_meta_ad(adSetId:…). For CATALOG / ADVANTAGE+ CATALOG ads (DPA), pass productSetId here — the campaign carries productCatalogId and the ad set narrows it to a product set.

ParamètreTypeRequisDescription
adAccountIdstringouiad account id (act_… or digits)
campaignIdstringouithe campaign this ad set belongs to
namestringnonad set name
brandedContentSponsorIgIdstringnonPARTNERSHIP AD — the Instagram account id shown as the PAID PARTNER on this ad (Meta’s `instagram_branded_content.sponsor_id`), so the ad runs as a creator collaboration rather than as a plain brand ad. Hermoso sends this id EXACTLY as given and does not work out which id belongs in which slot — Me…
brandedContentSponsorPageIdstringnonPARTNERSHIP AD — the Facebook Page id of the paid partner (Meta’s `facebook_branded_content.sponsor_page_id`). Give BOTH halves when the ad runs across both surfaces: supplying only one leaves the other surface’s placements with no partnership label at all, and the returned summary says which half…
productSetIdstringnonCATALOG (dynamic product) ADS. Meta binds a catalog at TWO levels and they are different ids on different objects: the CAMPAIGN takes productCatalogId, the AD SET takes productSetId. Passing a CATALOG id here is refused by name rather than moved, because Meta’s own error for a mis-placed id names n…
dailyBudgetUsdnumbernonad-set daily budget in the AD ACCOUNT's currency (historical name — not necessarily USD; default 10, or 1,000 in a whole-unit currency like JPY) — spends only once ACTIVE. Under a campaign that HAS its own budget (create_meta_campaign with dailyBudgetUsd, Advantage+ campaign budget) leave this and…
lifetimeBudgetUsdnumbernona fixed total instead of a daily budget, in the ad account's currency — REQUIRES endTime
countrystringnon2-letter shorthand when you are not passing full targeting (default US)
targetingobjectnonfull Meta ad-set targeting — age, gender, geo, interests, behaviours, audiences, languages, placements, devices. Use EXACTLY these key names: an unrecognised one (e.g. geoLocations) is REFUSED by name — it is never dropped, because a dropped geo key used to fall back to targeting the United States.
pixelIdstringnonMeta Pixel id — with this the ad set optimizes for a real CONVERSION instead of falling back to link clicks
conversionEventstringnonPURCHASE | LEAD | COMPLETE_REGISTRATION | ADD_TO_CART | INITIATED_CHECKOUT | …
customConversionIdstringnonMeta custom conversion id (digits), from Meta Events Manager
applicationIdstringnonapp-promotion ads
objectStoreUrlstringnonapp store link for an app-install ad
optimizationGoalstringnonoverride, e.g. OFFSITE_CONVERSIONS / LANDING_PAGE_VIEWS / THRUPLAY / VALUE
billingEventstringnondefault IMPRESSIONS
bidStrategyenum: "LOWEST_COST_WITHOUT_CAP" | "LOWEST_COST_WITH_BID_CAP" | "COST_CAP" | "LOWEST_COST_WITH_MIN_ROAS"nonbidding: lowest cost, bid cap, cost cap or minimum ROAS (Meta's strategy names)
bidAmountUsdnumbernonREQUIRED for a bid cap / cost cap
minRoasnumbernonREQUIRED for LOWEST_COST_WITH_MIN_ROAS, e.g. 1.1
startTimestringnonISO-8601 with offset, e.g. 2026-08-01T09:00:00-0700
endTimestringnonREQUIRED with lifetimeBudgetUsd
adsetSchedulearray<object>nondayparting — minutes from midnight (0–1440), days 0=Sunday…6=Saturday
attributionSpecarray<any>none.g. [{event_type:"CLICK_THROUGH",window_days:7}]
dsaBeneficiarystringnonEU AD TRANSPARENCY: the person or organisation this ad promotes (Meta shows it on the ad). Meta requires it whenever the ad set reaches the EU; omit it and Hermoso uses the ad account's own default, else this profile's brand name, else the Page name, and the summary says which was used
dsaPayorstringnonEU AD TRANSPARENCY: who pays for the ads (Meta shows it on the ad). Omit it and it matches dsaBeneficiary
pageIdstringnonOmit when the brand has one Page; with several the call lists them, so ask the user which one.

find_meta_audiences

Look up Meta targeting ids

Look up the Meta targeting ids you need before building an ad set — interests, behaviours, cities/regions/zips/DMAs, languages, employers, job titles and schools. type:"adinterest" (q:"yoga") returns interest ids + audience size; type:"adTargetingCategory" with class:"behaviors" returns behaviour ids; type:"adgeolocation" (q:"Toronto", optionally locationTypes:"city") returns the geo KEYS that go in targeting.geo.cities/regions/zips; type:"adlocale" (q:"french") returns language ids for targeting.locales. Read-only and free. Use it whenever the user names an audience in words — never guess an id.

ParamètreTypeRequisDescription
typeenum: "adinterest" | "adTargetingCategory" | "adgeolocation" | "adlocale" | "adcountry" | "adzipcode" | "adeducationschool" | "adeducationmajor" …ouiwhat kind of targeting object to search
qstringnonwhat to search for
classstringnonfor adTargetingCategory, e.g. "behaviors" or "interests"
locationTypesstringnoncomma-separated: country,region,city,zip,geo_market
countryCodestringnon2-letter hint to disambiguate a city name
adAccountIdstringnonsearch with that ad account’s token
limitnumbernonmaximum matches to return; the reply shows up to 25

list_meta_ads

List Meta campaigns / ad sets / ads

Read the EXISTING campaigns, ad sets, or ads on a connected Meta ad account — id, name, status, budget, objective, and at level ad WHY Meta rejected or flagged an ad (its review feedback, in Meta’s words). Pass adAccountId and level (campaign|adset|ad). Scope to a parent with campaignId (-> its ad sets/ads) or adsetId (-> its ads), and filter by status (ACTIVE/PAUSED/…). Read-only — use it to inspect an account before editing/deleting, or to answer "what’s running?".

ParamètreTypeRequisDescription
adAccountIdstringouiAd account id
levelenum: "campaign" | "adset" | "ad"nonwhat to list (default campaign)
campaignIdstringnonlist the ad sets / ads under this campaign
adsetIdstringnonlist the ads under this ad set
statusstringnonfilter by effective status, e.g. ACTIVE / PAUSED
limitnumbernonmax rows (1–200, default 50)

analyze_campaigns

What to scale, pause, fix and test next

Use this when the user asks how their paid ads are doing across platforms, or what to scale, pause, fix or test next. One verdict across every connected ad platform: it pulls each platform's own report (Meta, Google Ads, ChatGPT Ads, TikTok, LinkedIn, Microsoft Advertising, Pinterest, Reddit, Snapchat, X, Apple Ads), normalises every campaign / ad set / ad into ONE table — spend, impressions, clicks, CTR, CPC, conversions, CPA, ROAS and frequency where the platform reports them — and answers with four lists: `scale`, `pause`, `fix` and `test_next`, plus `insufficient_data`. Each recommendation carries the row's own numbers, the reason, a next action and the exact tool call that would apply it (e.g. set_meta_campaign_status with confirm), which this tool never runs. FOUR REFUSALS TO REPEAT RATHER THAN PAPER OVER: (1) A ROW BELOW THE DATA FLOOR IS NEVER JUDGED — the minimums are stated in the reply, and an under-powered row lands in insufficient_data with what it lacks, never in "pause"; a row whose conversions are too few for a CPA verdict can still be read on CTR and CPC and says so. (2) A PLATFORM WHOSE READ FAILED IS NAMED AS UNREADABLE and its numbers are MISSING, never zero — never move budget on the strength of an absence. (3) A META AD SET IN THE LEARNING PHASE IS HELD BACK, because editing it restarts learning. (4) A CONVERSION COLUMN THE PLATFORM DOES NOT PUBLISH READS UNMEASURED, not zero (Reddit, Snapchat and X in this report). Conversion definitions differ per pla…

ParamètreTypeRequisDescription
daysnumbernonhow many complete days back, ending yesterday (default 14, max 90)
platformsarray<string>nonmeta, google_ads, openai_ads, tiktok_ads, linkedin, microsoft_ads, pinterest_ads, reddit_ads, snapchat_ads, x_ads, apple_ads — omit for every connected ad platform
goalstringnonwhat to optimise for, in the user's own words
levelenum: "campaign" | "ad_group" | "ad"nondefault campaign

meta_insights

Meta ad performance metrics

Use this when the user asks how their Facebook or Instagram ads are doing. It reads performance insights for a connected Meta ad account, or a specific campaign / ad set / ad: spend, impressions, reach, clicks, CTR, CPC, CPM, frequency, and the conversions and video numbers Meta reports. Pass adAccountId (for auth); optionally objectId to scope to one object and level (campaign / adset / ad) for one named row per campaign, ad set or ad. EVERY ROW CARRIES `kpis`, the Ads Manager columns read out of Meta's arrays: purchases with purchaseValue, costPerPurchase (CPA) and purchaseRoas (purchase ROAS); addToCart (adds to cart), initiateCheckout (checkouts started), landingPageViews (landing page views) and costPerLandingPageView; linkClicks with linkCtr (link CTR) and linkCpc (link CPC); video3sPlays (3-second video plays), thruPlays (ThruPlay), videoP25 / P50 / P75 / P95 / P100 (plays to 25%, 50%, 75%, 95%, 100%) and videoAvgWatchSeconds (average watch time). A kpi that is null was not reported by Meta for that row: say "not reported", never zero. timeIncrement gives one row per day (1 or "daily"), per week (7) or "monthly" in ONE call. attributionSetting:"adset" counts conversions with each ad set's own attribution setting, as Ads Manager's columns do; attributionWindows (e.g. "7d_click,1d_view") adds each window's count beside the total. fields adds more of Meta's insights fields (e.g. "attribution_setting,quality_ranking,outbound_clicks"); an unknown name is refused, never dro…

ParamètreTypeRequisDescription
adAccountIdstringouiad account id (act_… or digits)
objectIdstringnona campaign / ad set / ad id to scope to (default: the whole account)
levelenum: "account" | "campaign" | "adset" | "ad"nonbreak the numbers down by this level
breakdownsstringnoncomma-separated, e.g. "age,gender" | "publisher_platform,platform_position" | "country" | "impression_device"
actionBreakdownsstringnoncomma-separated, e.g. "action_type,action_device" — splits the conversion/action counts
datePresetstringnonMeta's date_preset enum, default last_30d: today | yesterday | last_3d | last_7d | last_14d | last_28d | last_30d | last_90d | this_week_mon_today | this_week_sun_today | last_week_mon_sun | last_week_sun_sat | this_month | last_month | this_quarter | last_quarter | this_year | last_year | maximum…
sincestringnonstart date YYYY-MM-DD (use with until). Meta keeps 37 months: an older start is moved to the oldest day Meta has, and the note says so
untilstringnonend date YYYY-MM-DD
timeIncrementstring | numbernonone row per period instead of one for the whole window: 1 or "daily" = per day, 7 or "weekly" = per week, any whole number of days 1–90, or "monthly". Default: one row for the whole window
fieldsstringnoncomma-separated extra Meta insights fields to add to every row, e.g. "attribution_setting,quality_ranking,outbound_clicks,website_purchase_roas,objective"
attributionSettingenum: "adset" | "account" | "default"nonhow conversions are attributed: "adset" = each ad set's own setting (what Ads Manager's columns show), "account" = the ad account's setting, "default" or omitted = Meta's default (7-day click and 1-day view)
attributionWindowsstringnoncomma-separated windows to report beside each action total: 1d_click, 7d_click, 28d_click, 1d_view, 7d_view, 28d_view, 1d_ev, dda, default
actionReportTimeenum: "impression" | "conversion" | "mixed" | "lifetime"nonwhich day a conversion is counted on: the day of the ad impression, or the day the conversion happened
limitnumbernonrows per page, 1–500 (default 200)
afterstringnonthe nextCursor of the previous page

preview_meta_ad

Preview a Meta ad exactly as it will appear

Render a REAL preview of a Meta ad, per placement — Meta returns a link that shows exactly what a person scrolling Facebook or Instagram would see. Pass adAccountId + adId (from list_meta_ads), or creativeId. Optional placements (comma-separated): facebook_feed, facebook_feed_desktop, facebook_story, facebook_reels, facebook_profile_feed, facebook_marketplace, facebook_right_column, facebook_video_feed, instagram_feed, instagram_story, instagram_reels, instagram_explore, instagram_profile_feed, messenger_inbox, messenger_story, audience_network — default facebook_feed + instagram_feed + instagram_story + instagram_reels. Short words are read too and the reply says how: feed means facebook_feed, story/stories means facebook_story, reels means facebook_reels, instagram/ig means instagram_feed, ig_story, ig_reels. Free, read-only, spends nothing. THE LINKS EXPIRE AFTER 24 HOURS — always say so when handing them to a user. Use it straight after create_meta_ad, and whenever someone wants to approve an ad before it runs. BEFORE ANY AD EXISTS: leave adId and creativeId out and pass imageHash (from upload_meta_asset) or imageUrl, with message, link and optionally headline, description, cta and pageId; Meta renders that creative per placement and nothing is created.

ParamètreTypeRequisDescription
adAccountIdstringouiad account id (act_… or digits)
adIdstringnonthe ad to preview (from list_meta_ads)
creativeIdstringnonpreview a creative directly instead of an ad
placementsstringnoncomma-separated placements (see the list above)
imageHashstringnonbefore any ad exists: an image hash from upload_meta_asset
imageUrlstringnonbefore any ad exists: a public https image
messagestringnonbefore any ad exists: the primary text
headlinestringnonbefore any ad exists: the headline
descriptionstringnonbefore any ad exists: the description line
linkstringnonbefore any ad exists: the destination link
ctastringnonbefore any ad exists: the button, e.g. SHOP_NOW (default LEARN_MORE)
pageIdstringnonbefore any ad exists: the Page the ad runs from, when the brand has several

meta_catalog_suggestions

Which catalog Meta would show under a new ad

Meta can show products from a catalog under a new ad by default (the product showcase). This previews what it would pick for an ad account before the ad is made: the catalog and product sets, each on by default or waiting for confirmation, or why there is none (no catalog, not enough context, not enabled). Pass adAccountId, objective (OUTCOME_SALES default, OUTCOME_TRAFFIC, OUTCOME_ENGAGEMENT or OUTCOME_LEADS) and adUrl and/or pageId; without either Meta cannot suggest. It applies to ads created from now on, and a creative’s product extensions cannot be changed after it is made. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouiMeta ad account id (act_ optional), from list_meta_ads
objectiveenum: "OUTCOME_SALES" | "OUTCOME_TRAFFIC" | "OUTCOME_ENGAGEMENT" | "OUTCOME_LEADS"nonthe campaign objective of the ad you plan (default OUTCOME_SALES)
adUrlstringnonthe landing page the ad will open (recommended)
pageIdstringnonthe Facebook Page the ad will run from

estimate_meta_reach

Estimate how many people a Meta audience reaches

Ask Meta how many people a targeting spec can actually reach — BEFORE any budget is committed. Two ways: pass adSetId to size an ad set you already built (Meta uses its own saved targeting), or pass the same `targeting` object you would give create_meta_ad (plus optional objective / optimizationGoal / country / pixelId) to size an audience you are considering. Returns the monthly-active range, a daily-active estimate, and an explicit warning when the audience is too narrow to deliver. Free, read-only, creates nothing and spends nothing. Use it before recommending a budget and every time the user narrows a geo or piles on interests.

ParamètreTypeRequisDescription
adAccountIdstringouiad account id (act_… or digits)
adSetIdstringnonsize an EXISTING ad set using its own saved targeting
targetingobjectnona targeting object, same shape as create_meta_ad.targeting
objectivestringnonOUTCOME_TRAFFIC | OUTCOME_SALES | … — picks the matching optimization goal
optimizationGoalstringnonoverride the goal, e.g. REACH / LINK_CLICKS / OFFSITE_CONVERSIONS
countrystringnon2-letter fallback country when targeting names no geo
pixelIdstringnonestimate a conversion goal against this pixel
conversionEventstringnone.g. PURCHASE — used with pixelId

list_meta_audiences

List Meta custom audiences + lookalikes

List the custom audiences and lookalikes on a connected Meta ad account — id, name, type, approximate size, and whether Meta says it is ready to target. Call it before create_meta_audience (so you never build a duplicate) and before targeting one: the ids go straight into create_meta_ad’s targeting.customAudiences / excludedCustomAudiences. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouiad account id (act_… or digits)
limitnumbernonmax rows (1–200, default 50)

create_meta_audience

Create a Meta custom audience or lookalike

Build a retargeting audience on a connected Meta ad account. Four kinds: kind:"website" (people whose visited URL contains urlContains, seen by pixelId — pass the brand’s own domain for "all visitors"; retentionDays up to 180), kind:"engagement" (people who did `event` on the brand’s Facebook Page, or its Instagram business profile with source:"instagram"; retentionDays up to 730), or kind:"lookalike" (sourceAudienceId + country + ratio 0.01–0.20 = the top 1%–20% most similar people, lookalikeType "similarity" or "reach", or startingRatio for a band such as 1%–3%). Meta delivers a lookalike to the locations of the AD SET that targets it, so `country` is where you will run it — target the same country in that ad set. CREATING AN AUDIENCE SPENDS NOTHING — it is a definition; money only moves when an ad set targets it and that campaign is activated through set_meta_campaign_status(confirm:true). Meta needs roughly 30 minutes and ~1,000 people before a new audience can be targeted, so a fresh one reporting no size is normal. kind:"customerfile" is the brand's OWN CUSTOMER LIST (emails, phones, names…) for retargeting, suppression or as a lookalike seed: pass customerFileSource (a required attestation of where the data came from: USER_PROVIDED_ONLY, PARTNER_PROVIDED_ONLY or BOTH_USER_AND_PARTNER_PROVIDED), plus schema (the column names in order, from EMAIL, PHONE, FN, LN, FI, CT, ST, ZIP, COUNTRY, DOB, DOBY, GEN, MADID, EXTERN_ID) and rows (arrays in that order, up to 10,000 per…

ParamètreTypeRequisDescription
adAccountIdstringouiad account id (act_… or digits)
kindenum: "website" | "engagement" | "lookalike" | "customerfile"ouiwhich kind of audience to build — customerfile = your own customer list
namestringnonaudience name (required unless adding rows to an existing list with audienceId)
descriptionstringnonoptional free-text note stored with the audience
retentionDaysnumbernonhow long someone stays in it — website max 180, engagement max 730 (default 30)
pixelIdstringnonwebsite: the Meta Pixel that sees the traffic
urlContainsstringnonwebsite: the URL fragment that defines the audience (your domain = all visitors)
pageIdstringnonengagement: which connected Page (required only if the profile has several)
sourceenum: "page" | "instagram"nonengagement: Facebook Page (default) or the linked Instagram business profile
eventstringnonengagement: page_engaged | page_visited | page_liked | page_messaged | page_cta_clicked | page_or_post_save | page_post_interaction — or ig_business_profile_all | ig_business_profile_engaged | ig_user_messaged_business | ig_business_profile_visit
sourceAudienceIdstringnonlookalike: the existing audience to model (from list_meta_audiences)
countrystringnonlookalike: REQUIRED 2-letter country you will run it in — Meta delivers a lookalike to the locations of the ad set that targets it, so target this country there
rationumbernonlookalike: 0.01–0.20 = the top 1%–20% most similar people (default 0.01)
startingRationumbernonlookalike: optional lower bound for a band (e.g. 0.01 with ratio 0.03 = the 1%–3% band) — at least 0.01 and less than ratio; not combinable with lookalikeType
lookalikeTypeenum: "similarity" | "reach"nonlookalike: similarity (tighter) or reach (broader) — default similarity
prefillbooleannonwebsite/engagement: seed it with activity from BEFORE the audience existed (default true)
customerFileSourceenum: "USER_PROVIDED_ONLY" | "PARTNER_PROVIDED_ONLY" | "BOTH_USER_AND_PARTNER_PROVIDED"noncustomerfile: REQUIRED attestation of where the list came from (customers gave it to you = USER_PROVIDED_ONLY)
schemaarray<enum: "EMAIL" | "PHONE" | "FN" | "LN" | "FI" | "CT" | "ST" | "ZIP" …>noncustomerfile: the column names of rows, in order, e.g. ["EMAIL","PHONE"]
rowsarray<array<string | number>>noncustomerfile: the customers, one array per person in schema order (up to 10,000 per call). Plain values — Hermoso normalizes and hashes them before they leave the server
audienceIdstringnoncustomerfile: ADD these rows to this existing customer-list audience (from list_meta_audiences) instead of creating a new one

list_meta_pixels

List Meta Pixels on an ad account

List the META PIXELS on one of the brand’s ad accounts — id, name, when it was created, and WHEN IT LAST FIRED. This is where the pixelId every conversion tool needs comes from: create_meta_ad takes it (with conversionEvent) to optimise an ad set for OFFSITE_CONVERSIONS instead of link clicks, and create_meta_audience needs it to build a website retargeting audience. READ lastFiredAt BEFORE YOU TRUST A PIXEL: one that has NEVER FIRED is not installed on the site, so an ad optimising against it will spend and never learn. Pass includeCode:true to get the snippet for installation (it is long, so it is off by default). Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouiThe ad account, with or without the act_ prefix
includeCodebooleannonalso return the full pixel snippet — only ask when the user is about to install it

get_meta_ad_account

Read a Meta ad account’s billing and status

Read a Meta AD ACCOUNT’s BILLING and DELIVERY state: account status in words (ACTIVE, DISABLED, UNSETTLED unpaid balance, IN_GRACE_PERIOD failed payment, PENDING_RISK_REVIEW, CLOSED…) with the disable reason; currency and time zone; BALANCE (the bill amount due); AMOUNT SPENT; SPEND CAP and how much is left under it (none means no account spending limit); the minimum daily budget; whether it is a PREPAID account; and the PAYMENT METHOD / FUNDING SOURCE (card, PayPal, prepaid funds / stored balance, invoice, credit line). Every amount is converted from Meta’s minor units into the account currency. Use it for “what is my Meta ad balance”, “how much prepaid funds are left”, “which card pays for my ads”, “why are my ads not delivering”, and before activating anything. IT CANNOT ADD PREPAID FUNDS OR CHANGE THE PAYMENT METHOD — Meta publishes no API for either, so the reply links the account’s page in Meta Billing (Ads Manager > Billing & payments) where the user does it; say so rather than looking for another tool. If Meta refuses the billing fields to this connection (the connected person lacks the MANAGE role on the account), the reply says the funding source could not be read, which is not the same as having none. Meta fields read: account_status, the disable reason, balance, amount_spent, spend_cap, min_daily_budget, is_prepay_account, funding_source_details. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouiThe ad account, with or without the act_ prefix

create_meta_pixel

Create a Meta Pixel

Create a META PIXEL on one of the brand’s ad accounts, so their ads can optimise for real website conversions instead of link clicks and so website retargeting audiences become possible. A pixel is a DEFINITION: it cannot serve, cannot spend, and RECORDS NOTHING until its snippet is installed on the site — the reply hands back that snippet and says so. TWO THINGS TO SAY OUT LOUD BEFORE CALLING IT: Meta allows exactly ONE pixel per ad account (a second attempt is refused and Hermoso will name the one that already exists — so call list_meta_pixels first), and Meta publishes NO WAY TO DELETE a pixel, so this is permanent. Creating it spends nothing.

ParamètreTypeRequisDescription
adAccountIdstringouiThe ad account, with or without the act_ prefix
namestringouiwhat it will be called in Events Manager — name it after the website or brand it measures

send_meta_conversions

Send conversions to a Meta pixel (Conversions API)

Send SERVER events to the brand’s OWN Meta pixel (the Conversions API): Purchase, Lead, CompleteRegistration, AddToCart, InitiateCheckout, ViewContent, Contact, Subscribe or a custom name, for sales and sign-ups the browser pixel misses (a CRM deal, a phone order, a checkout the browser blocked). The pixel must be on one of the brand’s ticked ad accounts (list_meta_pixels); any other id is refused. PASS PLAIN VALUES (email, phone with country code, firstName, lastName, city, state, zip, country, dateOfBirth, externalId): Hermoso normalizes and SHA-256 hashes them per Meta’s rules, so never hash them yourself. clientIpAddress, clientUserAgent, fbc or fbclid, fbp and a Meta leadId go as given. A website event needs eventSourceUrl and clientUserAgent. Give every event an eventId (the same one the browser pixel sends) so Meta deduplicates it. Events up to 7 days old (62 for physical_store), up to 1,000 per call. testEventCode sends to Events Manager’s Test Events, and those events still count. The brand is responsible for its customers’ consent to share this data with Meta. RECEIVED IS NOT MATCHED: the reply reads back Meta’s events_received. Free.

ParamètreTypeRequisDescription
adAccountIdstringouithe ad account that owns the pixel, with or without act_
pixelIdstringouithe pixel (dataset) id, or its exact name, from list_meta_pixels
eventsarray<object>ouieach: eventName, actionSource (website, email, app, phone_call, chat, physical_store, system_generated, business_messaging, other), eventTime (unix seconds or ISO; default now), eventId, eventSourceUrl, plain identifiers (email, phone, firstName, lastName, city, state, zip, country, dateOfBirth, ge…
testEventCodestringnonthe code from Events Manager > Test Events
limitedDataUsestringnonoff, on (Meta works out the US state) or a US state code such as ca; default is the brand setting
hashExternalIdbooleannonfalse keeps externalId as given, to match a pixel that sends it unhashed

meta_dataset_quality

Check a Meta pixel’s Conversions API health

How well the brand’s Meta pixel is set up for the Conversions API, from Meta’s Dataset Quality API: event match quality (out of 10) per website event, which match keys arrive and how often, Meta’s own list of problems with the fix for each, how much browser traffic the server also covers, deduplication key coverage, how fresh the uploads are and how many arrive late. Website events only: Meta scores nothing else. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouithe ad account that owns the pixel
pixelIdstringouifrom list_meta_pixels

set_meta_conversions_auto

Automatic sending to a Meta pixel

Read or change AUTOMATIC sending to the brand’s Meta pixel. Sources, each OFF by default: shopify (paid Shopify orders as Purchase, keyed by order id; waits on Shopify approving access to order details), metaLeads (Meta instant-form leads sent back as Lead), emailReplies (an email lead who replies, as Lead). Call with no arguments to read the setting and the last run. Turning a source ON needs confirm:true AND consent:true, after showing the user what is sent and that they are responsible for their customers’ consent. limitedDataUse sets Meta’s Limited Data Use for US state privacy laws. runNow:true sends now. An event is never sent twice, and a failed send is retried. Free.

ParamètreTypeRequisDescription
adAccountIdstringnon
pixelIdstringnon
sourcesobjectnon
limitedDataUsestringnonoff, on, or a US state code
everyMinutesnumbernon15 to 1440, default 60
leadEventNamestringnonthe event name leads are sent as, default Lead
runNowbooleannon
confirmbooleannon
consentbooleannon

list_meta_lead_forms

List Meta instant (lead) forms

List the INSTANT LEAD FORMS on a connected Facebook Page — id, name, status, how many leads each has collected and what each one asks. This is where the formId every other lead tool needs comes from, and calling it before create_meta_lead_form is how you avoid building a duplicate. Read-only, free. NEEDS the pages_manage_ads permission, which Hermoso’s Meta consent screen asks for. If Meta answers "Requires pages_manage_ads", the user must RECONNECT Meta under Connectors > Meta — a connection made before that permission was added cannot gain it by retrying. Call the tool rather than pre-refusing: any refusal comes from Meta and names the one thing that fixes it.

ParamètreTypeRequisDescription
pageIdstringnonWhich connected Page — required only if the profile has more than one
limitnumbernonmax rows (1–100, default 25)
formIdstringnonONE form in full: every question with its options, the privacy policy, the intro card and the thank-you page

create_meta_lead_form

Create a Meta instant (lead) form

Create an INSTANT LEAD FORM on a connected Facebook Page — the in-app form a Meta lead ad opens instead of sending someone to a website, so a person can sign up without leaving the app. `questions` takes Meta’s own type names, e.g. ["FULL_NAME","EMAIL","PHONE"]; for anything bespoke pass {type:"CUSTOM", label:"What size fleet do you run?"} and add options:[…] to make it a dropdown. Ask FEWER questions than you think — every extra field costs completions. privacyPolicyUrl is REQUIRED: the form collects real people’s contact details and has to say where their data goes. Optional: headline, contextCard {title, bullets[], buttonText} for the why-should-I screen, thankYou {title, body, buttonType, buttonText, websiteUrl}, locale, followUpActionUrl. CREATING A FORM SPENDS NOTHING and publishes nothing — it is invisible to the public until an ad points at it (create_meta_ad with objective:"OUTCOME_LEADS" + leadFormId), and that ad is created PAUSED. Read the submissions with read_meta_leads. NEEDS pages_manage_ads — see list_meta_lead_forms for what to do if Meta refuses it.

ParamètreTypeRequisDescription
namestringouiinternal name for the form — not shown to the person filling it in
questionsarray<any>ouiMeta question types as strings ("FULL_NAME","EMAIL","PHONE","COMPANY_NAME","JOB_TITLE","CITY","ZIP","WORK_EMAIL","DATE_TIME"…) or objects {type,label,key,options[]} for CUSTOM
privacyPolicyUrlstringouiREQUIRED — the business’s privacy policy URL (https://…)
privacyPolicyLinkTextstringnonlink text shown for the privacy policy URL on the form
pageIdstringnonwhich connected Page (required only if the profile has more than one)
headlinestringnonheadline shown above the questions
localestringnonform language, e.g. EN_US, ES_ES, PT_BR, DE_DE
followUpActionUrlstringnonhttps URL the person is sent to after submitting the form
contextCardobjectnon{title, bullets[], body, buttonText, style} — the screen shown before the questions
thankYouobjectnon{title, body, buttonType, buttonText, websiteUrl} — shown after submitting
isOptimizedForQualitybooleannonadds a review-and-confirm step: fewer leads, better ones
blockNonTargetedbooleannontrue = hide the form from people the ad's targeting does not match
trackingParametersobjectnonextra tracking parameters for the form, as a key/value object

archive_meta_lead_form

Archive (or restore) a Meta instant form

Retire an INSTANT LEAD FORM so it stops collecting — the only way to tidy a Page’s Instant Forms list, because META DOES NOT SUPPORT DELETING A LEAD FORM AT ALL, only archiving it. This is REVERSIBLE: pass status:"ACTIVE" to switch an archived form back on. Archiving publishes nothing, spends nothing and DELETES NO LEADS — everything the form already collected stays readable with read_meta_leads. CALL IT WITHOUT confirm FIRST: nothing changes and you get the form’s real name, current status and lead count READ BACK FROM META, so you can show the user exactly which form they are about to retire rather than echoing back an id they may have mistyped; then call again with confirm:true. WARNING WORTH RELAYING BEFORE ARCHIVING: if a live ad still points at this form, its button will open nothing — check the ad first. The new status is READ BACK from Meta after the change, so the summary reports what Meta actually stored and says plainly when the change did NOT take; print it verbatim rather than assuming a successful call means a changed form.

ParamètreTypeRequisDescription
formIdstringouithe form to retire (from list_meta_lead_forms)
statusenum: "ARCHIVED" | "ACTIVE"nondefault ARCHIVED; "ACTIVE" restores a form that was archived
pageIdstringnonwhich connected Page (required only if the profile has more than one)
confirmbooleannonmust be true to actually change it — without it nothing changes and you get the read-back to show the user

read_meta_leads

Read Meta lead-ad submissions

Read the LEADS a form (formId) or a single ad (adId) has collected — the real answers people submitted, fetched live from Meta. THIS RETURNS REAL PEOPLE’S CONTACT DETAILS (names, emails, phone numbers). Treat it as the user’s own customer data: show only what they asked for, never post a lead list anywhere public, and do not copy it into an unrelated document. Hermoso PULLS these on demand and keeps no copy — nothing here watches, polls or files leads anywhere, so if the user wants this batch kept, put it somewhere THEY own in the same turn (a Google Sheet with create_sheet / append_to_sheet, a doc, or their own CRM). Meta makes each lead available for 90 days after it is submitted; anything older is handled in Meta’s own Leads Center and CRM integrations. Narrow with since/until (ISO dates), page with cursor, or pass redact:true to see counts, timestamps and which ad produced each lead WITHOUT the personal details. NEEDS leads_retrieval — see list_meta_lead_forms for what to do if Meta refuses it.

ParamètreTypeRequisDescription
formIdstringnonevery lead this form has ever collected (from list_meta_lead_forms)
adIdstringnonjust the leads this ONE ad produced (from list_meta_ads) — pass this OR formId, never both
pageIdstringnonwhich connected Page (required only if the profile has more than one)
sincestringnonISO date (2026-08-01) or epoch ms — only leads created after this
untilstringnonISO date or epoch ms — only leads created before this
limitnumbernon1–500, default 100
cursorstringnonpaging cursor returned by a previous call
redactbooleannonmask the contact values, keeping counts / dates / attribution — use when the user only wants to know the form is working

delete_meta_audience

Delete a Meta custom audience

PERMANENTLY delete a Meta custom audience or lookalike. Meta’s own warning: "When you delete a custom audience, it will be permanently removed from your account and your ads using it will stop running." An audience is the one ad object whose value is its CONTENTS — a big retargeting list cannot be rebuilt, it has to re-accumulate — so CALL IT WITHOUT confirm FIRST: nothing is deleted, and you get its real name, how many people are in it and which lookalikes were built from it, read live from Meta. Show the user exactly that. A populated audience, or one with lookalikes, then needs confirmName set to its exact name (and confirmChildren set to the lookalike count when there are any). META REFUSES to delete an audience that has lookalikes derived from it (error 2656) — delete those first; the unconfirmed call names them. Pass adAccountId + audienceId (from list_meta_audiences). The result is READ BACK from Meta: it says deleted only when the id no longer resolves.

ParamètreTypeRequisDescription
adAccountIdstringouiad account id (act_… or digits)
audienceIdstringouithe custom audience id (from list_meta_audiences)
confirmbooleannonREQUIRED true — the deletion is permanent
confirmNamestringnonthe audience’s EXACT name, required when it holds people or has lookalikes
confirmChildrennumbernonthe exact number of derived lookalikes reported by the unconfirmed call, required when it has any

send_conversion_event

Send a conversion to every ad platform at once

Send ONE conversion event (a sale, sign-up, lead or your own event) to EVERY ad platform conversions API the brand saved as a destination, in one call: Meta, TikTok, LinkedIn, Snapchat, Reddit, Pinterest, X, Microsoft Advertising, ChatGPT Ads, AppLovin, Amazon Ads, Google Ads, Taboola, Outbrain, The Trade Desk, Attentive, Impact, Awin, Campaign Manager 360, Klaviyo and Google Analytics. Pass PLAIN identifiers: each platform’s sender normalises and SHA-256 hashes them to that platform’s own rules, and every platform receives the same eventId as its dedup key (match it to the browser pixel’s). Click ids in sourceUrl or user.clickIds (gclid, fbclid, ttclid, twclid, msclkid, li_fat_id, tblci for Taboola, ob_click_id for Outbrain, irclickid for Impact, awc for Awin, dclid for Campaign Manager 360, tdid / uid2 / uid2_token for The Trade Desk, ga = the _ga cookie …) are read automatically, and a click id the same person carried on an earlier stored page view rides along with a server-side sale. Each destination answers on its own, read back from what the PLATFORM said (accepted, refused, skipped and why); one failing never blocks another. DRY RUN: validateOnly:true and/or testCode reach only the platforms with a mode that records nothing (Pinterest, Snapchat, ChatGPT Ads, Google Ads, Campaign Manager 360 and Google Analytics validate, Awin takes test orders; TikTok and Reddit take a test code from their Events Manager) and skip the rest by name, so nothing real is counted. Meta kee…

ParamètreTypeRequisDescription
eventsarray<object>oui1 to 1,000 events
destinationsarray<string | object>nonsend to these instead of the saved ones: saved destination ids, or destination objects shaped like conversion_destinations action add
validateOnlybooleannondry run: platforms with a validate mode check the events and record nothing; the rest are skipped
testCodestringnondry run for TikTok and Reddit: the test code from their Events Manager
forwardbooleannonfalse records the events for journeys and sends them nowhere
carryClickIdsbooleannonfalse stops click ids from the same person’s earlier page views riding along
sourcestringnonwhere these came from, e.g. crm, shopify, stripe (shown on stored events); default api

conversion_destinations

Ad platforms a conversion goes to

The ad platform conversions APIs send_conversion_event sends to, per brand. action list (default) shows them plus what each platform needs; add saves one: platform (meta, tiktok, linkedin, snapchat, reddit, pinterest, x, microsoft, chatgpt, applovin, amazon, google_ads, taboola, outbrain, trade_desk, attentive, impact, awin, campaign_manager, klaviyo, google_analytics) with its ids (Taboola taboolaAccountId; Outbrain outbrainMarketerId; The Trade Desk trackerId + advertiserId; Impact programId + eventTypeId; Awin advertiserId (default: the connected one); Campaign Manager 360 floodlightConfigurationId + floodlightActivityId; Google Analytics measurementId + apiSecret, stored encrypted; Attentive, Impact, Awin and Klaviyo send on their connector key; Meta pixelId + adAccountId; TikTok eventSourceId = the pixel CODE, eventSource web/offline/crm, advertiserId; LinkedIn conversionId of a Conversions API rule; Snapchat pixelId; Reddit pixelId; Pinterest adAccountId; X pixelId and eventId; Microsoft conversionName of an OFFLINE goal; ChatGPT Ads pixelSnippetId + apiKey, the Conversions API key, stored encrypted and never shown again; Amazon amazonProfileId + countryCode). eventNames limits which events it takes (LinkedIn, Microsoft, Google Ads, Impact and Campaign Manager 360 need it: their rule, goal, action, event type or Floodlight activity decides the type); eventMap renames one of yours to the platform’s, e.g. {"QualifiedLead":"CUSTOM_EVENT_1"}. Meta pixels, Amazon profiles a…

ParamètreTypeRequisDescription
actionenum: "list" | "add" | "remove"nondefault list
platformstringnonadd: meta, tiktok, linkedin, snapchat, reddit, pinterest, x, microsoft, chatgpt, applovin, amazon, google_ads, taboola, outbrain, trade_desk, attentive, impact, awin, campaign_manager, klaviyo or google_analytics
labelstringnonadd: your name for it
pixelIdstringnonMeta / Snapchat / Reddit / X pixel id
adAccountIdstringnonthe ad account, where the platform has several shared
advertiserIdstringnonTikTok advertiser id
eventSourceIdstringnonTikTok pixel code, offline or CRM event set id
eventSourceenum: "web" | "offline" | "crm"nonTikTok; default web
conversionIdstringnonLinkedIn conversion rule id
conversionNamestringnonMicrosoft offline conversion goal name
eventIdstringnonX conversion event id
pixelSnippetIdstringnonChatGPT Ads pixel_id
apiKeystringnonChatGPT Ads Conversions API key
amazonProfileIdstringnonAmazon Ads profile
countryCodestringnonAmazon default country
taboolaAccountIdstringnonTaboola numeric Account ID
outbrainMarketerIdstringnonOutbrain marketer id
trackerIdstringnonTrade Desk Real-Time Conversion tracking tag id (with advertiserId)
programIdstringnonImpact program id
eventTypeIdstringnonImpact event type id
floodlightConfigurationIdstringnonCampaign Manager 360 Floodlight configuration id
floodlightActivityIdstringnonCampaign Manager 360 Floodlight activity id
measurementIdstringnonGoogle Analytics web stream G- id
apiSecretstringnonGoogle Analytics Measurement Protocol secret, stored encrypted
eventNamesarray<string>nonthe events this destination takes; omit for every event
eventMapobjectnonyour event name to this platform’s event name
destinationIdstringnonremove: the destination id

conversion_events

Stored conversion events

The conversion events send_conversion_event stored for this brand, newest first, with each one’s delivery per platform (sent, failed or skipped, and why). action list (default) filters by from / to (YYYY-MM-DD), eventName, source, platform, deliveryStatus (sent | failed), fromAd and campaignId, paged with cursor; action get takes eventId; update sets a stored event’s value (and currency) for journeys, LTV and profit; retract removes it from Hermoso’s records. Identifiers are stored hashed and never returned; test and validate-only sends are never stored. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "get" | "update" | "retract"nondefault list (get when eventId is given)
eventIdstringnonget / update / retract
eventNamestringnonfilter, or which copy of an eventId
fromstringnonYYYY-MM-DD
tostringnonYYYY-MM-DD
sourcestringnone.g. api, crm, stripe
platformstringnonevents sent to this platform
deliveryStatusenum: "sent" | "failed"nonwith platform: its latest send
fromAdbooleannononly events from an ad click (true) or not (false)
campaignIdstringnonevents tied to this campaign
limitnumbernon1-200, default 50
cursorstringnonnextCursor from the last page
valuenumbernonupdate: the new value
currencystringnonupdate: its currency

conversion_insights

Customer journeys, touch paths and lifetime value

Read the brand’s stored conversion events as: journey — ONE customer’s every touch and conversion in order, with lifetime value (pass email, phone, externalId, visitorId or a customer key); customers — everyone who converted in the window with their path, conversions and LTV; paths — the most common touch sequences before a conversion (an ad click on Meta, then organic search, and so on); ltv — buyers by first-purchase month and first channel, revenue at months 0, 1, 3, 6 and 12; accuracy — per destination, how many real sales were sent, accepted, failed or never sent and why; overview (default). People are tied together across events by any identifier they share (a visitorId on a page view and an email on the sale). Money stays per currency. Free.

ParamètreTypeRequisDescription
viewenum: "overview" | "journey" | "customers" | "paths" | "ltv" | "accuracy"nondefault overview, journey when a customer is named
customerstringnonjourney: an email, phone, external id or a customer key from view customers
emailstringnonjourney: the customer’s email
phonestringnonjourney: the customer’s phone
externalIdstringnonjourney: your customer id
visitorIdstringnonjourney: an anonymous visitor id
fromstringnonYYYY-MM-DD
tostringnonYYYY-MM-DD
daysnumbernonthe last N days instead of from
fromMonthstringnonltv: YYYY-MM
toMonthstringnonltv: YYYY-MM
limitnumbernonrows

upload_campaign_results

Upload your own results per campaign

Your own numbers per ad campaign per day (sales, revenue, qualified_leads, cogs, gross_profit or any snake_case metric) so campaign_profit can put them next to each platform’s spend. Each row: date (YYYY-MM-DD, up to 400 days back), exactly one of campaignId, utmCampaign or campaignName, optional adAccountId, platform and currency, and values {metric: number}. Or pass csv with a header row: date, then a campaign id, utm campaign or campaign name column, then metric columns. Re-sending a day replaces it. action list reads what is stored (from / to); action clear removes rows in a window (optionally one campaign). Up to 1,000 rows per call. Free.

ParamètreTypeRequisDescription
actionenum: "upload" | "list" | "clear"nondefault upload when rows or csv is given, else list
rowsarray<object>nonrows to save
csvstringnonthe same rows as CSV text
fromstringnonlist / clear: YYYY-MM-DD
tostringnonlist / clear: YYYY-MM-DD
campaignstringnonclear: only this campaign

set_profit_settings

Set margin and cost per order for profit

The numbers campaign_profit turns revenue into profit with: marginPercent (0-100, the share of revenue kept as gross profit; null removes profit), costPerOrder (subtracted per sale, in each ad account’s currency) and campaignMargins, a margin per campaign {" ": percent} (null removes one). profit = revenue × margin − sales × costPerOrder; POAS = profit ÷ spend; profit after ads = profit − spend. A campaign whose results upload carries cogs or gross_profit uses those instead. resultEvents picks which stored conversion events count as campaign results (default Purchase, Lead, QualifiedLead; any other name is counted into a metric of its own); metric labels and formulas are set with the campaign result metrics tool. No arguments reads the setting. Free.

ParamètreTypeRequisDescription
marginPercentnumber | nullnon0-100; null removes it
costPerOrdernumber | nullnonper sale, in each ad account’s currency
campaignMarginsobject | nullnonper-campaign margins; null for one removes it
resultEventsarray<string> | nullnonwhich stored conversion events count as campaign results; default Purchase, Lead, QualifiedLead; another name is counted into a metric of its own; null restores the default

campaign_profit

Profit per ad campaign

Profit per campaign across every connected ad platform: each campaign’s spend read live from the platform, joined to the brand’s own sales. Revenue per campaign comes from ONE source, strongest first: results you uploaded (upload_campaign_results), else conversion events sent through send_conversion_event and credited to campaigns under `model` (last_click default, first_touch, linear, position_based, time_decay), else Shopify / Stripe orders matched by utm_campaign. Never summed across sources, so one sale is never counted twice. Each row: spend, sales, revenue, profit (set_profit_settings), POAS, profit after ads, ROAS, cost per sale, the platform’s own reported conversions beside it, and which source the revenue came from. Money stays per currency; a platform that could not be read is named, never shown as zero. from / to (YYYY-MM-DD) or days, up to 92; platforms narrows it. Free.

ParamètreTypeRequisDescription
fromstringnonYYYY-MM-DD
tostringnonYYYY-MM-DD, default today
daysnumbernonthe last N days; default 30
platformsarray<string>nonmeta, google_ads, tiktok_ads, linkedin, microsoft_ads, pinterest_ads, reddit_ads, snapchat_ads, x_ads, openai_ads, apple_ads; default every connected one
modelenum: "last_click" | "first_touch" | "linear" | "position_based" | "time_decay"nonhow event revenue is credited to campaigns; default last_click
revenueFromarray<enum: "uploads" | "events" | "store">nonwhich revenue sources to use; default all three, in that order
includeIdlebooleannontrue also lists campaigns with no spend and no sales

check_ad_account_health

Check an ad account can run ads

Can this ad account run ads right now? Run it BEFORE creating ads, and whenever ads are not delivering. platform meta (default), google_ads or tiktok_ads, plus adAccountId (Meta act_ id, Google customer id, TikTok advertiser id). Meta checks the account status, the payment method, the account spending limit, the Facebook Page and its Instagram account, the Page's Lead Ads terms, the newest pixel event, the WhatsApp number on the Page and rejected ads; Google the account status, billing, the account budget and policy-disapproved ads; TikTok the account status, the balance and rejected ads. Each check is read on its own: one that cannot be read says so (unknown), never 'fine'. Answers ready (false when a new ad would be refused; null when the status itself could not be read), status ok / attention / blocked (blocked also covers what stops delivery but not a create, such as a reached spending limit), and blockers with a plain-words fix and the page to fix it on. Read-only, free.

ParamètreTypeRequisDescription
platformenum: "meta" | "google_ads" | "tiktok_ads"nondefault meta
adAccountIdstringouiMeta ad account (act_123), Google Ads customer id, or TikTok advertiser id
pageIdstringnonMeta: the Page the ad will run as (default the ad account’s first Page)
loginCustomerIdstringnonGoogle: manager account id when acting through one

list_ads_alerts

What needs attention across your ad accounts

What needs attention across EVERY ad account the brand shared on Meta, Google Ads and TikTok, most severe first: accounts blocked by status or payment, spending limits reached or nearly reached, rejected ads, pixels that stopped firing, and ads connections that need reconnecting. An account that could not be read is listed as not read, never left out, so an empty list means read and nothing wrong. Each alert has a stable id; action dismiss with alertId hides it for this brand for 30 days (it comes back if the problem is still there). Read-only apart from the dismissal, free.

ParamètreTypeRequisDescription
actionenum: "list" | "dismiss"nondefault list
alertIdstringnondismiss: the alert’s id from list

manage_ad_leads

Your ad leads, with a status

The brand's ad leads in one list, with a status a team moves them through. action list (default): leads from every connected lead-form platform (Meta, LinkedIn, TikTok, X, Snapchat, ChatGPT Ads) plus leads from the brand's own site form, newest first, each with its status (new, contacted, qualified, converted, lost) and value; filter by status, platform, search, days (1-90, default 30), limit. action count: how many per status, and their value per currency. action update: platform + leadId (as list shows them) and status, optionally value + currency, saved in Hermoso only (nothing is sent to the ad platform). action create: a lead from the brand's own form (email and/or phone, name, fields, formName, formId, sourceUrl, submittedAt): saved as platform web, added to the contact list, and sent to the brand's lead alerts. A platform that could not be read is named, and its leads are missing, not zero. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "count" | "update" | "create"nondefault list
statusenum: "new" | "contacted" | "qualified" | "converted" | "lost"nonupdate: the new status; list / count: filter
platformstringnonmeta, linkedin, tiktok, x, snapchat, chatgpt or web
leadIdstringnonupdate: the lead’s id from list
valuenumbernonupdate: what the lead is worth
currencystringnon3-letter code, needed with value
searchstringnon
daysnumbernon1-90, default 30
limitnumbernon
platformsarray<string>nonlist / count: only these lead-form platforms
emailstringnoncreate
phonestringnoncreate
namestringnoncreate
fieldsobjectnoncreate: the form’s other answers
formNamestringnon
formIdstringnon
sourceUrlstringnoncreate: the page the form is on
submittedAtstringnoncreate: ISO time, default now

set_ad_campaigns_status

Pause or resume many campaigns at once

Pause or resume up to 50 campaigns in ONE call, across Meta, Google Ads, TikTok, LinkedIn, Microsoft Advertising, Pinterest, Snapchat, Reddit and X: status pause or resume, campaigns [{platform, campaignId, adAccountId (Google: customerId; TikTok: advertiserId)}]. Each campaign goes through that network's own status tool, and each gets its own result, so one failure never blocks the rest. PAUSING only stops spend and runs at once. RESUMING STARTS REAL AD SPEND: called without confirm it changes nothing and lists each campaign with its name and budget where they could be read; show the user that list, get a yes, then call again with the same campaigns and confirm:true. ChatGPT Ads, Apple Ads, Amazon Ads and AppLovin campaigns are switched one at a time with their own tools.

ParamètreTypeRequisDescription
statusenum: "pause" | "resume"oui
campaignsarray<object>ouiup to 50
confirmbooleannontrue only after the user approved resuming these campaigns

campaign_result_metrics

Name and define campaign result metrics

Name and define the numbers campaign_profit shows. action list (default): every metric key the brand uploaded with upload_campaign_results (with its label and kind) and every formula, the built-in ones (cac_percent, cost_per_sale, cost_per_qualified_lead, lead_to_sale, qualified_rate) and the brand's own. action set: key plus label, kind (count, money, percent or ratio), currency (for money) and/or formula, a calculation with + - * / and parentheses over spend, impressions, clicks, sales, revenue, leads, qualified_leads, profit and any uploaded metric key, e.g. "(revenue - spend) / clicks"; formula null removes it. action remove: key. Every formula is shown per campaign in campaign_profit; a division by zero or a number a campaign does not have shows as empty, never 0. Which conversion events count as campaign results is set_profit_settings resultEvents. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "set" | "remove"nondefault list (set when key is given)
keystringnonthe metric key (snake_case)
labelstringnon
kindenum: "count" | "money" | "percent" | "ratio"non
currencystringnon
formulastring | nullnone.g. (revenue - spend) / clicks; null removes

manage_tracking_links

Tracking links (short links, split tests, postbacks)

Short tracking links the brand puts in ads, bios, emails or QR codes. Each click is counted (bots and link previews apart) and sent to one of the link's destinations, picked by weight, so one link also split-tests landing pages. action list (default) | create (name, destinations [{url, weight}], campaign {utm_source, utm_medium, utm_campaign, utm_content, utm_term} added to the page when it has none) | get (linkId: the link, its destinations and its postback URL) | update (linkId + name, destinations, campaign (null clears) or status active / paused; the address never changes) | rotate_postback (linkId: a new postback URL; the old one stops at once) | stats (linkId, from / to as YYYY-MM-DD in UTC or days, up to 92: clicks, bot clicks, clicks per destination, conversions, conversion rate and revenue) | delete (linkId; the address stops working wherever it was printed, so without confirm:true nothing is deleted and the reply says what would stop). The postback URL takes value, currency and txid (a txid is counted once). Destinations must be public web pages. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "create" | "get" | "update" | "delete" | "rotate_postback" | "stats"nondefault list
linkIdstringnonthe link’s id (or its code)
namestringnon
destinationsarray<object>non
campaignobject | nullnonutm_source, utm_medium, utm_campaign, utm_content, utm_term; null clears
statusenum: "active" | "paused"non
fromstringnonstats: YYYY-MM-DD (UTC)
tostringnonstats: YYYY-MM-DD (UTC)
daysnumbernon
confirmbooleannondelete: true after the user agreed

hermoso_tag

The brand’s Hermoso tag (website tracking snippet)

The brand’s HERMOSO TAG: ONE first-party snippet per brand for its website. It records page views, each visit’s UTM parameters and ad click ids (gclid, fbclid, ttclid, msclkid, li_fat_id, ScCid, rdt_cid, epik …), the referrer, and conversions the site reports (hermoso('track', 'Lead' | 'Purchase' | your own event, {value, currency, orderId, email …})), ties a visitor to a person when the site calls hermoso('identify', {email, phone}) (hashed before storage), and FORWARDS conversions server-side to every conversions destination the brand saved, each with one dedup eventId (a Purchase uses its orderId, so a browser pixel firing the same id is deduplicated). action get (default) returns the snippet, the install status (last event seen, from which hosts) and the settings; it MAKES the brand’s tag on first call. action update changes settings: consentDefault, waitForConsent, honorGpc, honorDnt, forward, forwardEvents, allowedDomains, spa, testMode ("validate" or a TikTok / Reddit test code sends conversions as a dry run; "off" ends it) and conversions (define the brand’s own events as conversions, each sent to the platforms as a standard event, e.g. {"quote_requested": {"as": "Lead"}}). action verify reads the site (url, default the brand’s website) for the snippet and reports the last event seen. autoTrack {forms, outbound, downloads, scroll} turns on automatic events (form submits as leads, outbound / phone / email clicks, file downloads, scroll depth); linkDomains lists the br…

ParamètreTypeRequisDescription
actionenum: "get" | "update" | "verify" | "server_key" | "stripe"nondefault get; server_key makes a new server key (the old one stops working); stripe saves (signingSecret) or removes the Stripe webhook
autoTrackboolean | objectnonupdate: automatic events, each off by default; true turns all on
linkDomainsarray<string>nonupdate: the brand’s other sites; links to them carry the visit across (cross-domain)
signingSecretstringnonstripe: the endpoint’s signing secret (whsec_…); omit to remove the webhook
consentDefaultenum: "granted" | "denied"nonupdate: what applies before the site’s banner says anything
waitForConsentbooleannonupdate: true sends nothing until the site grants analytics_storage
honorGpcbooleannonupdate: a browser’s Global Privacy Control signal refuses ad use (default true)
honorDntbooleannonupdate: a browser’s Do Not Track signal stops the tag (default false)
forwardbooleannonupdate: false records conversions but sends them to no ad platform
forwardEventsarray<string> | nullnonupdate: the events sent to ad platforms; null = every conversion plus the checkout steps
allowedDomainsarray<string>nonupdate: only pages on these hosts (and subdomains) count; empty = any
spabooleannonupdate: count a page view on each in-page navigation (default true)
testModestringnonupdate: "validate", a TikTok / Reddit test code, or "off"
conversionsobjectnonupdate: the brand’s own events that count as conversions; null for one removes it
replaceConversionsbooleannonupdate: true replaces the whole list instead of merging
urlstringnonverify: the page to read; default the brand’s website
renderbooleannonverify: false skips the browser render

install_hermoso_tag

Put the Hermoso tag on the website

Put the brand’s HERMOSO TAG (hermoso_tag) on its website through the site connection it has: google_tag_manager (a Custom HTML tag on every page, staged, live with publish:true through the Tag Manager publish confirmation), wordpress (a block in the theme footer, or a custom HTML widget, read back; a site that strips scripts for the connected user is undone and answered with paste steps), shopify (Hermoso’s app pixel in Shopify customer events, which also records checkout purchases) or manual (the snippet and where to paste it in Webflow, Wix, Squarespace, Framer …). site omitted = the best one connected. WITHOUT confirm:true NOTHING IS WRITTEN: the reply says what would change; show the user, get a yes, call again with confirm:true. remove:true uninstalls what Hermoso added. This is NOT install_tracking_tag, which installs ad platforms’ own pixels (Meta Pixel, TikTok Pixel …). Free.

ParamètreTypeRequisDescription
siteenum: "google_tag_manager" | "wordpress" | "shopify" | "manual"nondefault the best connected site
confirmbooleannontrue writes; without it nothing changes
publishbooleannongoogle_tag_manager: publish the container so it reaches visitors
containerPathstringnongoogle_tag_manager: the container, when several are ticked
gtmWorkspacestringnongoogle_tag_manager: the workspace
confirmPublicIdstringnongoogle_tag_manager: the container public id (GTM-…), when it is already live
removebooleannontrue uninstalls what Hermoso added

hermoso_tag_report

Website visits, leads and revenue by source

What the Hermoso tag saw on the brand’s website: visits -> leads -> purchases -> revenue, grouped by channel (default), source, medium, campaign, post (the Hermoso post or email a utm_content id came from), ad, or landing page. Money stays per currency; days are UTC; bots are left out and counted; test (dry-run) events are reported apart, never in the totals. from / to (YYYY-MM-DD) or days, up to 92. Free.

ParamètreTypeRequisDescription
groupByenum: "channel" | "source" | "medium" | "campaign" | "post" | "ad" | "page"nondefault channel
fromstringnonYYYY-MM-DD
tostringnonYYYY-MM-DD, default today
daysnumbernonthe last N days, up to 92; default 30
limitnumbernonrows, default 50

hermoso_tag_events

Recent events from the Hermoso tag

The most recent events the Hermoso tag received, newest first: conversions (default), visits or all, each with its page, source / medium, value, and what each ad platform answered when it was forwarded (sent, validated, failed or skipped and why). conversion_events (source hermoso_tag) holds each stored conversion’s full delivery record. action send puts SERVER-SIDE events into the tag (a renewal, a phone order, a payment the browser never saw): events [{eventName, eventId (the same id the browser sent, so it is one sale), value, currency, user {email, phone, externalId, visitorId}, sourceUrl}], forwarded and reported like the browser’s. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "send"nondefault list
eventsarray<object>nonsend: 1-500 events in the send_conversion_event shape
kindenum: "conversions" | "visits" | "all"nondefault conversions
eventNamestringnononly this event
limitnumbernon1-150, default 30

hermoso_tag_audiences

Audiences from your website visitors

AUDIENCES FROM THE BRAND’S WEBSITE VISITORS, seen by the Hermoso tag (hermoso_tag). A segment is visitors who visited page paths (visited, prefixes such as "/pricing"), did ANY of some events (events, e.g. ["AddToCart"]) and NONE of others (notEvents, e.g. ["Purchase"]) within withinDays (1-180, default 30). action list (default) shows the segments with how many visitors match, how many are identified (the site gave an email or phone through hermoso('identify') or a form) and how many allowed ad use; preview counts a rule set without saving; save stores one (pass segmentId to edit it); delete removes one (confirm:true). action sync fills a customer-list audience: platform meta (adAccountId; a NEW audience unless audienceId), google_ads (audienceId = a Customer Match list from google_ads_customer_lists, and acceptTerms:true once the advertiser accepts Google’s Customer Match terms), snapchat_ads, pinterest_ads or x_ads (each with the audienceId to fill). Only IDENTIFIED people whose LATEST consent allowed ad use are sent, as SHA-256 hashes made to that platform’s own rule; uploads add people and never remove anyone. WITHOUT confirm:true sync sends nothing and says exactly what it would send: show the user, then call again with confirm:true. Microsoft, Reddit, TikTok and LinkedIn are named with the reason they are not sent. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "preview" | "save" | "delete" | "sync"nondefault list
segmentIdstringnonsave (edit), delete, sync: the segment
namestringnonsave / preview: the segment’s name
visitedarray<string>nonpage paths (prefixes), any of
eventsarray<string>nonevents, any of (Lead, AddToCart, your own …)
notEventsarray<string>nonevents none of which happened (e.g. Purchase)
withinDaysnumbernon1-180, default 30
platformenum: "meta" | "google_ads" | "snapchat_ads" | "pinterest_ads" | "x_ads"nonsync: where to send
audienceIdstringnonsync: the audience / customer list to fill (Meta: omit to make a new one)
audienceNamestringnonsync to Meta without audienceId: the new audience’s name
adAccountIdstringnonsync: the ad account (Meta needs it)
customerIdstringnonsync to Google Ads: the account, when several
acceptTermsbooleannonsync to Google Ads: the advertiser accepted Google’s Customer Match terms
confirmbooleannonsync / delete: true does it; without it nothing changes

post_purchase_survey

How-did-you-hear survey (after an order)

POST-PURCHASE SURVEY, "How did you hear about us?": what buyers SAY brought them, beside what tracking saw. Asked in three places: on Shopify’s Thank you and Order status pages (the "Hermoso survey" app block, placed once in Settings > Checkout > Customize; not on Shopify Starter), on a hosted page (pageUrl) any store links from its own order email or SMS, and through a signed webhook for answers collected anywhere else (WooCommerce, another survey app, a form). Each answer is written to the Shopify order (metafield hermoso.how_did_you_hear, shown on the order page) and to the brand’s contact (field how_did_you_hear, tag survey: ), and sent as survey.answered to the brand’s Slack, Discord or webhook alerts. action get (default): settings, the page and webhook links, the answer count, whether the Shopify block has loaded. set: enabled, question, options [{ label, channel?, freeText? }] (2-20; channel such as instagram, tiktok, google, ai, word_of_mouth, creator, podcast, email, other), thankYou, shuffle, writeToOrder, writeToContact, accent (hex). link: orderId, email, value, currency -> a link signed with the brand’s secret, so the answer is tied to that order. secret: the signing secret for links and the webhook (rotate:true makes a new one; old signatures stop working). record: an answer the user or agent already has (answer = an option id or label, or the buyer’s own words; otherText, orderId, email, value, currency, at). answers: the answers (days or from/to, channel, so…

ParamètreTypeRequisDescription
actionenum: "get" | "set" | "link" | "secret" | "answers" | "record" | "report" | "sync"nondefault get
enabledbooleannonset: true turns the survey on everywhere (Shopify block, hosted page, webhook)
questionstringnonset: the question, up to 160 characters
optionsarray<object>nonset: 2-20 answers, replaces the list
thankYoustringnonset: the line shown after answering
shufflebooleannonset: shuffle the answers per buyer (default true; a free-text answer stays last)
writeToOrderbooleannonset: write the answer onto the Shopify order (default true)
writeToContactbooleannonset: save the answer on the brand’s contact for that email (default true)
accentstring | nullnonset: the hosted page’s button colour, hex; null for the default
rotatebooleannonsecret: true makes a new secret
answerstringnonrecord: an option id or label, or the buyer’s own words
optionIdstringnon
otherTextstringnon
orderIdstringnonlink / record: the order (a Shopify gid, or the store’s own order number)
emailstringnonlink / record: the buyer’s email (stored hashed; used for the contact)
valuenumbernonlink / record: the order total
currencystringnonthree letters, e.g. USD
atstringnonrecord: when it was answered, ISO time
daysnumbernonanswers / report: the last N days (default 30)
fromstringnon
tostringnon
channelstringnonanswers: only this channel
sourceenum: "shopify" | "hosted" | "webhook" | "agent"nonanswers: only this door
limitnumbernonanswers: 1-200, default 50

register_merchant_developer

Register Hermoso with a Merchant Center account

ONE-TIME SETUP, and the FIRST thing to run when Merchant Center calls are being refused. Google blocks every Merchant API call until Hermoso's Google Cloud project is registered against the merchant's account, and says so verbatim ("GCP project ... is not registered with the merchant account"). This performs that link. It is NOT a broken connection and reconnecting cannot fix it. Google asks for up to 5 minutes afterwards before the API starts answering.

ParamètreTypeRequisDescription
merchantCenterIdstringouithe numeric id shown top-right in Merchant Center
developerEmailstringouia contact address Google records against the registration; it is not used to sign in

list_merchant_accounts

List Merchant Center accounts

List the Google Merchant Center accounts this brand's connected Google account can reach. EVERY other Merchant tool needs the merchantCenterId this returns, and an agency often has several, so never guess one — ask the user which store. Read-only and free. If it is refused, the Merchant Center permission has not been granted yet; that is not a broken connection and reconnecting will not change it.

Aucun paramètre.

list_merchant_products

List Merchant Center products

Read the products in a Merchant Center feed — what the merchant actually offers, which is what Shopping and retail Performance Max campaigns serve. Needs merchantCenterId from list_merchant_accounts. Read-only and free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
limitnumbernonmax products (default 50, max 250)

record_shopify_marketing_activity

Record an ad or campaign in Shopify > Marketing

Record an ad or campaign the merchant is running (on Meta, Google, TikTok, email, anywhere) in their Shopify admin under Marketing, so Shopify's own reports attribute storefront visits and sales to it by its UTM. REPORTING ONLY: it publishes nothing and spends nothing. Pass title, remoteUrl (where the ad is managed, e.g. The Ads Manager link), the utm {campaign, source, medium} the ad's links carry, and optionally tactic (AD default, RETARGETING, POST, LINK, NEWSLETTER, …), channel (SOCIAL default, SEARCH, DISPLAY, EMAIL, REFERRAL), status (ACTIVE default, PAUSED, SCHEDULED, INACTIVE, DELETED_EXTERNALLY), budget {type DAILY|LIFETIME, amount, currency}, adSpend {amount, currency}, start / end / scheduledEnd dates and previewImageUrl. RemoteId is YOUR stable id for the activity (the ad platform's campaign id is ideal); calling again with the same remoteId UPDATES that one row, and every field you leave out is KEPT from the existing record (Shopify's own upsert would erase it; the reply lists what was kept). Read back from Shopify. Needs the store to have approved Hermoso's marketing permission: if it has not, the reply says to open Hermoso once from the Shopify admin to approve it. Works for the Shopify store connected to this brand or the store this account was installed on. Free.

ParamètreTypeRequisDescription
titlestringnonwhat the merchant sees in Shopify > Marketing; required on the first recording
remoteUrlstringnonhttps link where this ad or campaign is managed or viewed; required on the first recording
remoteIdstringnonyour stable id for this activity (e.g. the ad platform campaign id); derived from platform + campaignId or the utm campaign when omitted
platformstringnonwhere it runs, e.g. meta, google_ads, tiktok_ads; only used to derive remoteId
campaignIdstringnonthe ad platform campaign id; only used to derive remoteId
utmobjectnonthe UTM the ad links carry; Shopify matches visits on all three
tacticenum: "AD" | "RETARGETING" | "POST" | "LINK" | "AFFILIATE" | "MESSAGE" | "NEWSLETTER" | "ABANDONED_CART" …nonShopify marketing tactic, e.g. AD, RETARGETING, POST, NEWSLETTER; default AD
channelenum: "SOCIAL" | "SEARCH" | "DISPLAY" | "EMAIL" | "REFERRAL"nonSOCIAL, SEARCH, DISPLAY, EMAIL or REFERRAL; default SOCIAL
statusenum: "ACTIVE" | "PAUSED" | "SCHEDULED" | "INACTIVE" | "DELETED_EXTERNALLY" | "UNDEFINED"nonACTIVE, PAUSED, SCHEDULED, INACTIVE, DELETED_EXTERNALLY or UNDEFINED; default ACTIVE
budgetobjectnonbudget object: {type DAILY or LIFETIME, amount, currency}
adSpendobjectnonamount spent so far
startstringnonISO date the ad started
endstringnonISO date it ended
scheduledEndstringnonISO date the activity is scheduled to end
previewImageUrlstringnonhttps image shown next to the activity (the ad creative works)

list_shopify_marketing_activities

List Shopify marketing activities

The marketing activities recorded in the merchant's Shopify > Marketing by Hermoso (and other apps): title, tactic, channel, status, UTM, budget, ad spend, dates and the remoteId each was recorded under. Filter by remoteId or a Shopify search query (e.g. Title:summer). Newest first; pass cursor for more. Read-only, free. Needs the store to have approved Hermoso's marketing permission. Works for the Shopify store connected to this brand or the store this account was installed on.

ParamètreTypeRequisDescription
limitnumbernon1–100, default 25
cursorstringnonpageInfo cursor from the previous reply, to fetch the next page
remoteIdstringnonreturn only the activity recorded under this remoteId
querystringnonShopify search syntax, e.g. title:summer or tactic:AD

delete_shopify_marketing_activity

Delete a Shopify marketing activity

Remove a marketing activity Hermoso recorded from the merchant's Shopify > Marketing, by remoteId or id. Shopify stops attributing visits and sales to it and it cannot be undone, so without confirm:true NOTHING is deleted and the reply names exactly what would go: show the user, get a yes, then call again with confirm:true. Read back afterwards. Works for the Shopify store connected to this brand or the store this account was installed on. Free.

ParamètreTypeRequisDescription
remoteIdstringnonremoteId of the activity to delete; use this or id
idstringnongid://shopify/MarketingActivity/…
confirmbooleannontrue to delete; without it the reply names what would be removed and deletes nothing

merchant_report

Merchant Center competitive visibility, best sellers and price benchmarks

COMPETITOR INTELLIGENCE GOOGLE COMPUTES FOR FREE, for any retail brand with a Merchant Center. Ten report views, read with a SQL-like MCQL query. The three worth reaching for first: `competitive_visibility_competitor_view` (WHICH other domains appear beside this merchant, their rank, page-overlap and higher-position rates — i.e. who is actually beating them), `best_sellers_product_cluster_view` (what is SELLING on Google in a category right now, with an inventory_status saying whether this merchant even stocks it) and `price_insights_product_view` (Google's own suggested price plus the predicted click and conversion change). Also: competitive_visibility_benchmark_view, competitive_visibility_top_merchant_view, best_sellers_brand_view, price_competitiveness_product_view, product_view, product_performance_view, non_product_performance_view. MCQL IS NOT SQL: no OR, no subqueries, no GROUP BY, no aggregates, no JOIN, and ORDER BY may only name fields already in SELECT. Date filters use `WHERE date BETWEEN '2026-01-01' AND '2026-01-31'` or `WHERE date DURING LAST_30_DAYS`. Several views REQUIRE specific fields in SELECT and in WHERE — competitive visibility needs report_category_id + report_country_code + traffic_source, and top_merchant uniquely REQUIRES a date condition while FORBIDDING date in SELECT. An unknown view is refused by name with the list. NOT AVAILABLE ON MULTI-CLIENT (MCA) ACCOUNTS — pass a subaccount id. An empty result is often a normal state (price insights are…

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts — a STANDALONE account or a SUBACCOUNT, never a multi-client (MCA) account
querystringouithe MCQL query, e.g. "SELECT id, title, price, suggested_price, effectiveness FROM price_insights_product_view"
pageSizenumbernonrows per response, 1–100000 (default 1000). 100,000 is GOOGLE's ceiling, not ours.
pageTokenstringnonnextPageToken from a previous call — resend the IDENTICAL query and pageSize with it, which Google requires

list_merchant_issues

List Merchant Center account issues

Read the account-level issues Google reports on a Merchant Center — the answer to "why is this product not showing?". Needs merchantCenterId from list_merchant_accounts. Read-only and free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts

list_merchant_promotions

List Merchant Center promotions

The sale and discount promotions on a Merchant Center account, with each one's PER-DESTINATION status and any issues Google has raised against it. GOOGLE VALIDATES PROMOTIONS ASYNCHRONOUSLY, so 'created' and 'running' are different states and only destinationStatuses tells them apart — never report a sale as live off a successful create. Read-only, 0 credits. Needs Google Ads connected (Merchant Center rides the same connection).

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
limitnumbernonup to 250, default 50

create_merchant_promotion

Create a Merchant Center promotion (sale badge)

PUT A SALE BADGE ON THE MERCHANT'S SHOPPING LISTINGS — the most seasonal thing a retail advertiser does. It creates the promotion and resolves (or creates) the promotion DATA SOURCE that country/language needs automatically; a promotion data source is its own kind and cannot be the product feed. IT IS NOT LIVE ON CREATE: Google validates promotions asynchronously and can take days to approve one, so report it as SUBMITTED and re-read with list_merchant_promotions. Everything Google marks Required is refused up front by name, including the pairings its own 400 does not mention — PERCENT_OFF needs percentOff, MONEY_OFF needs moneyOffAmount, GENERIC_CODE needs genericRedemptionCode — because otherwise Google accepts the promotion and disapproves it hours later where nobody is watching. 0 credits.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
promotionIdstringouiYOUR OWN id for the promotion, e.g. 'black-friday-2026'
targetCountrystringouitwo-letter CLDR territory code, e.g. US. Part of the promotion identity and not changeable later
contentLanguagestringouitwo-letter ISO 639-1 code, e.g. en. Must match the language of the products
longTitlestringouithe promotion text shoppers see, e.g. '20% off all winter coats' — describe the offer, do not name the campaign
couponValueTypeenum: "MONEY_OFF" | "PERCENT_OFF" | "BUY_M_GET_N_MONEY_OFF" | "BUY_M_GET_N_PERCENT_OFF" | "BUY_M_GET_MONEY_OFF" | "BUY_M_GET_PERCENT_OFF" | "FREE_GIFT" | "FREE_GIFT_WITH_VALUE" …ouithe kind of discount
offerTypeenum: "NO_CODE" | "GENERIC_CODE"ouiNO_CODE when the discount applies automatically, GENERIC_CODE when the shopper types a code
genericRedemptionCodestringnonREQUIRED when offerType is GENERIC_CODE
percentOffnumbernonREQUIRED for PERCENT_OFF — a plain number, e.g. 20
moneyOffAmountobjectnonREQUIRED for MONEY_OFF — {"amountMicros":"10000000","currencyCode":"USD"} is $10 off
redemptionChannelarray<enum: "IN_STORE" | "ONLINE">ouiat least one; ONLINE for a webshop sale
promotionDestinationsarray<string>ouiat least one, e.g. ['SHOPPING_ADS'] for paid Shopping or ['FREE_LISTINGS'] for the unpaid surface
productApplicabilityenum: "ALL_PRODUCTS" | "SPECIFIC_PRODUCTS"nonrequired unless eventApplicability is set — Google allows exactly one of the two
eventApplicabilityenum: "SITEWIDE" | "SPECIFIC_CATEGORIES"noncreates a SALES EVENT instead of a product promotion — a different thing
startDatestringouiISO date, e.g. 2026-11-27
endDatestringouiISO date; widened to the END of that day, because Google's interval end is exclusive
promotionUrlstringnonthe page on the merchant's site where the promotion shows
attributesobjectnonany other promotion attribute Google publishes — item/brand/product-type filters, minimum purchase, store filters, display period — forwarded as given
customAttributesarray<object>nonmerchant-provided attributes, {name, value}

merchant_issue_help

Google's own fix steps for a Merchant Center issue

GOOGLE'S OWN FIX STEPS, not just the name of the problem. list_merchant_issues stops at the symptom; this returns the remediation content Google writes for each issue, plus the ACTIONS available on it — request a review, claim the website, edit a named attribute — with the exact opaque ids trigger_merchant_issue_action needs. Pass an offerId (with feedLabel, and contentLanguage if it is not 'en') for one PRODUCT's issues, or leave it off for the ACCOUNT's. The fix text is Google's and is relayed verbatim: RELAY IT, do not paraphrase a remediation step into something that sounds simpler. Read-only, 0 credits.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
offerIdstringnonfor one PRODUCT's issues; omit for the account's issues
feedLabelstringnonREQUIRED alongside offerId — from list_merchant_products. A product is addressed by contentLanguage + feedLabel + offerId
contentLanguagestringnonwith offerId; defaults to 'en'
languageCodestringnonBCP-47 language for the fix text, e.g. 'en-US'
timeZonestringnonIANA zone for times inside the content, e.g. 'America/Los_Angeles'

trigger_merchant_issue_action

Fire a Merchant Center issue action

FIRE one of the actions merchant_issue_help returned — most usefully 'request a review' on a disapproval. SEVERAL OF THESE ARE ONE-SHOT and Google says so in its own dialog callout ('You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait'), so read that callout back to the user before confirming: a review spent on the wrong issue cannot be spent again. WITHOUT `confirm` IT FIRES NOTHING. `actionContext` is OPAQUE by Google's own instruction — pass it back exactly as merchant_issue_help gave it; it cannot be constructed or edited. The answer is Google's own message to the business, relayed verbatim, because this endpoint returns no resource to read back. 0 credits.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
actionContextstringouithe opaque token from merchant_issue_help, on the action you are firing
actionFlowIdstringouithe id of the flow you picked from that action's flows — each asks for different inputs
inputValuesarray<object>nonvalues for the flow's input fields, shaped as Google described them: {inputFieldId, textInputValue|choiceInputValue|checkboxInputValue}
languageCodestringnonBCP-47 language for the response message
confirmbooleannonmust be true to actually fire it

list_merchant_inventory

Merchant store and region overrides

The per-store and per-region price and availability overrides on one Shopping product. An override REPLACES the product's own price and availability for that store or region; where there is no override the product-level values apply, so an empty result is the normal answer and does NOT mean the product is missing. Needs the product's offerId plus its contentLanguage and feedLabel, because in the Merchant API those three together ARE the product's address rather than optional filters. Read-only, free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
offerIdstringouithe product's own id in the feed, from list_merchant_products
contentLanguagestringouitwo-letter feed language, e.g. "en". Part of the product's address, not a filter
feedLabelstringouiusually the feed target country, e.g. "US". Part of the product's address, not a filter
kindenum: "local" | "regional"nonomit to read both

set_merchant_inventory

Set store or region price and stock

SET the price, availability or stock level of one Shopping product at ONE physical store (kind:"local", keyed by storeCode) or in ONE region (kind:"regional", keyed by region). This is what stops a Shopping ad advertising something the nearest store has sold out of. Google's insert REPLACES the whole entry, so this tool reads what is already stored, merges your fields over it, and reports which stored fields it preserved; pass an explicit null to CLEAR one. The API publishes no enum for availability, so it accepts anything and only Google's local inventory data specification says which values actually serve: In stock, Limited availability, On display to order, Out of stock, submitted in English. An unrecognised value is warned about here rather than refused, because refusing would mean inventing an enum Google does not publish. Google states it can take up to 30 minutes before the product itself reflects the change, so a product read straight afterwards can still show the old value and be correct. Free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
offerIdstringouithe product's own id in the feed
contentLanguagestringouitwo-letter feed language, e.g. "en"
feedLabelstringouiusually the feed target country, e.g. "US"
kindenum: "local" | "regional"ouilocal = one physical store (storeCode), regional = one Google region (region)
storeCodestringnonrequired for kind:'local' — the store ID from the merchant's Business Profile. Immutable
regionstringnonrequired for kind:'regional' — the Merchant Center region id. Immutable
availabilitystring | nullnonno API enum exists; Google's local spec publishes In stock, Limited availability, On display to order, Out of stock, in English. Anything else is warned about, not refused. null clears it
pricestring | nullnon"12.99 USD". A bare number is refused because a price with no currency is not a price. null clears it
salePricestring | nullnon"9.99 USD". Google requires salePriceEffectiveDate alongside it if that is set. null clears it
quantitynumber | nullnonlocal only. null clears it
pickupMethodstring | nullnonlocal only. Must be sent WITH pickupSla unless the value is "not supported"
pickupSlastring | nullnonlocal only
instoreProductLocationstring | nullnonlocal only, max 20 bytes

merchant_account_status

Merchant Center serving status

WHY THE MERCHANT CENTER ACCOUNT IS OR IS NOT SERVING, in one read. Do not trust the program state on its own: an account can report Shopping ads and free listings as ENABLED and serve in ZERO countries, because Google counts a region as active only where every requirement for that program is met. This reports the active regions, the unmet requirements Google names with its own help link for each, and then the eight account settings that explain them — whether the homepage is CLAIMED (unclaimed stops the whole account serving), whether business info has an address, a verified phone and a customer service contact, whether any active shipping service covers the countries you sell to, the return policies, whether the Merchant Center terms have been accepted, plus autofeed and automatic improvements. An account with no shipping settings at all is reported as not configured, which is an account state and not a failed read. Anything that genuinely could not be read comes back null with a warning, which means unknown rather than missing. Read-only, free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts

manage_merchant_settings

Change Merchant Center settings

FIX THE MERCHANT CENTER SETTINGS that stop an account serving (merchant_account_status names them). Pick section + action. shipping: get · upsert (add or update services by name; services you do not mention are KEPT) · remove (serviceNames) · replace (exactly this list). A service is {name, countries, currency, rate, freeOver?, handlingDays:[min,max], transitDays:[min,max], active?} or Google's own Service shape; delivery days are required, never guessed. returns: list · create (policy {countries, returnPolicyUri, days or policyType, itemConditions, returnMethods, processRefundDays, returnLabelSource, label?}) · delete (returnPolicyId). Google has no edit for a return policy. business_info: get · update (address, customerService {uri,email,phone}, koreanBusinessRegistrationNumber; merged field by field, null clears). homepage: get · claim (re-checks verification; overwrite:true takes it from another account) · unclaim · set_uri (removes the claim). programs: list · enable · disable (program e.g. free-listings, shopping-ads). Overwriting or removing a shipping service, replacing existing business info, deleting a return policy, unclaiming, changing a claimed homepage, overwrite:true and disabling an enabled program each answer with what would change and need confirm:true. Every write is read back from Google. Free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
sectionenum: "shipping" | "returns" | "business_info" | "homepage" | "programs"ouishipping, returns, business_info, homepage or programs; the Merchant Center area to act on
actionenum: "get" | "upsert" | "remove" | "replace" | "list" | "create" | "delete" | "update" …nondefaults to the section's read (get/list)
servicesarray<object>nonshipping upsert/replace
serviceNamesarray<string>nonshipping remove
warehousesarray<object>nonshipping: Google Warehouse objects; omitted = existing ones kept
policyobjectnonreturns create
returnPolicyIdstringnonreturns delete, from list
addressobjectnonbusiness_info: regionCode, street or addressLines, locality, administrativeArea, postalCode
customerServiceobjectnonbusiness_info: uri, email, phone (E.164)
koreanBusinessRegistrationNumberstringnonKorean business registration number; business_info update only
uristringnonhomepage set_uri
overwritebooleannonhomepage claim: take the claim from another account
programstringnonprograms enable/disable
confirmbooleannontrue ONLY after the user approved the change the first call described

merchant_quota

Merchant Center quota and limits

Merchant Center API quota and account limits, which is the difference between "the API refused" and "you are out of daily quota". Two different things in one answer: quota groups are how many API CALLS each method group has left today, and account limits are how many PRODUCTS the account may hold per destination. Google resets the daily quota at 12:00 PM MIDDAY UTC, not at midnight. If one half of the read fails it comes back null with a warning, which means unknown rather than zero. Read-only, free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts

manage_merchant_notifications

Merchant Center push notifications

PUSH INSTEAD OF POLLING for Merchant Center product status. Google POSTs to a URL the moment a product's status changes — a disapproval is otherwise found whenever someone happens to run list_merchant_issues, which for a feed of thousands means money burning unnoticed. action:'list' shows the subscriptions, 'create' adds one, 'delete' removes one. BE HONEST ABOUT WHERE IT GOES: callBackUri must be an HTTPS endpoint THE MERCHANT runs and can decode — Hermoso does not receive these notifications, so this only helps someone with a server on the other end. 0 credits.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
actionenum: "list" | "create" | "delete"nondefaults to 'list'
callBackUristringnonHTTPS endpoint Google will POST to (create). Not a Hermoso URL and not localhost
registeredEventenum: "PRODUCT_STATUS_CHANGE" | "ACCOUNT_SERVICE_CHANGE"nondefaults to PRODUCT_STATUS_CHANGE, the one that fires on a disapproval
allManagedAccountsbooleannonsubscribe for every managed account instead of just this one — mutually exclusive with targetAccount
targetAccountstringnonaccounts/{id} to receive notifications for; defaults to this account
subscriptionIdstringnonfor action:'delete', from action:'list'

manage_merchant_conversion_source

Merchant Center conversion sources

WHERE MERCHANT CENTER GETS ITS CONVERSION DATA FROM, which is what free-listing and Shopping performance reporting is built on — a merchant with no conversion source sees clicks and no outcomes, and nothing in Merchant Center says why. Two kinds, and they are different jobs: a MERCHANT CENTER DESTINATION is a Google tag target, and creating one returns a destination id (MC-…) that is the only place that id exists, so it must be read back to the user because it is what the Google tag has to send conversions to. A GOOGLE ANALYTICS LINK pulls conversions from a GA4 property instead, needs the connected Google account to be an ADMIN on that property, and Google marks it IMMUTABLE — the property cannot be changed afterwards, only deleted and re-created. action:'list' shows every source including archived ones, 'create' adds one, 'update' changes a destination's name, currency or attribution, 'delete' ARCHIVES one (confirm-gated) and 'undelete' restores it until the expiry Google reports on the archived row. Attribution lookback is 7, 30 or 40 days and nothing else. Free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
actionenum: "list" | "create" | "update" | "delete" | "undelete"nondefaults to 'list'
kindenum: "merchant_center_destination" | "google_analytics_link"nonfor action:'create' — which kind to make. Passing propertyId implies the Google Analytics one
displayNamestringnonthe name that identifies a tag destination in the Merchant Center UI, e.g. "Website purchases". Required to create one; may also name an existing source for update/delete
currencyCodestringnonthree-letter ISO 4217 code the conversions are reported in, e.g. USD. Required when creating a tag destination — it decides what every number reported through it means
attributionModelstringnonCROSS_CHANNEL_LAST_CLICK (default) | ADS_PREFERRED_LAST_CLICK | CROSS_CHANNEL_DATA_DRIVEN | CROSS_CHANNEL_FIRST_CLICK | CROSS_CHANNEL_LINEAR | CROSS_CHANNEL_POSITION_BASED | CROSS_CHANNEL_TIME_DECAY
attributionLookbackWindowDaysnumbernon7, 30 or 40 — Google publishes no other value. Defaults to 30
conversionTypesarray<string>nonnames of the conversion types events may be classified as. IMMUTABLE once set, and Google returns it on no read, so it can never be confirmed afterwards — leave it off and Google creates a standard "purchase" type
propertyIdstringnonNUMERIC GA4 property id for a Google Analytics link (from list_analytics_properties), not a G- measurement id
conversionSourceIdstringnonfor update, delete and undelete — from action:'list'
showDeletedbooleannoninclude archived sources in a list
confirmbooleannonmust be true to actually archive

list_merchant_data_sources

List Merchant Center product feeds

List the data sources (feeds) on a Merchant Center account and say which of them can actually take a product write. Do this BEFORE creating or deleting a product: writes go into a data source, and Google only accepts them into an API-input product feed — a file feed, the feed Merchant Center's own UI creates, and an autofeed all list here and all REFUSE writes, so picking the first row would pick a feed that cannot be written to. Needs merchantCenterId from list_merchant_accounts. Read-only and free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts

create_merchant_data_source

Create a Merchant Center product feed

Create an API product feed on a Merchant Center account — the container upsert_merchant_product writes into. Most accounts have none until one is made: a store set up through the Merchant Center UI has a UI feed, which is read-only. feedLabel and contentLanguage must be set TOGETHER or not at all and BOTH ARE IMMUTABLE — leave them off and the feed accepts products for any market and language, which is the safer default because a wrong feed label can never be corrected. Omit destinations to inherit wherever the account already sells. Creating a feed costs nothing and cannot spend.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
displayNamestringouithe name the merchant will see in Merchant Center
feedLabelstringnonmarket bucket, e.g. "US" — max 20 chars, A-Z/0-9/dashes. IMMUTABLE, and must be set together with contentLanguage
contentLanguagestringnontwo-letter ISO 639-1, e.g. "en". IMMUTABLE, and must be set together with feedLabel
countriesarray<string>nonCLDR territory codes the items may be shown in
destinationsarray<string>nonomit to inherit the account's own program participation (SHOPPING_ADS, FREE_LISTINGS, …)

upsert_merchant_product

Create or replace a Merchant Center product

Create or replace a product in a Merchant Center feed — this is how a merchant's catalogue gets populated, and it is what Shopping ads, free listings and retail Performance Max actually serve. It is an UPSERT and a WHOLE-ROW write: calling it again for the same offerId REPLACES the product rather than patching it, so send every field you want kept each time. You do not have to find a feed first — omit dataSource and it resolves the account's one writable feed, creates one if there is none, and REFUSES by name if there are several rather than putting the product in a market the campaigns may not target. offerId, contentLanguage and feedLabel together ARE the product's identity and are all immutable; contentLanguage and feedLabel are taken from the feed when the feed declares them. For the product to serve at all Google needs title, description, link, imageLink, availability and price — a row missing any of them is stored and then disapproved, and the reply says so rather than letting you believe it published. The reply reports what GOOGLE STORED, not what was sent. Free: a feed edit cannot spend.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
offerIdstringouiyour own unique id for the product — IMMUTABLE, and what you update or delete it by later
dataSourcestringnonthe feed to write into, from list_merchant_data_sources. Omit to resolve the account's one writable feed (created if there is none, refused by name if there are several)
dataSourceNamestringnondisplay name for a feed created on the fly
contentLanguagestringnontwo-letter, e.g. "en" — taken from the feed when the feed declares one
feedLabelstringnonmarket bucket, e.g. "US" — taken from the feed when the feed declares one
titlestringnonproduct title; Google needs it for the product to serve
descriptionstringnonproduct description; Google needs it for the product to serve
linkstringnonthe product page URL on the merchant's store
imageLinkstringnonmain product image URL (https); Google needs it for the product to serve
additionalImageLinksarray<string>nonextra product image URLs, as a list
availabilitystringnonin_stock | out_of_stock | preorder | backorder
conditionstringnonnew | refurbished | used
priceobjectnonprice object: {value in major units or amountMicros, currencyCode}
salePriceobjectnonsale price, same shape as price
brandstringnonbrand name
gtinstringnonGTIN barcode (UPC, EAN or similar)
mpnstringnonmanufacturer part number
identifierExistsbooleannonfalse for a product with no GTIN/MPN/brand, such as a service or a bundle
googleProductCategorystringnonGoogle product taxonomy category
productTypesarray<string>nonmerchant-defined category labels for the product, as a list
colorstringnonproduct colour
sizestringnonproduct size
materialstringnonproduct material
ageGroupstringnonnewborn, infant, toddler, kids or adult
genderstringnonmale, female or unisex
itemGroupIdstringnonshared id that groups the variants of one product, e.g. colours or sizes
attributesobjectnonany other product attribute by its Merchant API name — there are 145 and only the common ones are named above
customAttributesarray<object>nonextra attributes as a list of {name, value} objects

delete_merchant_product

Delete a Merchant Center product

Delete a product from a Merchant Center feed. CONFIRM-GATED: without confirm:true nothing is deleted and it reports the real product it WOULD delete — title, price and availability read back from Google — because the id you were given proves nothing about what is actually there. It is recoverable: re-inserting the same offerId re-creates the product. Needs the same offerId + contentLanguage + feedLabel that identify the product (contentLanguage and feedLabel come from the feed when it declares them). Free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
offerIdstringouiyour offer id of the product to delete
dataSourcestringnonthe feed it lives in, from list_merchant_data_sources
contentLanguagestringnontwo-letter language code of the product; taken from the feed when it declares one
feedLabelstringnonmarket label of the product, e.g. US; taken from the feed when it declares one
confirmbooleannonmust be true to actually delete; without it nothing is deleted and the real product is reported back

update_merchant_product

Update fields on a Merchant Center product

Change SOME fields on a product already in a Merchant Center feed — the everyday operation, because price and availability move daily. This is a PATCH: only the attributes you name are touched and everything else on the product survives, which is the difference from upsert_merchant_product (a whole-row write that wipes anything you leave out). It refuses if the product does not exist rather than quietly creating a half-populated one, and it refuses an empty change rather than sending an update mask with nothing behind it. The reply reports every field Google now holds, so you can see what survived. Free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
offerIdstringouithe product to change
dataSourcestringnonthe feed it lives in, from list_merchant_data_sources
contentLanguagestringnontwo-letter language code; taken from the feed when it declares one
feedLabelstringnonmarket label, e.g. US; taken from the feed when it declares one
titlestringnonnew product title; omit to leave unchanged
descriptionstringnonnew product description; omit to leave unchanged
linkstringnonproduct page URL on the merchant's store
imageLinkstringnonmain product image URL (https)
additionalImageLinksarray<string>nonextra image URLs, sent as the whole list
availabilitystringnonin_stock | out_of_stock | preorder | backorder
conditionstringnonnew | refurbished | used
priceobjectnonnew price: {value in major units or amountMicros, currencyCode}
salePriceobjectnonnew sale price, same shape as price
brandstringnonbrand name
gtinstringnonGTIN barcode (UPC, EAN or similar)
mpnstringnonmanufacturer part number
identifierExistsbooleannonfalse for a product with no GTIN, MPN or brand, such as a service or bundle
googleProductCategorystringnonGoogle product taxonomy category
productTypesarray<string>nonmerchant-defined category labels, as a list
colorstringnonproduct colour
sizestringnonproduct size
materialstringnonproduct material
ageGroupstringnonnewborn, infant, toddler, kids or adult
genderstringnonmale, female or unisex
itemGroupIdstringnonshared id that groups the variants of one product
attributesobjectnonany other product attribute by its Merchant API name

delete_merchant_data_source

Delete a Merchant Center product feed

Delete a data source (feed) from a Merchant Center account. CONFIRM-GATED and the heavier of the two deletes: without confirm:true nothing is deleted and it reports the feed plus HOW MANY PRODUCTS would be destroyed with it, counted live from Google. This is NOT recoverable the way a product delete is — the products would have to be re-inserted into a new feed, and feedLabel/contentLanguage are immutable so a replacement may not be identical. Free.

ParamètreTypeRequisDescription
merchantCenterIdstringouifrom list_merchant_accounts
dataSourcestringouithe feed to delete, from list_merchant_data_sources
confirmbooleannonmust be true to actually delete; without it nothing is deleted and the product count that would go with it is reported

list_google_ads_campaigns

List Google Ads accounts / campaigns

Read the connected Google Ads account(s). Call with NO customerId to list the accessible accounts (customerId + name + currency) — do this first to pick a target. Call WITH customerId to list that account’s campaigns (id, name, status, daily budget, channel) plus performance metrics (impressions, clicks, CTR, avg CPC, cost, conversions). Date window: datePreset (LAST_7_DAYS | LAST_30_DAYS | TODAY | THIS_MONTH | LAST_90_DAYS …) or since+until (YYYY-MM-DD). Read-only, free. Needs Google Ads connected (Connectors > Google Ads).

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to list accessible accounts
statusenum: "ENABLED" | "PAUSED" | "REMOVED"nonfilter campaigns by status
datePresetstringnonmetrics window preset (default LAST_30_DAYS)
sincestringnonstart date YYYY-MM-DD (with until)
untilstringnonend date YYYY-MM-DD
metricsbooleannoninclude performance metrics (default true)
loginCustomerIdstringnonmanager (MCC) id — only if reaching a client account through a manager
limitnumbernonmax campaigns (1–500, default 100)

google_ads_report

Google Ads GAQL report

Use this when the user asks how their Google Ads campaigns performed. Run a GAQL (Google Ads Query Language) report for detailed performance breakdowns — ad groups, ads, keywords, search terms, demographics, geo. Pass customerId + a GAQL query (SELECT … FROM WHERE segments.date DURING LAST_30_DAYS). Allowed FROM resources: campaign, ad_group, ad_group_ad, keyword_view, campaign_budget, campaign_criterion, ad_group_criterion, conversion_action, campaign_conversion_goal, search_term_view, age_range_view, gender_view, geographic_view, asset, change_event and every other documented GAQL report resource (the refusal names the full list if one is missing). Campaign network settings (Search partners / Display) are readable here as campaign.network_settings.* and changed with set_google_ads_networks. cost_micros is micros — divide by 1,000,000 for the account currency. Reach (metrics.unique_users, unique_users_two_plus…ten_plus, cross_device_conversions) reads FROM campaign or customer and is never summed across rows; the reply notes its window limits. Lead form submissions: list_google_ads_lead_submissions. Read-only, free.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
querystringouiGAQL, e.g. "SELECT ad_group.name, metrics.clicks, metrics.cost_micros FROM ad_group WHERE segments.date DURING LAST_7_DAYS"
loginCustomerIdstringnonmanager id if operating through an MCC

google_ads_change_history

What changed on a Google Ads account, and when

WHAT CHANGED ON THE ACCOUNT, AND WHEN — the answer to "performance fell off a cliff on Tuesday, what happened?". source:"change_event" (default) is FIELD-LEVEL over the last 30 days: the change time, who made it, from which client (web UI, API, scripts, bulk upload, automated rule), whether it was a CREATE / UPDATE / REMOVE, and exactly which fields moved — with detail:true it also carries the old and new resource snapshots. source:"change_status" reaches 90 days and is the ONLY one that catches GOOGLE ADS EDITOR and criterion-level edits: Google documents change_event as NEVER returning Editor changes, so an Editor-managed account looks completely untouched there. CHECK BOTH BEFORE TELLING ANYONE NOTHING CHANGED. An unknown source is refused by name; the 30/90-day windows and Google’s own 10,000-row cap are enforced here with the reason instead of surfacing as an unreadable Google error, and a change takes up to three minutes to appear. Neither resource carries any metric or segment, so this says what changed, never what it cost. Read-only, 0 credits.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id — omit to use the brand’s selected default account
sourceenum: "change_event" | "change_status"nondefault change_event (30 days, field-level). change_status is 90 days and is the only one that sees Google Ads Editor.
sincestringnonYYYY-MM-DD, default 14 days ago
untilstringnonYYYY-MM-DD, default today
limitnumbernonrows, max 10000 — Google’s own ceiling, and the clamp is reported
detailbooleannonchange_event only — include the old/new resource snapshots
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

create_google_ads_campaign

Build a Google Ads campaign (paused)

Build a campaign on a connected Google Ads account. ALWAYS created PAUSED — it spends NOTHING until you enable it with set_google_ads_status(confirm:true). Google's object graph is campaign -> ad group -> ad, so a campaign ON ITS OWN CANNOT SERVE AN IMPRESSION: pass adGroup{name, ad{headlines,descriptions,finalUrls}, keywords[]} and this builds budget + campaign + location/language targeting + ad group + ad + keywords in ONE ATOMIC operation (if any part is rejected, nothing at all is created — no half-built campaign to clean up). Also here: bidding strategy, locations by NAME ("United States", "Toronto" — resolved for you), languages, and start/end dates. Google requires 3–15 headlines (≤30 chars) and 2–4 descriptions (≤90 chars) on a search ad. Everything is READ BACK from Google before you are told it exists; print the returned note verbatim, and if it says the campaign cannot serve yet, say that rather than calling it a finished ad. Before building on an account for the first time, run the ad account health check, which says whether it can run ads (status, payment method, spending limit, rejected ads).

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (from list_google_ads_campaigns) — omit to use the brand’s selected default account
namestringouicampaign name
dailyBudgetUsdnumbernondaily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) — creates a budget inline; required unless budgetResourceName is given
budgetResourceNamestringnonreuse an existing budget instead of creating one
channelTypeenum: "SEARCH" | "DISPLAY"nondefault SEARCH
searchPartnersbooleannonSEARCH only — also serve on Google search partners (default false)
biddingobjectnonhow the campaign bids — default MANUAL_CPC
locationsarray<string>nonlocation NAMES to target, e.g. ["United States"] or ["Toronto","Vancouver"]. WITHOUT this the campaign runs WORLDWIDE — the most expensive default in Google Ads
excludedLocationsarray<string>nonlocation names to EXCLUDE
languagesarray<string>nonISO language codes, e.g. ["en","fr"]
startDatestringnonYYYY-MM-DD
endDatestringnonYYYY-MM-DD
adGroupobjectnonbuild the serving tree in the same atomic call — WITHOUT this you get a campaign shell that can never show an ad
finalUrlSuffixstringnonUTMs appended to every click, e.g. "utm_source=google&utm_medium=cpc". Omit for our default (utm_source/medium/campaign + {campaignid}/{creative}); "" for none
trackingUrlTemplatestringnonclick-tracking redirect, e.g. "{lpurl}?src=x" — only if you use a tracker
urlCustomParametersobjectnonup to 8 custom parameters, used in URLs as {_key}
containsEuPoliticalAdsbooleannonEU Political Advertising Regulation declaration. Google REQUIRES one on every campaign. Default false (a normal commercial ad) — set true ONLY for genuine EU political advertising
dryRunbooleannonvalidate the WHOLE tree against Google without creating anything. Nothing is written and no budget is consumed
loginCustomerIdstringnonmanager id if operating through an MCC

create_google_ads_ad_group

Add an ad group to a Google Ads campaign

Add an ad group to an EXISTING Google Ads campaign — the level between a campaign and its ads. Google requires it: a campaign with no ad group cannot serve. Optionally build its ad and keywords in the same ATOMIC call. The ad-group type is taken from the campaign's channel automatically. Created PAUSED and read back from Google before you are told it exists. If the parent campaign is already LIVE (ENABLED), creating this ENABLED starts REAL AD SPEND immediately — show the user what would begin serving, get an explicit yes, then pass confirm:true. Leaving it PAUSED never needs confirmation.

ParamètreTypeRequisDescription
customerIdstringnonomit to use the brand’s selected default account
campaignIdstringouithe campaign this ad group belongs to
namestringouiad group name
cpcBidUsdnumbernonmax CPC for this ad group — omit to inherit the campaign bidding
statusenum: "ENABLED" | "PAUSED"nondefault PAUSED
adobjectnonbuild the ad in the same atomic call
keywordsarray<object>nona SEARCH ad group with no keywords never shows
confirmbooleannonset true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately
dryRunbooleannontrue = validate with Google and create nothing
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

create_google_ads_ad

Create a Google Ads ad

Create the actual AD inside a Google Ads ad group — this is the object that carries the creative; a campaign or ad group alone shows nothing. On a SEARCH campaign it builds a RESPONSIVE SEARCH AD: 3–15 headlines (≤30 chars), 2–4 descriptions (≤90 chars), at least one finalUrl, optional path1/path2. On a DISPLAY campaign it builds a RESPONSIVE DISPLAY AD: headlines, longHeadline, descriptions, businessName plus BOTH a landscape (1.91:1) and a square (1:1) image asset from upload_google_ads_asset. The right format is chosen from the campaign's channel. Created PAUSED and read back from Google. If the parent campaign is already LIVE (ENABLED), creating this ENABLED starts REAL AD SPEND immediately — show the user what would begin serving, get an explicit yes, then pass confirm:true. Leaving it PAUSED never needs confirmation.

ParamètreTypeRequisDescription
customerIdstringnonomit to use the brand’s selected default account
adGroupIdstringouithe ad group this ad lives in
finalUrlsarray<string>nonThe landing page(s) — at least one is required.
headlinesarray<string | object>nonSEARCH: 3–15 headlines, each ≤30 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to PIN one to a fixed slot (a brand name or legal line).
descriptionsarray<string | object>nonSEARCH: 2–4 descriptions, each ≤90 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to pin it.
path1stringnonSEARCH only — display-URL path segment, ≤15 chars
path2stringnonSEARCH only — second display-URL path segment, ≤15 chars
longHeadlinestringnonDISPLAY only — ≤90 characters
businessNamestringnonDISPLAY only — ≤25 characters
marketingImagesarray<string>nonDISPLAY only — landscape 1.91:1 asset resource names from upload_google_ads_asset
squareMarketingImagesarray<string>nonDISPLAY only — square 1:1 asset resource names
logoImagesarray<string>nonDISPLAY only — logo asset resource names
statusenum: "ENABLED" | "PAUSED"nondefault PAUSED
confirmbooleannonset true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately
dryRunbooleannontrue = validate with Google and create nothing
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

add_google_ads_keywords

Add Google Ads keywords

Add keywords — and NEGATIVE keywords — to a Google Ads ad group. A Search ad group with no keywords never shows. Each keyword takes text (≤80 chars, ≤10 words) and matchType EXACT | PHRASE | BROAD (default PHRASE). Set negative:true to BLOCK a term instead of targeting it, which is the cheapest way to stop wasted spend. Read back from Google before you are told they exist. If the parent campaign and ad group are already LIVE, a positive keyword starts bidding real money at once — get an explicit yes and pass confirm:true, or add it with paused:true. Negative keywords only restrict spend and never need confirmation.

ParamètreTypeRequisDescription
customerIdstringnonomit to use the brand’s selected default account
adGroupIdstringouithe ad group to add them to
keywordsarray<object>ouithe keywords to add
confirmbooleannonset true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately
dryRunbooleannontrue = validate with Google and create nothing
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

set_google_ads_targeting

Add Google Ads location & language targeting

ADD locations and languages to an existing Google Ads campaign. THIS ADDS; IT DOES NOT REPLACE — Google campaign criteria are a list, this call only ever creates entries, and there is no remove operation here. So a campaign already targeting the United States that you "change to Canada" ends up targeting BOTH and still spending in the US; the read-back names every pre-existing location and language it kept, and you MUST relay that rather than reporting the new total as the answer. Removing targeting is done in Google Ads (Campaign > Settings > Locations). Pass locations by NAME ("United States", "California", "Toronto") — they are resolved to Google's geo target ids for you; excludedLocations adds a NEGATIVE criterion (the reliable way to stop serving somewhere from here); languages takes ISO codes ("en","fr"). A campaign with NO location targeting runs WORLDWIDE, which is the most expensive default in Google Ads. Changing a LIVE campaign's targeting moves real spend immediately, so that needs confirm:true.

ParamètreTypeRequisDescription
customerIdstringnonomit to use the brand’s selected default account
campaignIdstringouithe campaign to target
locationsarray<string>nonlocation NAMES to target
excludedLocationsarray<string>nonlocation NAMES to exclude
languagesarray<string>nonISO language codes, e.g. ["en","es"]
countryCodestringnon2-letter hint to disambiguate a city name, e.g. CA for "London"
confirmbooleannonREQUIRED true to change a LIVE (ENABLED) campaign
dryRunbooleannontrue = validate with Google and change nothing
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

set_google_ads_bidding

Set a Google Ads bidding strategy

Change how an existing Google Ads campaign bids: MANUAL_CPC (optionally enhanced), MAXIMIZE_CLICKS (needs maxCpcUsd on an existing campaign — Google requires the CPC ceiling on that change), MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, TARGET_CPA (needs targetCpaUsd) or TARGET_ROAS (needs targetRoas, e.g. 4 = $4 revenue per $1 spent). TARGET_CPA and TARGET_ROAS are applied as Google's own v25 equivalents — maximize-conversions with a target CPA, and maximize-conversion-value with a target ROAS — so the read-back reports them as MAXIMIZE_CONVERSIONS / MAXIMIZE_CONVERSION_VALUE; report what the read-back says. The conversion-based strategies only deliver once conversion tracking is configured on the account. Changing a LIVE campaign's bidding changes what it pays immediately, so that needs confirm:true.

ParamètreTypeRequisDescription
customerIdstringnonomit to use the brand’s selected default account
campaignIdstringouithe campaign to change
strategyenum: "MANUAL_CPC" | "MAXIMIZE_CLICKS" | "MAXIMIZE_CONVERSIONS" | "MAXIMIZE_CONVERSION_VALUE" | "TARGET_CPA" | "TARGET_ROAS"ouithe bidding strategy
targetCpaUsdnumbernonREQUIRED for TARGET_CPA
targetRoasnumbernonREQUIRED for TARGET_ROAS — e.g. 4 = $4 revenue per $1 spent
maxCpcUsdnumbernonMAXIMIZE_CLICKS — the max CPC ceiling; REQUIRED when switching an existing campaign to it
enhancedCpcbooleannonDO NOT SET true — Google retired Enhanced CPC for new campaigns and answers OPERATION_NOT_PERMITTED_FOR_CONTEXT (measured live 2026-08-05); Hermoso refuses it up front with the reason. Use MAXIMIZE_CONVERSIONS / TARGET_CPA instead.
confirmbooleannonREQUIRED true to change a LIVE (ENABLED) campaign
dryRunbooleannontrue = validate with Google and change nothing
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

find_google_ads_locations

Look up Google Ads locations

Look up Google Ads location targets by name — turns "Toronto" / "California" / "United Kingdom" into the geo target ids Google needs, with each one's type (COUNTRY, STATE, CITY, POSTAL_CODE…) and reach. Use it when a location name is ambiguous, or to show the user exactly which place you are about to target. Read-only and free.

ParamètreTypeRequisDescription
querystringouione location name, or several comma-separated (up to 25)
countryCodestringnon2-letter hint, e.g. CA to disambiguate "London"
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

set_google_ads_budget

Set a Google Ads campaign budget

Create a new daily budget, or change an existing budget’s daily amount (pass budgetResourceName). Raising the budget on a LIVE (ENABLED) campaign increases real spend immediately — you MUST show the user the new daily amount, get an explicit yes, then call with confirm:true. Creating a budget or lowering one on a paused campaign is safe.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
dailyBudgetUsdnumberouidaily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000)
budgetResourceNamestringnonexisting budget to UPDATE — omit to CREATE a new budget
namestringnonname for a newly created budget
confirmbooleannonREQUIRED true to raise the budget of a LIVE campaign
loginCustomerIdstringnonmanager id if operating through an MCC

set_google_ads_status

Enable, pause or remove a Google Ads campaign / ad group / ad

Turn a campaign, AD GROUP, AD or one KEYWORD ON (ENABLED), OFF (PAUSED) or REMOVED. Pass level:"campaign" + campaignId, level:"adGroup" + adGroupId, level:"ad" + BOTH adGroupId and adId (Google keys an ad by adGroupId~adId), or level:"keyword" + BOTH adGroupId and keywordId. ENABLING STARTS REAL AD SPEND — you MUST first show the user the campaign name + its daily budget, get an explicit yes, then call with status:"ENABLED" and confirm:true. Pausing is always safe. REMOVED is PERMANENT in Google Ads and is handled by the same gate as delete_google_ads_object — call it once WITHOUT confirm to see what goes with it, and expect to echo back the object’s name and child count when it has children, is live, or has spent. The resulting status is READ BACK from Google before you are told it took.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
levelenum: "campaign" | "adGroup" | "ad" | "keyword"nonwhat to change — default campaign
campaignIdstringnoncampaign id (level:"campaign")
adGroupIdstringnonad group id (level:"adGroup", or with adId for level:"ad")
adIdstringnonad id (level:"ad" — pass adGroupId too)
keywordIdstringnonkeyword criterion id (level:"keyword", with adGroupId)
campaignResourceNamestringnonfull resource name, e.g. customers/{cid}/campaigns/{id}
statusenum: "ENABLED" | "PAUSED" | "REMOVED"ouiENABLED = start spending; PAUSED = stop; REMOVED = permanent
confirmbooleannonREQUIRED true to ENABLE (real spend) or to REMOVE (permanent)
confirmNamestringnonwhen archiving or removing: its EXACT name, as the unconfirmed call names it. Required when it has children or is live
confirmChildrennumbernonwhen archiving or removing: the exact number of children the unconfirmed call reported. Required when it has any
loginCustomerIdstringnonmanager id if operating through an MCC

manage_google_ads_budget_networks

Google Ads waterfall priorities and network spend caps

Google Ads WATERFALL AND NETWORK CAPS: which network a budget spends on first and how much the others may take. action 'read' (default), 'set' (settings) or 'clear', on the ACCOUNT DEFAULT or, with budgetId, on one campaign budget, which then wins. Every channel a campaign type supports must be in a tier and caps only go on tier2; Google says which if not. A budget's read says whether it can use these and why not. 'set' and 'clear' move real spend on the next auction: show the user, get a yes, then confirm:true; dryRun:true validates without changing anything.

ParamètreTypeRequisDescription
actionenum: "read" | "set" | "clear"nondefault 'read'
customerIdstringnon10-digit account id (dashes ok); omit to use the brand’s selected default account
budgetIdstringnonnumeric campaign budget id; omit for the account default
settingsarray<object>nonfor set: one entry per campaign type
confirmbooleannonREQUIRED true for set and clear, after the user approved
dryRunbooleannonvalidate with Google, write nothing
loginCustomerIdstringnonmanager id if operating through an MCC

google_ads_local_services_eligibility

Check Google Local Services eligibility

Ask Google whether a Business Profile listing can run LOCAL SERVICES ads on this Google Ads account: eligible or not, why not, and which lead types and categories it qualifies for. Read-only.

ParamètreTypeRequisDescription
listingIdstringouinumeric Business Profile location id
customerIdstringnon10-digit account id (dashes ok); omit to use the brand’s selected default account
loginCustomerIdstringnonmanager id if operating through an MCC

set_google_ads_networks

Change where a Google Ads campaign serves (Search partners / Display)

Change WHERE an existing Google Ads campaign serves: Google Search, Search partners (target_search_network) and the Display Network (target_content_network), each true/false. The classic use is turning Search partners OFF on a Search campaign, or Display off. Current settings are read first and a no-op says so. On a LIVE (ENABLED) campaign this moves real spend on the next auction — show the user the before -> after, get an explicit yes, then call again with confirm:true. dryRun:true validates with Google and writes nothing. The result is READ BACK from Google before you are told it took; Google’s own rules (a Display campaign cannot take Google Search on, a Search campaign keeps Google Search on) are relayed by name.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
campaignIdstringouithe campaign to change
googleSearchbooleannonserve on Google Search (target_google_search)
searchPartnersbooleannonserve on Google search partner sites (target_search_network)
displaybooleannonserve on the Google Display Network (target_content_network)
confirmbooleannonREQUIRED true to change a LIVE (ENABLED) campaign
dryRunbooleannonvalidate with Google, write nothing
loginCustomerIdstringnonmanager id if operating through an MCC

set_google_ads_schedule_and_bids

Google Ads ad schedule + device / location / hour bid adjustments

WHEN a Google Ads campaign runs and how much more or less it bids by device, location and hour. Pass only campaignId to read the current schedule and adjustments. schedule:[{day: MONDAY…SUNDAY | WEEKDAYS | WEEKENDS | EVERYDAY, start:"09:00", end:"17:00", bidModifier?}] REPLACES the schedule (scheduleMode:"add" appends; clearSchedule:true runs it all day again); account time zone, quarter hours, end may be 24:00. devices {mobile, desktop, tablet, connectedTv} and adGroupDevices (with adGroupId) take MULTIPLIERS: 1.2 = +20%, 0.8 = -20%, 0 = never show on that device. locations:[{geoTargetId, bidModifier}] adjusts locations the campaign already targets. On a LIVE campaign a change that can raise spend (more hours, a higher multiplier) needs confirm:true after the user approves; lowering never does. dryRun:true validates only. Read back from Google.

ParamètreTypeRequisDescription
campaignIdstringouithe campaign
adGroupIdstringnonfor adGroupDevices
schedulearray<object>nonad schedule slots; replaces the current schedule unless scheduleMode is add
scheduleModeenum: "replace" | "add"nonreplace (default) or add to the current schedule
clearSchedulebooleannonremove the schedule so it runs all day
devicesobjectnoncampaign-level device multipliers
adGroupDevicesobjectnonad-group device multipliers (needs adGroupId)
locationsarray<object>nonbid adjustments for locations the campaign already targets
customerIdstringnonomit to use the selected default account
confirmbooleannontrue only after the user approved a change to a LIVE campaign or a delete
dryRunbooleannonvalidate with Google, change nothing
loginCustomerIdstringnonmanager id if operating through an MCC

manage_google_ads_negative_list

Google Ads shared negative keyword lists

Shared NEGATIVE KEYWORD LISTS: one list of blocked searches reused across Google Ads campaigns, or applied to the whole account. action: list (with sharedSetId shows its keywords) | create (name, keywords, campaignIds or accountLevel:true) | add (keywords) | remove_keywords (keywords or criterionIds) | replace (keywords: the WHOLE set afterwards, [] empties it; one atomic change) | rename (name) | attach / detach (campaignIds) | delete. keywords are "text" or {text, matchType: BROAD|PHRASE|EXACT}. Creating, adding, renaming and attaching only block ads or change nothing, so they never need confirm. Removing keywords (including a replace that drops some), detaching or deleting lets blocked searches show ads again: confirm:true on a live campaign, and always for delete. One ad group's own negatives: add_google_ads_keywords with negative:true.

ParamètreTypeRequisDescription
actionenum: "list" | "create" | "add" | "remove_keywords" | "replace" | "rename" | "attach" | "detach" …nondefault list
sharedSetIdstringnonthe list (from action list)
namestringnoncreate, or the new name for rename
keywordsarray<string | object>nonkeywords to block, as text strings or {text, matchType BROAD, PHRASE or EXACT} objects
criterionIdsarray<string>nonremove_keywords by id
campaignIdsarray<string>noncampaign ids to attach to or detach from the shared list
accountLevelbooleannoncreate: apply to every campaign on the account
customerIdstringnonomit to use the selected default account
confirmbooleannontrue only after the user approved a change to a LIVE campaign or a delete
dryRunbooleannonvalidate with Google, change nothing
loginCustomerIdstringnonmanager id if operating through an MCC

manage_google_ads_asset_groups

Manage Performance Max asset groups

Performance Max ASSET GROUPS after launch. action: list (campaignId) | create (campaignId, name, finalUrls, assets; a non-retail group needs Google's minimum set in the same call: 3+ headlines, 1+ longHeadlines, 2+ descriptions, businessName + logos unless brand guidelines are on, 1+ marketingImages and squareMarketingImages as asset resource names from upload_google_ads_asset; born PAUSED) | update (assetGroupId; name, finalUrls, path1, path2) | pause | enable | remove (permanent: confirm:true + confirmName; never the last group) | link (assets to add) | unlink (unlink:[{asset, fieldType}], never below the minimum) | listing_groups (which feed products a RETAIL group advertises) | set_listing_groups (all:true, or dimension + values + mode include|exclude). A change to a live group needs confirm:true. Everything is read back. Free.

ParamètreTypeRequisDescription
customerIdstringnonomit to use the brand’s selected default account
actionenum: "list" | "create" | "update" | "pause" | "enable" | "remove" | "link" | "unlink" …oui
campaignIdstringnonthe Performance Max campaign (list, create)
assetGroupIdstringnonevery action except list and create
namestringnon
finalUrlsarray<string>non
path1stringnon
path2stringnon
assetsobjectnontext as text; images and videos as asset resource names
unlinkarray<object>nonlinks to remove, e.g. {asset:"customers/1/assets/2", fieldType:"HEADLINE"}
allbooleannonset_listing_groups: advertise every product
dimensionenum: "brand" | "itemId" | "productType" | "category" | "condition" | "channel" | "customAttribute"non
valuesarray<string>non
modeenum: "include" | "exclude"noninclude = only these; exclude = all but these
levelnumbernonproductType / category level 1-5
indexnumbernoncustomAttribute index 0-4
confirmbooleannon
confirmNamestringnonremove: the group name exactly
dryRunbooleannon
loginCustomerIdstringnonmanager id if operating through an MCC

update_google_ads_ad

Edit a Google responsive search ad in place

EDIT a responsive search ad IN PLACE so it keeps its history: headlines (3-15, ≤30 characters; {text, pin:"HEADLINE_1"} pins one), descriptions (2-4, ≤90), path1 / path2 (≤15), finalUrls, finalMobileUrls, finalUrlSuffix, trackingUrlTemplate. A list you pass REPLACES the ad's list, so send it whole. Over-long text is refused, never cut. A live ad needs confirm:true and Google reviews it again. Read back. Free.

ParamètreTypeRequisDescription
customerIdstringnon
adGroupIdstringnon
adIdstringouithe ad id (from google_ads_report)
headlinesarray<string | object>non
descriptionsarray<string | object>non
path1stringnon
path2stringnon
finalUrlsarray<string>non
finalMobileUrlsarray<string>non
finalUrlSuffixstringnon
trackingUrlTemplatestringnon
confirmbooleannon
dryRunbooleannon
loginCustomerIdstringnon

duplicate_google_ads_campaign

Duplicate a Google Ads campaign (paused)

DUPLICATE a Google Ads Search or Display campaign: budget amount, bidding, networks, locations, languages, schedule, negatives, ad groups, keywords and responsive ads, rebuilt in one step (Google's API has no copy operation) and born PAUSED. History and Quality Score start fresh. dryRun:true checks it without creating anything. Free.

ParamètreTypeRequisDescription
customerIdstringnon
campaignIdstringoui
namestringnondefault " (copy)"
shareBudgetbooleannonreuse a SHARED budget instead of a new one
dryRunbooleannon
loginCustomerIdstringnon

manage_google_ads_labels

Google Ads labels on campaigns, ad groups and ads

Google Ads LABELS for organising campaigns, ad groups and ads ("Made by Hermoso", "Q4 test"). action: list | create (name, color #RRGGBB, description, and targets to label at once) | update (name, color, description) | apply / remove (campaignIds, adGroupIds, ads:[{adGroupId, adId}], keywords:[{adGroupId, keywordId}]) | delete (confirm:true). Labels never change delivery or spend. Report by label with google_ads_report over campaign_label / ad_group_label / ad_group_ad_label / ad_group_criterion_label.

ParamètreTypeRequisDescription
actionenum: "list" | "create" | "update" | "apply" | "remove" | "delete"nondefault list
labelIdstringnonthe label (from action list)
namestringnonlabel name, for create or update
colorstringnon#RRGGBB
descriptionstringnonup to 200 characters
campaignIdsarray<string>noncampaign ids to apply or remove the label on
adGroupIdsarray<string>nonad group ids to apply or remove the label on
adsarray<object>nonads to label, as a list of {adGroupId, adId} objects
keywordsarray<object>nonkeywords to label, as a list of {adGroupId, keywordId} objects
customerIdstringnonomit to use the selected default account
confirmbooleannontrue only after the user approved a change to a LIVE campaign or a delete
dryRunbooleannonvalidate with Google, change nothing
loginCustomerIdstringnonmanager id if operating through an MCC

manage_google_ads_campaign_negatives

Campaign-level negative keywords on Google Ads

The NEGATIVE KEYWORDS SET ON ONE GOOGLE ADS CAMPAIGN (campaign level), separate from an ad group's own negatives (add_google_ads_keywords negative:true) and from shared lists (manage_google_ads_negative_list). action list (default) | add (keywords) | remove (keywords or criterionIds from list) | replace (keywords: the WHOLE set afterwards, [] clears them; diffed against Google so unchanged ones keep their ids, sent in one atomic change). keywords are "text" or {text, matchType BROAD|PHRASE|EXACT}, default BROAD. Adding only stops ads showing and never asks. Removing one (or a replace that drops one) on a LIVE campaign lets that search spend again: show the user, then confirm:true. dryRun:true has Google check it. Read back from Google. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "add" | "remove" | "replace"nonlist (default), add, remove or replace
campaignIdstringouithe campaign
keywordsarray<string | object>nonkeywords to add / remove, or the whole set for replace
criterionIdsarray<string>nonremove by id (from list)
customerIdstringnonGoogle Ads account id, 10 digits; omit for the brand's selected default account
confirmbooleannontrue only after the user approved a change that can raise spend on a LIVE campaign
dryRunbooleannontrue = Google validates it and nothing changes
loginCustomerIdstringnonmanager (MCC) account id when acting through one; omit otherwise

manage_google_ads_shared_budgets

Google Ads shared budgets

SHARED BUDGETS on Google Ads: one daily amount several campaigns draw from. action list (default): every shared budget with its daily amount and the campaigns on it. create: name + dailyBudget (the account currency); it spends nothing until a campaign draws from it. attach: budgetId + campaignIds moves those campaigns onto it; a LIVE campaign moved onto a budget with a HIGHER daily amount than it has now can spend more, so show the user and pass confirm:true (a lower one never asks). A campaign's own budget is changed with set_google_ads_budget. dryRun:true has Google check a write. Read back from Google. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "create" | "attach"nonlist (default), create or attach
namestringnoncreate: the budget name, unique on the account
dailyBudgetnumbernoncreate: the daily amount in the account currency
budgetIdstringnonattach: the shared budget (from list)
campaignIdsarray<string>nonattach: campaigns to move onto the budget
customerIdstringnonGoogle Ads account id, 10 digits; omit for the brand's selected default account
confirmbooleannontrue only after the user approved a change that can raise spend on a LIVE campaign
dryRunbooleannontrue = Google validates it and nothing changes
loginCustomerIdstringnonmanager (MCC) account id when acting through one; omit otherwise

update_google_ads_keyword

Change one Google Ads keyword's bid or status

Change ONE Google Search keyword: its own max CPC (cpcBidUsd, the account currency), clearBid:true (it bids the ad group's default again), and / or status ENABLED or PAUSED. Find adGroupId and keywordId (the criterion id) with google_ads_report over keyword_view. Pausing or lowering is always safe. Raising the bid, or switching the keyword on, under a LIVE campaign and ad group raises real spend: show the user, get a yes, then confirm:true. On automated bidding (Maximize conversions, target CPA, …) Google sets bids itself and the reply says a keyword bid is not used. Removing a keyword is delete_google_ads_object level keyword. Read back from Google. Free.

ParamètreTypeRequisDescription
adGroupIdstringouithe keyword's ad group
keywordIdstringouithe keyword's criterion id
cpcBidUsdnumbernonthe keyword's own max CPC, account currency
clearBidbooleannontrue = drop its own bid and use the ad group's
statusenum: "ENABLED" | "PAUSED"nonENABLED or PAUSED
customerIdstringnonGoogle Ads account id, 10 digits; omit for the brand's selected default account
confirmbooleannontrue only after the user approved a change that can raise spend on a LIVE campaign
dryRunbooleannontrue = Google validates it and nothing changes
loginCustomerIdstringnonmanager (MCC) account id when acting through one; omit otherwise

tiktok_smart_review

Review verdicts for TikTok Smart+ ads and creatives

TikTok's OWN REVIEW VERDICT for Upgraded Smart+ ads: pass smartPlusAdIds (up to 100, from list_tiktok_smart_campaigns) and each ad comes back approved for every targeted country, approved for only some (with the countries that passed), or rejected, with every rejection reason, TikTok's suggestion, the rejected text / video / image, any appeal status, AND the verdict of each creative inside it (keyed by adMaterialId). Or pass adMaterialIds to review chosen creatives (for one image in a carousel use the adMaterialId this tool returned). lang picks the language of the reasons (default en); includeViolationFrames adds the flagged video frames. An id TikTok says nothing about is named, never read as approved. Classic (non-Smart+) ads: tiktok_ads_review_info. Read-only, free.

ParamètreTypeRequisDescription
smartPlusAdIdsarray<string>nonSmart+ ad ids
adMaterialIdsarray<string>noncreative ids inside an ad (from a previous review)
langstringnonlanguage of the reasons, e.g. en, es, fr, de, ja (default en)
includeViolationFramesbooleannonadd the video frames TikTok flagged
advertiserIdstringnonTikTok advertiser id; omit when the connection has one

tiktok_smart_material_report

Per-creative performance inside TikTok Smart+ ads

HOW EACH CREATIVE PERFORMS INSIDE TIKTOK UPGRADED SMART+ ADS, from TikTok's Smart+ creative report: one row per video, image, carousel or Spark post (by main_material_id; a Spark post's row carries its TikTok post id as tiktokItemId), or per ad text, call to action or add-on (by). view overview (default): totals over startDate..endDate or lifetime:true, grouped by the ad (or the campaign / ad group you filter on), with each creative's status. view breakdown: the same over time (timeGrain hour, day, week, month or none; dates required). Filter with ONE of campaignIds, adGroupIds or smartPlusAdIds (up to 200), and optionally materialTypes. Default metrics spend, impressions, clicks, ctr, cpc, cpm, conversion, cost_per_conversion, or name TikTok's metric names. Money is in the ad account currency; dates are the account's time zone, at most 365 days. Zero rows means nothing delivered in that window, never 'no creatives'. Read-only, free.

ParamètreTypeRequisDescription
viewenum: "overview" | "breakdown"nonoverview (default) or breakdown
byenum: "main_material_id" | "ad_text_entity_id" | "call_to_action_entity_id" | "interactive_add_on_entity_id"nonmain_material_id (default), ad_text_entity_id, call_to_action_entity_id or interactive_add_on_entity_id
groupByenum: "advertiser_id" | "campaign_id" | "adgroup_id" | "smart_plus_ad_id"nonoverview: advertiser_id, campaign_id, adgroup_id or smart_plus_ad_id (default: the level you filter on, else the ad)
campaignIdsarray<string>nonSmart+ campaign ids
adGroupIdsarray<string>nonSmart+ ad group ids
smartPlusAdIdsarray<string>nonSmart+ ad ids
materialTypesarray<enum: "VIDEO_NON_SPARK_ADS" | "VIDEO_SPARK_ADS" | "CAROUSEL_NON_SPARK_ADS" | "CAROUSEL_SPARK_ADS" | "SINGLE_IMAGE_NON_SPARK_ADS" | "CATALOG_VIDEO" | "CATALOG_VIDEO_TEMPLATE" | "CATALOG_CAROUSEL" …>nononly these creative types
materialIdsarray<string>nononly these creatives (needs exactly one materialTypes)
startDatestringnonYYYY-MM-DD
endDatestringnonYYYY-MM-DD
lifetimebooleannonoverview: lifetime totals instead of dates
timeGrainenum: "hour" | "day" | "week" | "month" | "none"nonbreakdown: hour, day (default), week, month or none
metricsarray<string>nonTikTok metric names
sortFieldstringnondefault spend
sortTypeenum: "DESC" | "ASC"nonDESC (default) or ASC
pagenumbernonpage, from 1
pageSizenumbernonrows per page, up to 100 (default 50)
advertiserIdstringnonTikTok advertiser id; omit when the connection has one

linkedin_supply_forecast

Forecast LinkedIn ad delivery before you spend

LINKEDIN'S OWN DELIVERY FORECAST for a targeting spec and a budget, before any campaign exists: impressions, clicks, spend, reach, leads, video views and the cost and per-million rates LinkedIn returns, each with a low-high range, per day and for the whole window. Pass targeting (locations plus optional include / exclude facets: search_linkedin_ads_targeting resolves names to URNs, free), dailyBudget or totalBudget (account currency), objectiveType (LinkedIn refuses a forecast without one), and EITHER bidType + bidAmount (a manual bid) OR optimizationTarget (automated bidding). Optional campaignType (SPONSORED_UPDATES default, SPONSORED_INMAILS, DYNAMIC), startDate / endDate (default the next 30 days from tomorrow, UTC; must be in the future), audienceNetwork, audienceExpansion. A forecast is an estimate, not a promise; *_PER_MILLION_* values are rates per one million. Pair with linkedin_audience_count and linkedin_bid_pricing. Read-only, spends nothing.

ParamètreTypeRequisDescription
adAccountIdstringnonLinkedIn ad account id; omit for the selected one
locationsarray<string>nongeo URNs or bare ids to target
includeobjectnonmore facets to target, e.g. {titles:[…], industries:[…], seniorities:[…]}
excludeobjectnonfacets to exclude, same shape as include
excludeLocationsarray<string>nongeo URNs or bare ids to exclude
targetingCriteriaobjectnonLinkedIn's raw targetingCriteria (include/exclude), instead of the friendly fields
dailyBudgetnumbernondaily budget, account currency
totalBudgetnumbernontotal budget, account currency
bidTypeenum: "CPM" | "CPC" | "CPV"nonmanual bid: CPM, CPC or CPV
bidAmountnumbernonmanual bid amount, account currency
optimizationTargetstringnonautomated bidding target, e.g. MAX_IMPRESSION, MAX_CLICK, MAX_LEAD, TARGET_COST_PER_CLICK, CAP_COST_AND_MAXIMIZE_CLICKS
targetCostnumbernonfor a target-cost optimizationTarget
costCapnumbernonfor a cost-cap optimizationTarget
campaignTypeenum: "SPONSORED_UPDATES" | "SPONSORED_INMAILS" | "DYNAMIC"nonSPONSORED_UPDATES (default), SPONSORED_INMAILS or DYNAMIC
objectiveTypestringnonREQUIRED by LinkedIn: e.g. WEBSITE_VISIT, LEAD_GENERATION, BRAND_AWARENESS, VIDEO_VIEW, ENGAGEMENT, WEBSITE_CONVERSION
campaignIdstringnonan existing campaign, for a sharper forecast
startDatestringnonYYYY-MM-DD, UTC, in the future
endDatestringnonYYYY-MM-DD, UTC
audienceNetworkbooleannoninclude LinkedIn Audience Network
audienceExpansionbooleannoninclude Audience Expansion
currencystringnonISO code; default the account currency

manage_google_ads_bid_strategy

Google Ads portfolio bid strategies

PORTFOLIO bid strategies: one shared Google Ads strategy and target driving several campaigns. action: list | create (name, strategy, its targets, optional campaignIds to attach) | update (targets or name; the type cannot change) | attach (campaignIds) | delete (only once no campaign uses it; confirm:true). Amounts are in the account currency. Changing targets of, or attaching, a LIVE campaign changes how it bids now: confirm:true after the user approves. Performance Max cannot use a portfolio. To move a campaign OFF a portfolio, call set_google_ads_bidding on it.

ParamètreTypeRequisDescription
actionenum: "list" | "create" | "update" | "attach" | "delete"nondefault list
biddingStrategyIdstringnonthe strategy (from action list)
namestringnonstrategy name, for create or update
strategyenum: "MAXIMIZE_CLICKS" | "MAXIMIZE_CONVERSIONS" | "MAXIMIZE_CONVERSION_VALUE" | "TARGET_CPA" | "TARGET_ROAS" | "TARGET_IMPRESSION_SHARE"noncreate
targetCpaUsdnumbernoncost per conversion
targetRoasnumbernon4 = 4x revenue per unit spent
maxCpcUsdnumbernonmax CPC ceiling (required for TARGET_IMPRESSION_SHARE)
minCpcUsdnumbernonmin CPC floor
impressionSharePercentnumbernon1-100
impressionShareLocationenum: "ANYWHERE_ON_PAGE" | "TOP_OF_PAGE" | "ABSOLUTE_TOP_OF_PAGE"nonwhere to aim impression share: ANYWHERE_ON_PAGE, TOP_OF_PAGE or ABSOLUTE_TOP_OF_PAGE
campaignIdsarray<string>noncampaign ids to attach to the strategy
allowNoConversionTrackingbooleannonskip the conversion-tracking check
customerIdstringnonomit to use the selected default account
confirmbooleannontrue only after the user approved a change to a LIVE campaign or a delete
dryRunbooleannonvalidate with Google, change nothing
loginCustomerIdstringnonmanager id if operating through an MCC

set_google_ads_conversion_goals

Google Ads conversion goals (what smart bidding optimises for)

Which conversion goals Google Ads smart bidding optimises toward, the usual cause of "it optimises for the wrong thing". With no goals it reads: the account goals, or with campaignId that campaign's goals and whether it follows the account. goals:[{category (PURCHASE, SIGNUP, SUBMIT_LEAD_FORM, PAGE_VIEW...), origin (default WEBSITE), biddable}] sets them account-wide, or for one campaign with campaignId (it then stops following account changes). useAccountGoals:true puts a campaign back on the account goals. A goal exists only where a conversion action of that category exists. Changing goals of LIVE campaigns needs confirm:true after the user approves. Read back from Google.

ParamètreTypeRequisDescription
campaignIdstringnonomit for the account goals
goalsarray<object>nonconversion goals to set, as a list of {category, origin, biddable}; omit to read the current goals
useAccountGoalsbooleannonput the campaign back on the account goals
customerIdstringnonomit to use the selected default account
confirmbooleannontrue only after the user approved a change to a LIVE campaign or a delete
dryRunbooleannonvalidate with Google, change nothing
loginCustomerIdstringnonmanager id if operating through an MCC

delete_google_ads_object

Remove a Google Ads campaign / ad group / ad / keyword / asset link / conversion action

PERMANENTLY remove a Google Ads object. Google has no HTTP delete — removal is a `remove` operation that puts the object in the terminal REMOVED state, which cannot be undone or re-enabled, so treat it as a delete. Levels: "campaign" + campaignId · "adGroup" + adGroupId · "ad" + adGroupId AND adId · "keyword" + adGroupId AND keywordId · "conversionAction" + conversionActionId · "campaignAsset"/"adGroupAsset" + the LINK’s full resourceName (get it from google_ads_report over campaign_asset / ad_group_asset — an asset id alone does not identify a link). THERE IS DELIBERATELY NO "asset" LEVEL: Google publishes no operation that deletes an Asset, only its links, so removing a link unlinks the asset and leaves it in the library. CALL IT WITHOUT confirm FIRST — nothing is removed and you get the object’s real name, status, LIFETIME SPEND and child counts read live from Google; show the user exactly that. A target with children, live delivery or real spend additionally needs confirmName (its exact name) and confirmChildren (the child count from that read-back). Removing a CAMPAIGN also removes its campaign-owned budget, and the note says whether it did. Removing the last ENABLED conversion action makes every smart-bidding campaign on the account undeliverable — the refusal says so. To stop delivery without removing, use set_google_ads_status(status:"PAUSED").

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
levelenum: "campaign" | "adGroup" | "ad" | "keyword" | "campaignAsset" | "adGroupAsset" | "conversionAction"nonwhat to remove — default campaign
campaignIdstringnoncampaign id (level:"campaign")
adGroupIdstringnonad group id (level:"adGroup"; REQUIRED as the parent for "ad" and "keyword")
adIdstringnonad id (level:"ad" — pass adGroupId too)
keywordIdstringnonkeyword criterion id (level:"keyword", with adGroupId)
conversionActionIdstringnonconversion action id (level:"conversionAction")
resourceNamestringnonfull resource name — REQUIRED for campaignAsset / adGroupAsset, accepted for any level
confirmbooleannonREQUIRED true — REMOVED is permanent
confirmNamestringnonthe object’s EXACT name, required when it has children / is live / has spent
confirmChildrennumbernonthe exact number of children reported by the unconfirmed call, required when it has any
loginCustomerIdstringnonmanager id if operating through an MCC

upload_google_ads_asset

Upload a creative to Google Ads

Add a creative to a Google Ads account’s ASSET LIBRARY so it can be used in ads. It does NOT have to be a Hermoso render — the user’s own creative is the normal case; the URL just has to be Hermoso-HOSTED because we fetch the bytes, so run any file of theirs through upload_file and pass the URL it returns. For an IMAGE, pass imageUrl (≤5MB); an arbitrary external/CDN URL is refused. For VIDEO, Google Ads uses YouTube-hosted videos — post the video to YouTube as UNLISTED first, then pass its youtubeVideoId here. For a PLAYABLE (App campaigns), pass playableUrl: an HTML5 zip with , an ad.orientation meta tag and no outside files except Google's own (exitapi.js, Google Fonts); add appAdId to put it on an App ad. Returns the asset resource name. Pass customerId (from list_google_ads_campaigns).

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
imageUrlstringnona Hermoso-hosted image URL for an IMAGE asset (≤5MB) — a Hermoso render, or the user’s OWN creative put through upload_file first. An arbitrary external/CDN URL is refused.
youtubeVideoIdstringnonA YouTube video id for a VIDEO asset
playableUrlstringnonPLAYABLE: link to an HTML5 zip (any public https URL or upload_file). Checked against Google's rules, then Google's own free validation, then created as a MEDIA_BUNDLE asset
appAdIdstringnonalso add the playable to this App ad (App campaigns for installs only)
assetResourceNamestringnonwith appAdId: add a playable already in the asset library instead of uploading one
namestringnonasset name
loginCustomerIdstringnonmanager id if operating through an MCC

create_google_ads_conversion_action

Create a Google Ads conversion action

Create a CONVERSION ACTION — the thing that tells Google what counts as a result on this account. This is a PREREQUISITE, not a nicety: MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, TARGET_CPA, TARGET_ROAS and every Performance Max campaign are undeliverable without one, because Google has nothing to optimise toward. type WEBPAGE (a purchase / lead / signup on the site — the normal choice), UPLOAD_CLICKS or UPLOAD_CALLS; every other Google conversion type (Firebase, Google Analytics 4, Floodlight, store visits) is READ-ONLY and is created in those products, not here. Set category to what actually happened (PURCHASE, SUBMIT_LEAD_FORM, SIGNUP, BOOK_APPOINTMENT…) and defaultValueUsd when a conversion has a known worth — TARGET_ROAS has nothing to maximise without a value. Created ENABLED and counted in "conversions" by default, because a conversion action that is neither records nothing. It CANNOT SERVE AN AD and cannot spend a cent, so it needs no confirmation. A WEBPAGE action records NOTHING until its Google tag is installed on the site — say that when you report it.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
namestringouiwhat the user calls this result, e.g. "Purchase", "Demo request"
typeenum: "WEBPAGE" | "UPLOAD_CLICKS" | "UPLOAD_CALLS"nondefault WEBPAGE — a conversion that happens on the website
categoryenum: "DEFAULT" | "PAGE_VIEW" | "PURCHASE" | "SIGNUP" | "DOWNLOAD" | "ADD_TO_CART" | "BEGIN_CHECKOUT" | "SUBSCRIBE_PAID" …nonwhat kind of result this is, default DEFAULT. Google Ads v25’s IN_APP_AD_REVENUE is not offered: Google refuses it on every type this tool creates, and it comes only from a linked Firebase app (FIREBASE_ANDROID/IOS_APP_AD_IMPRESSION), which list_google_ads_conversion_actions reads like any other
statusenum: "ENABLED" | "PAUSED" | "REMOVED" | "HIDDEN"nondefault ENABLED — anything else records nothing
countingTypeenum: "ONE_PER_CLICK" | "MANY_PER_CLICK"nonONE_PER_CLICK for leads, MANY_PER_CLICK for sales — defaults by category
defaultValueUsdnumbernonwhat one conversion is worth — required in practice for TARGET_ROAS
defaultCurrencyCodestringnon3-letter ISO code, e.g. USD
alwaysUseDefaultValuebooleannonignore any value sent with the conversion and always use the default
clickThroughLookbackDaysnumbernon1–90 days
viewThroughLookbackDaysnumbernon1–30 days
includeInConversionsMetricbooleannondefault true — false makes smart bidding IGNORE it
primaryForGoalbooleannondefault true — whether this action is biddable for its category
dryRunbooleannonvalidate against Google and create NOTHING
loginCustomerIdstringnonmanager id if operating through an MCC

list_google_ads_conversion_actions

List Google Ads conversion actions

List the conversion actions on a Google Ads account and say plainly whether smart bidding can work there. Call this BEFORE proposing MAXIMIZE_CONVERSIONS / MAXIMIZE_CONVERSION_VALUE / TARGET_CPA / TARGET_ROAS or any Performance Max campaign: an account with no ENABLED conversion action that counts toward "conversions" cannot optimise on any of them, and the campaign would spend its budget without ever learning. Shows each action’s status, type, category, counting type, and whether it counts toward "conversions". Read-only, free.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
includeRemovedbooleannonalso list REMOVED conversion actions
loginCustomerIdstringnonmanager id if operating through an MCC

google_ads_customer_lists

Google Ads Customer Match lists

Google Ads CUSTOMER MATCH lists on the brand's own Google Ads account, through Google's Data Manager API. action list (every audience list with its Customer Match match rate and sizes), get (one list: status, match rate, search/display/YouTube/Gmail sizes), create (an EMPTY contact-information list: name, description, membershipDays; validateOnly checks it without creating), delete (confirm:true; cannot be undone). Fill a list with upload_google_ads_customer_list, then target or exclude it with set_google_ads_audiences. Sizes take 6 to 48 hours and a list needs 100+ matched people to serve. Free.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
actionenum: "list" | "get" | "create" | "delete"nonlist (default), get, create or delete
listIdstringnonget / delete: the list id from action list
namestringnoncreate: unique on the account
descriptionstringnon
membershipDaysnumbernoncreate: whole days a person stays on the list; omit for Google’s maximum
validateOnlybooleannoncreate: check it without creating
confirmbooleannondelete: required true, after the user agreed
loginCustomerIdstringnonmanager id if operating through an MCC

upload_google_ads_customer_list

Upload customers into a Google Ads Customer Match list

Add people to (action add, the default) or remove them from (action remove) a Google Ads Customer Match list, so campaigns can target or exclude them. Pass PLAIN emails, E.164 phones (+15551234567) or members [{email, phone, firstName, lastName, countryCode, postalCode}] (an address needs all four of the last); Hermoso normalizes them to Google's published rules (lowercase and trim; gmail.com dots and +tags removed) and SHA-256 hashes them, so only digests leave Hermoso. Already-hashed 64-hex values pass through. Up to 10,000 people per call. ADD NEEDS acceptTerms:true: show the user Google's Customer Match policy (https://support.google.com/adspolicy/answer/6299717) and get their agreement first. validateOnly:true checks the upload without changing the list. Returns a requestId for google_ads_upload_status. Free.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
listIdstringouithe Customer Match list (google_ads_customer_lists)
actionenum: "add" | "remove"nonadd (default) or remove these people
emailsarray<string>nonPLAIN emails, normalized and SHA-256 hashed inside Hermoso
phonesarray<string>nonE.164 phones (+15551234567), hashed inside Hermoso
membersarray<object>nonpeople with several identifiers; an address needs firstName, lastName, countryCode and postalCode together
acceptTermsbooleannonREQUIRED true to add: the user agreed to Google’s Customer Match policy
validateOnlybooleannoncheck the upload without changing the list
loginCustomerIdstringnonmanager id if operating through an MCC

send_google_ads_conversions

Upload offline conversions to Google Ads

Upload offline or enhanced conversions (sales, qualified leads) into the brand's Google Ads account through Google's Data Manager API, which replaced the Google Ads API upload for new integrations. conversionActionId must be an UPLOAD_CLICKS conversion action ("Website (Import from clicks)"; list_google_ads_conversion_actions, or create_google_ads_conversion_action type UPLOAD_CLICKS). Each event needs a time (eventTime: unix seconds or ISO) and something Google can match: a gclid / gbraid / wbraid, or the customer's email or E.164 phone (hashed in Hermoso before sending); optional eventId (Google's transactionId: a repeat counts as an adjustment, not a second sale), value + currency, actionSource. Up to 2,000 per call. validateOnly:true checks without recording. Free.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
conversionActionIdstringouian UPLOAD_CLICKS conversion action id
eventsarray<object>oui1 to 2000 conversions
validateOnlybooleannoncheck without recording
loginCustomerIdstringnonmanager id if operating through an MCC

google_ads_upload_status

Check a Google Ads upload

What Google did with a Customer Match or conversion upload: pass the requestId that upload_google_ads_customer_list or send_google_ads_conversions returned. Reports PROCESSING / SUCCESS / PARTIAL_SUCCESS / FAILED per destination, records processed, the match-rate range and any per-record error reasons. Free.

ParamètreTypeRequisDescription
requestIdstringouifrom upload_google_ads_customer_list or send_google_ads_conversions

add_google_ads_assets

Add sitelinks, callouts, call, promotion, price, lead-form and brand assets to Google Ads

Add ASSETS (extensions) to a Google Ads campaign, ad group or the whole account (level:"customer") — and ATTACH them, which is what makes them show. Pass assetType plus assets[]: SITELINK {linkText ≤25, finalUrl, description1/2}; CALLOUT {calloutText ≤25}; STRUCTURED_SNIPPET {header, values[] ≥3}; CALL {phoneNumber, countryCode}; PROMOTION {promotionTarget ≤20, percentOff OR moneyAmountOff, finalUrl, promotionCode?, occasion?, startDate?, endDate?}; PRICE {priceType, offerings[3–8] of {header ≤25, description ≤25, price, unit?, finalUrl}}; LEAD_FORM {businessName, headline, description, privacyPolicyUrl, callToActionType, callToActionDescription, finalUrl, fields?}; BUSINESS_NAME {businessName ≤25}; BUSINESS_LOGO {image: a square Hermoso image}. Or link existing ones with assetResourceNames[]. Edit, pause or detach later with manage_google_ads_assets. (Google does not let apps attach Search image extensions; images go through Performance Max, Demand Gen and display ads.) Assets and links go up in ONE atomic operation, so a rejected link never strands an orphan asset, and the links are READ BACK from Google before you are told they exist. Attaching a live asset to a LIVE (ENABLED) campaign changes what that ad shows on the very next auction — show the user what would appear, get an explicit yes, then pass confirm:true. On a paused campaign it never needs confirmation.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
assetTypeenum: "SITELINK" | "CALLOUT" | "STRUCTURED_SNIPPET" | "CALL" | "PROMOTION" | "PRICE" | "LEAD_FORM" | "BUSINESS_NAME" …ouiwhat kind of asset to create and attach
levelenum: "campaign" | "adGroup" | "customer"nonwhere to attach it — follows the id you pass; customer = every campaign on the account
campaignIdstringnoncampaign id (level:"campaign")
adGroupIdstringnonad group id (level:"adGroup")
assetsarray<object>nonthe assets to CREATE and attach
assetResourceNamesarray<string>nonattach assets that ALREADY exist instead of creating new ones
statusenum: "ENABLED" | "PAUSED"nonthe LINK status — default ENABLED
confirmbooleannonset true ONLY after the user approved changing what a LIVE campaign shows
dryRunbooleannonvalidate against Google and create NOTHING
loginCustomerIdstringnonmanager id if operating through an MCC

google_ads_recommendations

Google Ads recommendations + optimization score

Google Ads’ own advice for the account: the optimization score (account and per campaign), every open recommendation with what applying it would change (budget $X -> $Y, a keyword, a bid target, a Google-written ad) and Google’s weekly impact estimate, each tagged spend (changes what the account buys) or serves (changes what an ad shows), plus which types Google is auto-applying by itself. An empty list means Google has no advice yet, never that the account is optimal. Ids go stale fast, so act on a fresh read. Read-only, 0 credits.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id, omit for the brand’s default account
campaignIdstringnononly recommendations for this campaign
typesarray<string>nonrecommendation types, e.g. CAMPAIGN_BUDGET, KEYWORD; an unknown one is refused by name
includeDismissedbooleannonalso show dismissed ones
loginCustomerIdstringnonmanager id if operating through an MCC

manage_google_ads_recommendations

Apply / dismiss Google Ads recommendations, or set auto-apply

Act on Google Ads recommendations by id. action:"apply" makes the change live immediately with no undo. Any spend-type recommendation (budget, bidding, keywords, network or audience expansion, new campaigns) or one touching a LIVE campaign is refused until the user says yes: call once without confirm, show the returned list, then call again with confirm:true and the confirmCount it named. The count is re-checked against a fresh read, and if any id is no longer on offer NOTHING is applied. action:"dismiss" only takes advice off the list and needs no confirm. action:"auto_apply" with autoApply:{TYPE:true|false} lets Google apply that type by itself; turning one ON needs confirm:true, OFF never does. dryRun validates and changes nothing. 0 credits.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id, omit for the brand’s default account
actionenum: "apply" | "dismiss" | "auto_apply"ouiapply (live now; spend types need confirm), dismiss (remove from list), or auto_apply (set auto-apply per type)
recommendationIdsarray<string>nonapply/dismiss: ids from google_ads_recommendations, max 100; there is no "apply everything"
autoApplyobjectnonauto_apply: {RECOMMENDATION_TYPE: true|false}
confirmbooleannonthe user saw the list and said yes
confirmCountnumbernonapply: echo the count the unconfirmed call reported
dryRunbooleannonvalidate and change nothing
loginCustomerIdstringnonmanager id if operating through an MCC

preview_google_ads_ad

Shareable Google Ads preview link

A shareable Google preview link (viewable with no Google Ads login, good for client approval) for a Performance Max asset group, or for a YouTube video ad. Google cannot preview Search or Display ads (RSA/RDA), and that is refused by name for free. Links expire and cannot be embedded in an iframe. Read-only, 0 credits.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id, omit for the brand’s default account
assetGroupIdsarray<string>nonPerformance Max asset group ids
adIdstringnona YouTube video ad id
adGroupIdstringnonits ad group id
loginCustomerIdstringnonmanager id if operating through an MCC

google_ads_policy_issues

Why Google rejected or limited an ad

WHY Google rejected or limited something: every DISAPPROVED or APPROVED_LIMITED ad, asset (headlines, images, sitelinks, Performance Max assets) and keyword on the account or one campaign, with Google’s policy topic, its effect, the evidence (offending text, a broken landing page and its HTTP code, restricted countries) and appeal state. includeApproved lists everything. Read-only, 0 credits.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id, omit for the brand’s default account
campaignIdstringnononly this campaign
includeApprovedbooleannonlist approved and pending items too
loginCustomerIdstringnonmanager id if operating through an MCC

manage_google_ads_assets

List, edit, pause or detach Google Ads assets

The assets on a Google Ads campaign, ad group or the whole account (level:"customer"): action "list" (every attached asset with its review status and any policy problem), "update" (edit a sitelink/callout/snippet/call/promotion/price/lead-form asset — pass assetId, assetType and asset{} in add_google_ads_assets' shape), "pause", "enable" or "unlink" (pass assetId + fieldType from list). Google never deletes an asset; unlink stops it showing. Editing or re-enabling on a LIVE campaign needs confirm:true after the user agrees.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id; omit to use the brand's selected default account
actionenum: "list" | "update" | "pause" | "enable" | "unlink"nondefault list
levelenum: "campaign" | "adGroup" | "customer"noncampaign, adGroup or customer; follows the id you pass
campaignIdstringnoncampaign id, when level is campaign
adGroupIdstringnonad group id, when level is adGroup
assetIdstringnonasset id, from the list action
fieldTypestringnonthe link field type from list, e.g. CALL, SITELINK
assetTypestringnonupdate — the asset kind
assetobjectnonupdate — the new content
confirmbooleannontrue only after the user agreed to change a LIVE campaign's assets
dryRunbooleannontrue = validate with Google and change nothing
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

set_google_ads_tracking

Set UTMs / tracking on a Google Ads campaign, ad group or ad

Set the FINAL URL SUFFIX (the UTMs added to every click), tracking template and custom parameters on a Google Ads campaign, ad group or ad; a lower level overrides a higher one. "" clears a field; utmDefault:true applies our standard UTMs (utm_source=google, utm_medium, utm_campaign= , utm_id={campaignid}, utm_content={creative}). New campaigns already get those unless you say otherwise. Read back from Google.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id; omit to use the brand's selected default account
campaignIdstringnoncampaign to set tracking on; use with level campaign
adGroupIdstringnonad group to set tracking on; use with level adGroup
adIdstringnonad to set tracking on; use with level ad
levelenum: "campaign" | "adGroup" | "ad"nonfollows the id you pass
finalUrlSuffixstringnonUTM string appended to every click, e.g. utm_source=google&utm_medium=cpc; empty string clears it
trackingUrlTemplatestringnonclick-tracking redirect template, e.g. {lpurl}?src=x; empty string clears it
urlCustomParametersobjectnonup to 8 custom URL parameters as a key/value object, used in URLs as {_key}
utmDefaultbooleannontrue = apply the standard UTMs (utm_source, utm_medium, utm_campaign, utm_id, utm_content)
confirmbooleannonneeded to change the tracking redirect on a LIVE campaign
dryRunbooleannontrue = validate with Google and change nothing
loginCustomerIdstringnonmanager (MCC) account id when acting through a manager account; omit otherwise

manage_google_ads_audience

Find or build Google Ads audiences

Audiences for Google Ads. action "search" finds affinity + in-market interests, remarketing lists, custom segments and saved audiences (query by name). "create_remarketing_list": people who visited pages matching urlRules [{operator CONTAINS|EQUALS|STARTS_WITH|ENDS_WITH, value}] in the last membershipDays (needs the Google tag on the site). "create_custom_segment": people searching keywords[] or into sites like urls[] (type AUTO or SEARCH). "create_audience": a reusable audience (userLists, interests, customSegments ids + ages like "25-34", genders) — what Performance Max signals and Demand Gen targeting take. "remove" (userList or customSegment, confirm:true). Attach with set_google_ads_audiences.

ParamètreTypeRequisDescription
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's selected default account
actionenum: "search" | "create_remarketing_list" | "create_custom_segment" | "create_audience" | "remove"nondefault search
querystringnonsearch text matched against audience and interest names (action search)
namestringnonaudience or list name, unique on the account (create actions)
descriptionstringnonoptional description (create actions)
urlRulesarray<object>nonvisitor rules for create_remarketing_list: [{operator, value}]; visitors to pages matching any rule
excludeUrlRulesarray<object>nonsame shape as urlRules; visitors to matching pages are left out of the list
membershipDaysnumbernon1–540, default 30
typeenum: "AUTO" | "SEARCH"noncustom segment type: AUTO (Google decides, default) or SEARCH (people who searched the keywords)
keywordsarray<string>nonsearch phrases for a custom segment, 10 words or fewer each (create_custom_segment)
urlsarray<string>nonfull http(s) URLs of sites like yours for a custom segment (create_custom_segment)
appsarray<string>nonapp identifiers for a custom segment (create_custom_segment)
userListsarray<string>nonuser list ids to include in an audience (create_audience), from action search
interestsarray<string>noninterest ids (affinity or in-market) to include in an audience, from action search
customSegmentsarray<string>noncustom segment ids to include in an audience, from action search
agesarray<string>nonage ranges to include: 18-24, 25-34, 35-44, 45-54, 55-64, 65+ or unknown
gendersarray<enum: "male" | "female" | "unknown">nongenders to include: male, female or unknown
kindenum: "userList" | "customSegment"nonremove
idstringnonremove
confirmbooleannontrue to actually remove the list or segment (action remove only)
dryRunbooleannontrue = validate with Google and create or remove nothing
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

set_google_ads_audiences

Target or exclude audiences on Google Ads

Who a Google Ads campaign reaches. adGroupId (Search/Display): userLists, interests (affinity/in-market ids), customSegments (Display only), mode "observation" (report, do not narrow — default on Search) or "targeting" (narrow to them); Demand Gen ad groups take audiences[] ids. assetGroupId (Performance Max): audiences[] as signals and searchThemes[]. campaignId: exclusions only. exclude{userLists, interests, customSegments}, excludeAges ["18-24"…"65+","unknown"], excludeGenders, excludeIncomes (household income bands; with campaignId this is how a Performance Max campaign excludes them). remove[] takes criterion resource names from a call with no changes (which lists what is set). Narrowing a LIVE ad group needs confirm:true.

ParamètreTypeRequisDescription
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
adGroupIdstringnonad group to target (Search, Display or Demand Gen); one of adGroupId, assetGroupId, campaignId
assetGroupIdstringnonPerformance Max asset group id; audiences become signals there
campaignIdstringnoncampaign id; exclusions only
userListsarray<string>nonuser list ids to target on the ad group
interestsarray<string>noninterest ids (affinity or in-market) to target on the ad group
customSegmentsarray<string>noncustom segment ids to target; Display ad groups only, Search refuses them
audiencesarray<string>nonaudience ids from manage_google_ads_audience (create_audience) for Demand Gen or Performance Max
searchThemesarray<string>nonsearch theme phrases for a Performance Max asset group, up to 50, 10 words or fewer each
modeenum: "observation" | "targeting"nonobservation (report only, default on Search) or targeting (narrow delivery to these audiences)
excludeobjectnonaudiences to exclude from the ad group or campaign: {userLists, interests, customSegments} ids
excludeAgesarray<string>nonage ranges to exclude: 18-24, 25-34, 35-44, 45-54, 55-64, 65+ or unknown
excludeGendersarray<string>nongenders to exclude: male, female or unknown
excludeIncomesarray<string>nonhousehold income bands to exclude: top10 (the highest-income 10% of households), 11-20, 21-30, 31-40, 41-50, lower50 (the lower half) or unknown
removearray<string>noncriterion resource names to remove; a call with no other changes lists the current ones
confirmbooleannontrue to approve a change that alters who a live ad group reaches
dryRunbooleannontrue = validate with Google and change nothing
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

upload_google_ads_video

Upload a video straight into Google Ads

Upload a Hermoso video (render id, Library id, attachment://N or Hermoso link) straight into Google Ads — no YouTube channel needed: it goes UNLISTED to the Google-managed channel of the ad account (or to your own brand channel with channelId, where PUBLIC is allowed). Waits for YouTube to process it, then returns the video asset ready for create_google_ads_demand_gen_campaign or Performance Max. AI-generated renders are disclosed as such. action "status" finishes a slow one (uploadId), "list" shows uploads, "remove" deletes one (confirm:true). Free.

ParamètreTypeRequisDescription
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
actionenum: "upload" | "status" | "list" | "remove"nondefault upload
videostringnonHermoso render id, Library id, attachment://N or Hermoso video link
titlestringnonrequired, ≤100 chars
descriptionstringnonYouTube description for the uploaded video (optional)
channelIdstringnonyour own YouTube channel (UC…), else Google's
privacyenum: "UNLISTED" | "PUBLIC"nonUNLISTED (default, the only option on Google's channel) or PUBLIC (own channel only, with channelId)
aiGeneratedbooleannonGoogle Ads generative-content disclosure. OMIT IT and Hermoso decides from provenance: a Hermoso render is declared, a video that came through upload_file (the user’s own footage) is NOT. true/false overrides
uploadIdstringnonupload id from the upload reply or action list; required for status and remove
waitSecondsnumbernonseconds to wait for YouTube to finish processing, max 240; default 90 on upload, 0 on status
confirmbooleannontrue to remove the upload (action remove); every ad using the video stops showing it
dryRunbooleannontrue = build and return the request without uploading any bytes
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

create_google_ads_demand_gen_campaign

Create a Google Demand Gen video campaign (YouTube Shorts, in-feed, in-stream)

Build a Google DEMAND GEN campaign — video ads on YouTube Shorts, in-feed and in-stream (plus Discover, Gmail, Display, Maps if you pick them) — as ONE atomic, PAUSED build: budget, campaign, ad group with channel controls, locations/languages, optional audiences, and a video ad. ad needs videoAssets (from upload_google_ads_video) or youtubeVideoIds, a square logo (logoImage or logoAssets), finalUrl, businessName ≤25, 1–5 headlines, longHeadlines, descriptions. Google sets a minimum daily budget (it names it if you go under). Read back; turn it on with set_google_ads_status(confirm:true) only after the user approves.

ParamètreTypeRequisDescription
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
namestringouicampaign name
dailyBudgetUsdnumbernondaily budget in the ACCOUNT’s currency (historical name, not necessarily USD), 1 to 100000; required unless budgetResourceName is given
budgetResourceNamestringnonexisting campaign budget resource name to reuse instead of creating a new budget
biddingobjectnonbidding object {strategy, targetCpaUsd, targetRoas, maxCpcUsd}; strategy defaults to MAXIMIZE_CONVERSIONS
channelsarray<enum: "youtubeShorts" | "youtubeInFeed" | "youtubeInStream" | "discover" | "gmail" | "display" | "maps">nonomit for all of Google's channels
locationsarray<string>nonplace names to target, resolved by Google, e.g. United States
excludedLocationsarray<string>nonplace names to exclude, resolved by Google
languagesarray<string>nonISO language codes to target, e.g. ["en"]
countryCodestringnon2-letter country code that disambiguates a place name, e.g. CA for Toronto
audiencesarray<string>nonaudience ids from manage_google_ads_audience
adobjectouivideo ad: {videoAssets or youtubeVideoIds, logo, finalUrl, businessName, headlines, longHeadlines, descriptions, assetAutomation}
finalUrlSuffixstringnonUTM suffix appended to clicks; omit for Hermoso's default, empty string for none
trackingUrlTemplatestringnonclick-tracking redirect template, e.g. {lpurl}?src=x; only if you use a tracker
urlCustomParametersobjectnonup to 8 custom URL parameters, used in URLs as {_key}
startDatestringnoncampaign start date, YYYY-MM-DD
endDatestringnoncampaign end date, YYYY-MM-DD
containsEuPoliticalAdsbooleannontrue only for genuine EU political advertising
dryRunbooleannontrue = validate with Google and create nothing
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

set_google_ads_asset_automation

Read or change what Google may make from the creative (text on videos, video cuts, written text)

What Google Ads is allowed to generate from the user’s own creative: text laid over videos (OVERLAY_TEXT_ON_VIDEOS), vertical and shorter video cuts, generated videos and animated images, image crops and enhancements, written headlines and landing-page text. Pass campaignId for campaign-level automation (Performance Max, Search), or adGroupId + adId for one ad: a Demand Gen video ad keeps OVERLAY_TEXT_ON_VIDEOS, GENERATE_VERTICAL_YOUTUBE_VIDEOS and GENERATE_SHORTER_YOUTUBE_VIDEOS there, and Google turns them ON by default. With no settings it READS what is set. settings is {TYPE: true|false}; a type you do not name keeps its current value, and one that was never set follows Google’s default. Turning a type OFF needs nothing more; turning one ON for something live needs confirm:true, because Google then serves versions it generated. The reply is what Google stored, read back. Free.

ParamètreTypeRequisDescription
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
campaignIdstringnoncampaign id, for campaign-level automation; or pass adGroupId + adId for one ad
adGroupIdstringnonad group id of the ad (with adId)
adIdstringnonad id (google_ads_report FROM ad_group_ad lists ad_group.id and ad_group_ad.ad.id)
settingsobjectnon{TYPE: true to opt in, false to opt out}. Types: TEXT_ASSET_AUTOMATION, GENERATE_VERTICAL_YOUTUBE_VIDEOS, GENERATE_SHORTER_YOUTUBE_VIDEOS, GENERATE_LANDING_PAGE_PREVIEW, GENERATE_LANDING_PAGE_TEXT, GENERATE_ENHANCED_YOUTUBE_VIDEOS, GENERATE_IMAGE_ENHANCEMENT, GENERATE_IMAGE_EXTRACTION, GENERATE_DES…
videoCrawlSourcesarray<object>nononly with settings.AUTOMATED_VIDEO_CRAWL: where Google may find videos
confirmbooleannontrue to turn an automation ON for a campaign or ad that is live
dryRunbooleannontrue = validate with Google and change nothing
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

manage_google_ads_seasonality

Google Ads seasonality adjustments (tell Smart Bidding about a sale or launch)

Seasonality adjustments tell Google’s Smart Bidding that conversion rate will move for a short event (a sale, a launch, a holiday weekend), so it bids for the event instead of learning it late. action "list" shows them; "create" needs name, start and end ("YYYY-MM-DD HH:mm:ss", the end is exclusive, at most 14 days apart, and Google expects a future event), conversionRateModifier (0.1 to 10: 1.5 means 50% more conversions per click than usual, 0.8 means 20% fewer) and what it covers: campaignIds (up to 2,000 campaigns) OR channels (SEARCH, DISPLAY, SHOPPING, DEMAND_GEN), never both; optional devices. "update" changes the named fields of one (id); "remove" deletes one (id). It moves real bids on every campaign it covers, so create, update and remove need confirm:true after the user agrees; dryRun:true has Google validate it and changes nothing. Google’s API cannot create an account-wide adjustment and does not allow them on manager accounts. The reply is read back from Google. Free.

ParamètreTypeRequisDescription
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
actionenum: "list" | "create" | "update" | "remove"nondefault list
idstringnonseasonality adjustment id (update, remove), from action list
namestringnonname, up to 255 characters (create)
descriptionstringnonoptional note, up to 2,048 characters
startstringnonwhen the event begins, "YYYY-MM-DD HH:mm:ss" (inclusive)
endstringnonwhen it stops, "YYYY-MM-DD HH:mm:ss" (exclusive); at most 14 days after start
conversionRateModifiernumbernonexpected conversion rate change, 0.1 to 10 (1.5 = +50%, 0.8 = -20%)
campaignIdsarray<string>noncampaign ids it covers (up to 2,000); not together with channels
channelsarray<enum: "SEARCH" | "DISPLAY" | "SHOPPING" | "DEMAND_GEN">nonevery campaign of these channel types; not together with campaignIds
devicesarray<enum: "MOBILE" | "TABLET" | "DESKTOP" | "CONNECTED_TV" | "OTHER">nonlimit it to these devices; omit for all
includeRemovedbooleannonaction list: also show removed ones
confirmbooleannontrue after the user agreed to the dates, modifier and coverage (create, update, remove)
dryRunbooleannontrue = validate with Google and change nothing
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

list_google_ads_lead_submissions

Read Google Ads lead form submissions

The people who filled in a Google Ads lead form: each submission’s time, the answers (name, email, phone and any custom questions), the Google click id, and the campaign, ad group and lead form it came from, newest first. Filter by campaignId, adGroupId, assetId (the lead form asset) and since / until (YYYY-MM-DD); limit up to 1,000 (default 100). An empty answer means none that Google still holds for this account and filter, not proof that no form was ever submitted. These are the advertiser’s own leads and contain personal details: show them to the user who asked and do not copy them anywhere else unless asked. Read-only, free.

ParamètreTypeRequisDescription
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
campaignIdstringnononly submissions from this campaign
adGroupIdstringnononly submissions from this ad group
assetIdstringnononly submissions to this lead form asset
sincestringnonYYYY-MM-DD, submissions on or after this day
untilstringnonYYYY-MM-DD, submissions on or before this day
limitnumbernonhow many, 1 to 1,000 (default 100)
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

manage_google_ads_manager_links

Google Ads manager (MCC) links

Agency setup on Google Ads: the manager (MCC) and client account tree, and the links between them. action hierarchy (default) shows each shared account's clients and managers with link status and managerLinkId, pending invitations included. invite: managerCustomerId sends clientCustomerId an invitation (PENDING until the client accepts). accept / decline: answer an invitation as the client. cancel: withdraw a pending invitation, as the manager. unlink: end an active link, as the manager. accept and unlink change who controls the account, so they need confirm:true after the user agrees; validateOnly:true has Google check any write first. Read back from Google. Free.

ParamètreTypeRequisDescription
actionenum: "hierarchy" | "invite" | "accept" | "decline" | "cancel" | "unlink"nonhierarchy (default), invite, accept, decline, cancel or unlink
customerIdstringnonhierarchy: only the tree of this shared account; omit for every shared account
managerCustomerIdstringnonthe manager (MCC) account id
clientCustomerIdstringnonthe client account id
managerLinkIdstringnonfrom action hierarchy (accept, decline, cancel, unlink)
validateOnlybooleannontrue = Google checks it, nothing changes
confirmbooleannontrue after the user agreed (accept, unlink)
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

manage_google_ads_user_access

Google Ads account users and invitations

Who can use a Google Ads account. action list (default): users with their role and user id, and email invitations with their status. invite: emailAddress + accessRole (ADMIN, STANDARD, READ_ONLY, EMAIL_ONLY); Google emails them; ADMIN needs confirm:true. revoke: withdraw a pending invitation (invitationId). set_role: change a user's accessRole (userId). remove: take a user's access away (userId). set_role and remove need confirm:true after the user agrees. pending_approvals: the invitations and access changes Google is HOLDING until a second admin approves them (accounts with multi-party approval), status PENDING by default; withdraw_approval: cancel one (multiPartyAuthReviewId), so the address can be invited again. Read back from Google. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "invite" | "revoke" | "set_role" | "remove" | "pending_approvals" | "withdraw_approval"nonlist (default), invite, revoke, set_role, remove, pending_approvals or withdraw_approval
multiPartyAuthReviewIdstringnonwithdraw_approval: from pending_approvals or a held invite
statusenum: "PENDING" | "APPROVED" | "REJECTED" | "REVOKED" | "EXPIRED"nonpending_approvals: PENDING (default), APPROVED, REJECTED, REVOKED or EXPIRED
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
emailAddressstringnonwho to invite
accessRoleenum: "ADMIN" | "STANDARD" | "READ_ONLY" | "EMAIL_ONLY"nonADMIN, STANDARD, READ_ONLY or EMAIL_ONLY
invitationIdstringnonfrom action list (revoke)
userIdstringnonfrom action list (set_role, remove)
confirmbooleannontrue after the user agreed
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

google_ads_billing

Google Ads billing (monthly invoicing)

Billing on a Google Ads account. action get (default): the manager's monthly-invoicing payments accounts the account can be billed to, its billing setups and its account budgets, read live. action setup: bill the account to one of those payments accounts (paymentsAccountId) and propose an account budget (spendingLimit in the account currency, or none for no limit; budgetName, purchaseOrderNumber). Google's API cannot add a card: an account without monthly invoicing is billed in Google Ads itself. setup lets the account spend, so it needs confirm:true after the user agrees. Free.

ParamètreTypeRequisDescription
actionenum: "get" | "setup"nonget (default) or setup
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
paymentsAccountIdstringnon16-digit payments account id from action get
spendingLimitnumbernonaccount budget limit in the account currency; omit for no limit
budgetNamestringnonname of the account budget
purchaseOrderNumberstringnonpurchase order number on the invoice
validateOnlybooleannontrue = check the budget proposal only
confirmbooleannontrue after the user agreed (setup)
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

create_google_ads_account

Create a Google Ads client account under a manager

Create a new Google Ads client account under a manager (MCC) account shared with this brand: name, currency (ISO, permanent) and timeZone (IANA, permanent); optionally emailAddress + accessRole to invite its owner. Google accounts cannot be deleted, only cancelled, and Google decides which managers may create accounts. Needs confirm:true after the user agrees; dryRun:true has Google validate it. The new account has no billing (google_ads_billing). To build on it here, add it with set_connector_accounts. Free.

ParamètreTypeRequisDescription
managerCustomerIdstringouithe manager (MCC) account it goes under
namestringouiaccount name
currencystringouiISO 4217, e.g. USD; permanent
timeZonestringouiIANA time zone, e.g. America/New_York; permanent
emailAddressstringnoninvite this person onto it
accessRoleenum: "ADMIN" | "STANDARD" | "READ_ONLY" | "EMAIL_ONLY"nontheir role, default ADMIN
dryRunbooleannontrue = Google validates it, nothing is created
confirmbooleannontrue after the user agreed
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

list_google_ads_local_services_leads

Read Google Local Services Ads leads

The calls, messages and bookings a Google Local Services campaign produced, newest first: type, status, whether Google charged for it, the consumer's name and phone, category. Filter by fromDate / toDate (YYYY-MM-DD), leadType, leadStatus, chargedOnly. Pass leadId for that lead's conversation (calls with duration and recording link, messages with text). Read-only, free. These are the advertiser's own leads and contain personal details: show them to the user who asked.

ParamètreTypeRequisDescription
customerIdstringnonGoogle Ads account id, 10 digits (dashes ok); omit for the brand's default account
fromDatestringnonYYYY-MM-DD
toDatestringnonYYYY-MM-DD
leadTypeenum: "PHONE_CALL" | "MESSAGE" | "BOOKING" | "COUPON"nonPHONE_CALL, MESSAGE, BOOKING or COUPON
leadStatusstringnonNEW, ACTIVE, BOOKED, DECLINED, EXPIRED, DISABLED, CONSUMER_DECLINED or WIPED_OUT
chargedOnlybooleannononly leads Google charged for
leadIdstringnonone lead's conversation
limitnumbernon1 to 1,000, default 100
loginCustomerIdstringnonmanager (MCC) account id, when the account is managed through one

manage_meta_business

Meta business portfolio people and asset access

Agency setup on Meta Business Manager, for the person who connected Meta. action list_businesses (default): the business portfolios on this login. list_people: a business's people, system users and pending invitations, with the user ids the assign actions take. invite (email, role) / cancel_invite (invitationId) / remove_person (userId). person_assets: the ad accounts and Pages one person can reach, with tasks. list_ad_account_people, assign_ad_account, unassign_ad_account (adAccountId, userId, tasks MANAGE / ADVERTISE / ANALYZE / DRAFT). list_page_people, assign_page, unassign_page (pageId, userId, tasks MANAGE / CREATE_CONTENT / MODERATE / MESSAGING / ADVERTISE / ANALYZE). An assignment replaces the person's tasks on that asset. Removing access, narrowing tasks and inviting an ADMIN need confirm:true after the user agrees. Read back from Meta. Free.

ParamètreTypeRequisDescription
actionenum: "list_businesses" | "list_people" | "invite" | "cancel_invite" | "remove_person" | "person_assets" | "list_ad_account_people" | "assign_ad_account" …nonwhat to do
businessIdstringnonbusiness portfolio id from list_businesses
userIdstringnonbusiness-scoped user id from list_people
adAccountIdstringnonad account the business owns or was shared
pageIdstringnonPage the business owns or was shared
tasksarray<string>nontasks to give on that asset
emailstringnonwho to invite
roleenum: "ADMIN" | "EMPLOYEE" | "FINANCE_EDITOR" | "FINANCE_ANALYST" | "DEVELOPER" | "ADS_RIGHTS_REVIEWER"nonbusiness role, default EMPLOYEE
invitationIdstringnonpending invitation id from list_people
confirmbooleannontrue after the user agreed

create_meta_ad_account

Create a Meta ad account in a business portfolio

Create a new Meta ad account inside one of this login's business portfolios: businessId, name, currency (ISO, permanent), timezoneId (Meta's numeric id, 1 = America/Los_Angeles; permanent). Optional endAdvertiser / mediaAgency / partner (a Page or app id, default NONE), fundingId, invoice, invoiceGroupId, invoicingEmails, io, poNumber. Meta ad accounts cannot be deleted, only closed, and Meta caps how many a business may create. Needs confirm:true after the user agrees. The account starts with no payment method; to build on it here, add it with set_connector_accounts. Free.

ParamètreTypeRequisDescription
businessIdstringouibusiness portfolio id
namestringouiad account name
currencystringouiISO 4217, e.g. USD; permanent
timezoneIdnumberouiMeta's numeric time zone id; permanent
endAdvertiserstringnonPage or app id the ads are for, or NONE
mediaAgencystringnonagency Page or app id, or NONE
partnerstringnonpartner Page or app id, or NONE
fundingIdstringnonpayment method id
invoicebooleannonattach to the business credit line
invoiceGroupIdstringnoninvoice group id
invoicingEmailsarray<string>nonwho receives invoices
iobooleannondirect-sales insertion order
poNumberstringnonpurchase order number
confirmbooleannontrue after the user agreed

manage_meta_reach_frequency

Meta reach and frequency predictions and reservations

Reach and frequency buying on Meta. action list (default) / get (predictionId). predict: a QUOTE, nothing is bought: startDate, endDate (at most 8 weeks ahead, ending at midnight or after 06:00 account time) and exactly one of budgetAmount (Meta predicts reach) or reach (Meta predicts the budget); optional frequencyCap, targeting (one country), pageId, objective. reserve locks the quoted price and inventory and returns a NEW prediction id for the campaign; cancel releases a reservation. reserve and cancel need confirm:true after the user agrees. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "predict" | "get" | "reserve" | "cancel"nonlist (default), predict, get, reserve or cancel
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
predictionIdstringnonfrom predict or list
budgetAmountnumbernonlifetime budget in the account currency
reachnumbernonpeople to reach
startDatestringnonISO date-time
endDatestringnonISO date-time
frequencyCapnumbernonimpressions per person
intervalFrequencyCapResetPeriodnumbernonhours (multiple of 24) the cap resets over
targetingobjectnonMeta targeting spec, one country
pageIdstringnonthe Page promoted
objectivestringnonREACH (default), BRAND_AWARENESS, VIDEO_VIEWS, LINK_CLICKS, POST_ENGAGEMENT
confirmbooleannontrue after the user agreed (reserve, cancel)

manage_meta_budget_schedules

Meta scheduled budget increases

Scheduled budget increases (high-demand periods) on a Meta campaign or ad set, for a sale or launch. action list (default) / create / delete, with exactly one of campaignId or adSetId (the one holding the budget). create: budgetValueType ABSOLUTE (budgetValue added to the daily budget, in the account currency) or MULTIPLIER (budgetValue = percent increase), timeStart and timeEnd on 15-minute boundaries, optional recurrenceType. A campaign cannot mix ABSOLUTE and MULTIPLIER. To change one, delete and create. create and delete need confirm:true after the user agrees. Read back. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "create" | "delete"nonlist (default), create or delete
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
campaignIdstringnoncampaign with an Advantage+ campaign budget
adSetIdstringnonad set holding the budget
scheduleIdstringnonfrom list (delete)
budgetValueTypeenum: "ABSOLUTE" | "MULTIPLIER"nonABSOLUTE or MULTIPLIER
budgetValuenumbernonamount or percent
timeStartstringnonISO date-time, 15-minute boundary
timeEndstringnonISO date-time, 15-minute boundary
recurrenceTypestringnonONE_TIME (default), WEEKLY or MONTHLY
confirmbooleannontrue after the user agreed

manage_meta_value_rules

Meta value rule sets (bid by audience segment)

Value rules raise or lower Meta bids for audience segments worth more or less to the advertiser. action list (default) / get / create / replace / delete. rules: [{name, adjustSign INCREASE (1-1000%) or DECREASE (1-90%), adjustValue, criteria: [{criteriaType AGE, GENDER, OS_TYPE, DEVICE_PLATFORM, LOCATION, PLACEMENT, OMNI_CHANNEL or AUDIENCE_LABEL, criteriaValues, criteriaValueTypes (LOCATION only: LOCATION_COUNTRY / REGION / CITY / COMSCORE_MARKET)}]}]; rule order matters, the first match adjusts. Up to 6 sets, 10 rules, 4 criteria. replace sends the WHOLE set (get first; keep ids to keep rules); dropping rules and delete need confirm:true. Attach with update_meta_object on an ad set (value_rule_set_id, value_rules_applied:true). Free.

ParamètreTypeRequisDescription
actionenum: "list" | "get" | "create" | "replace" | "delete"nonlist (default), get, create, replace or delete
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
valueRuleSetIdstringnonfrom list
namestringnonrule set name
rulesarray<object>nonthe rules, in order
confirmbooleannontrue after the user agreed

list_meta_ad_studies

Read a Meta ad account's A/B tests and lift studies

The A/B tests and lift studies on a Meta ad account: name, type, timing and the test cells with their split and campaigns or ad sets. Read results per cell with meta_insights. fields overrides the Graph projection. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
fieldsstringnonGraph fields override
limitnumbernonrows per page, up to 100
afterstringnonpaging cursor

meta_ad_account_settings

Meta ad account settings: spend cap and EU DSA defaults

A Meta ad account's own settings. action get (default): name, status, currency, the account SPEND CAP and how much is spent against it, the default EU DSA beneficiary and payor, and Meta's suggested names for those two fields. action update: name; spendCap (the total the account may spend, in the account currency, e.g. 500 for 500.00; null removes the cap); resetAmountSpent:true (sets the amount spent against the cap back to 0); dsaBeneficiary + dsaPayor (the defaults every EU-targeted ad set inherits; send both, two empty strings clear them). Raising or removing the cap and resetting the amount spent let the account spend more, so they need confirm:true after the user agrees; lowering a cap, renaming and DSA defaults do not. When a cap is reached Meta pauses every campaign on the account. Read back from Meta. Free.

ParamètreTypeRequisDescription
actionenum: "get" | "update"nonget (default) or update
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
namestringnonnew account name (update)
spendCapnumber | nullnonupdate: the account spend cap in the account currency; null removes it
resetAmountSpentbooleannonupdate: true sets the amount spent against the cap back to 0
dsaBeneficiarystringnonupdate: default EU DSA beneficiary (send with dsaPayor; "" clears)
dsaPayorstringnonupdate: default EU DSA payor (send with dsaBeneficiary; "" clears)
confirmbooleannontrue after the user agreed to raise or remove the cap or reset the amount spent

meta_ad_account_activity

Who changed what on a Meta ad account

The change log of a Meta ad account, newest first: who created, edited, paused or re-budgeted which campaign, ad set or ad, when, from which app, with the value before and after. Use it for "what changed before performance dropped". since / until (YYYY-MM-DD or ISO) narrow the window; objectId keeps one campaign, ad set or ad (Meta has no per-object filter here, so it filters each page; pass after to go further back). Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
sincestringnonstart (YYYY-MM-DD, ISO or unix)
untilstringnonend (YYYY-MM-DD, ISO or unix)
objectIdstringnononly this campaign, ad set or ad
limitnumbernonrows per page, up to 200
afterstringnonpaging cursor

list_meta_advertisable_apps

Apps a Meta ad account can promote

The mobile apps a Meta ad account may promote in app-install ads, with their platforms and store links. Pass applicationId to also read Meta's iOS 14 campaign limits for that app on this account (how many iOS 14+ campaigns it may run); that read does not prove the app is set up for iOS promotion. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
applicationIdstringnonone app id: also read its iOS 14 campaign limits
businessIdstringnonlimit to apps of this business

list_meta_ad_instagram_accounts

Instagram identities a Meta ad account can run ads as

action accounts (default): the Instagram accounts a Meta ad account can run ads as (connected to the ad account, its Instagram accounts, and the Instagram account or Page-backed account of each Page it promotes), each with the id create_meta_ad takes as instagramUserId. action posts (igUserId): that account's posts, newest first, each id usable as create_meta_ad boostPostId with boostTarget "instagram" (whether Meta says it can be boosted is shown when Meta reports it); no separate Instagram connection is needed. A source that could not be read is named, never counted as none. Read-only, free.

ParamètreTypeRequisDescription
actionenum: "accounts" | "posts"nonaccounts (default) or posts
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
igUserIdstringnonposts: the Instagram account id from action accounts
limitnumbernonposts per page, up to 50
afterstringnonpaging cursor

manage_meta_ad_library

A Meta ad account's creative, image, video and label libraries

The libraries inside a Meta ad account. resource creatives: list | get (creativeId) | create (a reusable creative WITHOUT an ad: pageId, imageHash or videoId + imageHash as its thumbnail, link, optional message, headline, description, cta, instagramUserId, name; it spends nothing) | rename (creativeId, name: Meta lets only the name change; make a new creative to change its content) | delete (Meta refuses while an ad uses it). resource images: list | get (imageHash) | delete. resource videos: list | get or status (videoId: whether Meta finished processing it) | delete. resource labels: list. Reuse a creative with creativeId, an image with imageHash and a video with videoId on create_meta_ad / update_meta_object. Deletes are permanent and need confirm:true after the user agrees; nothing else spends or changes delivery. Free.

ParamètreTypeRequisDescription
resourceenum: "creatives" | "images" | "videos" | "labels"noncreatives (default), images, videos or labels
actionenum: "list" | "get" | "status" | "create" | "rename" | "delete"nonlist (default), get, status (videos), create or rename (creatives), or delete
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
creativeIdstringnoncreatives: the creative
imageHashstringnonimages: the image hash
videoIdstringnonvideos: the video id
namestringnonrename: the new name; create: the creative's name
pageIdstringnoncreate: the Facebook Page the ad runs as
linkstringnoncreate: the https address a click opens
messagestringnoncreate: the primary text
headlinestringnoncreate: the headline
descriptionstringnoncreate: the link description
ctastringnoncreate: call-to-action type, default LEARN_MORE
instagramUserIdstringnoncreate: run it on Instagram as this account (list_meta_ad_instagram_accounts)
limitnumbernonrows per page, up to 100
afterstringnonpaging cursor
confirmbooleannontrue after the user agreed to the delete

get_meta_ad_media

Direct image and video links of a Meta ad

Fresh, direct download links for every image and video a live Meta ad uses (single image, video, carousel cards, dynamic creative assets), plus the media of the Instagram post when the ad boosts one. Links are short-lived: ask again for new ones. Use it to download, review or reuse an ad's real creative. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
adIdstringouithe ad (list_meta_ads level ad)

meta_insights_report

Meta insights as a background report

Meta insights for long date ranges or big accounts, where meta_insights would be too slow: Meta builds the report in the background. action start: objectId (a campaign, ad set or ad; omit for the whole account), level, fields, breakdowns, actionBreakdowns, datePreset or since + until (YYYY-MM-DD), timeIncrement (1 = daily, "monthly"), filtering; returns reportRunId. action get (reportRunId): progress while it runs, then the rows (pass after for more pages). An unfinished or failed report says so and is never shown as an empty one. Spends nothing, free.

ParamètreTypeRequisDescription
actionenum: "start" | "get"nonstart (default) or get
adAccountIdstringouiMeta ad account id (act_123 or the bare number); it must be one this brand has shared
objectIdstringnonstart: campaign, ad set or ad id; omit for the account
levelenum: "account" | "campaign" | "adset" | "ad"nonstart: account, campaign, adset or ad
fieldsarray<string>nonstart: insights fields (default spend, impressions, reach, clicks, cpc, cpm, ctr, actions)
breakdownsarray<string>nonstart: e.g. age, gender, country, publisher_platform
actionBreakdownsarray<string>nonstart: e.g. action_type
datePresetstringnonstart: e.g. last_90d, this_year (default last_30d)
sincestringnonstart: YYYY-MM-DD
untilstringnonstart: YYYY-MM-DD
timeIncrementstringnonstart: 1 (daily), 7, monthly or all_days
filteringarray<object>nonstart: Meta filter objects {field, operator, value}
reportRunIdstringnonget: from action start
limitnumbernonget: rows per page, up to 500
afterstringnonget: paging cursor

manage_meta_pixel

Manage a Meta pixel (sharing, people, health)

One Meta pixel on an ad account this brand chose: action get (default; the full pixel: install snippet, when it last fired, owner business, automatic advanced matching and its fields, first-party cookies) | update (name, enableAutomaticMatching, automaticMatchingFields, firstPartyCookies enabled/disabled, dataUseSetting; read back; switching matching or first-party cookies OFF lowers measurement for every ad on the pixel, so it needs confirm:true after the user agrees) | shared_accounts (the ad accounts it is shared with) | share / unshare (targetAdAccountId, which must be one of this brand's ad accounts; unshare stops that account's ads measuring on it, so it needs confirm:true) | users (the business people on it, with their tasks) | assign_user (userId from manage_meta_business list_people, tasks AA_ANALYZE / ADVERTISE / ANALYZE / EDIT / UPLOAD; an assignment replaces their tasks, so narrowing them needs confirm:true) | remove_user (Meta has no API for it: the reply says where to do it) | partners (the partner businesses it is shared with; sharing with a new partner is done in Business Settings) | diagnostics (Meta's Events Manager checks: missing parameters, catalog mismatches) | stats (event counts by aggregation, default event; since / until). pixelId is the id or the exact name from list_meta_pixels. Free.

ParamètreTypeRequisDescription
actionenum: "get" | "update" | "shared_accounts" | "share" | "unshare" | "users" | "assign_user" | "remove_user" …nondefault get
adAccountIdstringouiMeta ad account id (act_123 or digits) the pixel is on or shared with; it must be one this brand has shared
pixelIdstringouipixel id, or its exact name, from list_meta_pixels
namestringnonupdate: new pixel name
enableAutomaticMatchingbooleannonupdate: automatic advanced matching on or off
automaticMatchingFieldsarray<string>nonupdate: the fields matched, from em, fn, ln, ph, ge, zp, ct, st, country, db, external_id
firstPartyCookiesenum: "enabled" | "disabled"nonupdate: first-party cookies
dataUseSettingstringnonupdate: Meta's data use setting, e.g. ADVERTISING_AND_ANALYTICS or ANALYTICS_ONLY
targetAdAccountIdstringnonshare / unshare: the ad account to give the pixel to or take it from (one of this brand's)
userIdstringnonassign_user / remove_user: business-scoped user id from manage_meta_business list_people
tasksarray<string>nonassign_user: AA_ANALYZE, ADVERTISE, ANALYZE, EDIT, UPLOAD
aggregationstringnonstats: event (default), host, url, device_type, browser_type, match_keys, event_source, …
sincestringnonstats: start, ISO date or unix seconds
untilstringnonstats: end, ISO date or unix seconds
confirmbooleannontrue after the user agreed (lowering matching / cookies, unshare, narrowing someone's tasks)

manage_meta_test_lead

Meta instant form test lead

Prove a Meta lead pipeline end to end without running ads: action create (a test lead on the form; fields is an optional object of question key to answer, otherwise Meta fills dummy answers) | get (the form's test lead) | delete (the test lead, or leadId). Meta keeps ONE test lead per form and refuses a second until the first is deleted. A test lead goes through the same retrieval as a real one (read_meta_leads, lead webhooks, CRM syncs), spends nothing and reaches nobody; Meta deletes only test leads. formId from list_meta_lead_forms. Read back. Free.

ParamètreTypeRequisDescription
actionenum: "create" | "get" | "delete"nondefault get
formIdstringouiinstant form id, from list_meta_lead_forms
fieldsobjectnoncreate: question key to answer, e.g. {"email":"[email protected]"}; omit for Meta's dummy answers
leadIdstringnondelete: the test lead id (default: the form's test lead)
pageIdstringnonthe Page the form is on, when the brand has several

manage_meta_audience

Rename a Meta audience or remove people from it

Change an existing Meta custom audience: action rename (name and/or description; read back) | remove_users (take people OUT of a customer list: schema + rows in the same shape create_meta_audience uploads, e.g. schema ["EMAIL"] and rows [["[email protected]"]]; Hermoso normalises and SHA-256-hashes every value exactly as an upload does, so a row removes the person it added; up to 10,000 rows; customer lists only). Removing people narrows who ads reach, so it needs confirm:true after the user agrees; Meta applies it in the background and reports how many rows it received. Add people with create_meta_audience (audienceId + rows); delete a whole audience with delete_meta_audience. Free.

ParamètreTypeRequisDescription
actionenum: "rename" | "remove_users"ouirename or remove_users
adAccountIdstringouiMeta ad account id (act_123 or digits); one this brand has shared
audienceIdstringouicustom audience id, from list_meta_audiences
namestringnonrename: new name
descriptionstringnonrename: new description
schemaarray<string>nonremove_users: column names in order, from EMAIL, PHONE, FN, LN, FI, CT, ST, ZIP, COUNTRY, DOB, DOBY, GEN, MADID, EXTERN_ID
rowsarray<array<string>>nonremove_users: the people, each row in schema order (plain text or SHA-256 already)
confirmbooleannonremove_users: true after the user agreed

list_meta_partnership_ad_content

Creator posts available for Meta partnership ads

Posts this brand can run as PARTNERSHIP ADS: the content of Meta's Partnership Ads Hub (Meta's Partnership Ads Content Discovery API, on the brand's business). Browse with filters (creatorUsername or creatorIgUserIds, platforms INSTAGRAM / FACEBOOK, mediaTypes, postTypes FEED / STORY / REEL, contentTypes such as BRANDED_CONTENT or COLLAB_POST, adEligibilities AD_READY / NEEDS_ATTENTION / INELIGIBLE, adUsages NEVER_USED / ACTIVE / PREVIOUSLY_USED, countryCodes, startDate + endDate, search over captions, sortBy RECOMMENDED or DATE, recommendedOnly), or look posts up directly by ONE of postUrl / postUrls, adCodes or contentIds (up to 50). Each post comes back with its link, author, whether it is ad-ready and why not, the creator's permission status and its partnership ad code. Build the ad with create_meta_ad partnershipAdCode. When Meta refuses the read, the reply says it is Meta's access gate, not a connection problem. Read-only, free.

ParamètreTypeRequisDescription
creatorUsernamestringnona creator's Instagram handle (business or creator account)
creatorIgUserIdsarray<string>noncreators' Instagram user ids
postUrlstringnonone Instagram or Facebook post link (direct lookup)
postUrlsarray<string>nonseveral post links, up to 50 (direct lookup)
adCodesarray<string>nonpartnership ad codes, up to 50 (direct lookup)
contentIdsarray<string>nonInstagram media or Facebook post ids, up to 50 (direct lookup)
platformsarray<string>nonINSTAGRAM, FACEBOOK
mediaTypesarray<string>nonIMAGE, VIDEO, CAROUSEL, LINK
postTypesarray<string>nonFEED, STORY, REEL
contentTypesarray<string>nonBRANDED_CONTENT, PRODUCT, AFFILIATE, COLLAB_POST, TAGGED, REPOSTED
adEligibilitiesarray<string>nonAD_READY, INELIGIBLE, NEEDS_ATTENTION, EXCLUDED
adUsagesarray<string>nonNEVER_USED, ACTIVE, PREVIOUSLY_USED
countryCodesarray<string>noncreator countries, two-letter codes
startDatestringnonYYYY-MM-DD, with endDate
endDatestringnonYYYY-MM-DD, with startDate
searchstringnonwords in the caption
sortByenum: "RECOMMENDED" | "DATE"nondefault RECOMMENDED
recommendedOnlybooleannononly posts Meta recommends
limitnumbernon1-50, default 25
afterstringnonthe next-page cursor
businessIdstringnonthe business portfolio, when the Page's own cannot be read
pageIdstringnonthe Page whose Instagram account runs the ads, when the brand has several

list_ad_rule_templates

Ready-made ad rules (Meta and Google Ads)

Ready-made automated ad rules to start from: stop losers, scale winners, pause spend with no conversions, creative fatigue alert, spend spike alert, trim expensive clicks. Each is a complete body for create_meta_ad_rule or create_google_ads_rule: add the ad account, adjust the thresholds it names, send it (rules are created switched off). Filter by platform (meta or google_ads) or id. Nothing is created. Free.

ParamètreTypeRequisDescription
platformenum: "meta" | "google_ads"nonmeta or google_ads; omit for both
idstringnonone template id

stage_ad_change

Hold an ad change for a person to confirm

Put an ad change on HOLD for a person to confirm instead of making it now. Pass tool (the ad write you would have called, for example set_meta_campaign_status, update_meta_object, set_google_ads_budget, set_tiktok_ads_status, delete_linkedin_ads_object) and args (exactly the arguments you would have sent, without confirm). Nothing reaches the ad platform. The person confirms or discards it in the Hermoso app (Schedule, Autopilot, Needs review), or you call confirm_ad_change after they agree. Use it when the user wants to review ad changes before they go live, or for any change you are not sure they want made now. The reply says what will change and, for a Meta campaign, ad set or ad or a Google campaign, its current values. Only writes to an ad account can be staged; reads and dry runs cannot. Staging the same call twice returns the first. Free.

ParamètreTypeRequisDescription
toolstringouithe ad write tool to run later, e.g. set_meta_campaign_status
argsobjectnonthe arguments that tool takes, exactly as you would send them (no confirm)
notestringnonwhy, shown to the person who confirms (optional)

list_ad_changes

List staged ad changes

The ad changes waiting for confirmation on this brand (status staged, the default), or the confirmed, failed or discarded ones, or all: id, what each changes, who staged it and when, newest first. A confirmed or failed change stays listed for 7 days. Read-only, free.

ParamètreTypeRequisDescription
statusenum: "staged" | "confirmed" | "failed" | "discarded" | "all"nondefault staged (waiting)
platformstringnononly one ad platform, e.g. meta, google_ads, tiktok_ads

get_ad_change

Read one staged ad change

One staged ad change in full: the exact call, what it changes (after), the values it had when it was staged (before, read live from Meta or Google Ads where possible), and once decided the ad platform's own answer. Read-only, free.

ParamètreTypeRequisDescription
changeIdstringouifrom list_ad_changes or stage_ad_change

confirm_ad_change

Apply a staged ad change

Apply a staged ad change now. It runs the staged call exactly as stored, through the same checks a direct call makes (the ad account must still be shared with this brand, blast-radius checks apply, the result is read back from the platform). IT CAN START OR RAISE AD SPEND: call it once without confirm to get the change described, show the user, get an explicit yes, then call again with confirm:true. A change runs at most once; one the platform refuses is marked failed with the platform's own words. Free.

ParamètreTypeRequisDescription
changeIdstringouifrom list_ad_changes
confirmbooleannontrue only after the user agreed to this exact change

discard_ad_change

Discard a staged ad change

Drop a staged ad change. Nothing was ever sent to the ad platform, so there is nothing to undo. A change that was already confirmed or failed cannot be discarded. Free.

ParamètreTypeRequisDescription
changeIdstringouifrom list_ad_changes

create_tiktok_ads_identity

Create a TikTok custom ad identity

Create a TikTok CUSTOM IDENTITY (CUSTOMIZED_USER) on the brand's TikTok ad account: the name and avatar a non-Spark ad shows. displayName (1 to 40 characters) and avatarUrl (a public https square image; upload_file makes one) are required; advertiserId defaults to the brand's ad account. TikTok is retiring custom-identity ads: new ad accounts cannot run them, and ad groups delivering on TikTok placements refuse them, so Spark Ads (a real TikTok account, list_tiktok_ads_identities) is the path for most ads. Read back from TikTok. Free.

ParamètreTypeRequisDescription
displayNamestringoui
avatarUrlstringoui
advertiserIdstringnon

create_google_ads_performance_max_campaign

Create a Google Ads Performance Max campaign

Build a PERFORMANCE MAX campaign — Google’s cross-surface campaign type (Search, YouTube, Display, Discover, Gmail, Maps). ALWAYS created PAUSED; it spends NOTHING until you enable it with set_google_ads_status(confirm:true). PMax has NO manual bidding and NO keywords: it bids only on conversions, so the account MUST already have a conversion action — check with list_google_ads_conversion_actions, because this REFUSES rather than build a campaign that cannot optimise. Creative lives in an ASSET GROUP, and Google’s minimums are enforced before anything is sent: 3–15 headlines (≤30 chars), 1–5 longHeadlines (≤90), 2–5 descriptions (≤90), one businessName (≤25), at least one LOGO (1:1), one MARKETING_IMAGE (1.91:1) and one SQUARE_MARKETING_IMAGE (1:1) — upload the images with upload_google_ads_asset first and pass their asset resource names. A YouTube video is optional (Google generates one from the asset group if you omit it). Brand guidelines: since Google Ads API v21 they are ON by default for new PMax campaigns, which means the businessName and LOGO assets are linked to the CAMPAIGN (CampaignAsset), not to the asset group — Hermoso does that for you. Leave brandGuidelinesEnabled alone unless the user wants the older asset-group layout, and pass false for that. Budget, campaign, location/language targeting, the asset group and every asset link go up in ONE ATOMIC operation — if any part is rejected, nothing at all is created — and the whole tree is READ BACK from Google befo…

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
namestringouicampaign name
dailyBudgetUsdnumbernondaily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) — or pass budgetResourceName
budgetResourceNamestringnonan existing budget to reuse
biddingobjectnonbidding {strategy, targetCpaUsd, targetRoas}; no manual bidding, strategy defaults to MAXIMIZE_CONVERSIONS
locationsarray<string>nonplace NAMES ("United States", "Toronto") — resolved for you
excludedLocationsarray<string>nonplaces to block
languagesarray<string>nonISO codes, e.g. ["en"]
countryCodestringnon2-letter hint to disambiguate a city name
startDatestringnonYYYY-MM-DD
endDatestringnonYYYY-MM-DD
finalUrlSuffixstringnonUTMs appended to every click, e.g. "utm_source=google&utm_medium=cpc". Omit for our default (utm_source/medium/campaign + {campaignid}/{creative}); "" for none
trackingUrlTemplatestringnonclick-tracking redirect, e.g. "{lpurl}?src=x" — only if you use a tracker
urlCustomParametersobjectnonup to 8 custom parameters, used in URLs as {_key}
containsEuPoliticalAdsbooleannontrue ONLY for genuine EU political advertising
merchantCenterIdstringnonmakes this a RETAIL (Shopping-feed) Performance Max — the Merchant Center account whose products it advertises, from list_merchant_accounts. It advertises the WHOLE feed; partitioning by brand/category is not built and is refused by name
feedLabelstringnonoptional, retail only: narrow to ONE Merchant Center feed by its feed label. Omit to use products from all feeds
brandGuidelinesEnabledbooleannondefault TRUE, matching Google’s own default since v21: businessName + logos are linked to the CAMPAIGN. Pass false only for the pre-v21 layout, where they sit on the asset group instead
imageExtractionbooleannondefault FALSE: Google may NOT take images from your landing pages and serve them as ad creative. Sent explicitly, because Google switches image extraction ON by default for new Performance Max campaigns from 2026-12-04. Pass true to allow it; the reply reads the setting back from Google
assetGroupobjectouithe creative — Google requires every field above before a PMax campaign can serve
dryRunbooleannonvalidate the whole tree against Google and create NOTHING
loginCustomerIdstringnonmanager id if operating through an MCC

google_ads_keyword_ideas

Keyword ideas with real Google search volume

Google’s own KEYWORD PLANNER: real keyword ideas with average monthly search volume, competition level and top-of-page bid estimates, so keyword choices are measured instead of guessed. Seed it with keywords[] (terms you already have), url (one landing page to mine) or site (a whole domain — the fastest way to size a competitor). Narrow by locations (place NAMES, resolved for you) and language. Results come back sorted by monthly volume. Use this BEFORE add_google_ads_keywords or create_google_ads_campaign so the ad group targets terms people actually search, and quote the volumes when you propose them. Read-only, free, spends nothing and creates nothing.

ParamètreTypeRequisDescription
customerIdstringnon10-digit account id (dashes ok) — omit to use the brand’s selected default account
keywordsarray<string>nonup to 20 seed terms
urlstringnonone page to mine for ideas
sitestringnona whole domain to mine, e.g. example.com
locationsarray<string>nonplace NAMES, e.g. ["United States"]
languagestringnonISO code, e.g. "en"
countryCodestringnon2-letter hint to disambiguate a city name
networkenum: "GOOGLE_SEARCH" | "GOOGLE_SEARCH_AND_PARTNERS"nondefault GOOGLE_SEARCH
limitnumbernonhow many ideas to return (1–200, default 50)
modeenum: "ideas" | "historical"nonhistorical = volume, competition, bids and month-by-month searches of the keywords you pass (up to 10,000), not new ideas
startMonthstringnonhistorical only: YYYY-MM, with endMonth; default the past 12 months
endMonthstringnonhistorical only: YYYY-MM
loginCustomerIdstringnonmanager id if operating through an MCC

check_email_address

Check an email address

Check one email address without sending anything: whether it is written correctly, whether its domain can receive mail (MX records), and whether it is a throwaway inbox, a role address such as info@ or sales@, a free provider such as Gmail, or a likely typo (gmial.com, with the fix). It never contacts the mail server, so it cannot tell whether that one mailbox exists, and the answer says so. Free.

ParamètreTypeRequisDescription
addressstringouithe email address, e.g. [email protected]

check_domain_email_health

Check a domain’s email setup

Check a domain’s email setup from public DNS and say what to fix: MX (who receives its mail), SPF (which servers may send as it, counted against the 10-lookup limit), DKIM (signing keys; pass the selector when known, otherwise common ones are tried), DMARC (policy and reports) and blocklists (its mail servers on public spam lists whose terms allow this lookup). Pass `checks` to run only some. Use it when mail lands in spam, before sending a campaign, or to check SPF, DKIM or DMARC. Free; reads DNS only.

ParamètreTypeRequisDescription
domainstringouithe domain, e.g. example.com (a URL or an email address also works)
checksarray<enum: "mx" | "spf" | "dkim" | "dmarc" | "blocklists">nonwhich checks to run; omit for all five
selectorstringnonthe DKIM selector, the s= value in the DKIM-Signature header of a sent message

generate_dns_record

Write an SPF or DMARC record

Write an SPF or DMARC TXT record from plain choices, ready to paste at the DNS host. SPF: `providers` by id (google, microsoft, zoho, fastmail, proton, icloud, godaddy, namecheap, mailgun, zendesk, salesforce, freshdesk; amazonses, sendgrid, postmark, mailchimp, brevo, hubspot, klaviyo, shopify and intercom answer with what they need instead), extra `include` domains, `ip4`/`ip6` addresses and the ending (~all by default); with a `domain`, the includes are read and counted against the 10-lookup limit. DMARC: `policy` none, quarantine or reject, `rua` report addresses and alignment. It writes the record; publishing it at the DNS host is the user’s step. Free.

ParamètreTypeRequisDescription
typeenum: "spf" | "dmarc"oui
domainstringnonthe domain the record is for; fills in the host name
providersarray<string>nonSPF: sending services by id, e.g. ["google", "mailgun"]
includearray<string>nonSPF: extra include domains
ip4array<string>nonSPF: IPv4 addresses or ranges
ip6array<string>nonSPF: IPv6 addresses or ranges
mxbooleannonSPF: let the domain’s own MX servers send
abooleannonSPF: let the domain’s own address send
allenum: "~all" | "-all" | "?all"nonSPF ending, default ~all
policyenum: "none" | "quarantine" | "reject"nonDMARC policy, default none
subdomainPolicyenum: "none" | "quarantine" | "reject"non
ruaarray<string>nonDMARC: addresses for the daily aggregate reports
rufarray<string>nonDMARC: addresses for failure reports
adkimenum: "r" | "s"non
aspfenum: "r" | "s"non

check_spam_words

Check an email for spam words

Scan a subject line and email text for words and formatting that read as spam (pressure, money, hype, scam-like phrases, CAPITALS, many links, link shorteners) and say which to change. Rule based, free. It judges the wording only: sender reputation and SPF, DKIM and DMARC matter more, so a low score is not a promise of the inbox.

ParamètreTypeRequisDescription
subjectstringnonthe subject line
bodystringnonthe email text

list_analytics_properties

List the GA4 properties shared with this profile

The GA4 properties SHARED WITH THIS PROFILE, with their numeric property ids, display names and the Analytics account each sits under. CALL THIS FIRST — every other Analytics tool needs a PROPERTY ID, which is NUMERIC (e.g. 123456789) and is NOT the "G-XXXXXXX" Measurement ID people usually know from their tracking snippet; the API accepts the numeric id and nothing else. Resolve the property yourself from this list instead of asking the user to go and find one, and only ask when two names are genuinely ambiguous. THIS IS NOT EVERY PROPERTY THE GOOGLE ACCOUNT CAN SEE, deliberately: Analytics access is handed out freely, so one login often has Viewer on many different clients' properties, and the user ticks which ones belong to THIS profile. Only ticked properties can be reported on, and any other one is refused by name. An empty list means nothing is ticked yet — say so and point the user at Connectors > Google Analytics > Manage accounts (or call list_connector_accounts / set_connector_accounts with provider "google_analytics"); never name or guess a property. Read-only, 0 credits. Needs Google Analytics connected (Connectors > Google Analytics).

Aucun paramètre.

analytics_report

Run a GA4 report

WHAT HAPPENED ON THE SITE — the GA4 Data API report, and the tool that answers "where is our traffic coming from", "which campaign converted", "which landing page is working". Pass metrics by name (activeUsers, sessions, screenPageViews, conversions, totalRevenue, engagementRate, bounceRate, averageSessionDuration …) and dimensions to break them down by (sessionDefaultChannelGroup, sessionSource / sessionMedium / sessionCampaignName, landingPage, pagePath, country, deviceCategory, date, eventName …). GA4 publishes hundreds of both and each property ships its OWN custom dimensions, so names are forwarded as given rather than validated against a copied list — use list_analytics_definitions to see a property's custom ones. THE PROPERTY IS A NUMERIC ID (e.g. 123456789), NOT the G-XXXXXXX Measurement ID — run list_analytics_properties to resolve it. Dates default to the last 28 days and accept either YYYY-MM-DD or GA4's relative forms ("28daysAgo", "yesterday", "today"). PERIOD OVER PERIOD IN ONE CALL: compare:"previous_period" (or "previous_year") adds the earlier period and returns per-period totals plus `change` (absolute + %) computed from GA4's own totals — quote it, never redo the maths; or pass up to 4 named dateRanges. comparisons put segments side by side; totals:true adds a total row. Rows come back as flat named objects. When GA4 says the data is SAMPLED, TRUNCATED, rolled into an "(other)" row or thresholded, completenessNotes says so in words; repeat those when repor…

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties (e.g. "123456789") — never the G-XXXXXXX Measurement ID, and it must be one SHARED with this profile
metricsarray<string>nonGA4 metric names — default ["activeUsers","sessions","screenPageViews"]
dimensionsarray<string>nonGA4 dimension names to break the metrics down by — omit for a single total row
startDatestringnonYYYY-MM-DD or a GA4 relative date like "28daysAgo" (default 28daysAgo)
endDatestringnonYYYY-MM-DD or "today" (default today)
limitnumbernonrows to return, 1–250000 (default 50). 250,000 is GOOGLE's per-request maximum, not ours — asking for more is silently capped there.
offsetnumbernonskip this many rows — how you page past `limit`. Use the nextOffset the previous call returns.
orderByMetricstringnonsort by this metric — must be one of the metrics requested
orderDescbooleannondefault true (largest first) when orderByMetric is set
dimensionFilterobjectnonNARROW THE REPORT — a GA4 FilterExpression, exactly one of andGroup | orGroup | notExpression | filter. Without it a report is the WHOLE property. Example: {"filter":{"fieldName":"sessionSource","stringFilter":{"matchType":"EXACT","value":"google"}}}; combine with {"andGroup":{"expressions":[…]}}.…
metricFilterobjectnonFilter the AGGREGATED rows, GA4's having-clause — same FilterExpression shape. Example: {"filter":{"fieldName":"sessions","numericFilter":{"operation":"GREATER_THAN","value":{"int64Value":"30"}}}}. DIMENSIONS CANNOT BE USED HERE — use dimensionFilter.
compareenum: "previous_period" | "previous_year"nonalso read the period before startDate–endDate (or the same dates a year earlier) and return `change`
dateRangesarray<object>nonup to 4 periods instead of startDate/endDate; rows gain a dateRange column; with two, change = the FIRST relative to the SECOND
totalsbooleannonadd TOTAL rows
aggregationsarray<enum: "TOTAL" | "MINIMUM" | "MAXIMUM" | "COUNT">nonextra summary rows over the result: TOTAL, MINIMUM, MAXIMUM or COUNT
comparisonsarray<object>nonsegments side by side: [{name, dimensionFilter}] or [{comparison:"comparisons/123"}]; adds a comparison column
orderByarray<object>non[{dimension:"date"}] or [{metric:"sessions", desc:true}]
keepEmptyRowsbooleannontrue = keep rows whose metrics are all zero
currencyCodestringnonISO 4217, e.g. EUR — default the property currency

analytics_realtime

Who is on the site right now (GA4 realtime)

WHO IS ON THE SITE RIGHT NOW — GA4's realtime report, covering roughly the last 30 minutes. Use it to see a launch, a post or a campaign landing in real time. IT IS A DIFFERENT REPORT WITH A DIFFERENT METRIC SET, NOT a shortcut for analytics_report: realtime accepts activeUsers, screenPageViews, conversions and eventCount, and REJECTS `sessions` outright — asking for sessions here returns an error, not a zero. Realtime dimensions are also narrower (unifiedScreenName, country, deviceCategory, platform, eventName …) and there is no date range at all. The property is the NUMERIC id from list_analytics_properties, never the G-XXXXXXX Measurement ID. Read-only, 0 credits.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name
metricsarray<string>nonrealtime metric names — default ["activeUsers"]. NOT the same set as analytics_report; `sessions` is not a realtime metric
dimensionsarray<string>nonrealtime dimension names, e.g. ["country"] or ["unifiedScreenName"]
limitnumbernonrows, 1–1000 (default 50)

list_analytics_definitions

List a GA4 property’s key events and custom dimensions

What a GA4 property already MEASURES — its key events (what GA4 counts as a conversion) and its custom dimensions, with each dimension's parameter name and scope. Two reasons to call it: to learn a property's own custom dimension names before using them in analytics_report, and to CHECK BEFORE CREATING — a custom dimension can never be deleted, only archived, and a property is capped at 50 event-scoped ones, so creating a duplicate permanently burns a slot. The property is the NUMERIC id from list_analytics_properties. Read-only, 0 credits.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name

create_analytics_key_event

Mark a GA4 event as a key event (conversion)

Mark an event GA4 ALREADY COLLECTS as a KEY EVENT — what GA4 calls a conversion since the 2024 rename (the resource is keyEvents; the old conversionEvents spelling is deprecated). This is what makes an event countable as a result in reports and importable into Google Ads as a conversion. THE EVENT NAME MUST MATCH AN EVENT THE SITE ALREADY SENDS ("purchase", "generate_lead", "sign_up", or a custom one) — marking an event that is never fired creates a key event that can never fire, so check list_analytics_definitions or an analytics_report broken down by eventName first. countingMethod ONCE_PER_EVENT counts EVERY occurrence; ONCE_PER_SESSION counts the event at most ONCE PER SESSION, however many times it fires in that session. Those are the only two GA4 accepts — there is no per-USER counting method, and asking for one is refused rather than quietly counted per event. The result is READ BACK from Google, never echoed from the request. The property is the NUMERIC id from list_analytics_properties. Needs the Google Analytics connection to have edit access on the property.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name
eventNamestringouian event GA4 already collects, e.g. "purchase" / "generate_lead" / "sign_up"
countingMethodenum: "ONCE_PER_EVENT" | "ONCE_PER_SESSION"nondefault ONCE_PER_EVENT; ONCE_PER_SESSION counts at most once per session (GA4 publishes no per-user method)

create_analytics_custom_dimension

Create a GA4 custom dimension

Register an event parameter the site ALREADY SENDS as a custom dimension, so reports can break down by it (plan tier, content category, logged-in state…). TWO THINGS TO TELL THE USER BEFORE CALLING: a GA4 custom dimension CANNOT BE DELETED — only archived — and a property is capped at 50 EVENT-scoped dimensions, so a duplicate or a typo permanently burns one of them. Call list_analytics_definitions first to see what already exists. GET THE TWO NAMES THE RIGHT WAY ROUND: parameterName is the event parameter GA4 is already collecting (e.g. "customer_tier") and displayName is only the label shown in reports — swapping them silently produces a dimension that always reads "(not set)". Registering a dimension is NOT retroactive: it only collects from the moment it is created. The property is the NUMERIC id from list_analytics_properties. Needs the Google Analytics connection to have edit access on the property.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name
parameterNamestringouithe event parameter GA4 already collects, e.g. "customer_tier" — NOT the report label
displayNamestringnonthe label shown in GA4 reports — defaults to parameterName
scopeenum: "EVENT" | "USER" | "ITEM"nondefault EVENT. The 50-dimension cap applies to EVENT scope
descriptionstringnonoptional description, ≤150 characters

list_analytics_metadata

What a GA4 property can be asked

THE VOCABULARY OF ONE PROPERTY — every dimension and metric analytics_report will accept on it, INCLUDING that property's own custom dimensions, each with its api name and its human label. Use this instead of guessing an api name: GA4 publishes hundreds and they are not memorable (sessions broken down by landing page is `landingPage`, revenue is `totalRevenue`, the channel grouping is `sessionDefaultChannelGroup`), and a wrong name is an error mid-conversation rather than a suggestion. analytics_report deliberately forwards names AS GIVEN — it never validates against a copied list, because that list would go stale and start refusing names Google accepts — so THIS is where a name is checked. PASS `search` almost always: unfiltered this returns several hundred rows, and a search matches both the api name and the label ("revenue", "campaign", "device"). Read-only, 0 credits.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name
searchstringnonsubstring filter over api name AND human label, e.g. "revenue", "campaign", "landing" — strongly recommended, since the unfiltered vocabulary is several hundred entries

archive_analytics_custom_dimension

Archive a GA4 custom dimension

THE ONLY WAY TO RETIRE A CUSTOM DIMENSION, and it is ONE-WAY. GA4 publishes no delete and no un-archive for custom dimensions anywhere in its API — archiving is permanent through every programmatic surface — so this is how a typo'd or duplicate dimension is cleared, and it also frees the slot it was holding against the 50-event-scoped cap. Reports lose the ability to break down by it. CALLED WITHOUT `confirm` IT ARCHIVES NOTHING and instead reports what the dimension actually is, read back from Google — check that against what the user asked for before confirming, because naming the right dimension is the only thing `confirm` cannot prove. Identify it by its parameterName (the event parameter), which list_analytics_definitions lists. Needs edit access on the property.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties
parameterNamestringouithe event parameter of the dimension to archive, e.g. "customer_tier" — from list_analytics_definitions, NOT the report label
confirmbooleannonmust be true to actually archive. Without it nothing changes and the dimension is described back to you

delete_analytics_key_event

Stop counting a GA4 event as a conversion

REMOVE A KEY EVENT — the reverse of create_analytics_key_event, and note the ASYMMETRY with custom dimensions: a key event really can be DELETED, where a custom dimension can only be archived. Nothing is destroyed — GA4 keeps collecting the underlying event and keeps all of its history, this only stops it counting as a conversion, and it can be marked again at any time. Use it for an event marked as a conversion by mistake, or one that should no longer be optimised toward. BE AWARE IT REACHES FURTHER THAN GA4: anything importing this conversion — Google Ads smart bidding in particular — stops receiving it, which changes how campaigns bid. Called without `confirm` it deletes nothing and describes the key event back to you. Needs edit access on the property.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties
eventNamestringouithe key event to stop counting, e.g. "sign_up" — from list_analytics_definitions
confirmbooleannonmust be true to actually delete. Without it nothing changes and the key event is described back to you

create_analytics_custom_metric

Register a GA4 custom metric

Register an event parameter the site ALREADY SENDS as a GA4 custom METRIC, so reports can SUM or AVERAGE it. This is the other half of the pair: a custom DIMENSION makes a value something you can group BY, a custom METRIC makes it something you can TOTAL — 'order_value' as a dimension gives you a list of prices, as a metric it gives you revenue. TELL THE USER TWO THINGS BEFORE CALLING: a GA4 custom metric CANNOT be deleted, only archived, and a property is capped at 50 (125 on Analytics 360) — a duplicate or a typo permanently burns a slot, so run list_analytics_definitions first, which lists metrics beside dimensions. measurementUnit IS REQUIRED and is never guessed for you: STANDARD for a plain count or quantity, CURRENCY for money, SECONDS/MINUTES/HOURS for durations. CURRENCY additionally REQUIRES restrictedMetricType (REVENUE_DATA for money coming in, COST_DATA for money going out) and every other unit REFUSES it — both directions are refused before the call is made, because Google's own error names neither field. METRICS ARE EVENT-SCOPED ONLY, unlike dimensions, which take EVENT | USER | ITEM. Not retroactive: it collects from creation onward. The result is READ BACK from Google, never echoed from the request. Needs edit access on the property. 0 credits.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id from list_analytics_properties — never the G-XXXXXXX Measurement ID
parameterNamestringouithe event parameter GA4 already collects, e.g. 'order_value' — NOT the report label. Letters, digits and underscores, starting with a letter, max 40 characters
displayNamestringnonthe label shown in reports; defaults to parameterName, max 82 characters
measurementUnitenum: "STANDARD" | "CURRENCY" | "FEET" | "METERS" | "KILOMETERS" | "MILES" | "MILLISECONDS" | "SECONDS" …ouiREQUIRED — Google marks it Required and there is no safe default
restrictedMetricTypearray<enum: "COST_DATA" | "REVENUE_DATA">nonREQUIRED when measurementUnit is CURRENCY, and refused for every other unit
scopeenum: "EVENT"nonEVENT is the only scope GA4 accepts for a metric, and it is immutable
descriptionstringnon≤150 characters

archive_analytics_custom_metric

Archive a GA4 custom metric (one-way)

THE ONLY WAY TO RETIRE A GA4 CUSTOM METRIC, and it is ONE-WAY: GA4 publishes no delete and no un-archive for custom metrics anywhere in its API, exactly as for dimensions, so archiving is permanent through every programmatic surface. It frees the slot against the 50-per-property cap, and reports lose the ability to sum or average it. WITHOUT `confirm` IT ARCHIVES NOTHING and instead describes the metric read back from Google — check that against what the user asked for before confirming, because naming the RIGHT metric is the one thing confirm cannot prove. Identify it by parameterName (from list_analytics_definitions), not the report label. A custom DIMENSION of the same name is a DIFFERENT resource and needs archive_analytics_custom_dimension. Needs edit access. 0 credits.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id
parameterNamestringouithe event parameter of the metric to archive, e.g. 'order_value'
confirmbooleannonmust be true to actually archive — without it nothing is archived and the metric is described back to you

check_analytics_compatibility

Check a GA4 report will work, before running it

FREE PRE-FLIGHT FOR analytics_report — ask Google whether these dimensions and metrics can appear in ONE report together, BEFORE running the report that would fail. Use it whenever a report combines fields you have not combined before, and especially when one of them is a custom dimension: GA4 has real pairs that are each perfectly valid alone and cannot be queried together, and `analytics_report` deliberately forwards names AS GIVEN (GA4 publishes hundreds of dimensions and every property ships its own custom ones, so validating against a copied list would go stale and start REFUSING names Google accepts). Pass EXACTLY what you would pass to analytics_report — same metrics, same dimensions, same filters — and it returns which fields are INCOMPATIBLE so you can drop one and run the real report once. IT DOES NOT CHECK THAT A NAME EXISTS: an unknown api name is refused by Google outright, and list_analytics_metadata is what resolves names. Read-only, 0 credits.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id
metricsarray<string>nonthe same metrics you would send to analytics_report (defaults to the same three it defaults to)
dimensionsarray<string>nonthe same dimensions you would send to analytics_report
dimensionFilterobjectnonthe same GA4 FilterExpression you would send to analytics_report
metricFilterobjectnonthe same GA4 FilterExpression you would send to analytics_report
compatibilityFilterenum: "COMPATIBILITY_UNSPECIFIED" | "COMPATIBLE" | "INCOMPATIBLE"nonnarrow the answer — COMPATIBLE returns only the fields that CAN be added

list_analytics_google_ads_links

Which Google Ads accounts a GA4 property is linked to

Which Google Ads accounts a GA4 property is linked to, and whether each link has PERSONALIZED ADVERTISING on — the flag that decides whether GA4 audiences and remarketing events reach Google Ads at all. RUN THIS BEFORE two claims: that a GA4 audience can be remarketed to, and that a Google Ads campaign's missing conversion data is a Google Ads problem. For a GA4-first advertiser the conversions come from this link, so an unlinked property is the usual cause and no error anywhere says so. Read-only, 0 credits. Needs Google Analytics connected.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties — never the G-XXXXXXX Measurement ID

link_google_ads_to_analytics

Link a GA4 property to a Google Ads account

LINK a GA4 property to a Google Ads account. This is the prerequisite for two things users constantly ask for and cannot otherwise have: importing GA4 key events as Google Ads CONVERSIONS — which is what gets a smart-bidding campaign past the conversion-tracking refusal for a GA4-first advertiser — and using a GA4 AUDIENCE for remarketing. RE-LINKING AN ACCOUNT THAT IS ALREADY LINKED IS NOT AN ERROR: it reports that and changes nothing, because this is exactly the call an agent makes when something downstream is not working. adsPersonalizationEnabled DEFAULTS TO TRUE deliberately — a link with it off is the silent dead end where the audience exists in GA4 and never appears in Google Ads, with nothing reporting an error. The connected Google account needs EDIT on the GA4 property AND admin on the Google Ads account; without the second Google refuses and the refusal reads like a Hermoso fault. Google can take 24-48 hours before an audience shows up on the other side. 0 credits.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id from list_analytics_properties
customerIdstringouithe 10-digit Google Ads customer id shown top-right in Google Ads; dashes optional
adsPersonalizationEnabledbooleannondefaults to TRUE. Only set false for measurement-only linking — it disables remarketing

unlink_google_ads_from_analytics

Unlink Google Ads from a GA4 property

REMOVE the link between a GA4 property and a Google Ads account. The link itself is trivially re-creatable, which is why this is not a one-way-door gate — but what breaks downstream is not: every campaign bidding on a conversion imported from this property loses that signal, and every remarketing list built from a GA4 audience stops refreshing. WITHOUT `confirm` IT CHANGES NOTHING and reports what is actually attached, read back from Google, including whether it is a MANAGER account (in which case the link covers every account underneath). 0 credits.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id
customerIdstringouithe Google Ads customer id, from list_analytics_google_ads_links
confirmbooleannonmust be true to actually unlink — without it nothing changes and the link is described back to you

list_analytics_audiences

List the GA4 audiences on a property

The GA4 audiences (remarketing lists) on a property, WITH whether they can actually be used in Google Ads — it reads the Google Ads link state alongside them, because an audience on an unlinked property is a silent dead end that reports no error anywhere. ARCHIVED audiences are not listed, so absence here is not proof one never existed. GA4's PREDEFINED audiences ('All Users', 'Purchasers') ARE returned — verified live against a real property — and they come back with clauseCount 0, because Google defines them internally rather than with filter clauses; that is normal and is not a broken audience. Read-only, 0 credits.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id

create_analytics_audience

Build a GA4 audience (remarketing list)

BUILD A GA4 AUDIENCE — a remarketing list defined by what people did on the site, which flows into Google Ads across the property's Google Ads link. TELL THE USER TWO THINGS BEFORE CALLING: GA4 marks the DEFINITION, the MEMBERSHIP DURATION and every filter SCOPE immutable, so a wrong audience is archived and rebuilt rather than edited; and it is NOT retroactive — it starts collecting members from creation onward, and Google takes 24-48 hours to populate it. `filterClauses` is GA4's own nested shape and the TOP level of each filterExpression MUST be a single `andGroup` (Google's schema says so and its rejection names no field). Worked example, 'everyone who fired purchase': [{"clauseType":"INCLUDE","simpleFilter":{"scope":"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS","filterExpression":{"andGroup":{"filterExpressions":[{"orGroup":{"filterExpressions":[{"eventFilter":{"eventName":"purchase"}}]}}]}}}}]. The result says whether the property is linked to Google Ads, because an audience nobody can remarket to is not a finished job. 0 credits.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id
displayNamestringouithe audience name shown in GA4 and in Google Ads
descriptionstringouiREQUIRED by Google on the Audience resource — one line saying who is in it
membershipDurationDaysnumberouiREQUIRED and IMMUTABLE, 1-540. 30 is the usual remarketing window; 540 is GA4's maximum
filterClausesarray<object>ouiGA4 AudienceFilterClause list — each {clauseType:INCLUDE|EXCLUDE, simpleFilter|sequenceFilter}. See the worked example in the description
exclusionDurationModeenum: "EXCLUDE_TEMPORARILY" | "EXCLUDE_PERMANENTLY"nonIMMUTABLE, and it applies to EVERY exclude clause on the audience
eventTriggerobjectnonoptional {eventName, logCondition} event GA4 logs when a user joins the audience

list_analytics_data_streams

GA4 data streams

The GA4 data streams on a property, with the measurement ID (G-...) each one carries and how many Measurement Protocol secrets it already has. THIS IS WHERE A GTAG OR GTM INSTALL GETS ITS ID, and it is the first call before sending any server-side event. A web stream has a measurementId; an app stream has none and uses its firebaseAppId instead, so do not report an app stream as broken for having no G- id. A stream whose secret count could not be read comes back as null, which means unknown and not zero. Read-only, free.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id, from list_analytics_properties

get_analytics_stream_setup

GA4 install tag and stream settings

THE GTAG SNIPPET TO PASTE, plus what that web stream is actually set to collect. list_analytics_data_streams gives the measurement ID and stops one step short of what someone installing GA4 needs, which is the finished block — Google returns it verbatim and marks it immutable. The same call answers the two questions that come next: whether ENHANCED MEASUREMENT is collecting scrolls, outbound clicks, site search, video, downloads, form interactions and single-page-app page views, and whether client-side REDACTION is stripping emails or query parameters out of recorded URLs. Read the master switch before believing a toggle: if enhanced measurement is off for the stream, every individual toggle is inert whatever it says. WEB STREAMS ONLY — all three resources are web-stream resources, and an app stream is refused by name with what it has instead. Any half that could not be read comes back null, which means unknown and not off. Read-only, free.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id, from list_analytics_properties
dataStreamstringnonstream id, measurement id or display name. Optional when the property has exactly one stream

manage_analytics_measurement_protocol_secret

GA4 Measurement Protocol secrets

THE SERVER-SIDE EVENT CHANNEL FOR GA4, the Google twin of the conversions APIs Hermoso already ships for Reddit, Snapchat and OpenAI Ads. A Measurement Protocol secret is the api_secret half of https://www.google-analytics.com/mp/collect; the other half is the stream's measurementId for a web stream or its firebaseAppId for an app stream, and this tool reports whichever applies. action:"list" shows every secret with its value, action:"create" mints one (displayName is required, and it is the ONLY label a secret ever gets because the values are opaque), action:"delete" revokes one and NEEDS confirm:true. TELL THE USER THIS BEFORE THEY DELETE: there is no rotation anywhere in the API, because the value is output-only and patch reaches only the display name. A delete takes effect at once, and anything still sending with the old value stops being recorded SILENTLY, since the Measurement Protocol answers a bad api_secret with a 2xx and drops the hit. Rotating safely means create the new one, move every sender across, then delete the old one. Free.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id
actionenum: "list" | "create" | "delete"nondefaults to 'list'
dataStreamstringnonstream id, measurement id or display name. Optional when the property has exactly one stream; required when it has several, and an ambiguous name is refused rather than first-matched
displayNamestringnonREQUIRED for action:'create' — what will be sending with this secret, e.g. "Shopify webhook". It is the only label a secret ever gets. May also be used to name one for delete
secretIdstringnonfor action:'delete', from action:'list' — preferred over displayName because it is unambiguous
confirmbooleannonmust be true to actually delete

archive_analytics_audience

Archive a GA4 audience (one-way)

ARCHIVE a GA4 audience, and it is ONE-WAY: GA4 publishes no delete and no un-archive anywhere in its API. Any Google Ads remarketing list sourced from it stops refreshing, and because the definition is IMMUTABLE the audience cannot be recovered by editing — rebuilding means a NEW audience that starts collecting members from scratch, so months of accumulated membership are gone. WITHOUT `confirm` IT ARCHIVES NOTHING and describes the audience read back from Google; check that against what the user asked for, because naming the right audience is the one thing confirm cannot prove. An ambiguous displayName is REFUSED rather than first-matched — GA4 does not enforce unique names and there is no way back. 0 credits.

ParamètreTypeRequisDescription
propertystringouithe NUMERIC GA4 property id
audienceIdstringnonfrom list_analytics_audiences — preferred, because it is unambiguous
displayNamestringnonthe audience name, if the id is not to hand. Refused when it matches more than one
confirmbooleannonmust be true to actually archive

manage_analytics_channel_group

GA4 channel groups

HOW GA4 DECIDES WHICH BUCKET A CLICK LANDS IN, which is the number an ad studio is judged on and the answer to "why is my campaign showing as Unassigned". action:'list' reads every group with its channels in the order GA4 tests them, including Google's own Default channel group — read that first, because a campaign landing in the wrong channel is a rule that does not match rather than missing data. 'create' authors your own group, 'update' changes one, 'delete' removes one (confirm-gated). AUTHORING: `channels` is an ordered list, each with a name and its conditions, and GA4 STOPS AT THE FIRST RULE THAT MATCHES — so a broad rule above a narrow one silently swallows it. A condition is {fieldName, matchType, value} or {fieldName, values:[…]} for a list, plus not:true to invert; an entry that is itself an ARRAY of conditions is OR'ed, and separate entries are AND'ed. THE FIELD NAMES ARE NOT THE REPORT DIMENSIONS: use eachScopeSource, eachScopeMedium, eachScopeCampaignName, eachScopeCampaignId, eachScopeSourcePlatform or eachScopeDefaultChannelGroup — sessionSource, medium and the rest are real GA4 dimensions that Google REFUSES here, and its refusal does not say what to use instead. `primary:true` makes the group the one every report is bucketed by AND unsets whichever group was primary before. Google's own Default channel group cannot be edited and is refused by name. An update REPLACES the whole rule set. Free.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id, from list_analytics_properties
actionenum: "list" | "create" | "update" | "delete"nondefaults to 'list'
displayNamestringnonthe group name shown in GA4, max 80 characters. Required to create; may also name an existing group for update/delete
descriptionstringnonmax 256 characters
channelsarray<any>nonordered list of {name, conditions:[…]}. Required to create. On update it REPLACES every channel, so send the ones you want to keep
primarybooleannonmake this the group reports are bucketed by. It unsets the previous primary group, changing what every report in the property shows
channelGroupIdstringnonfor update and delete — from action:'list', and unambiguous where a name is not
confirmbooleannonmust be true to actually delete

manage_analytics_calculated_metric

GA4 calculated metrics

THE DERIVED NUMBER A MARKETER ACTUALLY REPORTS — cost per purchase, revenue per session, a margin — built from metrics GA4 already collects and then available to analytics_report like any other metric. action:'list' reads them, 'create' adds one, 'update' changes the formula, name, unit or description, 'delete' removes one (confirm-gated). THE ID IS CHOSEN ONCE AND IS PERMANENT: calculatedMetricId becomes the API name reports ask for (calcMetric:your_id), Google marks it output-only afterwards, and renaming is refused by name rather than silently ignored — so pick it deliberately. The formula takes + - * / and parentheses over metric names and plain numbers, referencing at most 5 unique custom metrics; Google answers a syntax error with the exact position. WATCH invalidMetricReference ON THE WAY BACK: a formula naming a metric this property does not collect is created happily and flagged invalid, and any report using it may fail or return unexpected numbers — report that rather than a clean success. Free.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id, from list_analytics_properties
actionenum: "list" | "create" | "update" | "delete"nondefaults to 'list'
calculatedMetricIdstringnonthe API name, e.g. "cost_per_purchase". Required to create and PERMANENT; for update/delete it names the metric
displayNamestringnonthe name shown in GA4, max 82 characters. Required to create
formulastringnone.g. "advertiserAdCost / conversions". Required to create
metricUnitstringnonSTANDARD | CURRENCY | FEET | MILES | METERS | KILOMETERS | MILLISECONDS | SECONDS | MINUTES | HOURS. Required to create
descriptionstringnonmax 4096 characters
confirmbooleannonmust be true to actually delete

manage_analytics_annotations

GA4 chart annotations

MARK WHAT YOU DID ON THE CUSTOMER'S OWN GA4 CHARTS — "ad launched", "post went out", "price change" — so the traffic it moved is visible where they already look. action:'list' reads them (Google's own system annotations included, which cannot be edited or deleted), 'create' adds one on a single date or a startDate–endDate range, 'update' changes one, 'delete' removes one (confirm-gated). color: PURPLE BROWN BLUE GREEN RED CYAN ORANGE (default BLUE). Every write is read back. Free.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id, from list_analytics_properties
actionenum: "list" | "create" | "update" | "delete"nondefaults to 'list'
annotationIdstringnonfor update/delete — from action:'list'
titlestringnonthe label on the chart. Required to create
descriptionstringnonlonger note shown with the annotation (create or update)
colorenum: "PURPLE" | "BROWN" | "BLUE" | "GREEN" | "RED" | "CYAN" | "ORANGE"nonchart colour; default BLUE
datestringnonYYYY-MM-DD — one day
startDatestringnonYYYY-MM-DD — a range, with endDate
endDatestringnonlast day of a range, YYYY-MM-DD; use with startDate instead of date
confirmbooleannonmust be true to actually delete

analytics_data_retention

GA4 data retention

HOW LONG GA4 KEEPS EVENT- AND USER-LEVEL DATA. The default is 2 months, which silently caps every exploration and funnel at the last two months; standard reports are unaffected. action:'get' reads it; 'set' changes eventDataRetention / userDataRetention (2 or 14 months on a standard property; 26, 38, 50 for event data on Analytics 360 only) and resetUserDataOnNewActivity. RAISING applies to data already collected. LOWERING DELETES the older data at Google's next monthly run and cannot be undone, so it answers needsConfirm first — show the user, get a yes, then confirm:true. Read back. Free.

ParamètreTypeRequisDescription
propertystringouiNUMERIC GA4 property id, from list_analytics_properties
actionenum: "get" | "set"nondefaults to 'get'
eventDataRetentionstringnonmonths: 2 or 14 (26/38/50 Analytics 360 only), or the enum e.g. FOURTEEN_MONTHS
userDataRetentionstringnonmonths: 2 or 14
resetUserDataOnNewActivitybooleannontrue = a user's data retention window restarts each time that user shows new activity
confirmbooleannonrequired when the change SHORTENS retention, which deletes data

list_tag_manager_containers

List the Tag Manager containers shared with this profile

The Google Tag Manager containers SHARED WITH THIS PROFILE, with the exact containerPath every other Tag Manager tool needs. CALL THIS FIRST. A container is addressed by PATH, "accounts/ /containers/ ", never by the GTM-XXXXXX public id a human reads off the snippet: no Tag Manager method accepts the public id, so passing one is refused. Each row carries the public id beside the path so you can match what the user says to what the API wants. THIS IS NOT EVERY CONTAINER THE GOOGLE ACCOUNT CAN SEE: one agency login routinely administers every client's container, and a container is not data about a client, it is control of what runs on their website, so the user ticks which containers belong to THIS profile and only those are reachable. An empty list means nothing is ticked yet: say so and point the user at Connectors, Google Tag Manager, Manage accounts (or call list_connector_accounts with provider google_tag_manager, then set_connector_accounts). Never name or guess a container. Read-only, free. Read-only, 0 credits. Needs Google Tag Manager connected.

Aucun paramètre.

list_tag_manager_tags

What is actually firing on the site

WHAT IS ACTUALLY FIRING ON THE SITE. Every tag in the container's workspace with its type, whether it is paused, which triggers fire it by name, and the one field that matters most: whether each tag is LIVE on the website or only STAGED in a draft. Also returns the container's triggers so you can reuse one instead of creating a duplicate. USE THIS TO ANSWER "is conversion tracking actually working": a Google Ads conversion action created by create_google_ads_conversion_action records nothing until a tag in this container fires it, and this is the only way to see whether that tag exists, whether it is paused, and whether it has been published. THREE VALUES FOR live, AND THEY ARE DIFFERENT ANSWERS: true means it is in the published container version and running, false means it is staged and NOT running yet, and null means the published version could not be read so you cannot tell. Never report null as false. If the response says the container has never been published, nothing in it is running at all. Read-only, free. 0 credits. Needs Google Tag Manager connected.

ParamètreTypeRequisDescription
containerPathstringouithe "accounts/ /containers/ " path from list_tag_manager_containers, never the GTM-XXXXXX public id, and it must be one SHARED with this profile
gtmWorkspacestringnonTag Manager workspace id or name. Defaults to the Default Workspace, and the answer always states which one it read.
workspacestringnonolder name for gtmWorkspace (MCP only)

create_tag_manager_tag

Install a tag in the container draft

INSTALL A TAG in the container's draft workspace: a Google Ads conversion tag, a GA4 event, or a third-party pixel. IT DOES NOT GO LIVE. Everything written here lands in a WORKSPACE, which is a draft, and it does not run on the website until a human opens Tag Manager and publishes the container. Staging NEVER publishes: making a tag live is a separate, explicitly confirmed call (publish_tag_manager_container), because publishing changes what executes for every visitor on the live site. Always tell the user the change is staged, and that it does nothing until it is published. TWO THINGS YOU MUST GET FROM THE CONTAINER RATHER THAN INVENT. (1) type is a Tag Manager type string and Google publishes no machine-readable list of them, so Hermoso forwards whatever you pass rather than validating against a list that would go stale and start refusing real types. Get the right one by calling list_tag_manager_tags and copying the type off a tag of the same kind that already exists, or read it in Tag Manager. (2) firingTriggerId is required and must name at least one real trigger id from list_tag_manager_tags, because a tag with no trigger is installed and never runs, which is worse than not installing it. Use create_tag_manager_trigger if the container has no suitable trigger. 0 credits. Needs Google Tag Manager connected.

ParamètreTypeRequisDescription
containerPathstringouithe "accounts/ /containers/ " path from list_tag_manager_containers
gtmWorkspacestringnonTag Manager workspace id or name. Defaults to the Default Workspace.
workspacestringnonolder name for gtmWorkspace (MCP only)
namestringouiwhat a human will look for in the Tag Manager UI
typestringouithe Tag Manager tag type string. Copy it off a tag of the same kind already in the container (list_tag_manager_tags) rather than guessing: Google publishes no machine-readable list of these.
firingTriggerIdarray<string>ouiREQUIRED, at least one real trigger id from list_tag_manager_tags. A tag with no trigger is installed and never runs.
parameterarray<object>nonTag Manager parameters, each { type, key, value }. type defaults to "template", which is Tag Manager's string type.
blockingTriggerIdarray<string>nontrigger ids that stop this tag firing when they match
tagFiringOptionstringnonunlimited, oncePerEvent or oncePerLoad
pausedbooleannontrue = create the tag paused, so it does not fire
notesstringnoninternal note stored on the tag; not shown on the website

update_tag_manager_tag

Change a tag in the container draft

CHANGE AN EXISTING TAG in the draft workspace: rename it, fix a wrong conversion id or label, move it onto a different trigger, or pause it. Like create_tag_manager_tag this lands in a DRAFT and does not reach the website until a human publishes the container. Hermoso reads the tag first and merges your change on top of it, because Tag Manager's update replaces the whole tag and sending only the changed field would silently strip its parameters and triggers. A tag's type cannot be changed: that is deleting one tag and creating another. If somebody edited the tag in Tag Manager after Hermoso read it the change is REFUSED rather than overwriting their edit, and the fix is to read it again and reapply. To stop a tag running, pause it rather than removing its trigger. 0 credits. Needs Google Tag Manager connected.

ParamètreTypeRequisDescription
containerPathstringouicontainer path accounts/ /containers/ , from list_tag_manager_containers
gtmWorkspacestringnonTag Manager workspace id or name; defaults to the Default Workspace
workspacestringnonolder name for gtmWorkspace (MCP only)
tagIdstringouithe tagId from list_tag_manager_tags
namestringnonnew tag name
firingTriggerIdarray<string>nonreplaces the firing trigger ids, from list_tag_manager_tags
parameterarray<object>nonreplaces the tag parameters: [{type, key, value}]
blockingTriggerIdarray<string>nonreplaces the blocking trigger ids
tagFiringOptionstringnonunlimited, oncePerEvent or oncePerLoad
pausedbooleannonpause the tag rather than removing its trigger, which is how you stop one running
notesstringnonreplaces the internal note on the tag

create_tag_manager_trigger

Create a trigger in the container draft

CREATE A TRIGGER, the rule that decides when a tag fires, in the container's draft workspace. Use it when list_tag_manager_tags shows no trigger matching what a conversion needs, for example a purchase confirmation page or a dataLayer purchase event. A trigger on its own fires nothing: it has to be named in a tag's firingTriggerId, so create the trigger, then create or update the tag that uses it. Like every other write here it lands in a DRAFT and does not reach the website until a human publishes the container. type must be one of Tag Manager's own trigger types, and an unrecognised one is refused by name with the accepted list, for free, before any request. A customEvent trigger with no customEventFilter fires on EVERY dataLayer event in the container rather than the one you meant, so that is refused too. 0 credits. Needs Google Tag Manager connected.

ParamètreTypeRequisDescription
containerPathstringouicontainer path accounts/ /containers/ , from list_tag_manager_containers
gtmWorkspacestringnonTag Manager workspace id or name; defaults to the Default Workspace
workspacestringnonolder name for gtmWorkspace (MCP only)
namestringouitrigger name, as it appears in Tag Manager
typestringouione of Tag Manager's own trigger types, e.g. pageview, domReady, windowLoaded, customEvent, formSubmission, linkClick, click, historyChange, scrollDepth, elementVisibility, timer. An unknown one is refused by name with the full list.
filterarray<object>nonTag Manager Condition objects, each { type, parameter: [...] }
customEventFilterarray<object>nonREQUIRED for a customEvent trigger, or it would fire on every dataLayer event in the container
notesstringnoninternal note stored on the trigger

list_tag_manager_versions

Tag Manager version history

THE CONTAINER'S VERSION HISTORY, and the thing to read before proposing to publish or to roll one back. Every version with its id, its name, how many tags, triggers and variables it holds, whether it is archived, and which one is LIVE on the site right now. This is what makes a publish reversible: pass a row's path as publish_tag_manager_container's versionPath to put that version back on the site. The live flag is three-valued — true, false, or null when Google would not tell us which version is live, and null must never be read as false. Read-only. 0 credits. Needs Google Tag Manager connected.

ParamètreTypeRequisDescription
containerPathstringouithe "accounts/ /containers/ " path from list_tag_manager_containers, never the GTM-XXXXXXX public id

preview_tag_manager_publish

What would go live

WHAT WOULD HAPPEN IF YOU PUBLISHED — free, read-only, and it publishes nothing. Returns the container, the version live on the site right now and what it holds, the exact list of staged changes (added, updated, deleted) as Tag Manager itself reports them, any merge conflicts, and the one sentence to show a user before asking them to agree. Use it to answer 'what is waiting to go live?' without going anywhere near the publish call. publish_tag_manager_container without confirm returns the same facts, so this is for when you want them with no chance of a publish at all. 0 credits. Needs Google Tag Manager connected.

ParamètreTypeRequisDescription
containerPathstringouithe "accounts/ /containers/ " path from list_tag_manager_containers
gtmWorkspacestringnonTag Manager workspace id or name; defaults to the Default Workspace
workspacestringnonolder name for gtmWorkspace (MCP only)
versionPathstringnonoptional — preview re-publishing an EXISTING version instead of the workspace

publish_tag_manager_container

Publish the container to the live site

PUBLISH THE CONTAINER — the ONE call in Hermoso that changes what runs on the customer's live website for every visitor, immediately. Tag Manager publishes a VERSION, so the draft workspace becomes a version, then that is published. CALLING IT WITHOUT confirm PUBLISHES NOTHING and is the correct first move: it returns what is live right now, its tag/trigger/variable counts, and exactly what would change, read back from Google. Show the user, get a yes, then call again. THE GATE SCALES WITH THE DAMAGE. A NEVER-published container needs only confirm:true. A container that ALREADY has a live version is replacing something that works, so it additionally needs confirmPublicId set to that container's GTM-XXXXXXX public id. It cannot be guessed; read it from list_tag_manager_containers or from the preview. IT REFUSES, FOR FREE AND WITHOUT PUBLISHING, in four cases you should relay rather than retry: merge conflicts in the workspace (somebody changed the same thing in the container — resolve in Tag Manager first), a workspace with no changes at all, a version Google reports a COMPILER ERROR in, and a container whose public id could not be read. TO UNDO: publish the previous version again (versionPath from list_tag_manager_versions, no workspace involved); rolledBackTo names it. READ verified BEFORE YOU TELL ANYONE IT IS LIVE. It is three-valued: true means the container's live version was re-read and IS the one just published; false means Google accepted it but something else is liv…

ParamètreTypeRequisDescription
containerPathstringouithe "accounts/ /containers/ " path from list_tag_manager_containers
gtmWorkspacestringnonTag Manager workspace id or name; defaults to the Default Workspace
workspacestringnonolder name for gtmWorkspace (MCP only)
versionPathstringnonROLLBACK / RE-PUBLISH: publish this EXISTING version instead of the workspace. From list_tag_manager_versions. Must be a version inside the same container.
versionNamestringnonname for the version being created; defaults to a timestamped Hermoso name
versionNotesstringnonnotes stored on the version, visible in Tag Manager
confirmbooleannonREQUIRED to publish. Without it nothing is published and you get the blast-radius report instead.
confirmPublicIdstringnonthe container's GTM-XXXXXXX public id, REQUIRED when the container already has a live version. Read it from the preview; it cannot be guessed.

install_tracking_tag

Install a pixel on the website

PUT A PIXEL ON THE BRAND'S WEBSITE: a Meta Pixel, TikTok Pixel, Google tag, LinkedIn Insight Tag, Reddit Pixel, Pinterest Tag, X Pixel or Snap Pixel. It goes through the site connection the brand has. GOOGLE TAG MANAGER (any pixel): a Custom HTML tag with the platform's base code on every page, staged as a draft, and live only with publish:true, through the same confirmation publish_tag_manager_container asks for (a container already live needs confirmPublicId). WIX (Meta, TikTok, Google Ads AW-, Google Analytics G-): a Wix marketing tag, live at once; Wix keeps one per type, so replacing a different pixel needs replaceExisting set to the one being replaced. WEBFLOW, WORDPRESS, SHOPIFY or no site connection: those give an app no way to add code, so the reply is the base code and exactly where to paste it. THE PIXEL ID IS NEVER INVENTED: leave pixelId out and the brand's only pixel on its connected ad account is used (several are listed for you to pick); a given id is checked against that account when it is connected, and refused if it is not the brand's. The code is the platform's own: Meta and Pinterest from the connected account or their published base code, the Google tag from Google's published snippet; for TikTok, LinkedIn, Reddit, X and Snap pass snippet, the base code copied from the platform's events manager (it must contain the id). WITHOUT confirm:true NOTHING IS WRITTEN: the reply says exactly what would change; show the user, get a yes, call again with confirm:tr…

ParamètreTypeRequisDescription
platformenum: "meta" | "tiktok" | "google" | "linkedin" | "reddit" | "pinterest" | "x" | "snapchat"ouiwhich pixel: meta, tiktok, google, linkedin, reddit, pinterest, x or snapchat
pixelIdstringnonthe pixel's id (Meta pixel id, TikTok pixel code, G-/AW-/GT- id, LinkedIn partner id, …). Leave out to use the brand's only pixel on its connected ad account.
snippetstringnonthe platform's base code, copied from its events manager. Required for TikTok, LinkedIn, Reddit, X and Snap through Tag Manager or a manual install; it must contain pixelId.
siteenum: "google_tag_manager" | "wix" | "webflow" | "wordpress" | "shopify" | "manual"nonwhich site connection to use; leave out to use the one the brand has (asked when it has both Tag Manager and Wix)
containerPathstringnonTag Manager only: accounts/ /containers/ from list_tag_manager_containers, when several are shared with the brand
gtmWorkspacestringnonTag Manager only: workspace id or name; default the Default Workspace
adAccountIdstringnonthe ad account (or TikTok advertiser) to read the pixel from, when the brand has several
urlstringnonthe page to check afterwards; default the brand's website
publishbooleannonTag Manager only: also publish the container so the tag goes live
confirmPublicIdstringnonTag Manager only, with publish: the container's GTM-XXXXXXX id, required when it already has a live version
replaceExistingstringnonWix only: the id of the site's current pixel of this type, typed back, when installing a different one replaces it
confirmbooleannontrue to make the change; without it nothing is written and the reply says what would change

list_tracking_tags

Which pixels are on the website

WHICH PIXELS ARE ON THE WEBSITE RIGHT NOW, read from the live page (url, default the brand's website) the way a browser loads it: every Meta, TikTok, Google, LinkedIn, Reddit, Pinterest, X and Snap pixel and every Tag Manager container Hermoso recognises there, with its id. Also the tags Hermoso installed through Tag Manager (live or only staged) and the site's Wix marketing tags, when those are connected. Use it to check a pixel someone pasted by hand, or to answer "is my pixel installed". page.read false means the page could not be read, which is not the same as no pixels. Read-only, free.

ParamètreTypeRequisDescription
urlstringnonthe page to read; default the brand's website
containerPathstringnonTag Manager: which shared container to list, when several are shared
gtmWorkspacestringnonTag Manager workspace id or name

remove_tracking_tag

Remove a pixel from the website

TAKE A PIXEL OFF THE BRAND'S WEBSITE. Tag Manager: deletes the tag Hermoso installed for that pixel (only Hermoso's own, never somebody else's), as a draft, live only with publish:true through the usual publish confirmation. Wix: removes the site's marketing tag of that type only when it IS this pixel. Other sites: says where to delete the code by hand. The site stops sending that platform data once it is gone, so WITHOUT confirm:true NOTHING CHANGES and the reply names exactly what would be removed: show the user, get a yes, then call again with confirm:true. Free.

ParamètreTypeRequisDescription
platformenum: "meta" | "tiktok" | "google" | "linkedin" | "reddit" | "pinterest" | "x" | "snapchat"ouiwhich pixel
pixelIdstringouithe id of the pixel to remove (list_tracking_tags shows them)
siteenum: "google_tag_manager" | "wix" | "webflow" | "wordpress" | "shopify" | "manual"nonwhich site connection; default the one the brand has
containerPathstringnonTag Manager only: the container, when several are shared
gtmWorkspacestringnonTag Manager only: workspace id or name
publishbooleannonTag Manager only: also publish so the removal goes live
confirmPublicIdstringnonTag Manager only, with publish: the container's GTM-XXXXXXX id
confirmbooleannontrue to remove; without it nothing changes

audit_conversion_tracking

Audit a website’s ad conversion tracking

AUDIT ANY WEBSITE'S AD CONVERSION TRACKING (a pixel checker): Hermoso loads the page in a real browser, the way a visitor does, and reports which pixels and tags are on it (Meta Pixel, Google Ads, GA4, Google Tag Manager, TikTok, LinkedIn Insight, Pinterest, Snap, Reddit, X, Microsoft UET, ChatGPT Ads, the Hermoso tag) with their ids; whether each FIRES a page view; DUPLICATE installs (two page views for one load, Meta's own 'Duplicate Pixel ID'); BROKEN installs (failed requests, a Content-Security-Policy blocking a pixel, a pixel that loads and sends nothing); CONSENT problems (Google Consent Mode missing or v1, the consent default set after the tags, pixels firing before the cookie banner is answered; the scan accepts the banner and records before and after); missing PURCHASE or LEAD events (on a checkout, thank-you or sign-up page, or a store with none set up); and any visible SERVER-SIDE path (server-side Tag Manager, a Conversions API gateway, Elevar or Stape, a store app that sends server events). A score out of 100 and a grade, then every problem with a plain-language fix, a way to check it yourself and, where Hermoso can make the fix, the tool that does it; plus fixPrompt, a prompt to hand a coding agent. Use it for 'check my facebook pixel', 'is my pixel working', 'audit my tracking', or a competitor's site. url defaults to the brand's website. Each audit is stored per domain (get_conversion_audit reads it back). Takes 10 to 40 seconds. Free. SIDE EFFECT: it WRITES…

ParamètreTypeRequisDescription
urlstringnonany page: a homepage, product, checkout, thank-you or sign-up page; default the brand's website

get_conversion_audit

Read a domain’s latest tracking audit

Read the latest stored conversion tracking audit of a domain WITHOUT running a new scan: every audit run by anyone (an agent, the app, the free pixel checker on hermoso.ai, a daily watch) replaces that domain's stored one. Answers not found when the domain was never audited: run audit_conversion_tracking. Free.

ParamètreTypeRequisDescription
hoststringouithe domain, e.g. example.com (a full URL is reduced to its domain)

audit_meta_pixel

Audit the connected Meta pixel from inside Meta

AUDIT THE BRAND'S META PIXEL FROM INSIDE META (the connected follow-up to audit_conversion_tracking, which only sees the browser): over the last 7 days, each event's count per day, last 24 hours and the last hour Meta counted it; the SHARE OF EACH EVENT RECEIVED THROUGH THE CONVERSIONS API rather than the browser; EVENT MATCH QUALITY (0-10) with the coverage of each customer key Meta matched on; event_id deduplication of browser and server copies; Meta's own diagnostics for the pixel (its Events Manager checks, such as events missing parameters or content ids that match no catalog) and its dataset quality problems with Meta's fix for each; whether automatic advanced matching and first-party cookies are on. Every finding says who fixes it: Hermoso (once switched on, e.g. set_meta_conversions_auto), you (the site or the code that sends events) or a setting in Events Manager. Meta does not return verified domains or the Aggregated Event Measurement setup to its API, so those are listed under unavailable. adAccountId: default the brand's first ticked Meta ad account that has a pixel; pixelId: default its most recently active pixel. Cached 10 minutes per pixel. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonact_… or its digits
pixelIdstringnonfrom list_meta_pixels (an id or its exact name)
freshbooleannontrue skips the 10-minute cache

watch_conversion_tracking

Watch a domain for broken ad tracking

WATCH A DOMAIN'S AD TRACKING: Hermoso re-audits its homepage every day (the same audit as audit_conversion_tracking) and emails the account's address when tracking BREAKS: a score drop of 5 points or more, an ad pixel that stops firing or disappears, a pixel that starts firing before the cookie banner is answered, a server-side path that disappears, or a new duplicate, failing or blocked install. A break is confirmed by a second scan before any email goes out. Watching a domain already watched returns it with created:false. Up to 25 domains per account. Free.

ParamètreTypeRequisDescription
urlstringouithe domain (or any URL on it) to watch

list_conversion_tracking_watches

List watched domains

The domains this brand watches for broken ad tracking (watch_conversion_tracking), each with its id, last score and grade, the score of each daily check, when it was last checked, when the next check is due, a break being confirmed, and when the last alert email went out. Free.

Aucun paramètre.

stop_watching_conversion_tracking

Stop watching a domain

Stop the daily tracking checks and alert emails for a watched domain. id: the watch's id from list_conversion_tracking_watches, or the domain itself. The domain's stored audit stays. Free.

ParamètreTypeRequisDescription
idstringouithe watch id (cw_…) or the domain

list_search_console_sites

List the Search Console properties shared with this profile

The Google Search Console properties SHARED WITH THIS PROFILE, each with the exact property string every other Search Console tool takes and the connected account's permission level on it. CALL THIS FIRST. A property is EITHER "sc-domain:example.com" (a Domain property, covering every scheme and subdomain) OR the full URL-prefix form "https://example.com/" including scheme and trailing slash — Google treats those as different properties and one of them will 403, so resolve it here rather than guessing, and never pass a bare domain. THIS IS NOT EVERY PROPERTY THE GOOGLE ACCOUNT CAN SEE, deliberately: one login commonly holds a dozen clients' properties, so the user ticks which belong to THIS profile and any other one is refused by name. An empty list means nothing is ticked yet — say so and point the user at Connectors > Google Search Console > Manage accounts (or call list_connector_accounts / set_connector_accounts with provider "google_search_console"); never name or guess a property. A row whose permissionLevel is siteUnverifiedUser will refuse every later call. Read-only, 0 credits. Needs Google Search Console connected.

Aucun paramètre.

search_console_performance

What people searched for on Google, and what they clicked

THE REAL SEARCH TERMS — Google Search Console's performance report, and the most useful research tool here for writing copy. `dimensions:["query"]` returns the literal words people typed to reach this brand, with impressions, clicks, CTR and average position; `dimensions:["page","query"]` answers "which landing page already wins this demand", i.e. Where paid traffic should point. Every other dimension is available too: country, device, searchAppearance, date, hour. `preset:"questions"` (also ai_prompts, long_tail, how_to, comparisons, pricing, best_of, troubleshooting, definitions) lists the matching queries the site already shows up for, flags high-impression low-click ones and suggests adding each as a heading or FAQ with a direct answer. This is first-party MEASURED demand language, not a competitor's guess (an ad library) and not a model (a keyword planner), and it exists nowhere else: organic search terms left Google Analytics with "not provided" years ago. StartDate and endDate are REQUIRED and are exact YYYY-MM-DD in Pacific time — Google Analytics' relative forms like "28daysAgo" are NOT accepted anywhere in Search Console. THREE THINGS TO REPEAT WHENEVER YOU REPORT THESE NUMBERS: (1) rows are the TOP ones, not all of them, by Google's own statement; (2) anonymised queries are WITHHELD, so clicks summed per query will not equal the property total and that gap is not an error; (3) the default dataState "final" lags roughly 2-3 days, and "all" returns fresh partial dat…

ParamètreTypeRequisDescription
siteUrlstringouithe exact property string from list_search_console_sites — "sc-domain:example.com" or "https://example.com/", never a bare domain, and it must be one SHARED with this profile
startDatestringouiYYYY-MM-DD, required, Pacific time, inclusive
endDatestringouiYYYY-MM-DD, required, Pacific time, inclusive
dimensionsarray<string>nongroup by any of query, page, country, device, searchAppearance, brandedClassification (branded vs non-branded queries), date, hour. Omit for one total row. An unknown name is refused by name rather than dropped.
typestringnonweb (default), image, video, news, discover, googleNews or webMultimodal
dimensionFilterGroupsarray<object>nonnarrow the report, e.g. [{"filters":[{"dimension":"query","operator":"contains","expression":"buy"}]}]. dimension is one of query/page/country/device/searchAppearance/brandedClassification (expression BRANDED or NON_BRANDED) — date and hour are NOT filterable, they are the date range. operator is e…
presetstringnonready-made query filter: questions, ai_prompts, long_tail, how_to, comparisons, pricing, best_of, troubleshooting or definitions. Defaults dimensions to query+page, sorts by impressions and flags high-impression low-CTR rows with a suggested action.
aggregationTypestringnonauto (default), byPage, byProperty or byNewsShowcasePanel
dataStatestringnonfinal (default, lags 2-3 days), all (includes fresh partial data that WILL change), or hourlyAll
rowLimitnumbernon1-25000, default 1000
startRownumbernonzero-based, for paging past rowLimit

search_console_url_inspection

Is this page actually in Google?

THE LIVE INDEX STATUS OF ONE PAGE, straight from Google: the index verdict, coverage state, whether robots.txt allows it, which URL Google picked as canonical versus the one the page itself declares, when it was last crawled and as which crawler, plus rich-result and mobile-usability verdicts. This is the tool for "why is this page getting no traffic" — a page Google cannot crawl, or whose canonical Google has reassigned to a different URL, will never rank however good the copy is. THE URL MUST SIT INSIDE THE PROPERTY: a URL-prefix property covers only its own prefix, while an "sc-domain:" property covers every scheme and subdomain. Important: QUOTA — Google allows 2,000 inspections per DAY and 600 per minute PER SITE, and that is the CUSTOMER'S property quota, not ours: inspect the handful of URLs the question is actually about and NEVER loop this over a sitemap, a page list or a crawl. Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact property string from list_search_console_sites, and it must be one SHARED with this profile
inspectionUrlstringouithe full URL to inspect, e.g. "https://example.com/pricing" — it must be under the property
languageCodestringnonBCP-47 code for translated issue messages, e.g. "de-CH". Default en-US.

list_search_console_sitemaps

List a property’s sitemaps, with submitted-vs-indexed counts

The sitemaps registered on a Search Console property: when each was last submitted and last downloaded by Google, whether Google has processed it yet, its error and warning counts, and per content type how many URLs it SUBMITTED against how many are INDEXED. That last pair is the fastest read on whether a site has an indexing problem rather than a ranking one. Pass `feedpath` for one sitemap instead of the list, or `sitemapIndex` to list the sitemaps inside an index file. An empty list is a real answer — the property has no sitemap registered — and is not a failure. Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact property string from list_search_console_sites
feedpathstringnonthe FULL url of one sitemap, e.g. "https://example.com/sitemap.xml"
sitemapIndexstringnonthe FULL url of a sitemap INDEX, to list the sitemaps it contains

submit_search_console_sitemap

Submit a sitemap to Google

Tell Google about a sitemap. `feedpath` is the sitemap's COMPLETE URL ("https://example.com/sitemap.xml"), never a path — Google addresses a sitemap by its full url. Re-submitting one that is already registered is harmless and simply re-notifies Google. THE ANSWER IS READ BACK FROM GOOGLE, not echoed from the request: it reports whether the sitemap is now actually registered, whether Google has processed it yet, and what errors and warnings it already carries. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact property string from list_search_console_sites
feedpathstringouithe FULL sitemap URL, e.g. "https://example.com/sitemap.xml"

delete_search_console_sitemap

Remove a sitemap from a Search Console property

Remove a sitemap from a property. THIS DOES NOT REMOVE THOSE PAGES FROM GOOGLE'S INDEX — it stops Google using that file to discover new ones, and it can be submitted again at any time, so it is reversible. CONFIRM-GATED: called without confirm it removes nothing and reports what the sitemap actually IS, read back from Google (its error and warning counts and how many URLs it covers), so you can check you are aiming at the right one. Re-run with confirm:true to proceed. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact property string from list_search_console_sites
feedpathstringouithe FULL sitemap URL to remove
confirmbooleannontrue to actually remove it. Without this nothing is removed and the sitemap is described back to you.

add_search_console_site

Add a property to Search Console

Add a property to the connected Google account. TWO THINGS THAT MUST REACH THE USER, and the answer states both: (1) ADDING IS NOT VERIFYING — the property arrives with the account as an unverified user and EVERY read on it is refused until ownership is proven with a DNS record, an HTML file or a tag, which no API can do and which the user completes in Search Console itself; (2) the new property is NOT yet shared with this profile, so someone has to tick it under Connectors > Google Search Console > Manage accounts (or call list_connector_accounts with provider google_search_console, then set_connector_accounts) before any tool here can use it. The permission level is READ BACK from Google, so the answer says which of those two states it is actually in. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringoui"sc-domain:example.com" for a Domain property (covers every scheme and subdomain), or the full URL-prefix form "https://example.com/". These are different properties — pick deliberately.

delete_search_console_site

Remove a property from Search Console

Remove a property from the connected Google account. THIS LOSES HISTORY: the account loses access to that property's stored Search Console performance data, and re-adding it later means verifying ownership from scratch — Google does NOT restore the 16-month window on re-add. Nothing about the site itself, its pages or its ranking changes. CONFIRM-GATED: the unconfirmed call removes nothing and describes what would be lost, including how many sitemaps this account can currently see on it. The property is also dropped from this brand's shared list, so it cannot linger as a tick pointing at something unreachable. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact property string from list_search_console_sites
confirmbooleannontrue to actually remove it

list_bing_webmaster_sites

List the Bing Webmaster sites shared with this profile

The Bing Webmaster Tools sites SHARED WITH THIS PROFILE, each exactly as Bing holds it (e.g. "https://example.com"). CALL THIS FIRST — every other Bing tool takes that exact string. THIS IS NOT EVERY SITE THE CONNECTION CAN REACH: Microsoft issues one key per USER covering every site that Bing account verified, so the user ticks which belong to THIS profile and any other one is refused by name. An empty list means nothing is ticked yet — point the user at Connectors > Bing Webmaster Tools > Manage accounts (or call set_connector_accounts with provider "bing_webmaster") and never name or guess a site. A site flagged not verified will refuse every later call. Read-only, 0 credits.

Aucun paramètre.

bing_webmaster_traffic

Bing clicks and impressions

Bing clicks and impressions over time — for the whole site (mode "site", the default), for one page (mode "page", needs `url`), or for every page under one directory (mode "directory", needs `url`). An unknown mode is refused by name. Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites, and it must be one SHARED with this profile
modestringnonsite (default) | page | directory
urlstringnonrequired for page and directory modes — the full URL
pagenumbernonzero-based results page, directory mode

bing_webmaster_query_stats

What people searched on Bing, and which pages they landed on

Use this when the user asks what people searched on Bing to reach their site, or which pages those searches landed on. Modes: "queries" (top search terms for the site, the default), "pages" (top pages), "pageQueries" (which queries brought traffic to one `page`), "queryPages" (which pages one `query` landed on), "queryPageDetail" (one query on one page, day by day). MICROSOFT UPDATES THIS DATA WEEKLY by their own statement, so it does not move day to day; do not report a flat week as a drop. An unknown mode is refused by name. Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
modestringnonqueries (default) | pages | pageQueries | queryPages | queryPageDetail
querystringnonrequired for queryPages and queryPageDetail
pagestringnonthe full page URL — required for pageQueries and queryPageDetail

bing_webmaster_keywords

Keyword research with real impression volumes, no ad spend

Bing search impressions for any term. Modes: "keyword" (impressions for exactly this term over a date range), "related" (the same for terms Bing considers related — the one to use for expanding a seed into a list), "history" (the term's historical series). NOT SITE-SCOPED — these are Microsoft's signatures and they take no site, so it works for ANY term including a competitor's brand, and no property tick list applies. `country` AND `language` are BOTH REQUIRED and are deliberately never defaulted: a search volume with no market is unactionable, and picking one for you would answer confidently about the wrong country. Read-only, 0 credits.

ParamètreTypeRequisDescription
qstringouithe keyword to look up, e.g. "running shoes"
modestringnonkeyword (default) | related | history
countrystringouiREQUIRED, e.g. "us" — there is no default and one will not be guessed
languagestringouiREQUIRED, e.g. "en-US"
startDatestringnonYYYY-MM-DD — required for keyword and related modes
endDatestringnonYYYY-MM-DD — required for keyword and related modes

bing_webmaster_crawl

Can Bing crawl this site?

Whether Bing can actually reach the site's pages: crawl statistics (mode "stats"), the URLs with problems (mode "issues", the default), one page's index detail (mode "page", needs `url`), a directory's (mode "directory"), or the crawl settings themselves (mode "settings"). Issue names are DECODED from Bing's bitmask into readable ones — Code301, Code302, Code4xx, Code5xx, BlockedByRobotsTxt, ContainsMalware, ImportantUrlBlockedByRobotsTxt, DnsErrors, TimeOutErrors — because the raw JSON hands back an integer that means nothing on its own, and a bit Microsoft has added since is reported as unknown rather than dropped. Microsoft notes it may take a few days for a FIXED issue to disappear from this list, so a listed issue is not proof it is still live. Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
modestringnonissues (default) | stats | page | directory | settings
urlstringnonrequired for page and directory modes
pagenumbernonzero-based results page, directory mode

bing_webmaster_links

Inbound links as Bing sees them

Inbound links according to Bing: counts per page (mode "counts", the default), the inbound links pointing at one page (mode "page", needs `url`), or the pages the site owner has declared as connected (mode "connected"). Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
modestringnoncounts (default) | page | connected
urlstringnonrequired for page mode — the page whose inbound links you want
pagenumbernonzero-based results page

bing_webmaster_submission_quota

How many URLs can still be submitted to Bing today

How many URLs this site may still submit to Bing today and this month, plus the separate content-submission budget. BING SETS THIS PER SITE AND IT VARIES — Microsoft's own documented example allows 5 a day and 24 a month — so it is always read live and never assumed. Check it before promising anyone a bulk submission, because Bing rejects an over-quota batch as a WHOLE rather than taking what fits. Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites

submit_bing_webmaster_urls

Submit URLs to Bing for indexing

Submit URLs to Bing for indexing: asks Bing to crawl new or changed pages. THE SITE'S REMAINING DAILY QUOTA IS READ FIRST and a batch that would exceed it is refused with the real number rather than half-submitted, because Bing rejects an over-quota batch as a whole and a partial failure leaves you unable to say which URLs made it. Bing accepts at most 500 per batch (Microsoft's own limit) and the site's daily quota is usually far lower. THE CONFIRMATION IS BING'S QUOTA COUNTER MOVING: its submit methods return no body at all, so the answer reports the counter before and after rather than claiming success from a 200. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
urlsarray<string>ouifull URLs on THIS site — a URL on another host is refused before anything is submitted

list_bing_webmaster_sitemaps

The sitemaps Bing has for this site

The sitemaps registered for this site — Bing calls them FEEDS — with the status, URL count, file size and last-crawled date Bing holds for each. This is the read to make BEFORE submitting or removing one, because both of those are addressed by the sitemap's full URL exactly as Bing stores it. Pass `feedUrl` to expand a sitemap INDEX into its child sitemaps (Microsoft's GetFeedDetails); an empty answer for a plain non-index sitemap is a real answer, not a failure. Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
feedUrlstringnonoptional — the full URL of a sitemap INDEX, to list its children

submit_bing_webmaster_sitemap

Register a sitemap with Bing

Register a sitemap with Bing so it discovers new and changed pages by itself — the durable twin of submit_bing_webmaster_urls, which spends a small per-site daily quota every time. Takes the sitemap's FULL URL, not a path. Bing accepts Sitemap, RSS 2.0, Atom 0.3, Atom 1.0 and plain text files (Microsoft's own list). A sitemap hosted on ANOTHER host is not refused — Bing allows that when the other host is also verified — but it is called out, because it is the likeliest reason one silently never crawls. SubmitFeed returns no body whatsoever, so the answer is read back from Bing's own feed list and reports what Bing says rather than that the call returned. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
feedUrlstringouithe FULL sitemap URL, e.g. "https://example.com/sitemap.xml"

remove_bing_webmaster_sitemap

Remove a sitemap from Bing

Remove a sitemap from Bing. GATED ON BLAST RADIUS, not just on intent: called WITHOUT `confirm` it removes nothing and reports what Bing says that sitemap actually carries — its URL count, status and type — and a sitemap carrying any URLs then ALSO needs `confirmUrlCount` set to that number. confirm:true proves you meant to remove something; the echoed count proves you aimed at the sitemap you inspected rather than one that merely shares a name. A sitemap Bing reports as empty stays a one-call removal. Removing it does NOT remove those pages from Bing's index — Bing simply stops using it to find new ones — and it can be submitted again at any time. If the read-back that confirms the removal cannot run, the answer says "could not tell", never "removed". 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
feedUrlstringouithe FULL sitemap URL to remove, exactly as list_bing_webmaster_sitemaps shows it
confirmbooleannonmust be true; without it nothing is removed and you get the radius instead
confirmUrlCountnumbernonthe URL count Bing reports for that sitemap — required when it carries any

list_bing_webmaster_fetched_urls

What Bingbot fetched on demand

The URLs fetched on demand as Bingbot for this site, or one of them in detail (pass `url`) including what Bingbot actually received. This is how you see a page through the CRAWLER's eyes rather than a browser's — a robots block, a redirect chain or a JS-only page all look fine in a browser and wrong here. An empty list means nothing has been fetched on demand yet, which is a real answer and not a failure. Read-only, 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
urlstringnonoptional — one full URL, for the stored detail of that fetch

fetch_bing_webmaster_url

Ask Bingbot to fetch a page now

Ask Bingbot to fetch one URL now, so you can then read back what the crawler actually received with list_bing_webmaster_fetched_urls. THE FETCH IS QUEUED, NOT PERFORMED WHILE YOU WAIT — so "it has not appeared in the fetched list yet" is the normal FIRST answer, and it is reported as "requested, not yet done" rather than as a failure or as success. A URL that is not on this site is refused before anything is requested. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
urlstringouithe full URL on THIS site for Bingbot to fetch

submit_bing_webmaster_content

Hand Bing a page's content directly

Give Bing a page's content DIRECTLY instead of waiting for it to crawl — for a page Bingbot renders badly or cannot reach. YOU PASS THE HTML AND NOTHING ELSE: Microsoft's httpMessage parameter is a base64 raw HTTP response whose status line and every header must end CRLF with exactly two CRLFs before the body, and an LF-only message is accepted with a 200 while indexing nothing useful — a silent wrong answer — so Hermoso builds that framing and computes Content-Length itself. Optional `structuredData` carries JSON-LD for non-HTML content such as images or PDFs; `dynamicServing` is left at "none" unless the site really does serve different content per device, because declaring otherwise is a claim about the customer's infrastructure. This spends the CONTENT submission budget, which is separate from the URL one and is read first — check both with bing_webmaster_submission_quota. Max 10MB per submission. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
urlstringouithe full URL on this site that this content belongs to
htmlstringouithe page content Bing should index for that URL
statusnumbernonHTTP status for the message, default 200
contentTypestringnondefault text/html
headersobjectnonextra response headers. Content-Length is always computed and never taken from you.
structuredDatastringnonoptional JSON-LD, for non-HTML content types
dynamicServingstringnonnone (default) | pc-laptop | mobile | amp | tablet | non-visual-browser

add_bing_webmaster_site

Add a site to the Bing Webmaster account

Add a site to the connected Bing Webmaster account. Important: ADDING IS NOT VERIFYING, and saying so is most of this tool's value: the site arrives UNVERIFIED and every read on it is refused until an ownership proof is placed on the site itself — an XML file at the root, a meta tag in the home page , or a CNAME DNS record — which no API can do. Place one, then call verify_bing_webmaster_site. Microsoft documents that adding a site which is already there does NOT error, so a success here is not even evidence anything changed, which is why the answer is read back from Bing's site list. It is also NOT shared with this profile until the user ticks it under Connectors > Bing Webmaster Tools > Manage accounts (or call list_connector_accounts with provider bing_webmaster, then set_connector_accounts). 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe site with its scheme, e.g. "https://example.com"

verify_bing_webmaster_site

Ask Bing to verify site ownership

Ask Bing to CHECK the ownership proof for a site already on the account. IT DOES NOT PLACE THE PROOF — nothing can over an API. The user puts an XML file at the site root, a meta tag in the home page , or a CNAME DNS record, and Bing Webmaster Tools shows the exact filename and value for each. A negative answer therefore means "the proof is not in place yet", never that Hermoso or the connection failed, and the reply says which three options exist. Bing refuses to verify a site that was never added, which is knowable for free, so that is refused here with add_bing_webmaster_site named as the fix. The verdict is read back from the site LIST rather than taken from the call's own return value — the two can disagree. 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe site to verify, exactly as it was added

remove_bing_webmaster_site

Remove a site from the Bing Webmaster account

Remove a site from the connected Bing Webmaster account — the heaviest thing in this connector. GATED ON BLAST RADIUS: called WITHOUT `confirm` it removes nothing and reports whether Bing holds the site as VERIFIED and how many sitemaps are registered on it; a site that is verified or has any sitemaps then ALSO needs `confirmSiteUrl` set to that exact site string, which is a fact you only have after inspecting it. A site that was never verified and has no sitemaps is the empty radius and stays a one-call removal — friction that does not scale with the loss just gets routed around. RE-ADDING A VERIFIED SITE LATER MEANS PROVING OWNERSHIP FROM SCRATCH; no API restores it. Nothing about the site itself or its Bing ranking changes. The site is also dropped from this brand's shared list, and if the read-back that confirms the removal cannot run the answer says "could not tell", never "removed". 0 credits.

ParamètreTypeRequisDescription
siteUrlstringouithe exact site string from list_bing_webmaster_sites
confirmbooleannonmust be true; without it nothing is removed and you get the radius instead
confirmSiteUrlstringnonthe exact site string again — required unless the site is unverified with no sitemaps

submit_indexnow

Tell the IndexNow search engines a page changed

Ping the IndexNow search engines that pages were added, updated or deleted — Bing, Yandex, Naver, Seznam.cz and Yep, all reached by ONE submission. Important: GOOGLE DOES NOT PARTICIPATE IN INDEXNOW and never has, so say that plainly rather than letting anyone expect a Google effect; for Google use submit_search_console_sitemap and search_console_url_inspection. NO CONNECTION IS NEEDED, because the credential belongs to the USER: they generate a key, host it as a plain text file on their own web server, and any engine fetching that file is the whole ownership check. HERMOSO VERIFIES THAT FILE BEFORE SUBMITTING — that it is reachable and that its contents are exactly the key — and refuses with an explanation if not, because we have no write access to a customer's web root and cannot place it for them. If the key file is moved off the site root with `keyLocation`, it authorises ONLY URLs under that directory, and URLs outside it are refused before anything is sent (IndexNow rejects the whole batch for one out-of-scope URL). Up to 10,000 URLs per submission, all on the one host. HTTP 202 is a SUCCESS ("received, validation pending"), not a reason to retry. 0 credits.

ParamètreTypeRequisDescription
hoststringouithe bare hostname that owns these URLs, e.g. "example.com"
keystringouithe IndexNow key — 8-128 letters, numbers and dashes — ALREADY hosted as .txt on that site
urlsarray<string>ouithe full URLs that were added, updated or deleted, all on `host`
keyLocationstringnonthe full URL of the key file if it is NOT at the site root. Moving it NARROWS the key to that directory only.

list_posthog_projects

List the PostHog projects this key can see

The PostHog projects the connected personal API key can see, and which ONE this profile is pointed at. Only the ACTIVE project is readable. That is deliberate: PostHog's API otherwise falls back to "the last project you visited in the UI", which would make every answer depend on the user's browsing history, so Hermoso pins a project at connect time instead of relying on their implicit default. To move this profile to a different project, the user reconnects PostHog under Connectors > PostHog, or with connect_connector, with that project id. Read-only, 0 credits.

Aucun paramètre.

posthog_query

Ask PostHog a question in HogQL

ASK POSTHOG A QUESTION IN HogQL — their SQL dialect over the `events`, `persons` and `sessions` tables. Use it for per-user funnels, retention and custom breakdowns, e.g. `SELECT properties.$current_url, count() FROM events WHERE event = '$pageview' AND timestamp > now() - INTERVAL 7 DAY GROUP BY 1 ORDER BY 2 DESC`. IT IS NOT AN EXPORTER AND MUST NEVER BE LOOPED — PostHog's own policy, verbatim: "Third-party connectors must use batch exports, not /query. Connectors built on /query are not supported and will be rate-limited or rejected." Ask ONE bounded question. Do not paginate it, do not schedule it, and do not call it repeatedly to assemble a whole table; if the user genuinely needs bulk data, tell them to set up a PostHog batch export. Every query is capped at 1000 rows, and OFFSET is refused outright because PostHog returns HTTP 400 for it on API keys — use keyset pagination on `timestamp` (events) or `id` (persons) if a second page is truly needed. Read-only, 0 credits.

ParamètreTypeRequisDescription
querystringouia HogQL (ClickHouse-flavoured SQL) query — one bounded question, never a page of an export
limitnumbernonrow cap, 1–1000 (default 1000). A LIMIT already in the query is honoured and clamped to the same ceiling

posthog_insight

Read a saved PostHog insight (funnel / retention / trend)

Read back an insight the user already BUILT in their PostHog UI — funnels, retention curves, trends and paths. Call with NO id to LIST the saved insights with their names and ids; call with insightId for that insight's definition and computed result. THIS IS THE RIGHT WAY TO ANSWER A FUNNEL OR RETENTION QUESTION when the report already exists, and the reason is a documentation fact rather than a preference: PostHog's typed query kinds (FunnelsQuery, RetentionQuery, PathsQuery) are undocumented — their own docs say those "are mostly used to power PostHog internally and are not useful for you" and publish no request payload, no field table and no example for any of them, so building on them would be a private API that can change without notice. The two supported routes are HogQL (posthog_query) and a saved insight (this). Read-only, 0 credits.

ParamètreTypeRequisDescription
insightIdstringnonomit to list the saved insights and their ids
refreshbooleannondefault true (recompute if stale); false = return the cached result even if stale

list_posthog_session_recordings

List PostHog session replays

SESSION REPLAYS. Lists recent recordings with who they belong to, how long they ran, how many clicks / keypresses / CONSOLE ERRORS each had, the URL they started on, and a link that opens the replay in PostHog. USE THE SIGNALS RATHER THAN JUST LISTING THEM: a session with console errors and a high keypress count on a checkout page is a bug report with a video attached, and that is the insight worth surfacing. THE RAW REPLAY IS NOT AVAILABLE OVER THE API — PostHog's words: "This endpoint does not provide the raw JSON of the replays. To get the raw JSON, you need to click Export as JSON in the replay options menu in-app." So describe and link; never promise a download and never claim to have watched one. Links need the user's own PostHog login. A publicly shareable link is minted in the PostHog UI and deliberately not by an agent, because it publishes a real person's session and PostHog themselves say they "make no guarantees about sensitive information contained in the recording". Read-only, 0 credits.

ParamètreTypeRequisDescription
limitnumbernon1–100, default 20

posthog_persons

Look up people in PostHog

Look up PEOPLE in PostHog by distinct id, email or a free-text search, with their properties. Use it to resolve a specific customer, then use their distinct id inside posthog_query to see exactly what that one human did. Read-only, 0 credits.

ParamètreTypeRequisDescription
distinctIdstringnonPostHog distinct id
emailstringnonexact email match
searchstringnonfree-text search across person properties
limitnumbernon1–100, default 20

mixpanel_insights

Read a saved Mixpanel report

READ BACK A SAVED MIXPANEL REPORT by its bookmark id — and this is the PREFERRED Mixpanel lane, not a fallback. Mixpanel has put BOTH its Segmentation and its Funnels query APIs in maintenance mode and recommends in their place that the report is built in the Mixpanel UI and read programmatically through Insights, which is exactly what this does. THE BOOKMARK ID MUST COME FROM THE USER: Mixpanel publishes no endpoint that lists saved reports, so ask them to open the report in Mixpanel and copy the id out of its URL (the part after "report-"). Remember Mixpanel allows only 60 QUERIES PER HOUR across its entire Query API — the tightest budget of any connector here — so reuse an answer rather than re-asking. READ BACK dateRange, do not assume the window: a saved report's date range is configured in Mixpanel's own UI and not by this call, and it comes back stamped with the PROJECT's UTC offset — the only place this connector can observe that timezone at all. Read-only, 0 credits.

ParamètreTypeRequisDescription
bookmarkIdstringouithe saved report's bookmark id, from its URL in Mixpanel

mixpanel_retention

Mixpanel retention cohorts

MIXPANEL RETENTION — how many of the people who did a first thing came back and did another, cohorted by day / week / month. This endpoint is FULLY SUPPORTED, unlike segmentation and funnels, which Mixpanel has put in maintenance mode — so it is the one typed Mixpanel report to reach for first. retentionType "birth" cohorts people by their FIRST occurrence of bornEvent (new-user retention, and Mixpanel's DEFAULT); "compounded" counts anyone active. Warning: MIXPANEL REQUIRES bornEvent WHENEVER retentionType IS "birth", AND BIRTH IS THE DEFAULT — so a call with neither is refused HERE, for free, rather than spending one of the sixty hourly queries on their 400; use list_mixpanel_events first to name a real event. TWO FILTERS, NOT ONE: bornWhere filters who ENTERS the cohort, where filters the RETURNING event. And interval is the WIDTH of each bucket while intervalCount is HOW MANY of them — different knobs. Dates are YYYY-MM-DD and BOTH ENDS ARE INCLUSIVE, resolved in the PROJECT's timezone (UTC unless its owner changed it) rather than in yours. 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.

ParamètreTypeRequisDescription
fromDatestringnonYYYY-MM-DD (default 30 days ago)
toDatestringnonYYYY-MM-DD (default today)
retentionTypeenum: "birth" | "compounded"non"birth" = cohort by first occurrence of bornEvent; "compounded" = anyone active
bornEventstringnonthe event that puts someone into the cohort — REQUIRED by Mixpanel when retentionType is "birth", which is the default
eventstringnonthe returning event; omitted means any event
unitenum: "day" | "week" | "month"nonthe interval unit (default day)
intervalnumbernonthe WIDTH of each bucket, in DAYS. Mixpanel cannot take this together with "unit" — it answers HTTP 500 to the pair, so pass one or the other (default: interval 1 day)
intervalCountnumbernonHOW MANY buckets to return (default 1). A "0th" bucket is always included for events inside the first interval
bornWherestringnona Mixpanel segmentation expression filtering who ENTERS the cohort (the born event)
wherestringnona Mixpanel segmentation expression filtering the RETURNING event
onstringnona property expression to segment the returning event on — this is what breaks a retention curve down by e.g. plan or platform
limitnumbernontop N segmentation values; does nothing unless "on" is set
unboundedRetentionbooleannonaccumulate right-to-left, so day N means "retained on day N or any day after"

mixpanel_segmentation

Mixpanel event segmentation (maintenance mode)

One Mixpanel event over time, optionally broken down by a property (`on`) and filtered (`where`). Warning: MIXPANEL HAS PUT THIS ENDPOINT IN MAINTENANCE MODE — their words: "We recommend discontinuing new use of this endpoint. To break down and filter event data, build an Insights report in-app and query it programmatically with the Insights Query API." It still answers today, which is why it is offered rather than withheld, but SAY SO when you use it and prefer mixpanel_insights whenever the user can build the report. It takes ONE event name and not an array (the /events endpoints take an array; this one does not — an easy and silent mistake). 60 queries/hour across the whole Query API. Read-only, 0 credits.

ParamètreTypeRequisDescription
eventstringouia SINGLE event name — not an array
fromDatestringnonYYYY-MM-DD (default 30 days ago)
toDatestringnonYYYY-MM-DD (default today)
onstringnona segmentation expression to break down by, e.g. properties["$browser"]
wherestringnona segmentation expression to filter by
unitenum: "minute" | "hour" | "day" | "month"nonNOTE: Mixpanel offers no "week" on segmentation, unlike retention
intervalnumbernonthe number of days each bucket covers — Mixpanel offers this in lieu of "unit" when "type" is not "general"
typeenum: "general" | "unique" | "average"noncount type: general (event count, default), unique (distinct users) or average
limitnumbernontop N property values; Mixpanel defaults to 60, max 10000, and it does nothing unless "on" is set

mixpanel_funnel

Read a saved Mixpanel funnel (maintenance mode)

A saved Mixpanel funnel. Call with NO id to LIST the saved funnels and their ids; call with funnelId to read its conversion data. Warning: MIXPANEL HAS PUT THE FUNNELS QUERY API IN MAINTENANCE MODE — their words: "We recommend discontinuing new use of this endpoint. To get funnel data, build a Funnels report in-app and query it programmatically with the Insights Query API." So prefer mixpanel_insights with that report's bookmark id; this is offered because it still answers and because it is the only way to LIST a project's funnels. `length` IS BOUNDED AT 90 DAYS, WHICH IS NOT THE NUMBER 90: it counts lengthUnits, so 90 days is 2160 hours or 129600 minutes, and an over-long window is REFUSED BY NAME rather than trimmed — silently shortening it would answer a different question with nothing to show that it had happened. Omit both and Mixpanel uses whatever the funnel was saved with in its own UI, which is usually what you want. Dates are YYYY-MM-DD and BOTH ENDS ARE INCLUSIVE, resolved in the PROJECT's timezone (UTC unless its owner changed it) rather than in yours. 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.

ParamètreTypeRequisDescription
funnelIdstringnonomit to list the saved funnels and their ids
fromDatestringnonYYYY-MM-DD (default 30 days ago)
toDatestringnonYYYY-MM-DD (default today)
lengthnumbernonthe conversion window, counted in lengthUnits — the TOTAL may not exceed 90 days. Omit to use the funnel own saved value
lengthUnitenum: "second" | "minute" | "hour" | "day"nonthe unit "length" is counted in (Mixpanel offers no week or month here). Omit to use the funnel own saved value
unitenum: "day" | "week" | "month"nonthe bucket the results are grouped into
intervalnumbernonthe number of days each bucket covers — an alternative to "unit" (default 1)
onstringnona property expression to break the funnel down by
wherestringnona segmentation expression to filter by
limitnumbernontop N property values; Mixpanel defaults to 255, max 10000, and it does nothing unless "on" is set

list_mixpanel_events

List Mixpanel events (or one event’s properties)

The EVENT VOCABULARY of the Mixpanel project — the most common event names over THE LAST 31 DAYS, so a query names something the project actually records rather than a guess. Start here before any other Mixpanel call. Pass `event` to list THAT event's top property names instead; the two are different questions with different answers, and a failure to read properties is reported AS a failure and never as "this event has no properties". Pass window "today" for Mixpanel's separate today-only endpoint, which carries counts and the percent change from yesterday — that is a DIFFERENT and far narrower question, and on a quiet project (or simply early in the project's own timezone day) it legitimately returns nothing while the project still records dozens of event types, so NEVER read an empty today answer as "this project has no events". 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.

ParamètreTypeRequisDescription
eventstringnonpass an event name to list ITS properties instead of listing events
windowenum: "vocabulary" | "today"non"vocabulary" (default) = the most common events over the last 31 days, names only. "today" = today only, with counts and the change from yesterday — a much narrower question
typeenum: "general" | "unique" | "average"noncount type for the event amounts: general (default), unique or average
limitnumbernonMixpanel own defaults are 255 for the vocabulary, 100 for today and 10 for properties

amplitude_segmentation

Amplitude event segmentation

AMPLITUDE EVENT SEGMENTATION — an event over time, with filters and group-bys. metric is uniques / totals / pct_dau / average / histogram / sums / value_avg / formula (and "formula" additionally REQUIRES `formula`, or Amplitude refuses it). Dates take YYYY-MM-DD or YYYYMMDD. AMPLITUDE'S RATE LIMIT IS COST-BASED, not per-request: cost = days × conditions × query type, 1000 per 5-minute window, so one very wide query can exhaust the budget on its own — the fix for a 429 here is to NARROW the range or the conditions, not to retry. AN EMPTY RESULT IS A VALID ANSWER, not a failure: a new or low-traffic Amplitude project genuinely has no data, and reporting that as a broken connection sends the user to fix something that is working. Read-only, 0 credits.

ParamètreTypeRequisDescription
eventsarray<any>nonone or two event specs: a plain name, or {eventType, filters:[{subprop_type,subprop_key,subprop_op,subprop_value}], groupBy:[…]}
eventstringnonshorthand for a single event name
metricenum: "uniques" | "totals" | "pct_dau" | "average" | "histogram" | "sums" | "value_avg" | "formula"nondefault uniques
formulastringnonrequired when metric is "formula"
startstringnonYYYYMMDD or YYYY-MM-DD (default 30 days ago)
endstringnonYYYYMMDD or YYYY-MM-DD (default today)
intervalnumbernon-300000 realtime, -3600000 hourly, 1 daily, 7 weekly, 30 monthly
groupBystringnonuser property or event property to break the series down by, e.g. gp:utm_campaign or country
groupBy2stringnona SECOND group-by (Amplitude's g2), e.g. groupBy gp:utm_campaign + groupBy2 country
segmentsarray<object>nonFILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp: ; built-ins are country, city, region…
limitnumbernon≤1000

amplitude_funnel

Amplitude funnel (conversion + drop-off)

AMPLITUDE FUNNELS: conversion and drop-off across ordered steps. Pass `events` as an ORDERED array of at least two steps. mode is ordered / unordered / sequential. conversionWindowSeconds is how long a user has to complete the funnel and DEFAULTS TO 2,592,000 SECONDS (30 DAYS) — ALWAYS state which window a conversion rate was measured over, because a 30-day window makes a funnel look dramatically healthier than a same-session one and the difference is invisible in the number itself. At most ONE group-by: segmentation allows two, funnels do not, and a second is refused by name rather than silently dropped. Returns step-by-step and cumulative conversion plus median and average transition times. Read-only, 0 credits.

ParamètreTypeRequisDescription
eventsarray<any>ouiordered steps — plain event names, or {eventType, filters:[…]} objects
modeenum: "ordered" | "unordered" | "sequential"nondefault ordered
conversionWindowSecondsnumbernonAmplitude default is 2592000 (30 days) — say which window you used
startstringnonYYYYMMDD or YYYY-MM-DD (default 30 days ago)
endstringnonYYYYMMDD or YYYY-MM-DD (default today)
groupBystringnonat most ONE — a second is refused
usersenum: "active" | "new"non'new' = first-time users only (the acquisition funnel); Amplitude's default is active
segmentsarray<object>nonFILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp: ; built-ins are country, city, region…

amplitude_retention

Amplitude retention

AMPLITUDE RETENTION — of the people who did startEvent, how many came back and did returnEvent. The two magic values are "_new" (first-time users) and "_active" (any active user), which is what makes "new-user retention" a single call. retentionMode is n-day / bracket / rolling, and "bracket" additionally REQUIRES `brackets` — it is refused without them rather than silently switched to another mode, because a retention curve computed under a different definition than the one asked for is a wrong answer that looks right. Read-only, 0 credits.

ParamètreTypeRequisDescription
startEventstringnon"_new" (default) or an event name
returnEventstringnon"_active" (default) or an event name
startstringnonYYYYMMDD or YYYY-MM-DD (default 30 days ago)
endstringnonYYYYMMDD or YYYY-MM-DD (default today)
retentionModeenum: "n-day" | "bracket" | "rolling"nonn-day, bracket (needs brackets) or rolling
bracketsarray<number>nonrequired when retentionMode is "bracket"
intervalnumbernon1 daily, 7 weekly, 30 monthly
groupBystringnonONE property to group by
segmentsarray<object>nonFILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp: ; built-ins are country, city, region…

amplitude_active_users

Amplitude active / new users

Amplitude ACTIVE or NEW user counts over a date range — the top-line "is the product growing" number, and the cheapest Amplitude call to run first after connecting because it proves the credential with no setup. metric is "active" or "new"; interval 1 daily, 7 weekly, 30 monthly. An empty series on a new project is the CORRECT answer and means the connection works and there is no data yet — never report it as a failure. Read-only, 0 credits.

ParamètreTypeRequisDescription
startstringnonYYYYMMDD or YYYY-MM-DD (default 30 days ago)
endstringnonYYYYMMDD or YYYY-MM-DD (default today)
metricenum: "active" | "new"nondefault active
intervalnumbernon1 daily, 7 weekly, 30 monthly
groupBystringnonONE property to group by
segmentsarray<object>nonFILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp: ; built-ins are country, city, region…

amplitude_user_activity

One person’s Amplitude activity stream

ONE PERSON'S ACTIVITY STREAM in Amplitude. Pass a user id, device id or user-id PREFIX and it SEARCHES; pass a numeric Amplitude ID and it returns that user's recent events with their properties. Two steps, because Amplitude splits them across two endpoints: search resolves a human-typed identifier to an Amplitude ID, and only that id reads an activity stream. NOTE these two endpoints sit on a DIFFERENT rate limit from the rest of Amplitude — flat counts (10 concurrent, 360 queries/hour) rather than the cost model — so they do not consume the segmentation budget and are not protected by it either. Read-only, 0 credits.

ParamètreTypeRequisDescription
userstringouia numeric Amplitude ID to read activity, or a user id / device id / user-id prefix to search
searchbooleannonforce a search even when the value is numeric
limitnumbernonmaximum events to return, up to 1000

list_amplitude_events

Amplitude taxonomy (declared events and properties)

The Amplitude TAXONOMY — the project's declared events, event properties, user properties or group properties, so a query names something real instead of a guess. category is event (default) / category / event-property / user-property / group-property. IF AMPLITUDE REFUSES THIS, REPORT THEIR REFUSAL AND MOVE ON. The Taxonomy API is widely believed to require an enterprise/Govern entitlement, but Amplitude documents no such gating on either the taxonomy page or the Dashboard API page (both checked), so a 403 here is surfaced as AMPLITUDE'S OWN message and is never presented as a Hermoso plan rule, as a broken connection, or as a fact about the user's plan that we cannot actually know. Every other Amplitude tool is unaffected by that refusal. Read-only, 0 credits.

ParamètreTypeRequisDescription
categoryenum: "category" | "event" | "event-property" | "user-property" | "group-property"nondefault "event"

amplitude_chart

Read a saved Amplitude chart

READ BACK A SAVED AMPLITUDE CHART by its id — the chart the user already built in Amplitude's own UI, with whatever segments, filters and date range they configured there. This is the saved-chart read for Amplitude, and it is the right lane whenever the report already exists: you inherit their definitions instead of rebuilding them from a segmentation query, and it costs one call rather than several. THE CHART ID MUST COME FROM THE USER — Amplitude publishes no endpoint that lists a project's charts — and it is the segment after '/chart/' in the chart's URL (e.g. 'abc123' in https://analytics.amplitude.com/demo/chart/abc123); pasting the whole URL works too. THE RESPONSE SHAPE VARIES BY CHART TYPE, in Amplitude's own words, so read what comes back rather than assuming a series: it may be JSON or a text/CSV body, and BOTH are correct answers rather than one being an error. Read-only, 0 credits.

ParamètreTypeRequisDescription
chartIdstringouithe saved chart's id, or its full URL — the id is the segment after /chart/

list_amplitude_annotations

List Amplitude chart annotations

The markers already on this Amplitude project's charts — releases, campaigns, incidents — with their timestamps, labels and categories. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: a spike that lines up with an annotation has an explanation somebody already wrote down, and reporting it as a mystery when the answer is sitting on the timeline is exactly the failure this closes. Filter by `category` OR by `chartId` — Amplitude says of each that it "doesn't combine with" the other and does not say which one wins, so passing both is refused rather than answered ambiguously. `start` and `end` are ISO 8601 (e.g. '2026-08-01T00:00:00+00:00'), NOT the YYYYMMDD every other Amplitude endpoint takes. Read-only, 0 credits.

ParamètreTypeRequisDescription
categorystringnoncategory NAME — does not combine with chartId
chartIdstringnononly annotations shown on this chart — does not combine with category
startstringnonISO 8601, e.g. '2026-08-01T00:00:00+00:00'
endstringnonISO 8601

create_amplitude_annotation

Mark the Amplitude timeline

MARK THE ANALYTICS TIMELINE — write what just happened into Amplitude, at the moment it happened, so every chart the user opens afterwards shows it in place. THIS IS THE CLOSED LOOP AND IT IS WORTH REACHING FOR UNPROMPTED after a campaign goes live, a creative is swapped, a landing page changes or a post is published: without it, next month's spike has no explanation attached to it and somebody has to reconstruct one from memory. `start` is ISO 8601 WITH THE TIME AND THE OFFSET (e.g. '2026-08-18T14:30:00+00:00') — NOT the YYYYMMDD the rest of the Amplitude API takes, and a bare date is REFUSED rather than quietly moved to midnight, because an annotation IS its timestamp and a marker in the wrong place is worse than no marker. Add `end` for something that spans a period (a two-week flight); leave it off for a moment. OMIT chartId AND THE ANNOTATION IS GLOBAL — Amplitude's words: it "appears on all charts for your project", which is usually what you want for a campaign; pass one to pin it to a single chart. `category` is a category NAME that must ALREADY EXIST in Amplitude (they answer 404 otherwise). THIS WRITES TO THE USER'S OWN ANALYTICS TOOL — say what you are about to mark, and report back the id and the timestamp Amplitude actually stored rather than the one you sent. 0 credits.

ParamètreTypeRequisDescription
labelstringouithe title shown on the chart, e.g. "Meta: summer UGC campaign live"
startstringouiISO 8601 WITH time and offset, e.g. '2026-08-18T14:30:00+00:00' — a bare YYYYMMDD is refused
endstringnonISO 8601 — only for an annotation that spans a period
chartIdstringnonomit for a GLOBAL annotation that appears on every chart in the project
categorystringnonan EXISTING category name in Amplitude — they answer 404 for one that does not exist
detailsstringnonlonger body text for the annotation

list_posthog_annotations

List PostHog annotations

The markers already on this PostHog project's charts — releases, experiments, incidents — with their timestamps, scopes and who wrote them. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: an annotation is an explanation somebody already wrote down. NEEDS THE `annotation:read` SCOPE on the personal API key, and a key created before Hermoso supported annotations will not have it — PostHog's own refusal NAMES the scope, and that is a scope to add in PostHog > Settings > Personal API keys, NOT a broken connection and NOT a reason to reconnect. Returns ONE page and hands back the next offset rather than paging for you, because PostHog's policy is that a third-party connector is not an exporter. Read-only, 0 credits.

ParamètreTypeRequisDescription
limitnumbernon1–100, default 25
offsetnumbernonfor the next page — this tool does not paginate for you
searchstringnonfree-text search over annotation content

create_posthog_annotation

Mark the PostHog timeline

MARK THE POSTHOG TIMELINE — write what just happened into PostHog at the moment it happened, so every chart afterwards shows it in place. The same closed loop as create_amplitude_annotation, and worth reaching for unprompted after a campaign goes live, a creative is swapped or a landing page changes. `dateMarker` is what POSITIONS the marker on the x-axis (ISO 8601); omit it and NOW is used, which is right for "this just went live" — and the timestamp PostHog actually STORED is reported back rather than the one sent. `scope` is project (the default — shows on everything) / organization / dashboard / dashboard_item, and `dashboard` and `dashboard_item` each need their id or the annotation attaches to nothing and appears nowhere. PostHog also publishes a `recording` scope which THEY THEMSELVES REJECT, so it is refused by name here rather than sent. `creationType` USR means a person wrote it, GIT means a bot or a deployment did. NEEDS THE `annotation:write` SCOPE on the personal API key — a key made before Hermoso supported annotations will not have it; PostHog names it in their refusal, and it is added in PostHog > Settings > Personal API keys without reconnecting. THIS WRITES TO THE USER'S OWN ANALYTICS TOOL. 0 credits.

ParamètreTypeRequisDescription
contentstringouithe text shown on the chart, ≤8192 characters
dateMarkerstringnonISO 8601 — defaults to now, which is right for "this just went live"
scopeenum: "project" | "organization" | "dashboard" | "dashboard_item"nondefault project. PostHog's `recording` scope is deprecated and rejected by PostHog
creationTypeenum: "USR" | "GIT"nonUSR = a person wrote it, GIT = a bot or deployment did
dashboardIdnumbernonREQUIRED when scope is "dashboard"
insightIdnumbernonREQUIRED when scope is "dashboard_item" — the numeric id of the insight

list_mixpanel_annotations

List Mixpanel annotations

The markers already on this Mixpanel project's charts (launches, campaigns, incidents) with their date, text, tags and who wrote them. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: an annotation is an explanation somebody already wrote down. fromDate / toDate (YYYY-MM-DD, both inclusive) narrow the window. Read-only, 0 credits. Needs Mixpanel connected.

ParamètreTypeRequisDescription
fromDatestringnonYYYY-MM-DD, inclusive
toDatestringnonYYYY-MM-DD, inclusive

create_mixpanel_annotation

Mark the Mixpanel timeline

MARK THE MIXPANEL TIMELINE: write what just happened into Mixpanel at the moment it happened, so every chart afterwards shows it in place. The same closed loop as the PostHog and Amplitude annotation tools, worth reaching for unprompted after a campaign goes live, a creative is swapped or a landing page changes. `date` is "YYYY-MM-DD HH:mm:ss" (Mixpanel's own format, charted in the PROJECT's timezone), "YYYY-MM-DD", or an ISO timestamp with its offset (written in the project's timezone so the mark sits at that exact instant, read back to prove it); omit it for NOW. tags are numeric annotation-tag ids. The stored row is read back. Mixpanel only lets a service account with at least the ANALYST role write annotations; a lower role is refused by name, and that is a role change in Mixpanel, not a reconnect. 0 credits. Needs Mixpanel connected.

ParamètreTypeRequisDescription
descriptionstringouithe text shown on the chart, e.g. "Meta: summer UGC campaign went live"
datestringnon"YYYY-MM-DD HH:mm:ss", "YYYY-MM-DD" or ISO with offset; default now
tagsarray<number>nonannotation-tag ids

update_mixpanel_annotation

Edit a Mixpanel annotation

Change the text or tags of a Mixpanel annotation (annotationId from list_mixpanel_annotations). Mixpanel cannot move an annotation to a new date; to fix a wrong date, delete it and create a new one. The edited row is read back. Needs the ANALYST role on the service account. 0 credits. Needs Mixpanel connected.

ParamètreTypeRequisDescription
annotationIdnumberouifrom list_mixpanel_annotations
descriptionstringnonnew annotation text; empty text is refused
tagsarray<number>nonannotation-tag ids

delete_mixpanel_annotation

Delete a Mixpanel annotation

Permanently delete a Mixpanel annotation from every chart in the project. WITHOUT confirm:true nothing is deleted and you get the exact annotation that would go, to show the user; call again with confirm:true only after they say yes. The delete is verified by reading it back. Needs the ANALYST role on the service account. 0 credits. Needs Mixpanel connected.

ParamètreTypeRequisDescription
annotationIdnumberouifrom list_mixpanel_annotations
confirmbooleannontrue only after the user approved deleting this exact annotation

list_posthog_surveys

PostHog surveys

PostHog SURVEYS. Without surveyId: the project's surveys (name, type, running / complete / draft / archived, dates, questions); filter by status or search. With surveyId: that survey's questions (with their ids, for posthog_survey_responses) plus its stats: shown / dismissed / sent counts, response and dismissal rates, and per-question distributions and rating averages. NEEDS THE OPTIONAL survey:read SCOPE on the PostHog personal API key: a key without it connects fine and works for everything else, and this tool then says exactly which box to tick in PostHog > Settings > Personal API keys. That is never a reconnect. Read-only, 0 credits. Needs PostHog connected.

ParamètreTypeRequisDescription
surveyIdstringnonone survey: its questions and stats
statusenum: "running" | "complete" | "draft"nononly surveys in this state
searchstringnonmatch survey names containing this text
archivedbooleannonPostHog archived filter: true or false; omit to leave it unfiltered
limitnumbernon1-100, default 25
offsetnumbernonskip this many surveys; use the nextOffset from the previous reply
dateFromstringnonstats window start, ISO
dateTostringnonstats window end, ISO

posthog_survey_responses

PostHog survey responses

THE ANSWERS people gave a PostHog survey, with the QUESTION TEXT resolved beside each answer: who (distinct_id), when, country, device and the page they were on. The customers' own words: the best raw input for ad hooks, angles and objections. questionId narrows to one question; with scoreLte / scoreGte on a rating question it pulls e.g. NPS detractors (scoreLte 6) or promoters (scoreGte 9). since / until are ISO timestamps. One page (limit 1-500, default 100) and the next offset when there is more. NEEDS THE OPTIONAL survey:read SCOPE on the PostHog personal API key (plus query:read, which every connection already has); without it this tool names the box to tick in PostHog, never a reconnect. Read-only, 0 credits. Needs PostHog connected.

ParamètreTypeRequisDescription
surveyIdstringouifrom list_posthog_surveys
questionIdstringnonone question id from the survey (see list_posthog_surveys with surveyId)
scoreLtenumbernonneeds questionId; e.g. 6 for NPS detractors
scoreGtenumbernonneeds questionId; e.g. 9 for NPS promoters
sincestringnonISO timestamp
untilstringnonISO timestamp
excludeArchivedbooleannontrue = leave out responses to archived questions
limitnumbernon1-500, default 100
offsetnumbernonskip this many responses; use the nextOffset from the previous reply

list_mixpanel_cohorts

List saved Mixpanel cohorts

THE SAVED COHORTS in the Mixpanel project — each with its id, name, description and CURRENT MEMBER COUNT. Two uses, and both matter for advertising: the counts alone answer "how big is our converted audience", and the id is what mixpanel_profiles needs to read the PEOPLE in one. A cohort hidden in Mixpanel's UI is still listed and flagged rather than dropped, because hidden is a display choice and it is still queryable by id. ONE CALL, and the cheapest thing on this connector — worth calling before mixpanel_profiles rather than guessing an id. Remember Mixpanel allows only 60 QUERIES PER HOUR across its entire Query API (5 concurrent), the tightest budget of any connector here, and this shares it with every other Mixpanel tool. Read-only, 0 credits.

Aucun paramètre.

mixpanel_profiles

Read the people in a Mixpanel cohort

THE PEOPLE in Mixpanel, with their profile properties. Pass `cohortId` (from list_mixpanel_cohorts) for "who is in the Converted cohort and what do we know about them", or `where` for an ad-hoc filter over profile properties, or `distinctId` for one person. PASS `outputProperties` ALMOST ALWAYS: it cuts the payload to the properties you actually need, and Mixpanel says it "can drastically reduce the amount of data returned" and "can speed up queries significantly". RETURNS ONE PAGE AND DOES NOT PAGINATE FOR YOU — it hands back page, pageSize, total and a sessionId, and Mixpanel REQUIRES that sessionId alongside any page above 0, so a second page is a deliberate second call. DO NOT LOOP IT: Mixpanel allows 60 queries per hour across its ENTIRE Query API and each page spends one of them. REPORT `total` (the whole cohort) SEPARATELY FROM `count` (this page) — quoting only the page size understates the audience, which is the number a targeting decision gets made on. Read-only, 0 credits.

ParamètreTypeRequisDescription
cohortIdstringnona numeric cohort id from list_mixpanel_cohorts
wherestringnona Mixpanel segmentation expression over profile properties, e.g. properties["$city"] == "London"
distinctIdstringnonone person
distinctIdsarray<string>nonseveral people by distinct id
outputPropertiesarray<string>nononly return these properties — strongly recommended, it is much faster and much smaller
dataGroupIdstringnongroup key — for GROUP profiles rather than user profiles
pagenumbernonpages start at ZERO; any page above 0 REQUIRES sessionId
sessionIdstringnonfrom the previous page — required for page > 0
includeAllUsersbooleannononly applies alongside cohortId; false = only distinct ids that actually have a profile

list_vercel_projects

List Vercel projects

The brand's Vercel projects (its websites): name, id, framework, production URL and state, the latest deployment (URL, state, target, when), the linked git repo, and whether Web Analytics and Speed Insights are on. search filters by project name. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).

ParamètreTypeRequisDescription
searchstringnonpart of a project name
limitnumbernon1-50, default 20
cursorstringnonnextCursor from a previous call

list_vercel_deployments

List Vercel deployments

Deployments on the brand's Vercel account, newest first: URL, state (READY, BUILDING, QUEUED, ERROR, CANCELED...), target (production or preview), when it was created and became ready, the commit message and Vercel's inspector link. Filter by projectId, target or state, or pass deploymentId (an id or a deployment URL) to read one, e.g. to see whether a page you just deployed is READY. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).

ParamètreTypeRequisDescription
projectIdstringnonproject id or name
deploymentIdstringnonread ONE deployment by id or URL
targetenum: "production" | "preview" | "staging"nonfilter by environment: production, preview or staging
stateenum: "BLOCKED" | "BUILDING" | "CANCELED" | "DELETED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"nonfilter to deployments in this state
limitnumbernon1-50, default 20
untilstringnonthe nextCursor a previous page returned — the next (older) page

list_vercel_domains

List Vercel domains

The domains on the brand's Vercel account (verified or not, when they expire), or with projectId the domains assigned to one project (and any redirect or git branch on them). Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).

ParamètreTypeRequisDescription
projectIdstringnonproject id or name, for that project's domains
limitnumbernon1-50, default 20

vercel_web_analytics

Vercel Web Analytics

Vercel WEB ANALYTICS for one project: page views and unique visitors over a window (default the last 30 days, production traffic), and with `by` a breakdown by requestPath (which pages), referrerHostname (where visitors came from), country, deviceType, osName, browserName, route, utmSource / utmMedium / utmCampaign / utmContent / utmTerm (which campaigns and ads brought them), or a time step (day, week, month). Use it to see which landing pages and ad campaigns actually bring traffic. Needs Web Analytics turned on for the project in Vercel. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).

ParamètreTypeRequisDescription
projectIdstringouiproject id or name (list_vercel_projects)
bystringnonone or TWO comma-separated dimensions (at most one time step): requestPath, referrerHostname, country, deviceType, osName, browserName, route, utmSource, utmMedium, utmCampaign, utmContent, utmTerm, environment, flags, flags/ , hour, day, week, month, year — e.g. 'day,utmCampaign'
daysnumbernon1-366, default 30
sincestringnonYYYY-MM-DD (instead of days)
untilstringnonYYYY-MM-DD (default now)
limitnumbernonrows in the breakdown, 1-100, default 10
filterstringnonVercel's OData filter, e.g. utmSource eq 'facebook'

vercel_event_analytics

Vercel custom events (conversions)

Vercel CUSTOM EVENTS, the CONVERSIONS on a Vercel-hosted site (signups, purchases, any track('Name') from @vercel/analytics): the count and unique visitors over a window, and with `by` a breakdown by eventName, eventData/ (e.g. eventData/plan), utmSource / utmMedium / utmCampaign / utmContent / utmTerm (which ad or campaign drove the conversion), requestPath, country and the rest, or a time step. Up to TWO at once, e.g. by 'utmCampaign,eventName' or 'day,utmCampaign'. eventName narrows to one event. This is the conversion half of an ad report for a landing page on Vercel; vercel_web_analytics is the traffic half. Custom events need Web Analytics on and a Vercel Pro or Enterprise plan. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).

ParamètreTypeRequisDescription
projectIdstringouiproject id or name (list_vercel_projects)
eventNamestringnononly this event, e.g. 'Signup'
bystringnonone or TWO comma-separated dimensions: eventName, eventData, eventData/ , utmSource, utmMedium, utmCampaign, utmContent, utmTerm, requestPath, referrerHostname, country, deviceType, osName, browserName, route, environment, flags, flags/ , or one time step hour/day/week/month/year
daysnumbernon1-366, default 30
sincestringnonYYYY-MM-DD (instead of days)
untilstringnonYYYY-MM-DD (default now)
limitnumbernonrows in the breakdown, 1-100, default 10
filterstringnonVercel's OData filter, e.g. utmSource eq 'facebook'

deploy_vercel_page

Deploy a page to Vercel

Publish a STATIC landing page to the brand's Vercel account from HTML (it becomes index.html) or a few files [{file, data, encoding:'utf-8'|'base64'}], up to 50 files and 4 MB. project names the Vercel project (created if it does not exist; it becomes part of the URL). target 'preview' (default) makes a new preview URL and leaves the live site alone; 'production' REPLACES what the project's domains serve. WITHOUT confirm:true nothing is sent and you get the exact preview to show the user; call again with confirm:true only after they say yes. The answer is Vercel's own deployment row (URL and state); a new deployment is QUEUED or BUILDING for a moment, so read it back with list_vercel_deployments deploymentId until READY. Free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).

ParamètreTypeRequisDescription
projectstringouiVercel project name, e.g. spring-sale
htmlstringnonthe full HTML of the page
filesarray<object>noninstead of (or as well as) html: relative paths with their content
targetenum: "preview" | "production"nondefault preview
confirmbooleannontrue only after the user approved this exact deploy

delete_vercel_deployment

Delete a Vercel deployment

PERMANENTLY delete one Vercel deployment: its URL stops working and Vercel has no undo. Without confirm:true nothing is deleted and you get the deployment it would delete (URL, target, state) to show the user; a production deployment the domains still serve takes the site down. Call again with confirm:true only after the user says yes to that exact deployment. Free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).

ParamètreTypeRequisDescription
deploymentIdstringouifrom list_vercel_deployments
confirmbooleannontrue only after the user approved deleting this exact deployment

list_trade_desk_advertisers

List Trade Desk advertisers

The Trade Desk advertisers shared with this brand (set_connector_accounts with provider "trade_desk" changes which): id, name, currency. Only these are usable. Read-only, free.

Aucun paramètre.

list_trade_desk_campaigns

List Trade Desk campaigns

The brand's Trade Desk campaigns on one advertiser: id, name, budget, dates, archived or not. advertiserId is optional when one advertiser is shared with this brand. A campaign delivers only through its enabled ad groups (list_trade_desk_ad_groups). Read-only, free.

ParamètreTypeRequisDescription
advertiserIdstringnonTrade Desk advertiser id
searchstringnonname search
includeArchivedbooleannon
limitnumbernonup to 2000, default 500

list_trade_desk_ad_groups

List Trade Desk ad groups

The ad groups in one Trade Desk campaign: id, name, ENABLED or paused, budget, daily budget, base and max bid CPM, and the creatives each serves. Read-only, free.

ParamètreTypeRequisDescription
campaignIdstringouifrom list_trade_desk_campaigns
includeArchivedbooleannon

list_trade_desk_creatives

List Trade Desk creatives

The creatives on one Trade Desk advertiser (id, name, type), to put on an ad group. Read-only, free.

ParamètreTypeRequisDescription
advertiserIdstringnon
limitnumbernon

create_trade_desk_campaign

Create a Trade Desk campaign (cannot spend yet)

Create a Trade Desk campaign that maximizes reach: name, goal awareness (Display, default) or video_views (Video), optional LIFETIME budget (paced evenly), startDate, endDate. It is created with NO ad groups, so it spends nothing until ad groups built in The Trade Desk are enabled (set_trade_desk_status). Read back from The Trade Desk. Free.

ParamètreTypeRequisDescription
advertiserIdstringnon
namestringoui
goalenum: "awareness" | "video_views" | "audio" | "ctv" | "native" | "dooh"nondefault awareness
budgetnumbernonlifetime, advertiser currency
startDatestringnonYYYY-MM-DD, default today
endDatestringnon
descriptionstringnon

update_trade_desk_campaign

Edit a Trade Desk campaign

Rename a Trade Desk campaign, change its description, or move its end date. A new end date changes how long it can spend, so it needs confirm:true after the user says yes. Budgets live on flights and ad groups (update_trade_desk_ad_group). Read back. Free.

ParamètreTypeRequisDescription
campaignIdstringoui
namestringnon
descriptionstringnon
endDatestringnonYYYY-MM-DD
confirmbooleannon

update_trade_desk_ad_group

Edit a Trade Desk ad group

Change a Trade Desk ad group: name, budget, dailyBudget, baseBidCpm, maxBidCpm (each changes spend, so confirm:true after the user says yes), or creativeIds (the creatives it serves; the list REPLACES the old one, so leaving one out takes it off the ad group). Read back. Free.

ParamètreTypeRequisDescription
adGroupIdstringoui
namestringnon
budgetnumbernon
dailyBudgetnumbernon
baseBidCpmnumbernon
maxBidCpmnumbernon
creativeIdsarray<string>non
confirmbooleannon

set_trade_desk_status

Pause or enable Trade Desk ad groups

level adgroup: status active (starts spending, needs confirm:true after the user says yes) or paused. level campaign: paused switches off every enabled ad group in it; a campaign has no on/off switch of its own, so active is refused (enable its ad groups instead). Read back. Free.

ParamètreTypeRequisDescription
levelenum: "campaign" | "adgroup"non
campaignIdstringnon
adGroupIdstringnon
statusenum: "active" | "paused"oui
confirmbooleannon

archive_trade_desk_object

Archive a Trade Desk campaign or ad group

ARCHIVE a Trade Desk campaign or ad group. PERMANENT at The Trade Desk (a campaign takes every ad group with it), so it needs confirm:true after the user says yes; set_trade_desk_status paused stops spending without it. Read back. Free.

ParamètreTypeRequisDescription
levelenum: "campaign" | "adgroup"non
campaignIdstringnon
adGroupIdstringnon
confirmbooleannon

list_taboola_ads_campaigns

List Taboola campaigns

The brand's Taboola campaigns: id, name, active or paused, status, approval, CPC, daily cap and spending limit. Needs the Backstage API credentials on the Taboola card (created in Taboola Ads, API Keys). Read-only, free.

ParamètreTypeRequisDescription
accountstringnonwhen the credentials reach several accounts

taboola_ads_report

Taboola campaign performance

Taboola performance per campaign for a date range (from / to YYYY-MM-DD, or days, default 7, up to 92): spend, clicks, impressions, CTR, CPC, conversions and conversion value, with totals. Taboola can still update conversions for 30 days. Read-only, free.

ParamètreTypeRequisDescription
fromstringnon
tostringnon
daysnumbernon
accountstringnon

list_outbrain_ads_marketers

List Outbrain marketers

The Outbrain marketers (advertiser accounts) shared with this brand (set_connector_accounts with provider "outbrain_ads" changes which): id and name. Only these are usable. Read-only, free.

Aucun paramètre.

list_outbrain_ads_budgets

List Outbrain budgets

The budgets on one Outbrain marketer: id, name, amount, amount left and spent, type (CAMPAIGN one-time, MONTHLY, DAILY), pacing, daily target, end date. marketerId is optional when one marketer is shared with this brand. Read-only, free.

ParamètreTypeRequisDescription
marketerIdstringnon
detachedOnlybooleannononly budgets no campaign uses yet

list_outbrain_ads_campaigns

List Outbrain campaigns

The brand's Outbrain campaigns on one marketer: id, name, ENABLED or paused, on air or why not, CPC, objective, amount spent and its budget. marketerId is optional when one marketer is shared with this brand. Read-only, free.

ParamètreTypeRequisDescription
marketerIdstringnon
includeArchivedbooleannon
limitnumbernonup to 500, default 200

list_outbrain_ads_promoted_links

List Outbrain promoted links

The promoted links (the ads) in one Outbrain campaign: id, headline, url, enabled or paused, approval status and whether it is on air. Read-only, free.

ParamètreTypeRequisDescription
campaignIdstringouifrom list_outbrain_ads_campaigns
enabledbooleannononly enabled (true) or only paused (false)
limitnumbernon

outbrain_ads_report

Outbrain performance

Outbrain performance for a date range (from / to YYYY-MM-DD, or days, default 7, up to a year), by campaign (default) or by date (a row a day): spend, impressions, clicks, CTR, average CPC, conversions, CPA and conversion value, with totals. campaignId narrows it to one campaign. Reports run 10-30 minutes behind and allow 10 reads a minute per marketer. Read-only, free.

ParamètreTypeRequisDescription
byenum: "campaign" | "date"non
fromstringnon
tostringnon
daysnumbernon
campaignIdstringnon
marketerIdstringnon

create_outbrain_ads_campaign

Create an Outbrain campaign (paused)

Create an Outbrain campaign, always PAUSED so it spends nothing: name (unique per marketer, up to 100 characters), cpc in the marketer's currency, objective Traffic (default) or Awareness, optional platforms and trackingSuffix (utm parameters). Pass budgetId for an existing budget OR budget {amount, type, pacing, dailyTarget, startDate, endDate} for a new one. Then add_outbrain_ads_promoted_links, and set_outbrain_ads_status after the user says yes. Read back. Free. Outbrain sets a minimum budget per account and currency (on ours, US$140 for a one-time CAMPAIGN budget and US$600 MONTHLY) and says so when one is too low; language is the two-letter code of the promoted pages (default en).

ParamètreTypeRequisDescription
marketerIdstringnon
namestringoui
cpcnumberouicost per click, the marketer's currency
objectiveenum: "Traffic" | "Awareness"non
platformsarray<enum: "DESKTOP" | "MOBILE" | "TABLET">non
languagestringnontwo-letter language of the promoted pages, default en
trackingSuffixstringnone.g. utm_source=outbrain&utm_campaign=x
budgetIdstringnonan existing budget (list_outbrain_ads_budgets)
budgetobjectnona new budget for this campaign

add_outbrain_ads_promoted_links

Add Outbrain promoted links

Add promoted links (a page to promote, with an optional headline, image and description) to an Outbrain campaign, up to 50 a call. Outbrain crawls the title and image when they are left out and reviews every link. If the campaign is already ENABLED, enabled links start spending once approved, so that needs confirm:true after the user says yes (or enabled:false per link). Free.

ParamètreTypeRequisDescription
campaignIdstringoui
linksarray<object>oui
confirmbooleannon

update_outbrain_ads_budget

Change an Outbrain budget

Change an Outbrain budget: amount, dailyTarget, endDate or runForever:true, pacing, type, startDate. Every change decides what its campaigns can spend, so without confirm:true nothing changes and you get the before and after; call again with confirm:true after the user says yes. Read back. Free.

ParamètreTypeRequisDescription
budgetIdstringoui
marketerIdstringnon
amountnumbernon
dailyTargetnumbernon
endDatestringnon
runForeverbooleannon
pacingenum: "AUTOMATIC" | "SPEND_ASAP" | "DAILY_TARGET"non
typeenum: "CAMPAIGN" | "MONTHLY" | "DAILY"non
startDatestringnon
confirmbooleannon

set_outbrain_ads_status

Pause or turn on Outbrain

Pause or turn on an Outbrain campaign (level campaign, campaignId) or one promoted link (level promoted_link, promotedLinkId). status active starts spending, so it needs confirm:true after the user says yes; paused needs none. Read back. Free.

ParamètreTypeRequisDescription
levelenum: "campaign" | "promoted_link"non
campaignIdstringnon
promotedLinkIdstringnon
statusenum: "active" | "paused"oui
confirmbooleannon

delete_outbrain_ads_object

Archive an Outbrain campaign or delete an unused budget

ARCHIVE an Outbrain campaign (Outbrain has no campaign delete: say ARCHIVED, never deleted; it drops out of the campaign lists and its promoted links go with it) or DELETE a budget no campaign uses and that has spent nothing (Outbrain refuses any other). Call it WITHOUT confirm FIRST: that only reads and says what would be lost; then confirm:true, plus confirmName (the exact name) and confirmChildren when the answer asks for them, after the user says yes. set_outbrain_ads_status paused stops spending without archiving. Read back. Free.

ParamètreTypeRequisDescription
levelenum: "campaign" | "budget"nondefault campaign
campaignIdstringnon
budgetIdstringnon
marketerIdstringnon
confirmbooleannon
confirmNamestringnonthe exact name, when asked
confirmChildrennumbernonthe promoted link count, when asked

list_woocommerce_orders

List WooCommerce orders

The brand's WooCommerce orders, newest first: number, date, status, total, refunded, buyer and items. Filter by status (any, pending, processing, on-hold, completed, cancelled, refunded, failed; several comma-separated), after / before (YYYY-MM-DD), search, page and perPage (up to 100). Pass id for ONE order in full: addresses, payment method, its notes and its refunds. Read-only, free.

ParamètreTypeRequisDescription
idstringnonone order number, for the order in full
statusstringnonany (default), pending, processing, on-hold, completed, cancelled, refunded, failed; comma-separated for several
afterstringnonYYYY-MM-DD: created on or after
beforestringnonYYYY-MM-DD: created on or before
searchstringnon
pagenumbernon
perPagenumbernon1-100, default 20

update_woocommerce_order

Update a WooCommerce order

Change a WooCommerce order: status (pending, processing, on-hold, completed, cancelled, refunded, failed; cancelling puts the stock back, most status changes email the buyer, and 'refunded' moves NO money: use refund_woocommerce_order), note (an internal note; noteToCustomer:true emails it to the buyer), shipping and billing details (only the fields given change), metaData [{key, value}]. An internal note and metaData apply at once and are read back. A status, address or buyer note is a preview until confirm:true: show the user what changes, get a yes, then call again with confirm:true. Free.

ParamètreTypeRequisDescription
idstringouithe order number
statusenum: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed"non
notestringnona note on the order
noteToCustomerbooleannontrue: the buyer sees the note and is emailed it
shippingobjectnonfirst_name, last_name, company, address_1, address_2, city, state, postcode, country (two letters), phone
billingobjectnonthe same fields plus email
metaDataarray<object>non
confirmbooleannontrue to apply a status, address or buyer-note change

refund_woocommerce_order

Refund a WooCommerce order

Refund a WooCommerce order: full:true (everything still refundable), lineItems [{ lineItemId, quantity }] and/or amount (a sum of money, e.g. a goodwill refund). By default the money goes back through the order's payment gateway; apiRefund:false only RECORDS the refund in WooCommerce, for money returned by hand (an order paid by bank transfer, cheque or cash on delivery can only be recorded). Refunded items go back into stock unless restock:false. Without confirm:true NOTHING is refunded and the reply shows the amount: show the user, get a yes, then call again with confirm:true and confirmAmount set to that exact amount. Retrying the same confirmed refund never refunds twice. Free.

ParamètreTypeRequisDescription
idstringouithe order number
fullbooleannon
lineItemsarray<object>non
amountstringnonrefund this much money instead, e.g. "10.00"
reasonstringnon
apiRefundbooleannondefault true: through the payment gateway
restockbooleannondefault true for refunded lines
confirmbooleannon
confirmAmountstringnonthe amount the preview showed
idempotencyKeystringnononly to repeat an identical refund on purpose: any new text

get_woocommerce_stock

Get WooCommerce stock

Stock on the brand's WooCommerce store: pass productId (a variable product lists every variation), variationId or sku. Each item: how many are in stock, or that stock is not tracked, and its stock status. Read-only, free.

ParamètreTypeRequisDescription
productIdstringnon
variationIdstringnon
skustringnon

set_woocommerce_stock

Set or adjust WooCommerce stock

Change stock on the brand's WooCommerce store. mode set (quantity becomes the count) or adjust (quantity is added; negative subtracts). changes: [{ productId, variationId or sku, quantity }], up to 100. Without confirm:true NOTHING changes and the reply shows the count now and after for each: show the user, get a yes, then call again with confirm:true and each change's expected set to its 'now' number, so a sale in between is refused instead of overwritten. An item whose stock is not tracked yet gets tracking turned on at the new count. Read back. Free.

ParamètreTypeRequisDescription
modeenum: "set" | "adjust"nondefault set
changesarray<object>oui
confirmbooleannon

manage_woocommerce_products

WooCommerce products

Products on the brand's WooCommerce store. action list (status, query, sku, categoryId, page), get (id: variations, options, images), create (title, description, shortDescription, sku, tags, categoryIds, status draft (default) | publish, price + compareAtPrice (or regularPrice / salePrice), options [{name, values}] with variants [{price, compareAtPrice, sku, options [{name, value}]}], images [{url, alt}]), update (those fields; a simple product's price), duplicate (id, newTitle: always a draft), set_status (id or ids, status publish | draft | pending | private), delete (id or ids: to the trash; permanent:true for good), tags (ids, addTags, removeTags), add_variants / update_variants (variants with id) / delete_variants (variantIds), add_options (options) / delete_options (names), add_images / remove_images / reorder_images (imageIds in the new order, first = main image), meta (id; set {key: value}, delete [keys]; neither = list), store (the shop's own settings). Publishing, unpublishing, deleting, a live price change and removing variants, options or images are previews until confirm:true. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "get" | "create" | "update" | "duplicate" | "set_status" | "delete" | "tags" …nondefault list (get when id is passed)
idstringnonthe product id
idsarray<string>non
titlestringnon
newTitlestringnon
descriptionstringnon
shortDescriptionstringnon
handlestringnon
skustringnon
tagsarray<string>non
addTagsarray<string>non
removeTagsarray<string>non
categoryIdsarray<string>non
featuredbooleannon
statusenum: "publish" | "draft" | "pending" | "private" | "any"non
pricestringnon
compareAtPricestringnon
regularPricestringnon
salePricestringnon
optionsarray<object>non
namesarray<string>non
variantsarray<object>non
variantIdsarray<string>non
imagesarray<object>non
imageIdsarray<string>non
setobjectnonmeta: keys to set
deletearray<string>nonmeta: keys to remove
permanentbooleannon
querystringnon
categoryIdstringnon
pagenumbernon
limitnumbernon
confirmbooleannon

manage_woocommerce_categories

WooCommerce categories

Product categories (collections) on the brand's WooCommerce store. action list (query), get (id, with its first products), create (title, handle, description, parentId, imageUrl, productIds), update, delete (id: permanent; products stay), add_products / remove_products (id, productIds). Delete is a preview until confirm:true. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "get" | "create" | "update" | "delete" | "add_products" | "remove_products"nondefault list (get when id is passed)
idstringnon
titlestringnon
handlestringnon
descriptionstringnon
parentIdstringnon
imageUrlstringnon
productIdsarray<string>non
querystringnon
limitnumbernon
confirmbooleannon

manage_woocommerce_coupons

WooCommerce coupons

Coupons (discount codes) on the brand's WooCommerce store. action list (status on | off, query), get (id or code), create (code, percentOff or amountOff (appliesOnEachItem for a per-item amount) or freeShipping, minSubtotal, endsAt, usageLimit, oncePerCustomer, productIds, categoryIds, emails, individualUse, excludeSaleItems), update (those), activate / deactivate (switch a code on or off; off keeps it), delete (to the trash; permanent:true for good). Creating, changing a live code, switching on or off and deleting are previews until confirm:true. Free.

ParamètreTypeRequisDescription
actionenum: "list" | "get" | "create" | "update" | "activate" | "deactivate" | "delete"nondefault list (get when id or code is passed)
idstringnon
codestringnon
titlestringnon
descriptionstringnon
percentOffnumbernon
amountOffnumbernon
appliesOnEachItembooleannon
freeShippingbooleannon
minSubtotalstringnon
endsAtstring | nullnon
usageLimitnumber | nullnon
oncePerCustomerbooleannon
productIdsarray<string>non
categoryIdsarray<string>non
emailsarray<string>non
individualUsebooleannon
excludeSaleItemsbooleannon
statusenum: "on" | "off"non
querystringnon
permanentbooleannon
pagenumbernon
limitnumbernon
confirmbooleannon

stripe_report

Stripe revenue report

Revenue from the brand's OWN Stripe account: gross, refunds, net and succeeded-charge count per day/week/month, new customers in the window, and active subscriptions + MRR where the key can read them. This is the money side of the loop — read an ad, a hook or a launch against real revenue instead of clicks. Default window is the last 30 days; a window with no charges answers a real zero, not a failed read. Read-only, never moves money, free. Needs Stripe connected (Connectors > Stripe, or connect_connector: paste a restricted key from Developers > Restricted keys).

ParamètreTypeRequisDescription
sincestringnonYYYY-MM-DD (default 30 days ago)
untilstringnonYYYY-MM-DD (default today)
granularityenum: "day" | "week" | "month"nondefault day
currencystringnonISO code to isolate one currency, e.g. USD; omit to sum every currency as-is

list_stripe_customers

List Stripe customers

Recent customers on the brand's OWN Stripe account — email, name, created, currency, delinquent — newest first, or one customer by exact email. Read-only, free. Needs Stripe connected.

ParamètreTypeRequisDescription
emailstringnonexact email match
limitnumbernon1–100, default 25
afterstringnonpagination cursor: the last id of the previous page

list_stripe_charges

List Stripe charges

Recent charges on the brand's OWN Stripe account — amount, currency, status, refunds, customer email, description — newest first, optionally for one customer. Read-only, free. Needs Stripe connected.

ParamètreTypeRequisDescription
customerIdstringnona Stripe customer id (cus_…)
limitnumbernon1–100, default 25
afterstringnonpagination cursor: the last id of the previous page

list_stripe_subscriptions

list stripe subscriptions

Subscriptions on the brand's OWN Stripe account with each item's price in MAJOR units (19.00 means $19.00), interval and quantity, and the MRR each contributes. With NO status it returns everything that counts toward MRR — active + trialing + past_due — and says so; pass status all, canceled, unpaid, incomplete, incomplete_expired or paused for the rest, or filter by customer or price. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
statusstringnonfilter by status (all, active, trialing, past_due, canceled and others); omit for MRR statuses
customerIdstringnonStripe customer id, cus_...
priceIdstringnonStripe price id, price_...; only subscriptions on this price
limitnumbernonrows to return, 1 to 100; default 25
afterstringnonpagination cursor: the last subscription id from the previous page

list_stripe_invoices

list stripe invoices

Invoices on the brand's Stripe account, newest first: number, status (draft, open, paid, uncollectible, void), amount due and paid, customer email, dates and the hosted invoice link; filter by status or customer. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
statusstringnonfilter to draft, open, paid, uncollectible or void
customerIdstringnonStripe customer id, cus_...
limitnumbernonrows to return, 1 to 100; default 25
afterstringnonpagination cursor: the last invoice id from the previous page

list_stripe_products

list stripe products

Products on the brand's Stripe account with their active prices (amount, currency, one-time or recurring interval), which is what create_stripe_payment_link and create_stripe_subscription take. active:false lists archived products too. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
activebooleannonfalse also lists archived products; omit or true for active products only
limitnumbernonrows to return, 1 to 100; default 25
afterstringnonpagination cursor: the last product id from the previous page

stripe_balance

stripe balance

The brand's Stripe balance (available and pending, per currency) and the most recent payouts with status and arrival date. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
limitnumbernonnumber of recent payouts to show, 1 to 100; default 25

list_stripe_refunds

list stripe refunds

Refunds on the brand's Stripe account, newest first: amount, status, reason and the charge refunded; filter by charge. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
chargeIdstringnononly refunds of this charge, ch_...
limitnumbernonrows to return, 1 to 100; default 25
afterstringnonpagination cursor: the last refund id from the previous page

list_stripe_coupons

list stripe coupons

Coupons on the brand's Stripe account: percent or amount off, duration, validity and redemptions. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
limitnumbernonrows to return, 1 to 100; default 25
afterstringnonpagination cursor: the last coupon id from the previous page

create_stripe_product

create stripe product

Create a product on the brand's Stripe account together with its default price: name, optional description, `amount` in MAJOR units — 19 or 19.00 both mean $19.00, and a zero-decimal currency like JPY is whole — a 3-letter currency, and an optional recurring interval (day, week, month, year) with intervalCount. Returns both ids, read back. On a LIVE key it shows what it is about to create and needs confirm:true; on a test key it just does it. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
namestringouiproduct name
descriptionstringnonproduct description shown to customers in Stripe
amountnumberouiMAJOR units — 19 or 19.00 is $19.00, never 1900
currencystringoui3-letter ISO currency code, e.g. usd
intervalstringnonrecurring interval: day, week, month or year; omit for a one-time price
intervalCountnumbernonintervals between charges, e.g. 3 with month for quarterly
nicknamestringnoninternal label for the default price; not shown to customers
metadataobjectnonkey/value metadata stored on the product
confirmbooleannontrue on a live key, after the user approves the preview

create_stripe_price

create stripe price

Add a price to an existing Stripe product: `amount` in MAJOR units (19 or 19.00 is $19.00, never 1900), currency, optional recurring interval and intervalCount, optional nickname. Read back. LIVE key: confirm:true after showing the preview. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
productIdstringouiproduct id, prod_..., from create_stripe_product or list_stripe_products
amountnumberouiMAJOR units — 19 or 19.00 is $19.00, never 1900
currencystringoui3-letter ISO currency code, e.g. usd
intervalstringnonrecurring interval: day, week, month or year; omit for a one-time price
intervalCountnumbernonintervals between charges, e.g. 3 with month for quarterly
nicknamestringnoninternal label for the price; not shown to customers
confirmbooleannontrue on a live key, after the user approves the preview

create_stripe_payment_link

create stripe payment link

Create a shareable Stripe Payment Link: for ONE price pass priceId (price_…) with an optional quantity; for several pass lineItems: [{priceId, quantity}]. Optionally redirect to afterCompletionUrl when paid. allowPromotionCodes:true shows the promotion-code box at checkout — needed for any 'use code X' ad. referenceId and utm return a taggedUrl: put THAT URL in the ad, and get_stripe_payment_link_revenue (groupBy reference) then counts that ad's purchases. Returns the URL. LIVE key: confirm:true after showing the preview. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
priceIdstringnonone price — the shorthand for a single line item
quantitynumbernonquantity of priceId, e.g. 2
lineItemsarray<object>nonseveral prices at once; use instead of priceId
afterCompletionUrlstringnonURL the buyer is sent to after paying
allowPromotionCodesbooleannonshow the promotion-code box at checkout
referenceIdstringnonletters, digits, dashes, underscores (up to 200) — tags the returned taggedUrl for one ad; Stripe stores it on each purchase
utmobjectnonUTM values on the taggedUrl (letters, digits, dashes, underscores, up to 150 each); Stripe passes them to the after-payment redirect only
metadataobjectnonkey/value metadata stored on the payment link
confirmbooleannontrue on a live key, after the user approves the preview

create_stripe_coupon

create stripe coupon

Create a Stripe coupon: exactly one of percentOff (1–100) or amountOff (major units) + currency; duration once (default), repeating (with durationInMonths) or forever; optional name, id and maxRedemptions. A coupon alone has NO code a customer can type: pass `code` (letters, digits, dashes) to also mint the customer-typable promotion code in the same call, with optional codeMaxRedemptions, expiresAt, firstTimeOnly and minimumAmount. Read back. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
namestringnondisplay name for the coupon, for your records
idstringnoncustom coupon id; Stripe generates one if omitted
percentOffnumbernonpercent discount, 1 to 100; use this or amountOff
amountOffnumbernonfixed discount in major units, e.g. 5 = 5.00; needs currency
currencystringnon3-letter currency code; required with amountOff
durationstringnononce (default), repeating or forever
durationInMonthsnumbernonmonths the discount applies, with duration repeating
maxRedemptionsnumbernonuses of the COUPON across every code
codestringnonthe customer-typable promotion code, e.g. SUMMER20 — letters, digits and dashes only; refused (never altered) otherwise
codeMaxRedemptionsnumbernonuses of this CODE
expiresAtstringnonYYYY-MM-DD the code stops working
firstTimeOnlybooleannonthe code works only on a customer's first purchase
minimumAmountnumbernonminimum order in MAJOR units for the code
minimumAmountCurrencystringnoncurrency for the code's minimumAmount, e.g. usd
confirmbooleannontrue on a live key, after the user approves the preview

create_stripe_customer

create stripe customer

Create a Stripe customer by email (optional name, phone, description, metadata). If a customer with that email already exists it is returned instead and nothing is created — pass allowDuplicate:true to create a second one on purpose. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
emailstringouicustomer email; the key Stripe matches duplicates on
namestringnoncustomer name
phonestringnoncustomer phone number
descriptionstringnoninternal note on the customer record
metadataobjectnonkey/value metadata stored on the customer
allowDuplicatebooleannontrue = create a second customer even if this email already has one
confirmbooleannontrue on a live key, after the user approves the preview

create_stripe_subscription

create stripe subscription

Subscribe a Stripe customer (cus_…) to a price (price_…), optional quantity and trialDays. THIS CHARGES THE CUSTOMER'S SAVED PAYMENT METHOD when there is no trial, so it ALWAYS needs confirm:true (test keys included) after you show the user exactly what will be created. Read back; an INCOMPLETE status means no chargeable card is on file. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
customerIdstringouicustomer id, cus_...
priceIdstringouirecurring price id, price_...
quantitynumbernonquantity of the price, e.g. number of seats
trialDaysnumbernonfree trial length in days before the first charge
metadataobjectnonkey/value metadata stored on the subscription
confirmbooleannontrue to charge the saved card; always required, test keys included

cancel_stripe_subscription

cancel stripe subscription

Cancel a Stripe subscription: at the end of the current period by default (the customer keeps access until then), or immediately:true to end it now. ALWAYS needs confirm:true, test keys included. The read-back distinguishes the two — a period-end cancel reports the date it will end and the status it keeps until then, an immediate one reports status canceled. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
subscriptionIdstringouisubscription id, sub_...
immediatelybooleannontrue = end now; omitted or false = end at the period end
confirmbooleannontrue after the user approves this cancellation

refund_stripe_charge

refund stripe charge

Refund a Stripe charge (ch_… or a pi_… payment intent): the full refundable amount, or a partial `amount` in major units; optional reason duplicate / fraudulent / requested_by_customer. ALWAYS needs confirm:true, test keys included. Read back. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
chargeIdstringouicharge id, ch_..., or payment intent id, pi_...
amountnumbernonpartial refund in major units; omit to refund the full refundable amount
reasonstringnonduplicate, fraudulent or requested_by_customer
confirmbooleannontrue after the user approves this refund

list_stripe_promotion_codes

list stripe promotion codes

Promotion codes on the brand's Stripe account — the codes customers TYPE at checkout — with the coupon each applies, active or not, times redeemed / max, expiry, first-purchase-only and minimum-order rules. Filter by active, code or couponId. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
activebooleannontrue = active codes only; false = inactive codes only
codestringnoncustomer-typable promotion code text to find
couponIdstringnononly codes that apply this coupon, from list_stripe_coupons
limitnumbernonrows to return, 1 to 100; default 25
afterstringnonpagination cursor: the last promotion code id from the previous page

create_stripe_promotion_code

create stripe promotion code

Create a customer-typable promotion code (e.g. SUMMER20) for an existing Stripe coupon — the thing a "use code X" ad needs, since a coupon alone has no code. couponId (from list_stripe_coupons); optional code (letters, digits and dashes; Stripe generates one if omitted — a code with spaces or symbols is refused, never altered), maxRedemptions, expiresAt (YYYY-MM-DD), firstTimeOnly, minimumAmount + minimumAmountCurrency (major units), customerId. Read back. LIVE key: confirm:true after showing the preview. Use it on a payment link with allowPromotionCodes. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
couponIdstringouicoupon id to apply, from list_stripe_coupons
codestringnoncustomer-typable code, letters, digits and dashes; Stripe generates one if omitted
maxRedemptionsnumbernonmaximum uses of this code
expiresAtstringnonlast day the code works, YYYY-MM-DD
firstTimeOnlybooleannontrue = valid only on a customer's first purchase
minimumAmountnumbernonMAJOR units
minimumAmountCurrencystringnon3-letter currency code for minimumAmount
customerIdstringnonrestrict the code to one customer (cus_…)
metadataobjectnonkey/value metadata stored on the code
confirmbooleannontrue on a live key, after the user approves the preview

update_stripe_promotion_code

update stripe promotion code

Switch a Stripe promotion code OFF (active:false) or back on (active:true), or change its metadata. Pass promotionCodeId (promo_…) or the code itself. Switching a code off ALWAYS needs confirm:true, test keys included, because anyone holding it from an ad is then refused at checkout. Read back; a code Stripe will not reactivate (its coupon is no longer valid) is reported, not claimed. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
promotionCodeIdstringnonpromotion code id, promo_...; give this or code
codestringnonthe customer-typable code text, if promotionCodeId is not given
activebooleannonfalse switches the code off; true switches it back on
metadataobjectnonkey/value metadata to set on the code
confirmbooleannontrue to switch a code off, as well as to confirm a live-key write

list_stripe_payment_links

list stripe payment links

Payment links on the brand's Stripe account: URL, active or not, whether the promotion-code box shows, what happens after payment, and their line items (price, amount). Filter active true/false. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
activebooleannontrue = active links only; false = inactive links only
limitnumbernonrows to return, 1 to 100; default 25
afterstringnonpagination cursor: the last payment link id from the previous page

update_stripe_payment_link

update stripe payment link

Change a Stripe payment link (plink_…). active:false DEACTIVATES it — its URL then shows a "no longer available" page, in every ad that points at it — and ALWAYS needs confirm:true, test keys included; active:true reactivates it. allowPromotionCodes shows or hides the promotion-code box; afterCompletionUrl (redirect) or afterCompletionMessage (Stripe's confirmation page); inactiveMessage (up to 500 characters, shown while it is off); metadata. Read back. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
paymentLinkIdstringouipayment link id, plink_..., from list_stripe_payment_links
activebooleannonfalse deactivates the link; true reactivates it
allowPromotionCodesbooleannontrue shows the promotion-code box at checkout; false hides it
afterCompletionUrlstringnonURL the buyer is redirected to after paying
afterCompletionMessagestringnonmessage shown on Stripe's confirmation page after paying
inactiveMessagestringnonmessage shown while the link is off, up to 500 characters
metadataobjectnonkey/value metadata to set on the link
confirmbooleannontrue to deactivate the link, and to confirm a live-key write

get_stripe_payment_link_revenue

stripe payment link revenue

How much money the brand's Stripe PAYMENT LINKS made — the "what did the link in this ad earn" question. Paid purchases and revenue (MAJOR units, per currency) from completed checkouts between since and until (YYYY-MM-DD, default the last 30 days), for one paymentLinkId or every link. groupBy: link (default without an id — which link earned most), reference (default with an id — per ad, from the referenceId a taggedUrl carries), promotion_code, or day. For a subscription link only the first payment counts; renewals are in stripe_report. Says when the read is capped. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).

ParamètreTypeRequisDescription
paymentLinkIdstringnonone payment link, plink_...; omit for every link
sincestringnonstart date, YYYY-MM-DD; default 30 days before until
untilstringnonend date, YYYY-MM-DD; default today
groupByenum: "link" | "reference" | "promotion_code" | "day"nonlink, reference, promotion_code or day; default link without paymentLinkId, reference with it

revenue_by_source

Revenue by source (posts, ads, emails)

Which posts, ads and emails led to actual sales: the brand's payments (Shopify orders and Stripe charges, whichever is connected) matched back to what Hermoso published or sent, with revenue, payments and customers per channel, campaign, single post/ad/email (groupBy item) or match method. Each payment is matched ONCE, strongest first, and says how: utm (a Hermoso tracking id on the visit), reference (a Hermoso id on a Stripe checkout), code (a discount code Hermoso created, or one you name in codes), ad_utm (the UTM tags Hermoso puts on ads it builds), tag (Hermoso's tags without an id) — these LED TO the sale; email (the buyer is someone Hermoso emailed or who replied, within emailWindowDays before paying) and referrer (the visit came from a social platform the brand posts to) are looser matches, never causation. The unattributed remainder is stated plainly. GA4's own attribution of purchases to Hermoso's tags and the ad platforms' own reported conversions (Meta, Google Ads) are shown APART, never added in: they can describe the same sales again. Money is per currency, never summed across currencies. A source that could not be read is said as such, never as zero sales. Default: the last 30 days (Shopify lets apps read its last 60). Read-only, free. Links carry Hermoso's ids only when tracking links are on (set_tracking_links).

ParamètreTypeRequisDescription
sincestringnonstart date, YYYY-MM-DD; default 30 days before until
untilstringnonend date, YYYY-MM-DD; default today
daysnumbernonthe last N days, instead of since
groupByenum: "channel" | "campaign" | "item" | "method"nonchannel (default), campaign, item (one row per post, ad, email or code) or method
sourcesarray<enum: "shopify" | "stripe" | "ga4" | "email" | "ads">nonwhich to read; default all that are connected
codesarray<string>nonmore discount or promotion codes to count as Hermoso’s
emailWindowDaysnumbernonhow many days after an email a payment still matches the person; default 30, at most 90
includeTestbooleannontrue to count Shopify test orders
ga4Propertystringnonwhich shared GA4 property, e.g. properties/123; default the first shared one
googleAdsCustomerIdstringnonwhich Google Ads account for platform-reported conversions
platformReportedbooleannonfalse to skip the ad platforms’ own reported conversions

set_tracking_links

Tracking links: setting, or one tagged link

TRACKING LINKS, two jobs in one tool. (1) The brand setting: call with no arguments to read it, enabled:true/false to turn it on or off, campaign for the utm_campaign, domains for more sites that are the brand's own. When on, every link to the brand's OWN site that Hermoso publishes or sends (posts on every channel, scheduled posts, email sequences and new emails) gets utm_source (the channel), utm_medium (social, email or organic), utm_campaign ("hermoso" or yours) and an id in utm_content, so revenue_by_source can tie a sale to the exact post or email. A link that already has utm_ tags, a link to another site, a short link and a link inside the brand's own blog are never changed; Instagram and TikTok captions have no tappable link, so nothing is tagged there; ads already carry their platform's UTM template. Every publish that tagged a link says so in its reply. Brands created from 2026-11-18 get it on by default after one notice; older brands keep links exactly as written until this turns it on. (2) ONE tagged link for a place the user puts it themselves (a bio link, a QR code, a newsletter, an ad made elsewhere): pass url (+ channel, campaign, medium, label, kind) and get it back with Hermoso's tags; a Stripe payment link also gets the id as client_reference_id. That works whether or not the setting is on, on any site; a link already carrying utm_ tags is returned unchanged. Free.

ParamètreTypeRequisDescription
enabledbooleannontrue to tag links to the brand site, false to publish links exactly as written; omit to read
campaignstringnonthe utm_campaign (for the setting, or for the one link with url); empty string resets the setting to hermoso
domainsarray<string>nonmore domains that are the brand’s own site, e.g. shop.example.com
urlstringnonONE link to tag now, https://…; returns the tagged link instead of the setting
channelstringnonwith url: where it will be clicked (instagram_bio, newsletter, qr, facebook …); becomes utm_source
mediumstringnonwith url: utm_medium; default social (email for channel email)
labelstringnonwith url: what this link is, shown in revenue_by_source
kindenum: "link" | "post" | "email" | "ad"nonwith url: what carries it; default link

list_hubspot_contacts

List or search HubSpot contacts

Contacts from the brand's OWN HubSpot CRM, newest first — email, name, lifecycle stage, lead status, created date, original source — or a search by email / first name / last name (whole-token match, wildcards allowed). Read-only, free. Needs HubSpot connected (Connectors > HubSpot).

ParamètreTypeRequisDescription
searchstringnonemail or name to search for
limitnumbernon1–100, default 25
afterstringnonpagination cursor from the previous page

create_hubspot_contact

Create or update a HubSpot contact

Create a contact in the brand's HubSpot by email, or UPDATE the contact that already has that email — HubSpot's duplicate answer carries the existing id, so this is an UPSERT and never makes a twin. Optional firstname, lastname, phone, company, website, lifecyclestage, hs_lead_status, hubspotOwnerId (the sales rep to assign it to — an owner id from list_hubspot_owners), plus any other writable contact property in `properties` (by internal name). The contact is READ BACK after the write; the reply says created or updated. Free. Needs HubSpot connected.

ParamètreTypeRequisDescription
emailstringouithe contact email — the key HubSpot de-duplicates on
firstnamestringnoncontact first name
lastnamestringnoncontact last name
phonestringnoncontact phone number
companystringnoncompany name on the contact
websitestringnoncompany website URL
lifecyclestagestringnonHubSpot lifecycle stage internal value, e.g. lead or customer
hs_lead_statusstringnonHubSpot lead status internal value, e.g. NEW
hubspotOwnerIdstringnonHubSpot owner id (digits) from list_hubspot_owners
ownerIdstringnonolder name for hubspotOwnerId (MCP only)
propertiesobjectnonany other writable contact properties, by internal name

sync_leads_to_hubspot

Push lead-form leads into HubSpot

Push the leads the brand's LEAD FORMS collected into HubSpot as contacts — Meta, LinkedIn, TikTok (every published Instant Form, every lead region), X Ads, Snapchat and ChatGPT Ads (the last two: leads delivered to Hermoso by their lead webhooks). Each lead is upserted by email with lead status NEW and the platform + form + campaign written into the contact's Message property (a default HubSpot property, so no schema scope is needed). Synced lead ids are remembered per workspace, so a re-run, a scheduled run, a retry or a second agent never creates twins. Reports created / updated / already-synced / no-email per platform; a platform that is not connected, or cannot be read (Reddit has no API for leads), is REPORTED, not fatal. platforms narrows it. dryRun:true lists what would be synced and writes nothing. set_hubspot_lead_sync runs it automatically. Free. Needs HubSpot connected, plus the platforms whose leads you want.

ParamètreTypeRequisDescription
sincestringnonISO date; default 7 days ago
platformsarray<enum: "meta" | "linkedin" | "tiktok" | "x" | "snapchat" | "chatgpt" | "reddit">nondefault every connected one
tiktokRegionsarray<enum: "us" | "eu" | "other">nonTikTok stores leads per region; default all three
dryRunbooleannonlist what would be synced and write nothing

hubspot_deals_report

HubSpot deals report

Deals from the brand's HubSpot created in the window (default the last 90 days): count and amount by stage (labels resolved through the deal pipelines, closed-won recognised from the stage's own metadata), by original source, BY CAMPAIGN (source -> platform -> campaign from HubSpot's Original Source drill-downs, so PAID_SOCIAL splits into the actual campaigns), BY OWNER (the sales rep holding each deal, by name), a monthly created / closed-won series, and totals. Capped at 2,000 deals and says so. Read-only, free. Needs HubSpot connected.

ParamètreTypeRequisDescription
sincestringnonYYYY-MM-DD, default 90 days ago
untilstringnonYYYY-MM-DD, default today

list_hubspot_companies

List or search HubSpot companies

COMPANIES (accounts) from the brand's OWN HubSpot CRM, newest first: name, domain, website, LinkedIn company page, industry, employees, annual revenue, lifecycle stage, lead status, country/city, owner (rep name), original source + drill-downs, associated contacts and deals, total revenue — plus a de-duplicated `domains` list, which is what LinkedIn company targeting and account-based (ABM) audiences are built from. search matches name / domain / website / phone; filters lifecycleStage (e.g. customer, opportunity, salesqualifiedlead), industry (HubSpot's internal value, e.g. COMPUTER_SOFTWARE), hubspotOwnerId, createdSince (YYYY-MM-DD). Read-only, free. Needs HubSpot connected.

ParamètreTypeRequisDescription
searchstringnonname, domain, website or phone
lifecycleStagestringnoninternal value, e.g. customer, opportunity, salesqualifiedlead, lead
industrystringnonHubSpot's internal industry value, e.g. COMPUTER_SOFTWARE
hubspotOwnerIdstringnonowner id from list_hubspot_owners
ownerIdstringnonolder name for hubspotOwnerId (MCP only)
createdSincestringnonYYYY-MM-DD
limitnumbernon1–100, default 25
afterstringnonpagination cursor from the previous page

list_hubspot_owners

List HubSpot owners (sales reps)

The sales reps (OWNERS) in the brand's HubSpot: id, name, email, teams. An owner's id is what create_hubspot_contact's hubspotOwnerId assigns a lead to, and what list_hubspot_companies filters by. search narrows by name or email; archived:true lists DEACTIVATED owners instead. Read-only, free. Needs HubSpot connected.

ParamètreTypeRequisDescription
searchstringnonname or email contains
archivedbooleannontrue = deactivated owners only

manage_hubspot_deal

Read a HubSpot deal

One HubSpot deal by dealId: its name, stage, pipeline, amount, currency, close date and owner (hubspot_deals_report lists deals, pipelines and stages; list_hubspot_owners names the owners). Read-only, free.

ParamètreTypeRequisDescription
dealIdstringouithe HubSpot deal id

log_hubspot_activity

Log an activity in HubSpot

Log something that happened on a HubSpot contact (and its deal): type note, call, email, meeting or task (default from channel: call, meeting and email become their own kinds, anything else a note), body, subject, channel (whatsapp, sms, email, call, meeting, instagram, messenger, telegram, other), direction inbound/outbound, occurredAt, durationMinutes (calls, meetings), dueAt (tasks), hubspotOwnerId. contact is the HubSpot contact id or email; dealId attaches it to a deal too. Free.

ParamètreTypeRequisDescription
contactstringnonHubSpot contact id or email
dealIdstringnon
typeenum: "note" | "call" | "email" | "meeting" | "task"non
bodystringoui
subjectstringnon
channelenum: "whatsapp" | "sms" | "email" | "call" | "meeting" | "instagram" | "messenger" | "telegram" …non
directionenum: "inbound" | "outbound"non
occurredAtstringnon
durationMinutesnumbernon
dueAtstringnontasks: when it is due
hubspotOwnerIdstringnonHubSpot owner id (digits; list_hubspot_owners)
ownerIdstringnonolder name for hubspotOwnerId (MCP only)

highlevel_crm

HighLevel CRM (contacts, opportunities, pipelines)

The CRM of the brand's HighLevel sub-account. action search_contacts (q, or email / phone for the exact one; limit 1-100, page) | get_contact (contactId) | create_contact / update_contact (firstName, lastName, name, email, phone, company (create only), assignedTo, tags, source, website, timezone, address1, city, state, postalCode, country, dnd, fields { custom field id or key: value }) | log_activity (contactId, body, subject, channel, direction, occurredAt; type task with dueAt makes a task, anything else a note) | list_opportunities (q, stage, pipelineId, status open/won/lost/abandoned/all, assignedTo, contactId, limit, page) | get_opportunity (opportunityId) | update_opportunity (opportunityId + stage, pipelineId, status, amount, assignedTo, name, fields) | list_pipelines (with their stages) | list_users (the assignedTo values). Writes are read back. An action the app's permission does not cover is refused by name. Free.

ParamètreTypeRequisDescription
actionenum: "search_contacts" | "get_contact" | "create_contact" | "update_contact" | "log_activity" | "list_opportunities" | "get_opportunity" | "update_opportunity" …oui
qstringnon
emailstringnon
phonestringnon
contactIdstringnon
opportunityIdstringnon
firstNamestringnon
lastNamestringnon
namestringnon
companystringnon
assignedTostringnonthe HighLevel user the contact or opportunity is assigned to (a list_users id)
ownerIdstringnonolder name for assignedTo (MCP only)
tagsarray<string>non
sourcestringnon
websitestringnon
timezonestringnon
address1stringnon
citystringnon
statestringnon
postalCodestringnon
countrystringnon
dndbooleannon
fieldsobjectnon
stagestringnonpipeline stage id
pipelineIdstringnon
statusstringnonopen, won, lost or abandoned (all, for list)
amountnumber | nullnon
bodystringnon
subjectstringnon
channelstringnon
directionenum: "inbound" | "outbound"non
occurredAtstringnon
typeenum: "note" | "task"non
dueAtstringnon
limitnumbernon
pagenumbernon

get_hubspot_lead_sync

Read the automatic HubSpot lead sync

Whether the brand's lead-form leads are pushed into HubSpot AUTOMATICALLY: on or off, how often (everyMinutes), which platforms, when it runs next, and what the last run did — counts per platform, or why it did not run (HubSpot disconnected, a platform not readable). Read-only, free. Needs HubSpot connected.

Aucun paramètre.

set_hubspot_lead_sync

Turn the automatic HubSpot lead sync on or off

Switch the AUTOMATIC HubSpot lead sync on or off for this brand: enabled, everyMinutes (a whole number from 15 to 1440; default 60 — anything outside that is refused, not clamped), optional platforms (meta, linkedin, tiktok, x, snapchat, chatgpt, reddit; default every connected one). Each run is sync_leads_to_hubspot reading from the last successful run, so a new lead reaches the CRM within minutes and nothing is ever created twice. If HubSpot is disconnected a run records that and the schedule backs off to once a day — no emails. runNow:true runs the first one straight away. Answers with the stored setting and the armed run, read back. Free. Needs HubSpot connected to switch on.

ParamètreTypeRequisDescription
enabledbooleanouitrue turns the automatic lead sync on; false turns it off
everyMinutesnumbernon15–1440, default 60
platformsarray<enum: "meta" | "linkedin" | "tiktok" | "x" | "snapchat" | "chatgpt" | "reddit">nonomit for every connected one
runNowbooleannontrue = run the first sync immediately

list_salesforce_records

List or search Salesforce records

Contacts, leads, accounts or opportunities from the brand's OWN Salesforce org, most recently changed first, or a search through Salesforce's own index (phone matches however the org typed it). Filters: email (exact, never lags), phone, stage and open (opportunities), status (leads), salesforceOwnerId, salesforceAccountId, updatedSince; converted leads are left out unless includeConverted. fields adds any field by API name; offset pages up to 2,000. Read-only, free. Needs Salesforce connected.

ParamètreTypeRequisDescription
objectenum: "contact" | "lead" | "account" | "opportunity"ouicontact, lead, account or opportunity
searchstringnon
emailstringnon
phonestringnon
stagestringnon
statusstringnon
openbooleannonopportunities: only the open ones
salesforceOwnerIdstringnon
salesforceAccountIdstringnon
updatedSincestringnonYYYY-MM-DD or ISO date-time
includeConvertedbooleannon
fieldsarray<string>nonextra field API names
limitnumbernon1-200, default 25
offsetnumbernon0-2000

get_salesforce_record

Read one Salesforce record

ONE Salesforce record by id (contact 003…, lead 00Q…, account 001…, opportunity 006…), with an opportunity's contact roles. fields adds any field by API name. Read-only, free. Needs Salesforce connected.

ParamètreTypeRequisDescription
idstringouithe record id
objectenum: "contact" | "lead" | "account" | "opportunity"noncontact, lead, account or opportunity
fieldsarray<string>non

create_salesforce_record

Create a Salesforce record

Create a contact, lead, account or opportunity in the brand's Salesforce, then read it back. Required: contact lastName; lead lastName (company defaults to "[not provided]"); account name; opportunity name, stage and closeDate. Any other field by API name in fields (describe_salesforce_object lists them, which are required, and the picklist values). The org's validation and duplicate rules answer in Salesforce's words. Free. Needs Salesforce connected.

ParamètreTypeRequisDescription
objectenum: "contact" | "lead" | "account" | "opportunity"ouicontact, lead, account or opportunity
firstNamestring | nullnon
lastNamestring | nullnon
emailstring | nullnon
phonestring | nullnon
titlestring | nullnon
companystring | nullnonlead only
statusstring | nullnonlead status
namestring | nullnonaccount or opportunity name
websitestring | nullnon
industrystring | nullnon
stagestring | nullnonopportunity StageName
amountnumber | nullnon
closeDatestring | nullnonYYYY-MM-DD
salesforceAccountIdstring | nullnonthe account (001…) a contact or opportunity belongs to
salesforceOwnerIdstring | nullnona user id from list_salesforce_owners
leadSourcestring | nullnon
descriptionstring | nullnon
fieldsobjectnonany other field by API name, e.g. Industry__c; null clears it on update

update_salesforce_record

Update a Salesforce record

Change fields on one Salesforce record (move an opportunity's stage, set an amount, owner or close date, fix an email), then read it back. Send only what changes; null clears a field. Free. Needs Salesforce connected.

ParamètreTypeRequisDescription
idstringouithe record id
objectenum: "contact" | "lead" | "account" | "opportunity"noncontact, lead, account or opportunity
firstNamestring | nullnon
lastNamestring | nullnon
emailstring | nullnon
phonestring | nullnon
titlestring | nullnon
companystring | nullnonlead only
statusstring | nullnonlead status
namestring | nullnonaccount or opportunity name
websitestring | nullnon
industrystring | nullnon
stagestring | nullnonopportunity StageName
amountnumber | nullnon
closeDatestring | nullnonYYYY-MM-DD
salesforceAccountIdstring | nullnonthe account (001…) a contact or opportunity belongs to
salesforceOwnerIdstring | nullnona user id from list_salesforce_owners
leadSourcestring | nullnon
descriptionstring | nullnon
fieldsobjectnonany other field by API name, e.g. Industry__c; null clears it on update

delete_salesforce_record

Delete a Salesforce record

Delete one Salesforce record; it goes to the org's Recycle Bin for 15 days. Without confirm:true nothing is deleted and you get the record it would delete; call again with confirm:true only after the user says yes. Free. Needs Salesforce connected.

ParamètreTypeRequisDescription
idstringouithe record id
objectenum: "contact" | "lead" | "account" | "opportunity"noncontact, lead, account or opportunity
confirmbooleannontrue only after the user said yes

describe_salesforce_object

Salesforce fields and picklists

Every field a create or update can set on a Salesforce contact, lead, account or opportunity: API name, label, type, whether it is required, and each picklist's active values (lead status, lead source, industry), plus the opportunity stages with closed and won flags. search narrows by name or label. Read-only, free. Needs Salesforce connected.

ParamètreTypeRequisDescription
objectenum: "contact" | "lead" | "account" | "opportunity"ouicontact, lead, account or opportunity
searchstringnon

list_salesforce_owners

List Salesforce users

The active Salesforce users records can be assigned to: id, name, email, username, title. An id is what salesforceOwnerId takes. search narrows by name or email. Read-only, free. Needs Salesforce connected.

ParamètreTypeRequisDescription
searchstringnon
limitnumbernon1-200, default 100

log_salesforce_activity

Log an activity in Salesforce

Log something that happened as a completed Task on a Salesforce contact or lead, or on an account or opportunity: body (the text), optional subject, channel (call, email, meeting, whatsapp, sms, instagram, messenger, telegram, other), direction and occurredAt. Read back. Free. Needs Salesforce connected.

ParamètreTypeRequisDescription
recordIdstringouia contact, lead, account or opportunity id
bodystringoui
subjectstringnon
channelenum: "call" | "email" | "meeting" | "whatsapp" | "sms" | "instagram" | "messenger" | "telegram" …non
directionenum: "inbound" | "outbound"non
occurredAtstringnonISO date-time; default now

sync_leads_to_salesforce

Push lead-form leads into Salesforce

Push the leads the brand's LEAD FORMS collected (Meta, LinkedIn, TikTok, X, Snapchat, ChatGPT Ads) into Salesforce as Leads. Someone already a contact or lead (matched by email) is left as they are; synced leads are remembered per brand, so a re-run or a second agent never makes twins. leadSource sets LeadSource (one of the org's picklist values); dryRun lists what would happen and writes nothing. Free. Needs Salesforce connected.

ParamètreTypeRequisDescription
sincestringnonISO date; default 7 days ago
platformsarray<enum: "meta" | "linkedin" | "tiktok" | "x" | "snapchat" | "chatgpt" | "reddit">nondefault every connected one
leadSourcestringnon
dryRunbooleannon

list_microsoft_ads_campaigns

List Microsoft Advertising accounts / campaigns

Read the brand’s connected Microsoft Advertising (Bing Ads) account(s). Call with NO adAccountId to list the accounts shared with this profile — do this first to pick a target. Call WITH adAccountId to list that account’s campaigns (id, name, status, daily budget, campaign type, and whether the budget is SHARED). Microsoft statuses are Active / Paused — never Google’s ENABLED — and Microsoft also sets BudgetPaused, BudgetAndManualPaused and Suspended on its own, so report the status you read rather than assuming a paused campaign was paused by a person. Read-only, free. Needs Microsoft Advertising connected (Connectors > Microsoft Advertising).

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)

microsoft_ads_report

Microsoft Advertising performance report

Performance for a Microsoft Advertising account — impressions, clicks, CTR, average CPC, spend, conversions. `reportType` picks WHICH report, and that is the whole Microsoft reporting surface, not just campaigns: AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance (the actual search terms people typed), GeographicPerformance, UserLocationPerformance, AgeGenderAudience and ProfessionalDemographicsAudience (LinkedIn-sourced job function and industry, inside Bing), ConversionPerformance, DestinationUrlPerformance, ShareOfVoice, AssetPerformance, ProductDimensionPerformance, SearchCampaignChangeHistory ("what changed on Tuesday") and ~30 more — an unknown name is refused WITH the full list rather than forwarded. `aggregation` controls the row grain (Summary / Daily / Hourly / Weekly / Monthly / Yearly / HourOfDay / DayOfWeek). Two reports keep far less history than the usual 36 months — AssetPerformance 30 days, ShareOfVoice 6 — and the reply says so, because an empty short-retention report is a retention limit, not an absence of delivery. Window via timePeriod (Today | Yesterday | LastSevenDays | Last14Days | Last30Days | ThisWeek | LastWeek | LastFourWeeks | ThisMonth | LastMonth | LastThreeMonths | LastSixMonths | ThisYear | LastYear | ThisWeekStartingMonday | LastWeekStartingMonday | LastFourWeeksStartingMonday) or since+until (YYYY-MM-DD) — default Last30Days. An unrecognised timePeriod is REFUSED, never silently swapped for another window. Microso…

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
timePeriodstringnonpredefined Microsoft window, default Last30Days — must be one of the values in the description; anything else is rejected
sincestringnonYYYY-MM-DD custom range start (with until)
untilstringnonYYYY-MM-DD custom range end
columnsarray<string>nonreport columns — defaults to campaign performance. Each report type accepts only its OWN column set; Microsoft also refuses impression-share columns alongside BidMatchType / BudgetName / DeviceOS / Goal / TopVsOther in the same request.
reportTypestringnonwhich report — default CampaignPerformanceReportRequest. An unknown name is refused with the full list.
aggregationenum: "Summary" | "Hourly" | "Daily" | "Weekly" | "Monthly" | "Yearly" | "HourOfDay" | "DayOfWeek" …nondefault Summary. Hourly accepts only Today/Yesterday or a custom range.
reportRequestIdstringnonpick up a report that came back pending — pass it back and this RESUMES that exact report instead of submitting a new one

microsoft_ads_keyword_ideas

Microsoft Advertising keyword planner

Microsoft Advertising’s KEYWORD PLANNER — real monthly search volume, competition, suggested bid and ad impression share, expanded from seed keywords, a landing-page URL to mine, or a category. Run it BEFORE choosing keywords for a Microsoft campaign. locationIds is REQUIRED and deliberately not defaulted: a search volume with no market attached is a number nobody can act on, and inventing a country would silently answer about the wrong market — use microsoft_ads_geo_search to resolve a country or city name to an id, free. SAY THIS WHEN REPORTING: Competition is Microsoft’s Low/Medium/High bucket, NOT a percentage; MonthlySearchCounts is a per-month series rather than one number; SuggestedBid is in the account currency. An empty result means Microsoft found no ideas for those seeds, never that nobody searches for them. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
keywordsarray<string>nonseed terms to expand from
urlstringnona landing page for Microsoft to mine ideas from
categoryIdnumbernonMicrosoft keyword category id to mine ideas from
locationIdsarray<string>ouiREQUIRED — Microsoft location ids (microsoft_ads_geo_search resolves names to ids, free)
languagestringnondefault English
networkenum: "OwnedAndOperatedAndSyndicatedSearch" | "OwnedAndOperatedOnly" | "SyndicatedSearchOnly"nonsearch network the volume is measured on: Microsoft-owned, partner-syndicated or both
competitionarray<string>nonfilter to Low | Medium | High
minSearchVolumenumbernononly ideas with at least this many monthly searches
maxSearchVolumenumbernononly ideas with at most this many monthly searches
attributesarray<string>nonwhich idea attributes to return — omit for all
expandIdeasbooleannonfalse = do not expand; then keywords[] is mandatory

microsoft_ads_traffic_estimates

Microsoft Advertising traffic estimates

What a set of keywords would DELIVER on Microsoft Advertising at a given bid — estimated impressions, clicks, CTR, average CPC, average position and total cost. maxCpc is REQUIRED because a traffic estimate IS a function of the bid; estimating without one would be inventing the input. locationIds is REQUIRED for the same reason a search volume needs a market. SAY THIS WHEN REPORTING: Microsoft returns a MINIMUM and a MAXIMUM per keyword — quote the range, never average the two into a single figure — and every number here is a FORECAST, so never present it as measured performance. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
keywordsarray<string>ouithe keywords to estimate
maxCpcnumberouiREQUIRED — the max CPC bid to estimate at, in the account currency
matchTypeenum: "Exact" | "Phrase" | "Broad"nondefault Exact
locationIdsarray<string>ouiREQUIRED — Microsoft location ids
languagestringnonlanguage to estimate for, e.g. English
networkstringnonsearch network to estimate for; same values as microsoft_ads_keyword_ideas network
dailyBudgetnumbernondaily budget in account currency the estimate assumes

microsoft_ads_budget_opportunities

Where Microsoft says budget is capping delivery

Where a Microsoft Advertising campaign is BUDGET-CONSTRAINED — Microsoft’s own recommended budget against the current one, the estimated WEEKLY click and impression gain from raising it, and a budget/return curve. Omit campaignId for the whole account. SAY THIS WHEN REPORTING: these are Microsoft’s FORECASTS, never measurements — a projected increase has not happened — and acting on one spends real money, so it takes set_microsoft_ads_budget and an explicit yes from the user. Microsoft EXCLUDES user-paused campaigns from this analysis, so a paused campaign is absent by design rather than well-funded. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringnonomit for the whole account

microsoft_ads_geo_search

Find Microsoft Advertising location ids

Resolve country / region / city names to the Microsoft Advertising location ids that create_microsoft_ads_campaign needs. Read-only, free, 0 credits. Use it when a location ask is ambiguous ("Springfield") — this returns EVERY candidate with its id so the USER can pick, and you never guess between two places. Accepts names, ISO country codes ("CA"), or numeric location ids. Pass `query` as ONE ask (a plain string) or SEVERAL (an array of strings) — a comma is part of a place's name ("Seattle, Washington, United States"), never a separator. Postal codes and neighbourhoods are not name-searchable — pass their numeric location id straight through; the campaign read-back reports the name Microsoft resolves for it.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
querystring | array<string>ouiONE location ask as a plain string, or several as an array of strings — names, ISO country codes, or numeric Microsoft location ids. A comma belongs to a name ("Seattle, Washington, United States") and is NOT a separator: pass several places as several array items, never one comma-joined string.

create_microsoft_ads_campaign

Build a Microsoft Advertising campaign (paused)

Build a campaign on a connected Microsoft Advertising (Bing Ads) account. ALWAYS created Paused — it spends NOTHING until you activate it with set_microsoft_ads_status(confirm:true). Microsoft’s object graph is campaign -> ad group -> responsive search ad -> keywords, so a campaign ON ITS OWN CANNOT SERVE AN IMPRESSION: pass adGroup{name, ad{headlines,descriptions,finalUrls}, keywords[]} and this builds the whole tree. Microsoft has NO atomic multi-object write, so the levels are created in sequence and the campaign is DELETED again if anything below it is rejected — you never inherit a half-built campaign. Microsoft requires 3–15 headlines (≤30 chars) and 2–4 descriptions (≤90 chars); expanded text ads can no longer be created at all. dailyBudget is in the ACCOUNT’S currency, not necessarily USD. LOCATION TARGETING: pass locations[] (country / region / city names, ISO country codes, or numeric Microsoft location ids). A Microsoft campaign has NO geo targeting unless it is set, and Microsoft does not require any — so if you pass none, the campaign IS CREATED and serves WORLDWIDE (Microsoft’s own default), and the returned note says so loudly. That is safe at this stage because the campaign is Paused and spends nothing; it is NOT safe to activate without telling the user, so relay the warning. Nothing is created when a location you DID name cannot be resolved (call microsoft_ads_geo_search to disambiguate, then pass the id). Pass worldwide:true to record that everywhere was d…

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
namestringouicampaign name, ≤128 characters
dailyBudgetnumberouidaily budget in the account’s currency
budgetTypeenum: "DailyBudgetStandard" | "DailyBudgetAccelerated" | "LifetimeBudgetStandard"nondefault DailyBudgetStandard; Accelerated is Audience-campaign only
campaignTypestringnonSearch (default), Shopping, DynamicSearchAds, Audience or PerformanceMax. Search (and DynamicSearchAds, which Microsoft now builds AS a Search campaign) take the full tree below; Shopping, Audience and PerformanceMax are created as a campaign on its own (finish it in Microsoft Advertising), and pas…
storeIdstringnonShopping (required) or retail Performance Max (optional): the Microsoft Merchant Center store id. Checked against the account’s own stores before anything is created.
shoppingPriorityintegernonShopping only: 0 (Low, the default), 1 or 2 — decides which campaign serves when several share a store. Performance Max is always 4, set for you.
salesCountryCodestringnonShopping: two-letter country to filter the store catalog to, e.g. "US". Not with feedLabel.
feedLabelstringnonShopping: advertise every product with this feed label (≤20 characters). Not with salesCountryCode.
localInventoryAdsbooleannonShopping: enable local inventory ads (only where Microsoft has enabled the feature for the account)
dynamicSearchAdsobjectnonDynamic search ads: required for campaignType DynamicSearchAds, optional on Search. Microsoft retired the DynamicSearchAds TYPE, so the campaign is a Search campaign carrying this setting.
biddingSchemeenum: "EnhancedCpc" | "MaxClicks" | "MaxConversions" | "MaxConversionValue" | "TargetImpressionShare" | "TargetCpa" | "TargetRoas"nonbid strategy. Search takes any; Audience EnhancedCpc/MaxConversions; Shopping EnhancedCpc; Performance Max MaxConversions/MaxConversionValue. TargetCpa/TargetRoas are sent as MaxConversions/MaxConversionValue with the target (Microsoft converts them silently since 2025-08-04). Omitted = Microsoft’s…
maxCpcnumbernonbid cap for MaxClicks / MaxConversions / MaxConversionValue / TargetImpressionShare (not Performance Max)
targetImpressionSharenumbernon1–100, with biddingScheme TargetImpressionShare
targetAdPositionenum: "FirstPage" | "MainLine" | "MainLine1"nonwith TargetImpressionShare; MainLine1 = the very top
targetCpanumbernonPerformance Max with MaxConversions: target cost per acquisition, account currency
targetRoasnumbernonPerformance Max with MaxConversionValue: target return on ad spend as a ratio, e.g. 4 = 400%
finalUrlExpansionOptOutbooleannonPerformance Max: true = serve only the final URLs you give; default false lets Microsoft use the whole domain
timeZonestringnonMicrosoft time-zone enum (e.g. EasternTimeUSCanada); default the ad account’s own. Microsoft marks a campaign time zone deprecated and may keep its own — the reply states the zone it stored
locationsarray<string>nonwhere the ads may serve — omit for worldwide (Microsoft’s default, warned about in the read-back), e.g. ["United States"] or ["Seattle, Washington, United States","CA"]. Resolved to Microsoft location ids BEFORE anything is created; an ambiguous or unknown one refuses the whole create and names it
excludeLocationsarray<string>nonlocations to EXCLUDE from the targeted set
locationIntentenum: "PeopleInOrSearchingForOrViewingPages" | "PeopleIn"nondefault PeopleInOrSearchingForOrViewingPages — someone OUTSIDE the target still sees the ad if they search for the place; PeopleIn restricts to people physically there
worldwidebooleannonset true when the user DELIBERATELY wants to serve everywhere. Omitting locations already creates a worldwide campaign; this only records that it was intended, so the read-back stops nudging you to add locations
languagesarray<string>noncampaign languages, e.g. ["English"]
adGroupobjectnonbuild the serving tree in the same call — WITHOUT this you get a campaign shell that can never show an ad

create_microsoft_ads_ad_group

Add a Microsoft Advertising ad group

Add an ad group to an existing Microsoft Advertising campaign — optionally with its responsive search ad and keywords in the same call. Created Paused by default. If the parent campaign is already LIVE (Active), creating this ad group Active starts REAL AD SPEND on the next auction, exactly like activating it — show the user what would begin serving, get an explicit yes, then pass confirm:true. Leaving it Paused never needs confirmation. Read back from Microsoft before you are told it exists.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringouithe campaign this ad group belongs to
namestringouiad group name, ≤256 characters
statusenum: "Active" | "Paused"nondefault Paused
cpcBidnumbernondefault max CPC in the account currency
languagestringnonrequired if the campaign has no language set
adobjectnoncreate the responsive search ad in the same call
keywordsarray<object>nonkeywords to add: [{text, matchType, bid, status}]; status defaults to Paused
confirmbooleannonREQUIRED true to create this Active under a LIVE campaign

create_microsoft_ads_ad

Create a Microsoft responsive search ad

Create the actual AD inside a Microsoft Advertising ad group — this is the object that carries the creative; a campaign or ad group alone shows nothing. It builds a RESPONSIVE SEARCH AD: 3–15 headlines (≤30 chars), 2–4 descriptions (≤90 chars), at least one finalUrl, optional path1/path2. Expanded text ads CANNOT be created any more — Microsoft rejects them outright. Created Paused; if the parent ad group and campaign are both Active, creating this Active starts REAL AD SPEND immediately — get an explicit yes and pass confirm:true. Read back from Microsoft, including its editorial status, before you are told it exists.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
adGroupIdstringouithe ad group this ad lives in
headlinesarray<string>non3–15 headlines, each ≤30 characters
descriptionsarray<string>non2–4 descriptions, each ≤90 characters
finalUrlsarray<string>nonThe landing page(s) — at least one is required.
path1stringnondisplay-URL path segment, ≤15 chars, no "/"
path2stringnonsecond display-URL path segment (only with path1)
statusenum: "Active" | "Paused"nondefault Paused
confirmbooleannonREQUIRED true to create this Active in a LIVE ad group

add_microsoft_ads_keywords

Add Microsoft Advertising keywords

Add keywords to a Microsoft Advertising ad group. Match types are Exact, Phrase and Broad — Microsoft has no broad-match-modifier. Keywords are added Paused unless you set status:"Active"; an Active keyword on a live ad group makes the campaign bid on a new term immediately, so that needs confirm:true. Note that per-keyword bids are honoured but ad-group / keyword BID STRATEGIES are silently ignored by Microsoft — they inherit the campaign’s. Only the keywords Microsoft confirms on the read-back are reported as added.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
adGroupIdstringouithe ad group to add them to
keywordsarray<object>ouithe keywords
confirmbooleannonREQUIRED true to add an Active keyword to a LIVE ad group

search_microsoft_ads_profiles

Find Microsoft Advertising LinkedIn profile ids

Find the LinkedIn profile ids Microsoft Advertising can target: a company (CompanyName), an Industry or a JobFunction. A company is found with Microsoft’s own company search (3+ characters); industries and job functions are matched against the profile list Microsoft publishes for them. Microsoft publishes no lookup for JobTitle or JobSeniority ids, so those cannot be searched here; an id you already have can still be targeted. Read-only, free. Pass the ids to set_microsoft_ads_profile_targeting.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
profileTypeenum: "CompanyName" | "Industry" | "JobFunction"ouiwhat to search: CompanyName, Industry or JobFunction
querystringouipart of the name to find (3+ characters for a company)
languageLocalestringnonen (default), fr, de, it, pt-BR, es or zh-Hant
limitnumbernon1-100, default 25

list_microsoft_ads_profile_targeting

Read a Microsoft Advertising campaign’s LinkedIn profile targeting

Read the LinkedIn profile targeting on a Microsoft Advertising campaign: every company, industry, job function, seniority and job title criterion with its bid adjustment and criterion id, read from Microsoft. A profile type Microsoft would not read is named as unread, never reported as none. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringouiMicrosoft campaign id to read LinkedIn profile targeting from

set_microsoft_ads_profile_targeting

Set LinkedIn profile targeting on a Microsoft Advertising campaign

Target LinkedIn profiles on a Microsoft Advertising Search, Shopping or Dynamic Search Ads campaign: add companies, industries, job functions, seniorities or job titles, each with an optional bid adjustment (whole percent, -90 to 900), or change an existing adjustment by criterion id (list_microsoft_ads_profile_targeting shows it). Find profile ids with search_microsoft_ads_profiles. On an ACTIVE campaign this changes bids on the very next auction, so show the user the changes, get an explicit yes, then call with confirm:true. The reply is what Microsoft reads back, and a change that does not read back is named. Removing a profile criterion is not available here; an adjustment of 0 has no effect on bids.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringouiMicrosoft campaign id to change LinkedIn profile targeting on
addarray<object>nonprofile criteria to add: [{profileType, profileId, bidAdjustment}]
updatearray<object>nonbid adjustments to change on existing criteria: [{criterionId, bidAdjustment}]
confirmbooleannonREQUIRED true when the campaign is ACTIVE

set_microsoft_ads_budget

Set a Microsoft Advertising daily budget

Change a Microsoft Advertising campaign’s DAILY BUDGET (in the account’s currency). Raising it on a LIVE (Active) campaign increases real spend immediately — you MUST show the user the new daily amount, get an explicit yes, then call with confirm:true. If the campaign is on a SHARED budget its amount is read-only here and this refuses with an explanation rather than pretending to change it. Read back after the change.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringouithe campaign whose budget changes
dailyBudgetnumberouinew daily budget in the account’s currency
confirmbooleannonREQUIRED true to change the budget of a LIVE campaign

set_microsoft_ads_status

Activate or pause a Microsoft Advertising campaign / ad group / ad

Turn a Microsoft Advertising campaign, AD GROUP or AD on (Active) or off (Paused). Pass level:"campaign" + campaignId, level:"adGroup" + adGroupId, or level:"ad" + BOTH adGroupId and adId. ACTIVATING STARTS REAL AD SPEND — you MUST first show the user the campaign name + its daily budget, get an explicit yes, then call with status:"Active" and confirm:true. Pausing is always safe. Microsoft has only these two statuses — its Deleted state is internal-only and cannot be SET — so to remove something use delete_microsoft_ads_object, which is a real delete operation, not a status. The resulting status is READ BACK from Microsoft before you are told it took — and Microsoft may report BudgetPaused / BudgetAndManualPaused / Suspended instead, which the note names explicitly.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
levelenum: "campaign" | "adGroup" | "ad"nonwhat to change — default campaign
campaignIdstringnoncampaign id (level:"campaign")
adGroupIdstringnonad group id (level:"adGroup", or with adId for level:"ad")
adIdstringnonad id (level:"ad" — pass adGroupId too)
statusenum: "Active" | "Paused"ouiActive = start spending; Paused = stop
confirmbooleannonREQUIRED true to set Active (real spend)

delete_microsoft_ads_object

Delete a Microsoft Advertising campaign / ad group / ad / keyword

PERMANENTLY delete a Microsoft Advertising campaign, ad group, ad or keyword. This is a real delete — Microsoft removes the object and it stops being returned by every read, with no undelete and no documented recovery window. Pass level:"campaign" + campaignId, level:"adGroup" + adGroupId, level:"ad" + adGroupId AND adId, or level:"keyword" + adGroupId AND keywordId. CALL IT WITHOUT confirm FIRST: nothing is deleted, and you get back the object’s real name, its status and how many ad groups / ads / keywords go with it, read live from Microsoft — show the user exactly that. If the object has children, is Active, or has spent, confirming alone is NOT enough: you must also pass confirmName set to its exact name and confirmChildren set to the child count from that read-back, which is what proves you are deleting the object you think you are. A campaign that is paused, empty and never ran deletes on plain confirm:true. To stop delivery WITHOUT deleting, use set_microsoft_ads_status(status:"Paused") instead. The result is READ BACK from Microsoft: it says "deleted" only when the object no longer resolves, "not confirmed" if it does, and "could not tell" if the check itself failed — repeat that verbatim rather than claiming success.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
levelenum: "campaign" | "adGroup" | "ad" | "keyword"nonwhat to delete — default campaign
campaignIdstringnoncampaign id (level:"campaign"; also the parent for level:"adGroup" if you know it)
adGroupIdstringnonad group id (level:"adGroup"; REQUIRED as the parent for level:"ad" and level:"keyword")
adIdstringnonad id (level:"ad" — pass adGroupId too)
keywordIdstringnonkeyword id (level:"keyword" — pass adGroupId too)
confirmbooleannonREQUIRED true — the delete is permanent
confirmNamestringnonthe object’s EXACT name, required when it has children / is Active / has spent
confirmChildrennumbernonthe exact number of children reported by the unconfirmed call, required when it has any

list_microsoft_merchant_stores

List Microsoft Merchant Center stores

List the brand's MICROSOFT MERCHANT CENTER stores, the product-feed side of Microsoft Advertising. THIS IS WHERE THE merchantId COMES FROM: every other Microsoft Merchant tool needs it. Each row carries the store name, its URL, and whether it is active, has a catalog and has product ads enabled. Microsoft's own caveat, which the note repeats: those flags are set inside Merchant Center and are read-only here — an inactive store can still be referenced by a Shopping campaign. An account with NO store has no product feed at all, and a store cannot be created through the API. Read-only, free, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)

list_microsoft_merchant_products

List Microsoft Merchant Center product offers

Read the product offers in a Microsoft Merchant Center store — the feed a Microsoft Shopping campaign serves from. Pass productId to fetch ONE offer, or omit it to page the store (limit up to 250, then pass the returned pageToken). MICROSOFT'S PRODUCT IDS ARE COMPOSED AND CASE SENSITIVE: the id is channel:contentLanguage:targetCountry:offerId (e.g. Online:en:US:Sku123), not the bare offerId, and a re-cased id addresses nothing — always use the id this tool returned. Read-only, free, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
merchantIdstringnonMicrosoft Merchant Center store id from list_microsoft_merchant_stores — omit when the account has exactly one store
productIdstringnonfully qualified id (channel:contentLanguage:targetCountry:offerId, e.g. Online:en:US:Sku123) to fetch ONE offer
limitnumbernonup to 250, default 25
pageTokenstringnonthe nextPageToken from a previous call

upsert_microsoft_merchant_product

Add or update Microsoft Merchant Center product offers

Add or update product offers in a Microsoft Merchant Center store. THE ONE THING TO KNOW BEFORE CALLING IT: Microsoft has NO partial update — 'because an update is an insert operation, you must include all fields of the offer in the request' — so a title-only 'update' CLEARS every other field. Always send the whole offer. Ten fields are required: availability, channel, condition, contentLanguage, imageLink, link, offerId, price, targetCountry, title; brand/gtin/mpn are strongly recommended and their absence is set as identifierExists:false for you. Pass product for one offer or products[] for a batch (Hermoso caps a batch at 300 — Microsoft publishes two contradictory ceilings for this and we take the lower). Pass dryRun:true to validate against Microsoft without writing anything; Microsoft returns no ids on a dry run, so none is claimed. Feed edits cannot spend and cannot start an auction, but an offer goes through editorial review — being STORED is not the same as being served. Everything is read back from Microsoft. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
merchantIdstringnonMicrosoft Merchant Center store id from list_microsoft_merchant_stores — omit when the account has exactly one store
productobjectnonONE whole offer — availability, channel, condition, contentLanguage, imageLink, link, offerId, price{value,currency}, targetCountry, title are required; brand/gtin/mpn strongly recommended
productsarray<object>nonseveral whole offers in one batch, maximum 300
catalogIdstringnonwrite into a specific catalog instead of the store default
dryRunbooleannonvalidate against Microsoft and write nothing — Microsoft returns no ids for a dry run, so none is claimed

delete_microsoft_merchant_product

Delete a Microsoft Merchant Center product offer

Delete one product offer from a Microsoft Merchant Center store. Pass productId as the FULLY QUALIFIED id (channel:contentLanguage:targetCountry:offerId), not the offerId. Call without confirm first — nothing is deleted and you get Microsoft's own better advice back: deleted products can take UP TO 12 HOURS to stop delivering, so if the goal is to stop showing it today, upsert it with availability 'out of stock' instead. The outcome is READ BACK by re-fetching the offer, and says 'deleted', 'not confirmed' or 'could not tell' — repeat that verbatim rather than claiming success from the delete's own empty response. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
merchantIdstringnonMicrosoft Merchant Center store id from list_microsoft_merchant_stores — omit when the account has exactly one store
productIdstringouithe FULLY QUALIFIED id (channel:contentLanguage:targetCountry:offerId), not the offerId
confirmbooleannonREQUIRED true — call without it first to see Microsoft’s own advice about the 12-hour delivery tail

list_microsoft_merchant_issues

Why Microsoft Merchant Center products are not serving

Why a Microsoft Merchant Center store's products are NOT serving — the approved / disapproved / expiring counts plus the per-offer disapprovals and warnings with Microsoft's own issue codes. This is the tool to reach for when a Microsoft Shopping campaign is live and showing nothing. TWO CAVEATS THAT LOOK LIKE FAILURES AND ARE NOT, both repeated in the note: Microsoft returns detail rows ONLY for offers that are Disapproved or in Warning, so an EMPTY detail list is the healthy state; and a status change takes up to two hours to reach the summary, so a fresh upload legitimately shows as nothing yet. Read-only, free, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
merchantIdstringnonMicrosoft Merchant Center store id from list_microsoft_merchant_stores — omit when the account has exactly one store
limitnumbernonup to 250, default 25
pageTokenstringnonnextPageToken from a previous result, to get the next page

list_microsoft_merchant_catalogs

List Microsoft Merchant Center catalogs

List the catalogs inside a Microsoft Merchant Center store. Catalogs logically group products, and a Shopping campaign's product scope points at them. Each row says whether publishing is ENABLED — products in a catalog with publishing off do not serve at all, which is a common and invisible reason a feed appears healthy and delivers nothing. Products go into the store's default catalog unless a call names catalogId. Read-only, free, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
merchantIdstringnonMicrosoft Merchant Center store id from list_microsoft_merchant_stores — omit when the account has exactly one store

manage_microsoft_merchant_catalog

Create, update or delete a Microsoft Merchant Center catalog

Create, update or delete a catalog in a Microsoft Merchant Center store. Creating needs name + market + isPublishingEnabled; updating needs catalogId + name + isPublishingEnabled (market is not settable after creation). isPublishingEnabled is NEVER defaulted on — products serve only when it is true, so publishing a catalogue is always an explicit choice. Names must be unique within the store and are capped at 70 characters. Pass deleteIt:true with catalogId and confirm:true to remove one. Every outcome is READ BACK from Microsoft. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
merchantIdstringnonMicrosoft Merchant Center store id from list_microsoft_merchant_stores — omit when the account has exactly one store
catalogIdstringnonset to UPDATE or DELETE an existing catalog; omit to create a new one
namestringnonunique within the store, maximum 70 characters
marketstringnonREQUIRED when creating — where the products are served, e.g. en-US. Not settable afterwards
isPublishingEnabledbooleannonproducts serve ONLY when this is true — never defaulted on
deleteItbooleannontrue to delete the catalog named by catalogId
confirmbooleannonREQUIRED true to delete

microsoft_ads_editorial_reasons

Why a Microsoft ad or keyword was disapproved

WHY a Microsoft Advertising ad or keyword was DISAPPROVED: Microsoft's editorial reason codes, the word or phrase it objected to (term), where it appeared (location), the countries it applies to, and any appeal status, read live from Microsoft. Use it whenever a read-back shows editorialStatus Disapproved, or the user asks why a Bing ad is not running. Pass adGroupId plus adIds OR keywordIds (Microsoft will not mix ads and keywords in one request). The reply links Microsoft's table of what each code means. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
adGroupIdstringouithe ad group the ads or keywords sit in
adIdsarray<string>nonthe ads to explain
keywordIdsarray<string>nonor the keywords to explain (not both)

list_microsoft_ads_negative_keywords

List Microsoft Advertising negative keywords

The NEGATIVE keywords (excluded searches) on a Microsoft Advertising campaign (campaignId) or ad group (adGroupId) with their ids and match types; with no id, the account’s SHARED negative keyword lists; with listId, the keywords in one list. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringnoncampaign whose negative keywords to list
adGroupIdstringnonad group whose negative keywords to list
listIdstringnona shared negative keyword list

add_microsoft_ads_negative_keywords

Exclude searches on Microsoft Advertising (negative keywords)

EXCLUDE searches from a Microsoft Advertising campaign or ad group with negative keywords — Exact or Phrase only (Microsoft has no broad negative; default Phrase, which blocks every search containing the phrase), up to 20,000 per campaign or ad group. Broad-match keywords without negatives are the classic way to waste money: “stop paying for free” is this tool. It can only narrow spend, so it is never confirm-gated. Read back. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringnoncampaign to add negatives to; pass this or adGroupId
adGroupIdstringnonpass this OR campaignId
keywordsarray<object>ouinegative keywords, each with text and matchType (Exact or Phrase)

remove_microsoft_ads_negative_keywords

Remove Microsoft Advertising negative keywords

Remove negative keywords (by id, from list_microsoft_ads_negative_keywords) from a Microsoft Advertising campaign or ad group. On a LIVE campaign that lets those searches trigger paid ads again, so it needs confirm:true after the user agrees. Read back. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringnoncampaign to remove negatives from; pass this or adGroupId
adGroupIdstringnonad group to remove negatives from; pass this or campaignId
negativeKeywordIdsarray<string>ouiids of the negative keywords to remove, from list_microsoft_ads_negative_keywords
confirmbooleannonREQUIRED true on a LIVE campaign

manage_microsoft_ads_negative_keyword_list

Manage a shared Microsoft negative keyword list

A SHARED negative keyword list on Microsoft Advertising — one set of exclusions reused across up to 20 campaigns. action: create (name + keywords; campaignIds attaches it straight away), add (keywords), remove (negativeKeywordIds), attach / detach (campaignIds), delete (permanent, confirm:true). Removing, detaching or deleting on a LIVE campaign lets those searches trigger paid ads again, so it needs confirm:true. Read back. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
actionenum: "create" | "add" | "remove" | "attach" | "detach" | "delete"ouicreate, add, remove, attach, detach or delete a shared negative keyword list
listIdstringnonevery action but create
namestringnoncreate: ≤255 characters
keywordsarray<object>nonkeywords for create or add: [{text, matchType}]
negativeKeywordIdsarray<string>nonkeyword ids to remove from the list (action remove)
campaignIdsarray<string>noncampaigns to attach to or detach from the list (action attach or detach)
confirmbooleannontrue to delete the list, or to remove, detach or delete on a LIVE campaign

set_microsoft_ads_bidding

Change a Microsoft Advertising bid strategy

Change a Microsoft Advertising campaign’s BID STRATEGY, read back: EnhancedCpc, MaxClicks (maxCpc cap), MaxConversions (optional targetCpa), MaxConversionValue (optional targetRoas), TargetImpressionShare (targetImpressionShare + targetAdPosition). Search takes any; Audience EnhancedCpc / MaxConversions; Shopping EnhancedCpc; Performance Max MaxConversions / MaxConversionValue. TargetCpa and TargetRoas are sent as MaxConversions / MaxConversionValue with the target, which is what Microsoft converts them to since 2025-08-04. Conversion strategies need a UET tag and a conversion goal recording conversions. On a LIVE campaign it needs confirm:true. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringouiMicrosoft campaign id whose bid strategy changes
biddingSchemeenum: "EnhancedCpc" | "MaxClicks" | "MaxConversions" | "MaxConversionValue" | "TargetImpressionShare" | "TargetCpa" | "TargetRoas"ouinew bid strategy; TargetCpa and TargetRoas are sent as MaxConversions and MaxConversionValue
maxCpcnumbernonbid cap in account currency, for MaxClicks and MaxConversions
targetCpanumbernontarget cost per conversion in account currency, for MaxConversions
targetRoasnumbernonratio, e.g. 4 = 400%
targetImpressionSharenumbernon1–100
targetAdPositionenum: "FirstPage" | "MainLine" | "MainLine1"nonFirstPage, MainLine or MainLine1 (MainLine1 = very top), with TargetImpressionShare
confirmbooleannonREQUIRED true on a LIVE campaign

list_microsoft_ads_uet_tags

List Microsoft Advertising UET tags

The UET tags (Microsoft’s site tracking pixel) on this Microsoft Advertising customer: id, name, status (Active / Inactive / Unverified) and each tag’s install snippet. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
tagIdsarray<string>nononly these UET tag ids; omit for all tags

create_microsoft_ads_uet_tag

Create a Microsoft Advertising UET tag

Create a UET tag (Microsoft’s site tracking pixel) and get its install snippet, read back. Url / Event / Duration / PagesViewedPerVisit conversion goals, remarketing lists and conversion bidding all need one. Name ≤100 characters, unique per customer. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
namestringouitag name, up to 100 characters, unique per customer
descriptionstringnonoptional note on what the tag tracks

create_microsoft_ads_conversion_goal

Create a Microsoft Advertising conversion goal

Create a Microsoft Advertising CONVERSION GOAL, read back. type: Url (a thank-you page: urlExpression + urlOperator), Event (a UET custom event: eventAction / eventCategory / eventLabel / eventValue), OfflineConversion (conversions uploaded from a CRM with send_microsoft_ads_offline_conversions — no tag; Microsoft asks for 2 hours before the first upload), Duration (minimumDurationSeconds) or PagesViewedPerVisit (minimumPagesViewed). Every type but OfflineConversion needs tagId (create_microsoft_ads_uet_tag). category is required for Url / Event / Offline. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
namestringoui≤100 characters, unique per customer
typeenum: "Url" | "Event" | "OfflineConversion" | "Duration" | "PagesViewedPerVisit"ouiUrl (thank-you page), Event (UET custom event), OfflineConversion, Duration or PagesViewedPerVisit
tagIdstringnonUET tag id from create_microsoft_ads_uet_tag; not needed for OfflineConversion
categoryenum: "AddToCart" | "BeginCheckout" | "BookAppointment" | "Contact" | "Download" | "GetDirections" | "OutboundClick" | "PageView" …nonconversion category, e.g. Purchase or Signup; required for Url, Event and OfflineConversion
urlExpressionstringnonUrl goals: the thank-you page URL or path to match
urlOperatorenum: "Equals" | "BeginsWith" | "Contains" | "RegularExpression"nonUrl goals: how urlExpression matches the page: Equals, BeginsWith, Contains or RegularExpression
eventActionstringnonEvent goals: UET custom event action
eventCategorystringnonEvent goals: UET custom event category
eventLabelstringnonEvent goals: UET custom event label
eventValuenumbernonEvent goals: numeric value attached to each event
minimumDurationSecondsnumbernonDuration goals: visit length in seconds that counts as a conversion
minimumPagesViewednumbernonPagesViewedPerVisit goals: page count that counts as a conversion
revenueTypeenum: "FixedValue" | "VariableValue" | "NoValue"nonFixedValue (one value per conversion), VariableValue or NoValue
revenuenumbernonFixedValue: the value of one conversion; VariableValue: the default
currencyCodestringnon3-letter ISO currency code for the revenue value, e.g. USD
countTypeenum: "All" | "Unique"nonAll or Unique: how repeat conversions are counted
conversionWindowDaysnumbernon1–90
scopeenum: "Account" | "Customer"nonAccount = this ad account only; Customer = shared across the customer

list_microsoft_ads_audience_targeting

Audiences on a Microsoft campaign or ad group

The audiences (customer lists, remarketing, in-market, custom, similar, combined, product) targeted on — or EXCLUDED from — a Microsoft Advertising campaign or ad group, with each one’s bid adjustment and criterion id. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringnoncampaign whose audience targeting to list; pass this or adGroupId
adGroupIdstringnonad group whose audience targeting to list; pass this or campaignId

set_microsoft_ads_audience_targeting

Target or exclude a Microsoft audience

Put an audience to work on a Microsoft Advertising campaign or ad group — e.g. the customer list from create_microsoft_ads_customer_list, to retarget it or EXCLUDE existing customers. action add (audienceId, exclude, bidAdjustment -90..900 %) or remove (criterionIds from list_microsoft_ads_audience_targeting). Microsoft allows biddable audiences at the campaign OR the ad-group level of one campaign, not both; exclusions at both; Performance Max can only exclude. Targeting or removing on a LIVE campaign needs confirm:true. Read back. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringnoncampaign to target or exclude the audience on; pass this or adGroupId
adGroupIdstringnonad group to target or exclude the audience on; pass this or campaignId
actionenum: "add" | "remove"nondefault add
audienceIdstringnonlist_microsoft_ads_audiences
excludebooleannontrue = exclude this audience instead of targeting it
bidAdjustmentnumbernon-90 to 900 (%); 0 = target without changing the bid
criterionIdsarray<string>noncriterion ids to remove (action remove), from list_microsoft_ads_audience_targeting
confirmbooleannontrue required on a LIVE campaign when targeting or removing

create_microsoft_ads_image_ad

Create a Microsoft image ad from a render (paused)

Turn a Hermoso render, or the user’s own picture (any https URL, or a file via upload_file), into a Microsoft Advertising IMAGE ad: a responsive ad on the Microsoft Audience Network (an Audience campaign) or a multimedia ad on Search. One imageUrl is centre-cropped to the 1.91:1 and 1:1 pictures Microsoft requires (or pass images{landscape, square, logo}), uploaded, and the ad is built PAUSED and read back with its pictures. businessName ≤25, 1–15 headlines ≤30, 1–5 longHeadlines ≤90, 1–5 descriptions ≤90. Search multimedia ads get a callToAction button (default LearnMore); Audience ads have none. videoIds attach videos from upload_microsoft_ads_video. Creating it Active in a live ad group needs confirm:true. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
adGroupIdstringouiad group to place the image ad in
businessNamestringouibusiness name shown on the ad, up to 25 characters
headlinesarray<string>oui1-15 headlines, up to 30 characters each
longHeadlinesarray<string>oui1-5 long headlines, up to 90 characters each
descriptionsarray<string>oui1-5 descriptions, up to 90 characters each
finalUrlsarray<string>ouilanding page URL(s) the ad sends people to
imageUrlstringnonone picture, cut to both shapes for you
imagesobjectnonpictures by shape: {landscape, square, logo} URLs, instead of imageUrl
logoUrlstringnonlogo picture URL
callToActionstringnonSearch multimedia ads only, e.g. LearnMore, ShopNow, SignUp
videoIdsarray<string>nonvideo ids from upload_microsoft_ads_video to attach
videoSubTypeenum: "VideoMedia16X9" | "VideoMedia5X4" | "VideoMedia1X1" | "VideoMedia4X5" | "VideoMedia9X16"nonaspect ratio of the attached video: 16x9, 5x4, 1x1, 4x5 or 9x16
statusenum: "Active" | "Paused"nondefault Paused
confirmbooleannontrue required to create the ad Active in a live ad group

upload_microsoft_ads_video

Upload a video to Microsoft Advertising

Upload videos (a Hermoso render, or the user’s own clip: any direct-download https file or an upload_file URL) to Microsoft Advertising, or check ones already uploaded with videoIds: Draft (still processing), Active, or Failed with Microsoft’s reason. Microsoft enables video per account and refuses clips under 6 seconds. Use the ids in create_microsoft_ads_image_ad(videoIds). Free.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
urlsarray<string>nondirect-download https URLs of videos to upload; clips under 6 seconds are refused
videoIdsarray<string>nonexisting video ids to check the status of, instead of uploading
descriptionstringnondescription stored with the uploaded video

list_microsoft_ads_audiences

List Microsoft Advertising audiences (Customer Match lists)

List a Microsoft Advertising account's audiences — by default the CUSTOMER LISTS (Customer Match), with each row's membership duration and its current Search and Audience-network sizes. TWO MICROSOFT CAVEATS THAT LOOK LIKE FAILURES AND ARE NOT: a size is nil or empty for UP TO 48 HOURS while a list is being built, and Microsoft will not use an audience of fewer than 300 people at all — so never report a fresh list's 0 as a failed upload. Pass types[] to ask for other audience types. Read-only, free, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
audienceIdsarray<string>nonup to 100 specific ids — omit for all of the requested type
typesarray<string>nonaudience types, default CustomerList

create_microsoft_ads_customer_list

Create an empty Microsoft Advertising Customer Match list

Create an EMPTY Customer Match list on a Microsoft Advertising account, ready for apply_microsoft_ads_customer_list to fill. membershipDuration is 1–390 days, or -1 for no expiration (Microsoft's default is 30). scope 'Account' (the default) makes it usable only by that ad account; scope 'Customer' makes it usable by every account under the manager — Hermoso derives the right parent id for whichever you choose, because getting that pair wrong mis-parents the list silently. An audience is a definition: it cannot spend and it cannot serve on its own. Read back from Microsoft. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
namestringouimaximum 128 characters
descriptionstringnonmaximum 1024 characters
membershipDurationnumbernon1–390 days, or -1 for no expiration. Microsoft’s default is 30
scopeenum: "Account" | "Customer"nonAccount (default) = this ad account only; Customer = every account under the manager

apply_microsoft_ads_customer_list

Upload customer emails into a Microsoft Customer Match list

Upload customer emails into a Microsoft Advertising Customer Match list so campaigns can target or exclude them. YOU PASS PLAIN EMAIL ADDRESSES — Hermoso normalizes and SHA-256 hashes them locally and sends ONLY the digests, so no plaintext ever leaves the server; values that arrive already hashed (64 hex characters) are passed through untouched. Microsoft's own normalization is applied exactly as published: trim, remove all dots from the user portion, remove any +alias, lowercase, then SHA-256. YOU MUST GET THE USER'S AGREEMENT FIRST: show them https://about.ads.microsoft.com/en-us/legal/customer-match-terms and only then call with acceptTerms:true, which Microsoft says 'eliminates the need to accept terms through the Microsoft Advertising UI' — without it nothing is uploaded and nothing is hashed. action is Add (additive, the default), Remove or Replace. Maximum 1000 items per call; page larger lists. Email is the only supported identifier — Microsoft publishes Phone and CRM as 'Not currently supported' and both are refused by name. DO NOT read a size of 0 afterwards as a failure: Microsoft leaves it empty for up to 48 hours while the audience builds. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
audienceIdstringouithe customer list to write into
emailsarray<string>nonPLAIN email addresses — normalized and SHA-256 hashed inside Hermoso, never sent as plaintext. Already-hashed 64-hex values pass through untouched. Maximum 1000 per call
actionenum: "Add" | "Remove" | "Replace"nonAdd (default) is additive across calls
subTypeenum: "Email"nonEmail is the only identifier Microsoft supports here — it publishes Phone and CRM as “Not currently supported”
acceptTermsbooleannonREQUIRED true — the user must agree to Microsoft’s Customer Match terms first. Without it nothing is uploaded and nothing is hashed

list_applovin_ads_campaigns

List AppLovin Ads campaigns

The brand’s AppLovin Ads campaigns: id, name, LIVE/PAUSED, daily budget, goal, countries, landing page. Rename or edit one with update_applovin_ads_campaign; pause or go live with set_applovin_ads_status. Read-only, free. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
campaignIdsarray<string>nononly these ids (up to 100)
pagenumbernonfrom 1
sizenumbernon1–100, default 100

create_applovin_ads_campaign

Create an AppLovin Ads campaign (paused)

Create an AppLovin Ads campaign, read back PAUSED: AppLovin ignores status on create, so Hermoso pauses it straight after. A WEB campaign needs name, websiteUrl, countries, dailyBudget, goalType and goalValue (CPE also eventTarget; CHK_ROAS also roasDayTarget). APP campaigns add platform, packageName, trackingMethod, clickUrl, impressionUrl (iOS: itunesId). Every field is checked before AppLovin is called. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
namestringouicampaign name
typeenum: "WEB" | "APP"nondefault: the connected account’s type
websiteUrlstringnonWEB: full landing page URL with tracking parameters
countriesarray<string>ouiISO codes, e.g. ["US","CA"]
usRegionsarray<string>nonUS state codes, only with US
usMetrosarray<string>nonUS metro names such as NEW_YORK; not with usRegions
dailyBudgetnumbernonaccount currency per day, all countries
countryBudgetsobjectnonper country instead, e.g. {"US":50}
goalTypeenum: "CPE" | "CPP" | "CHK_ROAS" | "CPI" | "AD_ROAS" | "BLD_ROAS"ouiWEB: CPE, CPP, CHK_ROAS
goalValuenumbernontarget cost (CPE/CPP/CPI) or ROAS ratio (0.9 = 90%)
countryGoalsobjectnonper-country goal values keyed by ISO code, e.g. {US: 2.5}
roasDayTargetenum: "DAY0" | "DAY7" | "DAY28"nonWEB DAY0/DAY7; APP DAY7/DAY28
eventTargetstringnonCPE: the event, e.g. GENERATE_LEAD
audienceStrategyenum: "UNIVERSAL" | "PROSPECTING" | "DISCOVERY"nonCPP / CHK_ROAS only
startDatestringnonYYYY-MM-DD, default tomorrow (UTC)
endDatestringnonend date, YYYY-MM-DD
catalogIdstringnonproduct catalog id for DPA or DOA campaigns
variantSetIdstringnonproduct variant set id within the catalog
catalogTypeenum: "DPA" | "DOA"nonproduct catalog type: DPA or DOA
platformenum: "IOS" | "ANDROID"nonapp platform: IOS or ANDROID
packageNamestringnonapp package name, for app campaigns
itunesIdnumbernoniOS App Store numeric id, for iOS app campaigns
trackingMethodenum: "ADJUST" | "APPSFLYER" | "APSALAR" | "BRANCH" | "KOCHAVA" | "TENJIN"nonmobile measurement partner that tracks installs: ADJUST, APPSFLYER, APSALAR, BRANCH, KOCHAVA or TENJIN
clickUrlstringnonclick-tracking URL from the measurement partner, for app campaigns
impressionUrlstringnonimpression-tracking URL from the measurement partner, for app campaigns
biddingStrategyenum: "AUTO_BIDDING_WITH_CPM_BILLING" | "TARGET_GOAL_WITH_CPI_BILLING"nonautomatic bidding billed per thousand impressions, or target goal billed per install

update_applovin_ads_campaign

Update an AppLovin Ads campaign

Rename an AppLovin campaign or change its budget, goal value, countries, US states or metros, end date or landing page, read back. On a LIVE campaign a budget, goal, country or end-date change needs confirm:true. Status is set_applovin_ads_status; goal type, bidding and start date cannot change. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
campaignIdstringouiAppLovin campaign id
namestringnonnew campaign name
dailyBudgetnumbernonnew daily budget in account currency, all countries
countryBudgetsobjectnonper-country daily budgets keyed by ISO code, e.g. {US: 50}
goalValuenumbernonnew target cost, or ROAS ratio (0.9 = 90%)
countryGoalsobjectnonper-country goal values keyed by ISO code
countriesarray<string>nonISO country codes the campaign runs in
usRegionsarray<string>nonUS state codes; only when US is a target country
usMetrosarray<string>nonUS metro names such as NEW_YORK; not together with usRegions
endDatestringnonYYYY-MM-DD
websiteUrlstringnonlanding page URL for a WEB campaign
audienceStrategyenum: "UNIVERSAL" | "PROSPECTING" | "DISCOVERY"nonaudience strategy: UNIVERSAL, PROSPECTING or DISCOVERY
clickUrlstringnonclick-tracking URL for app campaigns
impressionUrlstringnonimpression-tracking URL for app campaigns
confirmbooleannonrequired for a spend change on a LIVE campaign

set_applovin_ads_status

Turn an AppLovin campaign or creative set live or paused

LIVE or PAUSED for an AppLovin campaign (campaignId) or creative set (creativeSetId), read back. LIVE starts real ad spend: show the user the budget, get an explicit yes, then call with confirm:true. Pausing is always safe. AppLovin’s API has no delete; pause instead. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
levelenum: "campaign" | "creative_set"noninferred from the id you pass
campaignIdstringnonAppLovin campaign id; pass this or creativeSetId
creativeSetIdstringnonAppLovin creative set id; pass this or campaignId
statusenum: "LIVE" | "PAUSED"ouiLIVE starts real spend; PAUSED stops delivery
confirmbooleannonrequired true for LIVE

list_applovin_ads_creative_sets

List AppLovin creative sets

AppLovin creative sets with their assets and review status, for one campaign (campaignId) or the whole account. Read-only, free. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
campaignIdstringnoncampaign whose creative sets to list; omit for the whole account
creativeSetIdsarray<string>nononly these creative set ids
pagenumbernonpage number of the listing
sizenumbernonrows per page

create_applovin_ads_creative_set

Create an AppLovin creative set (paused)

Create an AppLovin creative set from uploaded asset ids, born PAUSED, optionally inside a campaign. It must hold EITHER an HTML playable OR a portrait image (IMG_INTER_P) plus a video; Hermoso checks that against AppLovin’s own asset types before creating it. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
namestringouicreative set name
assetIdsarray<string>ouiAppLovin asset ids
campaignIdstringnoncampaign to place the creative set in; optional
countriesarray<string>nonISO country codes for the creative set
languagesarray<string>none.g. ENGLISH
urlstringnonlanding page for this set only (WEB)
brandInfoobjectnonoverride the account brand on THIS creative set — how a brand A/B tests the end card
useAccountBrandInfobooleannontrue = go back to the account-level brand info

remove_applovin_ads_creative_set

Remove an AppLovin creative set from its campaigns

Take an AppLovin creative set out of its campaigns (all of them, or campaignIds). AppLovin’s API has no delete or archive, so this is its only removal: the set and its assets stay on the account and can be added back. Call it WITHOUT confirm FIRST: nothing changes and you get the campaigns it is in; show the user, then call with confirm:true, plus confirmName (its exact name) and confirmChildren when the reply asks for them. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
creativeSetIdstringouiAppLovin creative set to take out of its campaigns
campaignIdsarray<string>nononly these campaigns (up to 20); omit for all
confirmbooleannontrue to remove, after a first call without it has shown the campaigns
confirmNamestringnonits exact name, when asked
confirmChildrennumbernonthe campaign count the unconfirmed call reported

update_applovin_ads_creative_set

Edit an AppLovin creative set

Edit an AppLovin creative set, read back: rename it, change its countries or languages (an empty list means all), its landing page (url; "" falls back to the campaign’s), replace its assets (assetIds, checked against AppLovin’s own asset types first), or add it to more campaigns (addToCampaignIds, up to 20). Adding a LIVE set to a LIVE campaign needs confirm:true. Status is set_applovin_ads_status. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
creativeSetIdstringouiAppLovin creative set id to edit
namestringnonnew creative set name
countriesarray<string>nonISO codes; [] = all countries
languagesarray<string>none.g. ENGLISH; [] = all
urlstringnonlanding page for this set; "" = the campaign’s
assetIdsarray<string>nonREPLACES the set’s assets
addToCampaignIdsarray<string>nonalso run it in these campaigns (up to 20)
brandInfoobjectnonoverride the account brand on THIS creative set — how a brand A/B tests the end card
useAccountBrandInfobooleannontrue = go back to the account-level brand info
confirmbooleannonrequired to add a LIVE set to a LIVE campaign

clone_applovin_ads_creative_set

Copy an AppLovin creative set into another campaign (paused)

Copy an AppLovin creative set into another campaign, born PAUSED and read back. AppLovin only clones a set that already belongs to a campaign. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
creativeSetIdstringouicreative set to copy; it must already belong to a campaign
campaignIdstringouithe campaign to copy it into

applovin_ads_change_history

AppLovin campaign change history

Who changed what on the brand’s AppLovin campaigns, and when: creation, edits (field by field, before and after), status changes and ARCHIVING — including archived campaigns that list_applovin_ads_campaigns no longer returns. One campaign (campaignId) or the whole account; since/until must fall within the latest 30 UTC days and go together (neither = the last 7 days). Read-only, free. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
campaignIdstringnonONE campaign id; omit for every campaign
sincestringnonYYYY-MM-DD UTC, with until
untilstringnonYYYY-MM-DD UTC, with since
pagenumbernonfrom 1
sizenumbernon1–100, default 100

list_applovin_ads_catalogs

List AppLovin catalogs

The AppLovin account’s product catalogs and their variant sets: the catalogId and variantSetId a dynamic-ads campaign (create_applovin_ads_campaign) needs. Website accounts. Read-only, free. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

Aucun paramètre.

list_applovin_ads_assets

List AppLovin assets

Assets on the AppLovin account: id, type (VID_LONG_P, VID_SHORT_P, IMG_INTER_P, IMG_BANNER, HOSTED_HTML), review status and rejection reasons. Read-only, free. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
assetIdsarray<string>nononly these asset ids
resourceTypeenum: "image" | "video" | "html"nonasset kind to list: image, video or html
pagenumbernonpage number of the listing
sizenumbernonrows per page

upload_applovin_ads_assets

Upload assets to AppLovin

Upload videos, images or an HTML playable to AppLovin from Hermoso render or Library urls or public files (mp4, mov, jpg, png, gif, html; up to 40). Returns AppLovin asset ids once processed; pass uploadId to check a pending upload again. New assets go through AppLovin review. Needs the Campaign Management key, which exists once AppLovin enables API access on the account; without it the answer says how to get it.

ParamètreTypeRequisDescription
urlsarray<string>nonfiles to upload; a local file goes through upload_file first
uploadIdstringnonre-check an earlier upload instead

applovin_ads_report

AppLovin Ads performance report

AppLovin Ads performance: impressions, clicks, CTR, spend, sales, ROAS and checkout revenue by day, campaign, creative set or country. Works with the Reporting Key alone, which every AppLovin account has. Web reports reach back 90 days, app 45; UTC. Read-only, free.

ParamètreTypeRequisDescription
sincestringnonYYYY-MM-DD, default 7 days ago
untilstringnonYYYY-MM-DD, default today
columnsarray<string>none.g. day, campaign, campaign_id_external, creative_set, country, impressions, clicks, ctr, cost, sales, roas_7d, chka_usd_7d
attributionenum: "click" | "click_and_view"nonweb only, default click
filtersobjectnoncolumn -> values
cohortbooleannonattribute to impression day
notZerobooleannondrop rows whose metrics are all zero
havingstringnonserver-side numeric filter, e.g. "cost > 0 AND roas_7d = <= = !=, AND, OR, parentheses (AppLovin warns it slows the report)
limitnumbernon1–10000, default 1000
offsetnumbernonrows to skip, for paging past the limit

applovin_ads_pixel

AppLovin pixel install snippet

The AppLovin pixel for the brand’s website: AppLovin’s own install snippet with the account’s Event Key filled in, where it goes (every page’s , Google Tag Manager, or the AppLovin Shopify app), the events to fire for a store or a lead-gen site with copy-ready examples, dedupe ids, and how to validate it. The Event Key is public by design. Calls nothing at AppLovin. Free.

ParamètreTypeRequisDescription
eventKeystringnonthe AppLovin Event Key; omit to use the one saved on the connection
siteTypeenum: "purchase" | "lead"nondefault purchase
platformenum: "html" | "gtm" | "shopify"nonwhere it is installed, default html

send_applovin_ads_events

Send conversion events to AppLovin

Send website conversion events to AppLovin from the server (its Conversion API): purchase, generate_lead, add_to_cart and the rest, up to 100 per batch, each with the visitor’s public IP, user agent and one identifier. Email and phone are hashed with AppLovin’s own normalisation before sending; a purchase dedupes on its transaction id. Needs the Conversion API key, which AppLovin enables per account on request; without it the answer says how to get it. Free.

ParamètreTypeRequisDescription
eventsarray<object>oui1–100 events; one invalid event makes AppLovin drop the whole batch, so all are checked first

list_openai_ads_campaigns

List ChatGPT Ads account / campaigns / ad groups / ads

Read the brand’s connected ChatGPT Ads account — the ads that appear below ChatGPT answers. Every campaign, ad group and ad row carries servingIssues, OpenAI’s own list of what is blocking delivery (payment method, brand review, budget spent, ad in review, landing page not crawlable, country policy…) with a plain meaning each: null means OpenAI was not asked, [] means it reports no blocker, which is still not a promise of impressions. Call with NO ids to get the ad account itself (its three names: brandName shown in ads, accountName internal to Ads Manager, legalName; currency, status, brand review and business review state) plus its campaigns; with campaignId to list that campaign’s ad groups; with adGroupId to list that ad group’s ads, including each ad’s REVIEW status, which is what decides whether it can ever show. Statuses here are active / paused / archived. Read-only, free, zero spend risk. Needs ChatGPT Ads connected under Connectors > ChatGPT Ads in the Hermoso app; one connection covers one ad account.

ParamètreTypeRequisDescription
campaignIdstringnonlist this campaign’s ad groups
adGroupIdstringnonlist this ad group’s ads
limitnumbernonpage size, default 100
afterstringnonpagination cursor from a previous page

openai_ads_report

ChatGPT Ads performance report

Performance for ChatGPT Ads: impressions, clicks, spend, CTR, CPC, CPM; CONVERSIONS with CPA, post-click conversion rate and attributed order sales / ROAS; and REACH by default (reach = unique people, frequency, click reach / frequency, total reach / frequency, unique CTR, unique CPC, cost per 1,000 reached). totals.reach is OpenAI’s de-duplicated number for the whole window, never a sum of rows. OpenAI returns conversions only with granularity none or daily and no segment or a country/device one, CPA, conversion rate and sales only with no segment, and reach with any segment but product; the note names any column OpenAI left out (their limit, not a zero). Since OpenAI’s 2026-09-30 change conversions count click-through PLUS view-through goal conversions within the reporting windows (default 30-day click, 1-day view, by ad interaction time); CPA uses them, post-click conversion rate click-through only. clickWindowDays (7, 14, 30), viewWindowDays (0 = clicks only, or 1) and attributionTimeBasis set those windows for this report only; the reply’s `attribution` names them. Scope: none = the whole ad account, or campaignId / adGroupId / adId. PRODUCT-FEED CAROUSEL ads also report per card: ask in `fields` for carousel_product_card_impressions / _clicks and the product_* fields (impressions, clicks, spend, ctr, cpc, cpm, title, price, feed_id); they come back under each row’s `fields`. A card impression is NOT billable; never add it to spend math. granularity hourly, daily, month…

ParamètreTypeRequisDescription
campaignIdstringnonscope the report to one campaign; omit for the whole ad account
adGroupIdstringnonscope the report to one ad group
adIdstringnonscope the report to one ad
sincestringnonYYYY-MM-DD
untilstringnonYYYY-MM-DD
granularityenum: "hourly" | "daily" | "monthly" | "none"nondefault daily
levelenum: "ad_account" | "campaign" | "ad_group" | "ad"nonroll rows up to this level
segmentenum: "product" | "country" | "device" | "platform"nonextra group-by dimension (at most one). platform splits rows by ChatGPT app or browser (ios_app, android_app, desktop_web, ios_web, android_web, and web for rows from before 2026-09-10, which OpenAI does not split retroactively); it reports delivery metrics only, not conversions
limitnumbernonrows per page, up to 2000
filtersarray<object>nonkeep only matching rows, e.g. {field:"campaign.status",operator:"IN",value:["active"]} or {field:"ad.clicks",operator:"GREATER_THAN",value:100}
sortarray<object>nonorder rows, e.g. {field:"campaign.spend",direction:"desc"}
includeZeroImpressionsbooleannonalso list campaigns / ad groups / ads with no impressions (unsegmented reports only)
afterstringnonnextAfter from the previous page; limit goes up to 2000 rows
conversionsbooleannondefault true: add conversions, CPA, conversion rate and sales where OpenAI allows them. false leaves them out.
fieldsarray<string>nonextra insight fields by name, e.g. product_title, product_price, carousel_product_card_impressions; each row returns them under `fields`
attributedEventsbooleannonadd events attributed beyond the goal
eventNamesarray<string>nononly these events, e.g. ["order_created"]
attributionTimeBasisenum: "ad_event_time" | "conversion_time"nondefault ad_event_time
clickWindowDaysnumber | number | numbernondefault 30
viewWindowDaysnumber | numbernondefault 1; 0 = no views
reachbooleannondefault true: add reach, frequency, click reach / frequency, total reach / frequency, unique CTR, unique CPC and cost per 1,000 reached (not with segment product). false leaves them out.

openai_ads_geo_search

Find ChatGPT Ads location ids

Look up ChatGPT Ads location ids by name (countries, regions and markets) so a campaign can be geo-targeted, product-feed campaigns included. GEO AND CUSTOM AUDIENCES ARE THE ONLY LIST-BASED TARGETING THIS PLATFORM HAS: there are no interests, no lookalikes, no age or gender. Everything else is semantic, through an ad group’s context hints. Custom audiences are targeted with customAudienceIds / excludedCustomAudienceIds (see list_openai_ads_audiences). Pass the returned ids as locationIds (or excludedLocationIds to leave a place out) when creating or updating a campaign; a campaign with no location targeting runs everywhere available. OpenAI opens new markets without notice (Indonesia, Malaysia, the Philippines, Singapore, Thailand, Vietnam and Taiwan went live 2026-09-30), so search a market rather than assuming from memory that ChatGPT Ads does not serve it. Read-only, free.

ParamètreTypeRequisDescription
querystringouia place name, e.g. "Toronto" or "United Kingdom"
limitnumbernonmaximum number of locations to return

list_x_ads_accounts

List X ad accounts

List the X (Twitter) ad accounts this profile can act on, with the PERMISSION LEVEL held on each so you can tell an admin grant from a read-only one before attempting a write. X grants API access PER AD ACCOUNT, not per app: the customer adds Hermoso’s X user to their ad account at business.x.com -> Account access, and it appears here. Read-only, free.

Aucun paramètre.

list_x_ads_campaigns

List X ads campaigns

List campaigns on an X ad account — status, budgets, and whether X considers each servable. Omit adAccountId when only one account is reachable and it resolves itself. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
limitnumbernonmaximum number of campaigns to return

create_x_ads_campaign

Build an X ads campaign (paused)

Create a campaign on X (Twitter). ALWAYS CREATED PAUSED with no override — it spends NOTHING until set_x_ads_status(confirm:true). A CAMPAIGN ALONE CANNOT SERVE ON X: it needs a line item and a promoted post underneath it, and the read-back says so rather than letting you call it a finished ad. Requires a funding instrument (a payment method on the X ad account) — omit fundingInstrumentId to be shown the usable ones, and if there are none this refuses with that reason instead of failing at X. Budgets are in the ad account’s own currency. Everything is READ BACK from X before you are told it exists; print the returned note verbatim.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
namestringouicampaign name
fundingInstrumentIdstringnonomit to be shown the account’s usable funding instruments
dailyBudgetnumbernonin the ad account’s currency
totalBudgetnumbernonlifetime budget in ad account currency
startTimestringnonISO 8601
endTimestringnonISO 8601 end time; X deprecates campaign schedules, so set the schedule on the line item

set_x_ads_status

Pause or activate an X campaign or line item

Pause or ACTIVATE an X ads CAMPAIGN (campaignId) or ONE LINE ITEM inside it (lineItemId) — pass exactly one. ACTIVATING STARTS REAL SPEND on the next auction, so it requires confirm:true — this is the only switch on X that arms money. Tell the user the budget and what will start spending BEFORE you pass confirm. DELIVERY ON X IS THE AND OF BOTH LEVELS: an ACTIVE line item under a PAUSED campaign serves nothing, so the result reads the PARENT back too and states whether anything can actually spend rather than letting you infer it. Pausing a line item is the REVERSIBLE way to take one ad group out of delivery — deleting it is not.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringnonthe whole campaign — pass this OR lineItemId
lineItemIdstringnonone ad group — pass this OR campaignId
statusenum: "ACTIVE" | "PAUSED"ouiACTIVE starts real spend; PAUSED stops delivery
confirmbooleannonrequired to set ACTIVE — real money

microsoft_ads_bulk_download

Export a Microsoft Advertising account as a bulk file

Export a Microsoft Advertising account as a BULK FILE — one spreadsheet holding whatever slice of the account you ask for. This is the ONLY way to read most of a Microsoft account: roughly 185 of Microsoft’s record types are reachable here and nowhere else in Hermoso — sitelink / callout / structured-snippet / image / logo / price / promotion ad extensions, labels, shared negative keyword lists, bid strategies, audiences and their associations, experiments, seasonality adjustments, conversion goals, asset groups and listing groups, feeds. Pass entities[] (default Campaigns, AdGroups, Ads, Keywords), campaignIds[] to narrow it, or since for a DELTA of what changed (Microsoft refuses anything older than 30 days). The reply carries the WHOLE FILE as a string in `file` — edit that and pass it straight to microsoft_ads_bulk_upload, which is the round trip this exists for. A bulk export is a SNAPSHOT of what Microsoft held when it ran, never a live view, so do not quote a status from it as current after a change. Microsoft builds it asynchronously: a large account can come back pending:true with a downloadRequestId — call again with that id rather than resubmitting, which would export the whole account a second time. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
entitiesarray<string>nonMicrosoft DownloadEntity names — Campaigns, AdGroups, Ads, Keywords (the default), plus SitelinkAdExtensions, CalloutAdExtensions, Labels, Budgets, BidStrategies, AssetGroups, ConversionGoal, Experiments, Audiences and ~180 more. An unknown one is refused BY NAME, because Microsoft answers it with…
campaignIdsarray<string>nonexport only these campaigns (max 1000) instead of the whole account
sincestringnonISO date — export only what CHANGED since then. Microsoft refuses a delta older than 30 days, and refuses one at all alongside QualityScoreData / BidSuggestionsData
fileTypeenum: "Csv" | "Tsv"nondefault Csv
compressionenum: "GZip" | "Zip"nondefault GZip
dataScopearray<string>nonEntityData (default), QualityScoreData, BidSuggestionsData — the last two force a FULL export
limitnumbernonhow many rows to return inline, default 200 (the full file is still in `file`)
allowUnlistedEntitiesbooleannonsend an entity name we do not recognise verbatim — for a record type Microsoft added after our copy of its list was read
downloadRequestIdstringnonpick up an export that came back pending. Valid 2 days, and far cheaper than exporting the account again
waitMsnumbernonhow long to wait for Microsoft to build the file before returning pending, max 120000

microsoft_ads_bulk_upload

Apply a Microsoft Advertising bulk file (spend-gated)

Apply a Microsoft Advertising BULK FILE — edit hundreds of campaigns, ad groups, ads, keywords, extensions or labels in one request. Pass `file` as the CSV/TSV string; microsoft_ads_bulk_download returns exactly that shape in its `file` field. THE SPEND GATE, AND IT IS UNLIKE EVERY OTHER TOOL HERE. A bulk file carries a Status column, so one upload can turn campaigns ON — and confirm:true ALONE IS NOT ENOUGH for a file: it proves you meant to upload something, not that you know what THIS file does, and it reads identically for a file that changes two bids and one that activates fifty campaigns. So: call it ONCE with no confirmation. Nothing is uploaded, and you are told exactly how many objects the file would ACTIVATE (they can then spend real money) and DELETE (which Microsoft never undoes — a deleted object is never returned by any read again), each named with its row number, type, id and name. SHOW THAT LIST TO THE USER, get an explicit yes, then call again with confirm:true, confirmActivations: and confirmDeletions: . If the activations are incidental — a file you round-tripped out of a download and only meant to edit bids in — pass pauseInstead:true instead and those rows are written as Paused, so everything else lands with nothing armed; it is refused when the file also deletes, because pausing is a safe substitute for activating and there is none for deleting. Partial success is normal on this API: rows Microsoft rejects come back listed individually and the correct o…

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
filestringouithe bulk file itself, CSV or TSV, whose first column header must be "Type"
fileTypeenum: "Csv" | "Tsv"noninferred from the file when omitted
confirmbooleannonthe user has SEEN what this file activates and deletes and said yes. Not sufficient on its own — the two echo counts below are also required
confirmActivationsnumbernonecho back how many objects this file ACTIVATES — the exact count the un-confirmed call reported
confirmDeletionsnumbernonecho back how many objects this file DELETES — the exact count the un-confirmed call reported
pauseInsteadbooleannonrewrite every activation to Paused so the rest of the file uploads with nothing armed. Never applied unless asked: an unrequested rewrite would PAUSE A LIVE CAMPAIGN
dryRunbooleannonreport what the file would do and upload nothing at all
responseModeenum: "ErrorsAndResults" | "ErrorsOnly"nondefault ErrorsAndResults, so the outcome can be read back rather than assumed
uploadRequestIdstringnonread the outcome of an upload that came back pending. NEVER re-upload the file — it is already queued, and a second upload applies every row twice
waitMsnumbernonhow long to wait for Microsoft to apply the file before returning pending, max 120000

list_microsoft_ads_conversion_goals

Microsoft Advertising conversion goals

The conversion goals on a Microsoft Advertising account — what the account COUNTS as a conversion, and therefore what every conversion-optimised bid strategy on it is optimising toward. Flags which ones are OFFLINE goals: those are the only goals send_microsoft_ads_offline_conversions can post to, and its conversionName must match one of their names EXACTLY, including case and spacing. An account with no goals at all has no conversion tracking — say that plainly rather than reporting an empty list, because it means smart bidding there has nothing to aim at. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
goalIdsarray<string>nonspecific goal ids — omit for all of them
goalTypestringnonfilter to one Microsoft ConversionGoalType, e.g. OfflineConversion

send_microsoft_ads_offline_conversions

Send offline + enhanced conversions to Microsoft

Tell Microsoft Advertising about conversions that happened OFF the website — a phone sale, an in-store purchase, a lead that closed weeks after the click — so smart bidding on that account stops optimising against only what converted online. Each row needs conversionName (an existing OFFLINE conversion goal, matched by name — list_microsoft_ads_conversion_goals shows them), conversionTime (within the last 90 days AND after the click), and an identifier: either microsoftClickId (the msclkid Microsoft appends to the landing-page URL) or, for ENHANCED conversions, a plain email and/or phone. YOU PASS PLAIN VALUES AND THE HASHING HAPPENS SERVER-SIDE: emails are normalized and SHA-256’d to Microsoft’s own published five-step spec, which is verified against Microsoft’s own worked digests. A PHONE MUST ALREADY CARRY ITS COUNTRY CODE (+14255551234) and is refused otherwise — Microsoft’s spec says "normalize to E.164 format with country code" and stops there, and guessing which country a bare 4255551234 belongs to is not a mistake you would ever see: the upload succeeds and matches nobody. SAY THIS WHEN REPORTING: accepted is not the same as visible. Microsoft takes up to 6 hours to show offline conversion data and applies nothing at all in the first 2 hours after a goal is created, and a conversion only counts inside the goal’s own conversion window. Duplicates are silently ignored (the first wins), so re-sending a batch is safe and changes nothing. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
conversionNamestringnondefault goal name for every row that does not carry its own
conversionsarray<object>ouiup to 1000 per request — Microsoft applies each request independently

microsoft_ads_auction_insights

Who else is bidding on the same Microsoft auctions

Who ELSE is competing for the same Microsoft Advertising auctions — the other advertisers’ domains with their impression share, overlap rate, position-above rate, top-of-page rate and outranking share. microsoft_ads_report tells you what the account did; this tells you who it did it against, which is the input to a bid or a creative decision rather than a report. Scope it with entityType Account (default, the whole account) / Campaign / AdGroup / Keyword plus entityIds (max 200), and optionally segment by up to three of Day, DayOfWeek, Device. SAY THIS WHEN REPORTING: every figure is a share of the auctions YOUR ads entered, never a measure of a competitor’s whole account or budget — a competitor missing from the list did not necessarily not bid. An empty result means there was no delivery to compare in that window, which is MISSING data; never report it as "nobody is bidding against you". Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
entityTypeenum: "Account" | "Campaign" | "AdGroup" | "Keyword"nondefault Account
entityIdsarray<string>nonREQUIRED for Campaign / AdGroup / Keyword, max 200. Microsoft only defaults to the whole account for entityType Account
sincestringnonYYYY-MM-DD, default 30 days back
untilstringnonYYYY-MM-DD, default today
segmentsarray<enum: "Day" | "DayOfWeek" | "Device">nonat most three — Microsoft’s own limit

microsoft_ads_recommendations

What Microsoft suggests changing on the account

What Microsoft Advertising ITSELF suggests changing on the account: budget raises, new keywords, broad-match widenings, conflicting negative keywords to remove, and responsive search ads or extra headlines Microsoft has written. Each row carries the campaign and ad group it touches plus Microsoft’s OWN estimate of what applying it would add to clicks, impressions, conversions and COST; a budget recommendation states the current and the recommended daily amount, so the money is a vendor fact rather than a guess. SAY THIS WHEN REPORTING: every Microsoft recommendation INCREASES what the account buys, that is what they are for, so none of them is a free win, and an empty list means Microsoft has no ADVICE (usually too little delivery to compute any), never that the account is optimal. Dismissed recommendations are hidden unless you ask for them. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
typesarray<string>nonnarrow to some of ADD_BROAD_MATCH_KEYWORD, CAMPAIGN_BUDGET, KEYWORD, REMOVE_CONFLICTING_NEGATIVE_KEYWORD, RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, all six by default. An unknown name is refused BY NAME, because Microsoft answers one with a deserialization error that names no field
limitnumbernonMicrosoft’s MaxCount, omit for everything
includeDismissedbooleannonalso show recommendations already dismissed

apply_microsoft_ads_recommendations

Apply Microsoft recommendations (spend-gated)

Apply Microsoft Advertising recommendations by id. THIS SPENDS REAL MONEY AND HAS NO UNDO. It raises daily budgets, adds keywords, widens keywords to broad match, DELETES negative keywords so the account buys more searches, and publishes Microsoft-written ads under the brand’s name, all live at the next auction. THE GATE IS UNLIKE THE OTHER MICROSOFT SPEND SWITCHES, AND confirm:true ALONE IS REFUSED: it proves you meant to apply something, not that you know what THESE ones do, and it reads identically for one keyword suggestion and forty budget raises. So call it ONCE with no confirmation. Nothing is applied, and you get every recommendation named with its campaign, exactly what it changes, the current -> recommended budget where there is one, and Microsoft’s own cost estimate. SHOW THAT LIST TO THE USER, get an explicit yes, then call again with confirm:true, confirmCount: and confirmCostIncrease: . BOTH NUMBERS ARE RECOMPUTED FROM A FRESH READ at that moment, so a recommendation Microsoft has withdrawn, already applied or re-priced since you looked fails the check instead of being applied unseen. If ANY id you name is no longer on offer, NOTHING is applied, not even the ones that still are, because applying part of a set you inspected whole is not what you asked for. Microsoft can reject individual items and apply the rest, so the result reports per item: never call a partial apply a failure, and never call it a success. 0 credits to us; the spend lands on the ad account.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
recommendationIdsarray<string>ouiids from microsoft_ads_recommendations, max 100. There is deliberately no "apply everything"
confirmbooleannonthe user has SEEN the pre-flight list and said yes. Not sufficient on its own, both echo numbers below are also required
confirmCountnumbernonecho back how many recommendations this applies: the exact count the un-confirmed call reported
confirmCostIncreasenumbernonecho back Microsoft’s own summed cost estimate for them: the exact number the un-confirmed call reported
dryRunbooleannonreport what would happen and apply nothing at all

dismiss_microsoft_ads_recommendations

Dismiss Microsoft recommendations

Dismiss Microsoft Advertising recommendations by id so Microsoft stops offering them. IT CANNOT SPEND and it changes nothing about what the account runs (it takes advice off the list), so it takes no confirmation at all, which is the point: reach for this rather than applying something just to clear it. Nothing is destroyed either: Microsoft still returns a dismissed recommendation from a read, flagged as dismissed, and microsoft_ads_recommendations will show it again with includeDismissed. Ids Microsoft has already withdrawn are reported and are not an error, they are already off the list, which is the outcome you wanted. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
recommendationIdsarray<string>ouiids from microsoft_ads_recommendations, max 100

microsoft_ads_auto_apply

Is Microsoft changing this ad account by itself?

Whether Microsoft is allowed to change this ad account BY ITSELF, unattended: the auto-apply opt-in status for each of the five recommendation types Microsoft supports. THIS IS THE READ THAT ANSWERS "is something changing my account when nobody is looking?", and it is worth running on any Microsoft account you inherit: an account can already be opted in without anyone at the brand having done it, and there is no other way to find out from here. A type Microsoft returns no status for is reported as UNKNOWN, never as off. TWO THINGS THAT CATCH PEOPLE OUT AND ARE STATED IN THE REPLY: these five type names are a DIFFERENT, case-sensitive vocabulary from the six microsoft_ads_recommendations uses (Microsoft cannot auto-apply a budget recommendation at all, there is no such type), and three of the five have no readable recommendation, so there is no way to preview what auto-apply would do for those. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
typesarray<string>nonnarrow to some of ResponsiveSearchAdsOpportunity, MultiMediaAdsOpportunity, RemoveConflictingNegativeKeywordOpportunity, FixConversionGoalSettingsOpportunity, CreateConversionGoalOpportunity, all five by default

set_microsoft_ads_auto_apply

Let Microsoft change the account by itself, or stop it (per type)

Switch Microsoft’s auto-apply on or off, per recommendation type. SWITCHING ONE ON IS UNLIKE EVERY OTHER WRITE IN HERMOSO: it is STANDING PERMISSION FOR MICROSOFT TO CHANGE THIS AD ACCOUNT ON ITS OWN, indefinitely, with nobody watching, publishing search and multimedia ads it wrote under the brand’s name, DELETING negative keywords so the account starts buying searches it currently blocks, or creating and changing conversion goals so every smart-bidding strategy on the account re-aims. It has no expiry and no schedule you can inspect, and nothing in Hermoso will ever turn it off for the user. AND THERE IS NOTHING TO PREVIEW: Microsoft decides later, on evidence that does not exist yet, so no count, no dry run and no list can tell you what it will do, which is exactly why a blast-radius echo would be meaningless here and each type has to be named instead. To turn any type ON: confirm:true AND confirmTypes listing every type being turned on, individually. There is no "all" and no default; naming four of five leaves the fifth refused BY NAME. TURNING IT OFF IS NEVER GATED, set those types to false and it goes straight through, because that only ever reduces what Microsoft does unattended. A type already in the state you asked for is not sent at all. THE ANSWER IS THE READ-BACK: the result re-reads Microsoft and says done / not done / could not tell PER TYPE, and you report that, never the fact that the call returned. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
optInsobjectouimap of Microsoft auto-apply type name to true/false, e.g. {"RemoveConflictingNegativeKeywordOpportunity": false}. Case-sensitive keys: ResponsiveSearchAdsOpportunity, MultiMediaAdsOpportunity, RemoveConflictingNegativeKeywordOpportunity, FixConversionGoalSettingsOpportunity, CreateConversionGoalOpp…
confirmbooleannonrequired to turn ANY type ON, after the user has been told what Microsoft will be allowed to do unattended. Never needed to turn one off
confirmTypesarray<string>nonevery type you are turning ON, named individually. That is the echo which proves you know WHICH permission you are granting, where a count could not

get_microsoft_ads_account_properties

Read Microsoft Advertising account settings

Read a Microsoft Advertising ad account’s account-level settings (Microsoft’s GetAccountProperties): TrackingUrlTemplate, FinalUrlSuffix, MSCLKIDAutoTaggingEnabled, AdClickParallelTracking, IncludeViewThroughConversions, ProfileExpansionEnabled, AllowImageAutoRetrieve, BusinessAttributes, AssetAIEnhancementOptout, AIDetectedContentWatermarkPolicy and the rest Microsoft returns, each flagged settable or read-only here. A property Microsoft does not return is reported as UNREAD (often a feature that has not reached the account yet), never as off or empty. AIDetectedContentWatermarkPolicy is the account-level AI-detected content watermark policy; Microsoft has not documented its values, so report what the account stores verbatim and do not guess what it means. Read-only, 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
namesarray<string>nonnarrow to some account property names, e.g. ["AIDetectedContentWatermarkPolicy"]; all of them by default

set_microsoft_ads_account_properties

Change Microsoft Advertising account settings

Change a Microsoft Advertising ad account’s account-level settings (Microsoft’s SetAccountProperties). They apply to EVERY campaign in the account. Settable: TrackingUrlTemplate and FinalUrlSuffix ("" clears them), MSCLKIDAutoTaggingEnabled, AdClickParallelTracking (true only, Microsoft made it mandatory), IncludeViewThroughConversions, ProfileExpansionEnabled, AllowImageAutoRetrieve, BusinessAttributes (an array or a semicolon list of Microsoft’s attribute names, "" clears), AssetAIEnhancementOptout and AIDetectedContentWatermarkPolicy. Readable but refused here, by name: AutoApplyRecommendations (use set_microsoft_ads_auto_apply), the Nielsen and Netflix terms acceptances (a person accepts terms, not an agent), and properties whose values Microsoft does not document. confirm:true is required to turn ProfileExpansionEnabled ON (it widens reach and can raise spend), to turn AllowImageAutoRetrieve ON (it grants Microsoft a licence to your site images), and for ANY AIDetectedContentWatermarkPolicy value: Microsoft has not documented those values, so read the property first, tell the user that, and pass the value verbatim. Microsoft sets all or none. A value already in place is not sent. THE ANSWER IS THE READ-BACK: per property done / not done / could not tell, with the previous value and the call that restores it. Report that, never the fact that the call returned. 0 credits.

ParamètreTypeRequisDescription
adAccountIdstringnonMicrosoft ad account id — omit to use the single shared account
accountIdstringnonolder name for adAccountId (MCP only)
propertiesobjectouimap of account property name to value, e.g. {"MSCLKIDAutoTaggingEnabled": true}, {"FinalUrlSuffix": "utm_source=bing"} or {"AIDetectedContentWatermarkPolicy": " "}
confirmbooleannonthe user said yes. Required for ProfileExpansionEnabled=true, AllowImageAutoRetrieve=true and any AIDetectedContentWatermarkPolicy value

list_apple_ads_campaigns

List Apple Ads campaigns

Read the brand’s connected Apple Ads (Apple Search Ads) campaigns — App Store search ads, on Apple’s Platform API. Each row carries status, the system-computed displayStatus, the daily budget, the bid strategy, the countries and placements it runs in and, when a campaign cannot run, systemStatusReasons stating exactly why. Read-only, free, zero spend risk. Needs Apple Ads connected (Connectors > Apple Ads, or connect_connector): there is no OAuth — Hermoso generates an EC signing key, the user pastes the public half into Apple Ads > Account Settings > API and pastes back clientId / teamId / keyId. To BUILD on this account, use create_apple_ads_campaign / create_apple_ads_ad_group / add_apple_ads_keywords: everything is created PAUSED and only set_apple_ads_status(confirm:true) can arm spend.

ParamètreTypeRequisDescription
limitnumbernonpage size, default 100, Apple’s max is 1000
offsetnumbernonoffset pagination

list_apple_ads_ad_groups

List Apple Ads ad groups

Ad groups on the brand’s Apple Ads account — status, the system-computed displayStatus, pricing model, the bid off the ad group’s bidStrategy, and whether Search Match (Apple’s automated keyword matching) is on. campaignId is OPTIONAL: with it, the ad groups of that one campaign; WITHOUT it, every ad group in the ad account, each row carrying its own campaignId. (Apple’s older API had no account-wide ad-group list and required the campaign id; its Platform API does, and this now uses it.) Read-only, free.

ParamètreTypeRequisDescription
campaignIdstringnonoptional — from list_apple_ads_campaigns. Omit for every ad group in the ad account.
limitnumbernonmaximum number of ad groups to return
offsetnumbernonad groups to skip, for paging

list_apple_ads_keywords

List Apple Ads targeting or negative keywords

Targeting or negative keywords with their match type, status and bid. THE TWO RESOURCES SCOPE DIFFERENTLY and Apple enforces it: TARGETING keywords (the default) need campaignId OR adGroupId — campaignId alone now returns every targeting keyword in the campaign, which Apple’s older API had no way to ask for. NEGATIVE keywords (negative:true) always need one of the two as well, and Apple splits them by LEVEL: campaignId alone returns the CAMPAIGN-level negatives that suppress the whole campaign (scope ‘campaign’, the default), scope ‘adgroup’ returns every AD-GROUP-level negative across that campaign in one call, and naming an adGroupId returns just that ad group’s. The reply states which level it counted, because the row shapes are identical and the number means different things. There is no account-wide keyword list. Apple allows up to 5000 keywords per ad group. Read-only, free.

ParamètreTypeRequisDescription
campaignIdstringnonthe campaign — required unless you pass adGroupId
adGroupIdstringnonnarrow to one ad group. Outranks scope on both resources.
negativebooleannonlist negative keywords instead of targeting keywords
scopeenum: "campaign" | "adgroup"nonNEGATIVE keywords only, with campaignId and no adGroupId: "campaign" (default) = the campaign-level negatives; "adgroup" = every ad-group-level negative across the campaign.
limitnumbernonmaximum number of keywords to return
offsetnumbernonkeywords to skip, for paging

apple_ads_report

Apple Ads performance report

Apple Ads performance — impressions, taps, installs, spend, TTR, CPT, CPA. level is campaign / adgroup / ad / keyword / searchterm; promotedObjectType is apps (App Store, the default) or business-brands (Ads on Apple Maps). startTime and endTime are REQUIRED, as YYYY-MM-DD. campaignId is REQUIRED for every level except campaign — it moved from the URL into a filter, but Apple still enforces it (measured: “campaignId filter is required for AD_GROUP reports when promotedObjectType is APPS”), so only a campaign-level report may be account-wide. adGroupId narrows it further. groupBy is restricted PER LEVEL and an unsupported dimension is refused by name, never dropped: campaign and adgroup take deviceClass/ageRange/gender/countryCode/adminArea/locality/storefront/countryOrRegion, keyword and searchterm take only deviceClass/storefront/countryOrRegion, and ad takes only storefront/countryOrRegion. granularity is optional and carries Apple’s own date rules (HOURLY reaches back 7 days and is unavailable on ad and searchterm reports; DAILY 90 days and needs a range longer than one day; WEEKLY 365 days with an end date at least 14 days ago; MONTHLY needs an end date at least 90 days ago). FOR A SINGLE DAY, OMIT granularity — the totals come back in each row’s totalMetrics. Search-term reports are ORTZ-only. grandTotals adds a summary row; emptyMetrics includes entities with no delivery — App Store reports only, never together with groupBy, and never on a search-term report. A report…

ParamètreTypeRequisDescription
levelenum: "campaign" | "adgroup" | "keyword" | "searchterm" | "ad"nondefault campaign
promotedObjectTypeenum: "apps" | "business-brands"nonapps = App Store (default), business-brands = Ads on Apple Maps
campaignIdstringnonREQUIRED for every level except campaign. It moved from the URL into a filter in the Platform API, but Apple still enforces it — only a campaign-level report may be account-wide.
adGroupIdstringnonoptional second filter — v5 had no path for this
startTimestringouiYYYY-MM-DD (required)
endTimestringouiYYYY-MM-DD (required)
granularityenum: "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY"nonomit entirely for a single day, or for totals only
groupByarray<string>nonrestricted per level — see the description; an unsupported value is refused by name
timeZoneenum: "ORTZ" | "UTC"nonORTZ = the organization time zone, Apple’s default. Search-term reports accept ORTZ only.
grandTotalsbooleannonadd a summary row across all result rows
emptyMetricsbooleannoninclude entities with no delivery. App Store reports only, and never together with groupBy.
fieldsarray<string>nonlimit the returned fields. Omit for all of them.
offsetnumbernonrow to start at (default 0). hasMore is now MEASURED against Apple’s own pagination.totalCount rather than inferred from a full page, and the default ordering is localSpend DESCENDING — so omitted rows are the LOW-SPEND tail.
limitnumbernonrows per page, up to 5000 (default 100)

list_apple_ads_orgs

List Apple Ads organizations

The Apple Ads ad accounts these credentials can act as, with the roles held on each, plus the organization’s currency, time zone and payment model. NAMING: Apple’s older API called these “organizations” (campaign groups) and its Platform API calls them AD ACCOUNTS — the id is the same number, and `orgId` and `adAccountId` on each row are equal. One login can cover several: an agency managing multiple clients has one per client. Reading this does NOT switch account: Apple Ads is pinned to the ONE chosen when the connection was made, so an agent can never act as another client’s. To use a different one, pick it in Connectors > Apple Ads > Manage accounts, with set_connector_accounts, or by reconnecting. A payment model of null is worth reporting: Apple states that without one, campaigns cannot run. Read-only, free.

Aucun paramètre.

create_apple_ads_campaign

Create an Apple Ads campaign

Create an Apple Ads (Apple Search Ads) campaign promoting an iOS app on the App Store. CREATED PAUSED ALWAYS — there is no override, so nothing can spend until you separately call set_apple_ads_status(status:"ENABLED", confirm:true). REQUIRED: name (unique across the whole Apple Ads ORGANIZATION, not just this ad account — Apple 400s DUPLICATE_CAMPAIGN_NAME, and the org can contain campaigns you cannot see), appAdamId (the App Store id, e.g. "6752439949" — read it off any existing campaign’s promotedObjectId), dailyBudget (decimal string, e.g. "25.00"), countries (ISO 3166-1 alpha-2). placements defaults to APPSTORE_SEARCH_RESULTS, the classic Search Ads placement, which needs NO creative — Apple renders your App Store product page. bidStrategyType defaults to MANUAL_CPT (a fixed price per tap); MAX_CONVERSIONS optimizes for installs and is the only strategy that takes a campaign-level bid, where it means the target CPA. A MANUAL_CPT per-tap bid does NOT belong here: Apple refuses it at campaign level with an error naming a field you never sent — pass defaultBid to create_apple_ads_ad_group instead. Free.

ParamètreTypeRequisDescription
namestringouiREQUIRED. Unique across the entire Apple Ads organization.
appAdamIdstringouiREQUIRED. App Store id of the promoted app, e.g. "6752439949".
dailyBudgetstringouiREQUIRED. Decimal string, e.g. "25.00".
countriesarray<string>ouiREQUIRED. ISO 3166-1 alpha-2 codes, e.g. ["US","CA"].
placementsarray<string>nonDefault ["APPSTORE_SEARCH_RESULTS"]. Also APPSTORE_SEARCH_TAB, APPSTORE_TODAY_TAB, APPSTORE_PRODUCT_PAGES, or MAPS_SEARCH_RESULTS / MAPS_SEARCH_HOME. One campaign cannot mix App Store and Maps placements.
bidStrategyTypeenum: "MANUAL_CPT" | "MAX_CONVERSIONS"nonDefault MANUAL_CPT.
bidstringnonMAX_CONVERSIONS only — the target CPA. Refused on MANUAL_CPT.
currencystringnonDefaults to the connected ad account’s currency; an account cannot mix currencies.
startTimestringnoncampaign start time, ISO 8601
endTimestringnonOmit to run indefinitely.
budgetOrderIdsarray<string>nonbudget order id(s) from list_apple_ads_budget_orders to assign this campaign to — a budget order is a spend CEILING SHARED across every campaign assigned to it, and it works ALONGSIDE dailyBudget rather than instead of it. Without this a budget order can never be drawn from.

create_apple_ads_ad_group

Create an Apple Ads ad group

Create an ad group inside an Apple Ads campaign — this is where the bid and the keywords live. CREATED PAUSED ALWAYS. REQUIRED: campaignId, name. defaultBid is the most you will pay per tap (decimal string, e.g. "1.50") and applies to every keyword with no bid of its own. startTime is optional here and defaults to now: Apple documents it as optional and then REJECTS the create without it, so Hermoso always supplies one. searchMatch:true opts into Apple’s automated keyword matching, which targets relevant search terms beyond your keyword list. pricingModel defaults to CPT and must match the campaign’s billing event. Keywords cannot be created inline — make the ad group, then call add_apple_ads_keywords. targeting is who and where it reaches: FOR AN APPLE MAPS AD GROUP, targeting.locationGroupIds is the only field that says WHICH of the brand’s shops this ad group promotes, and an ad group with none stops serving rather than reaching everywhere — build the group first with create_apple_ads_location_group. Radius and geo targeting cannot be combined in one ad group and that is refused here rather than delivered on terms nobody chose. Like the campaign it lives in, it stays PAUSED until set_apple_ads_status(status:"ENABLED", confirm:true) arms it. Free.

ParamètreTypeRequisDescription
campaignIdstringouiREQUIRED.
namestringouiREQUIRED.
defaultBidstringnonMax cost per tap, e.g. "1.50".
currencystringnonISO 4217 currency code of the ad group bids
startTimestringnonDefaults to now.
endTimestringnonOmit to inherit the campaign end date.
searchMatchbooleannonOpt into Apple’s automated keyword matching.
pricingModelenum: "CPT" | "CPM" | "CPA"nonDefault CPT; must match the campaign billing event.
targetingobjectnonWho and where this ad group reaches. For Apple Maps, locationGroupIds is what says which shops it promotes.

add_apple_ads_keywords

Add Apple Ads keywords

Add targeting keywords to an Apple Ads ad group. keywords is [{text, matchType, bid}] — matchType EXACT (default), BROAD, PHRASE or CATEGORY, and bid optionally overrides the ad group default for that one term. Up to 1000 per call and 5000 per ad group. They are sent ONE AT A TIME on purpose: a single term Apple refuses cannot take the rest of the batch down, and the reply names every refusal with Apple’s own reason, then reads the ad group’s keywords back to prove what actually landed. Keyword text and match type are IMMUTABLE — to change either, delete the keyword and add it again. A keyword is created ENABLED because it cannot serve unless its ad group and campaign are enabled too; if the ad group is ALREADY live, adding keywords serves on the next auction and therefore takes confirm:true. Free.

ParamètreTypeRequisDescription
adGroupIdstringouiREQUIRED.
keywordsarray<object>ouiREQUIRED. Up to 1000.
matchTypeenum: "EXACT" | "BROAD" | "PHRASE" | "CATEGORY"nonDefault for entries that do not set one.
currencystringnonISO 4217 currency code for the bids
confirmbooleannonRequired ONLY when the ad group is already ENABLED.

add_apple_ads_negative_keywords

Add Apple Ads negative keywords

Add negative keywords to an Apple Ads campaign or ad group — search terms your ads must NOT show for. Pass exactly one of campaignId (campaign-wide) or adGroupId (that ad group only); Apple rejects a request carrying both. keywords is [{text, matchType}] with matchType BROAD (default) or EXACT. Never confirm-gated and never a spend risk, because a negative keyword only ever RESTRICTS where you show. Text and match type are immutable — delete and re-add to change either. Free.

ParamètreTypeRequisDescription
campaignIdstringnonCampaign-wide. Pass this OR adGroupId, never both.
adGroupIdstringnonOne ad group. Pass this OR campaignId, never both.
keywordsarray<object>ouiREQUIRED.
matchTypeenum: "EXACT" | "BROAD" | "PHRASE" | "CATEGORY"nonDefault BROAD.

update_apple_ads_object

Edit an Apple Ads campaign, ad group, keyword or location group

Edit an existing Apple Ads campaign, ad group, keyword, creative or ad. Pass level and id plus ONLY the fields you want to change — Apple leaves every field you omit exactly as it is. Campaign: name, dailyBudget, startTime, endTime, countries, bidStrategyType. Ad group: name, defaultBid, startTime, endTime, searchMatch. Keyword: bid only — its text and match type are immutable, so delete and re-add to change either. Creative: name, plus (Apple Maps creatives only) a new creativeSpec — a creative’s type and destination are locked at creation, so pointing at a different app or product page means creating a NEW creative. Ad: name only — its creative and ad group are locked too, and Apple’s own instruction for serving a different creative is to create a new ad and delete the old one. Location group: name, description, and locationIds or rules. WARNING, AND IT APPLIES TO EVERY ARRAY HERE: AN ARRAY REPLACES RATHER THAN MERGES. The countries you send become the campaign’s entire geographic targeting, the targeting dimensions you send become the ad group’s entire setting for those dimensions, and Apple states it for location groups in terms — to add ONE shop to a group, read its current locationIds, append, and send the whole list back, or you have just removed every other shop. Send everything you want to keep, never just the new one. This tool deliberately CANNOT change a status: enabling arms real spend, so it lives behind set_apple_ads_status and its confirmation. Free.

ParamètreTypeRequisDescription
levelenum: "campaign" | "adgroup" | "keyword" | "creative" | "ad" | "location_group"ouiREQUIRED.
idstringouiREQUIRED.
namestringnonnew name for the campaign, ad group, creative, ad or location group
dailyBudgetstringnonCampaign only.
defaultBidstringnonAd group only.
bidstringnonKeyword only.
countriesarray<string>nonCampaign only. REPLACES the whole list.
bidStrategyTypeenum: "MANUAL_CPT" | "MAX_CONVERSIONS"nonCampaign only.
searchMatchbooleannonAd group only.
targetingobjectnonAd group only. Same shape as create_apple_ads_ad_group.targeting — locationGroupIds, radius, adminAreaIds, daypart and the rest. REPLACES the dimensions you name.
locationIdsarray<string>nonLocation group only (STATIC). REPLACES the whole membership.
rulesarray<object>nonLocation group only (DYNAMIC). REPLACES every rule and puts the group back to PENDING.
descriptionstringnonLocation group only.
startTimestringnonstart time, ISO 8601
endTimestringnonend time, ISO 8601
currencystringnonISO 4217 currency code
budgetOrderIdsarray<string>nonbudget order id(s) from list_apple_ads_budget_orders to assign this campaign to — a budget order is a spend CEILING SHARED across every campaign assigned to it, and it works ALONGSIDE dailyBudget rather than instead of it. Without this a budget order can never be drawn from.

set_apple_ads_status

Pause or enable an Apple Ads object

Pause or enable an Apple Ads campaign, ad group, keyword or ad. PAUSING is immediate and needs no confirmation. ENABLING IS THE ONE SWITCH THAT ARMS REAL MONEY: it requires confirm:true, and without it nothing changes and the refusal names the object Apple actually holds under that id — read back from Apple, never echoed from your input, because aiming at the wrong campaign is invisible until money moves. An object serves only when it AND every parent above it are ENABLED, so enabling a keyword inside a paused campaign spends nothing. Prefer pausing to deleting: pausing is reversible and Apple’s delete is not. A CREATIVE, AN ASSET AND A LOCATION GROUP ARE DELIBERATELY ABSENT from the levels here and that is not an oversight: none of them has an advertiser status — a creative and a location group carry only a read-only systemStatus Apple computes — so to stop a creative serving, pause the ADS that reference it, and to stop promoting a set of shops, pause the AD GROUP that targets the location group. The reply reports the status Apple STORED, which is a different claim from the one it accepted. Free.

ParamètreTypeRequisDescription
levelenum: "campaign" | "adgroup" | "keyword" | "negative_keyword" | "ad"ouiREQUIRED.
idstringouiREQUIRED.
statusenum: "ENABLED" | "PAUSED"ouiREQUIRED.
confirmbooleannonREQUIRED to ENABLE — it arms real spend. Pausing needs none.

delete_apple_ads_object

Delete an Apple Ads object

Delete an Apple Ads campaign, ad group, keyword, negative keyword, ad, creative, asset, location group or budget order. Requires confirm:true, and optionally confirmName echoed back to prove you aimed at the right object. THIS CASCADES AND CANNOT BE UNDONE: Apple soft-deletes with no undelete, and deleting a campaign takes every ad group, keyword and ad underneath it. THE BLAST RADIUS DIFFERS BY LEVEL and the refusal states the right one for the object you named: deleting a CREATIVE does not delete the ads that use it — it makes every one of them stop serving, permanently, with no way back but a new creative; deleting an ASSET makes any Apple Maps creative using it INVALID; deleting an AD leaves its creative untouched and available; deleting a LOCATION GROUP is permanent with no restore, and every ad group targeting it loses that constraint immediately — an ad group left targeting no location group STOPS serving rather than reaching everywhere. In almost every case set_apple_ads_status(status:"PAUSED") is what you actually want — it stops all spend and is reversible — but a creative, an asset, a location group and a budget order have NO status, so for those the reversible move is pausing whatever references them. DELETING A BUDGET ORDER CASCADES TO NOTHING — it is a spend ceiling, not a parent — but every campaign assigned to it loses that ceiling, and Apple REFUSES the delete outright while any campaign is still assigned, or once the order has started, or if it is cancelled…

ParamètreTypeRequisDescription
levelenum: "campaign" | "adgroup" | "keyword" | "negative_keyword" | "ad" | "creative" | "asset" | "location_group" …ouiREQUIRED.
idstringouiREQUIRED.
confirmbooleannonREQUIRED. Nothing is deleted without it.
confirmNamestringnonOptional — echo the object’s exact name to prove you aimed at the right one.

search_apple_ads_apps

Find an App Store app to advertise

Find the App Store app to advertise and its adamId — the id every other Apple Ads tool needs (create_apple_ads_campaign’s appAdamId, a creative’s destination, an eligibility check). Call it with NO arguments to list the apps THIS Apple Ads organization owns, which is what a first-time advertiser wants: only an app you own can be promoted, so a public app you merely found by name cannot be used as promotedObjectId. Pass query to search the App Store catalogue by name or developer, or adamId to fetch one app’s full details — including availableStorefronts, the definitive list of countries the app can be advertised in and the set a campaign’s countries must be a subset of. Read-only, free.

ParamètreTypeRequisDescription
querystringnonApp name or developer to search the App Store for.
adamIdstringnonFetch one app’s full details instead of searching.
ownedOnlybooleannonDefault true — only apps this organization owns (the only ones that can be promoted). false searches the whole catalogue. Apple’s own default is false; Hermoso flips it because only an owned app can be advertised.
storeFrontsarray<string>nonApp Store country/region codes to search in, e.g. ["US","GB"].
cpidsstringnonComma-separated iTunes content provider ids to scope the search to.
limitnumbernonmaximum number of apps to return
offsetnumbernonapps to skip, for paging

check_apple_ads_app_eligibility

Check whether an app may be advertised

Ask Apple whether an app may be advertised at all, PER PLACEMENT AND PER COUNTRY — the check Apple tells you to run before building a campaign around an app. Each row is ELIGIBLE or INELIGIBLE for one combination of placement, country or region and device class, with the minimum age rating for that market. A campaign targeting a country the app is INELIGIBLE in simply will not deliver there and nothing in the campaign build says so, so this is how you find out for free beforehand. adamId is REQUIRED. NO ROWS IS NOT THE SAME AS INELIGIBLE — it usually means the app is not owned by this organization; report that distinction rather than presenting it as a refusal. Read-only, free.

ParamètreTypeRequisDescription
adamIdstringouiREQUIRED — from search_apple_ads_apps.
supplyPlacementarray<string>nonNarrow to placements, e.g. ["APPSTORE_SEARCH_RESULTS","APPSTORE_SEARCH_TAB"].
countryOrRegionarray<string>nonISO 3166-1 alpha-2 codes.
deviceClassarray<string>nonIPHONE and/or IPAD.
limitnumbernonmaximum number of eligibility rows to return

list_apple_ads_product_pages

List App Store product pages

The App Store product pages this ad account can advertise — the post-tap destination a creative points at. Every app has exactly one DEFAULT product page (its standard listing, needing no setup) plus any CUSTOM PRODUCT PAGES the developer built in App Store Connect, each with its own productPageId (a UUID, not an integer) that a CUSTOM_PRODUCT_PAGE creative requires. Filter by adamId. Pass localeDetails:true to read the per-language content instead — appName, subtitle, promotional text and the screenshots and preview videos by device class — for a custom page (productPageId) or for the app’s default listing (adamId); Hermoso picks the right one of Apple’s two endpoints for you. READ-ONLY BY DESIGN: product pages are authored in App Store Connect, not through any API, and a page you just published appears here only after a short propagation delay. Free.

ParamètreTypeRequisDescription
adamIdstringnonApp Store id — one app’s pages, or its DEFAULT listing’s locale details.
productPageIdstringnonA specific custom product page (UUID).
localeDetailsbooleannonRead per-language content instead of the page list.
languageCodestringnonWith localeDetails — one locale, e.g. "en-US". Omit for all.
languagestringnonWith localeDetails — a language, e.g. "en".
statestringnonFilter by page state; the typical live value is PUBLISHED.
limitnumbernonmaximum number of rows to return
offsetnumbernonrows to skip, for paging

list_apple_ads_creatives

List Apple Ads creatives

The ad creatives on this Apple Ads account, each with its type, the app and product page it points at, its systemStatus (VALID / INVALID / PENDING) and its eligibility per ad placement. A creative is reusable — one can back ads in several ad groups and campaigns. Filter by creativeType, systemStatus, a name prefix or eligibility, pass id for a single one, or includeDeleted:true to see deleted records (Apple excludes them by default). AN EMPTY LIST IS NORMAL on an account that only runs classic Search Results campaigns: those need no creative at all, because Apple renders the App Store product page itself. Read-only, free.

ParamètreTypeRequisDescription
idstringnonFetch one creative.
creativeTypeenum: "DEFAULT_PRODUCT_PAGE" | "CUSTOM_PRODUCT_PAGE" | "LOCAL_ADS_SEARCH_CREATIVE"noncreative kind: DEFAULT_PRODUCT_PAGE, CUSTOM_PRODUCT_PAGE or LOCAL_ADS_SEARCH_CREATIVE
systemStatusenum: "VALID" | "INVALID" | "PENDING"nonApple's review state: VALID, INVALID or PENDING
namestringnonName prefix.
eligibilityenum: "ELIGIBLE" | "INELIGIBLE"nonELIGIBLE or INELIGIBLE for ad placement
includeDeletedbooleannontrue = include deleted creatives, which Apple hides by default
limitnumbernonmaximum number of creatives to return
offsetnumbernoncreatives to skip, for paging

create_apple_ads_creative

Create an Apple Ads creative

Create an Apple Ads creative — what a person sees before and after tapping the ad. Pick creativeType: DEFAULT_PRODUCT_PAGE renders the app’s standard App Store listing and needs only adamId; CUSTOM_PRODUCT_PAGE renders a custom page built in App Store Connect and needs adamId AND productPageId (from list_apple_ads_product_pages); LOCAL_ADS_SEARCH_CREATIVE is Apple Maps and needs mapsBrandId (from list_apple_ads_brands) plus assetIds you uploaded with upload_apple_ads_asset — that is the one creative type where YOUR OWN IMAGE is the ad. YOU CANNOT SUPPLY YOUR OWN IMAGERY FOR AN APP STORE AD — Apple renders the pre-tap ad from the product page itself, so the way to change how an App Store ad LOOKS is to edit that page (or build a Custom Product Page) in App Store Connect; say that plainly rather than looking for a parameter that does not exist. The destination type is derived from the creative type and never asked for. A creative SPENDS NOTHING and has no status of its own: it serves only once an ad references it and that ad, its ad group and its campaign are all ENABLED. Apple validates asynchronously, so a fresh creative is usually PENDING for a moment and an ad may only reference a VALID one — that is a wait, not a failure. Type and destination are immutable afterwards. Free.

ParamètreTypeRequisDescription
namestringouiREQUIRED.
creativeTypeenum: "DEFAULT_PRODUCT_PAGE" | "CUSTOM_PRODUCT_PAGE" | "LOCAL_ADS_SEARCH_CREATIVE"nonDefault DEFAULT_PRODUCT_PAGE.
adamIdstringnonREQUIRED for App Store creatives — the App Store id.
productPageIdstringnonREQUIRED for CUSTOM_PRODUCT_PAGE; refused on DEFAULT_PRODUCT_PAGE, which is the app’s standard listing.
mapsBrandIdstringnonApple Maps only — the brand this creative belongs to.
brandIdstringnonolder name for mapsBrandId (MCP only)
creativeSubtypeenum: "BUSINESS_LOGO" | "BUSINESS_ASSET"nonApple Maps only. Default BUSINESS_LOGO.
assetIdsarray<string>nonApple Maps only — ids from upload_apple_ads_asset.
localizedTextobjectnonApple Maps only — promo copy per locale, e.g. {"en-US":"Visit us today"}.
defaultLocalestringnonApple Maps only, e.g. "en-US".

list_apple_ads_ads

List Apple Ads ads

The ads on this Apple Ads account — the serving units that put a creative into an ad group. Each row carries the advertiser status, the rolled-up displayStatus, Apple’s own systemStatus and, when an ad is not serving, systemStatusReasons saying exactly why: AD_APPROVAL_PENDING while Apple reviews it, CREATIVE_PENDING, CREATIVE_LOCALE_INCOMPATIBLE, PRODUCT_PAGE_HIDDEN, PAUSED_BY_USER and more. READ THAT FIELD BEFORE CONCLUDING ANYTHING IS BROKEN — a brand-new ad awaiting Apple’s review is NOT_RUNNING by design, and systemStatusLimitingReasons means it IS running but throttled. Filter by adGroupId, campaignId, creativeId or status, or pass id for one. Read-only, free.

ParamètreTypeRequisDescription
idstringnonFetch one ad.
adGroupIdstringnononly ads in this ad group
campaignIdstringnononly ads in this campaign
creativeIdstringnononly ads that use this creative
statusenum: "ENABLED" | "PAUSED"nonadvertiser's own setting: ENABLED or PAUSED
includeDeletedbooleannontrue = include deleted ads
limitnumbernonmaximum number of ads to return
offsetnumbernonads to skip, for paging

create_apple_ads_ad

Create an Apple Ads ad

Create an Apple Ads ad — the object that shows one creative in one ad group. REQUIRED: adGroupId, creativeId (from create_apple_ads_creative) and name. CREATED PAUSED ALWAYS, with no override, so it cannot spend until set_apple_ads_status(level:"ad", status:"ENABLED", confirm:true) and its parents are enabled too. THE PLACEMENT RULE, which Apple documents nowhere and which is checked FOR FREE before anything is written: an ad attaches only to a campaign whose placement is APPSTORE_SEARCH_TAB. Apple refuses ads on APPSTORE_SEARCH_RESULTS, APPSTORE_TODAY_TAB and APPSTORE_PRODUCT_PAGES campaigns with AD_CAMPAIGN_SUPPLY_SOURCES_NOT_SUPPORTED — and a SEARCH RESULTS campaign needs no ad and no creative at all, because Apple renders your App Store product page itself, so such a campaign is already complete. The creative must be VALID; a PENDING one is a wait, not a failure. Only ONE ad per ad group can be ENABLED at a time, so enabling this one means pausing whichever ad serves there now. Its creative and ad group are locked at creation: to serve a different creative, create a NEW ad and delete this one, which is Apple’s own instruction so delivery history stays traceable. NO CONFIRMATION IS NEEDED even inside a live ad group, and that is deliberate rather than an oversight: a paused ad cannot serve and does not displace whichever ad is serving there, so gating it would be friction with no safety behind it. Free.

ParamètreTypeRequisDescription
adGroupIdstringouiREQUIRED.
creativeIdstringouiREQUIRED — from create_apple_ads_creative.
namestringouiREQUIRED.

upload_apple_ads_asset

Upload an Apple Ads image asset

Upload an image into the Apple Ads asset library for an APPLE MAPS brand creative. APPLE MAPS ONLY, and that is Apple’s rule rather than ours: it refuses uploads for App Store apps outright, because an App Store ad is rendered from the app’s product page in App Store Connect and not from an image anyone uploads. That refusal is stated up front instead of being sent and rejected, so if you want a different-looking App Store ad the answer is App Store Connect, not this tool. PNG, JPG or HEIC. Pass imageUrl (upload_file turns a local file into one) and mapsBrandId, which list_apple_ads_brands returns. Apple processes the upload asynchronously, so re-read it with list_apple_ads_assets until its eligibility says it is ready before referencing it in a creative. Uploading spends nothing. Free.

ParamètreTypeRequisDescription
imageUrlstringouiREQUIRED — a PNG, JPG or HEIC image Hermoso can fetch.
mapsBrandIdstringnonREQUIRED: the Apple Maps brand this asset belongs to.
brandIdstringnonolder name for mapsBrandId (MCP only)
filenamestringnonDecides the format Apple is told; defaults to the name in the URL.
promotedObjectTypeenum: "BUSINESS_BRAND"nonOnly BUSINESS_BRAND is accepted.

list_apple_ads_assets

List Apple Ads image assets

Images in the Apple Ads asset library with format, orientation, dimensions and eligibility — use it to check whether an uploaded asset has finished processing before referencing it in a creative. Filter by mapsBrandId (Apple’s promotedObjectId), promotedObjectType or assetType, or pass id for one. CROPS AND OTHER VARIANTS NEVER APPEAR IN A LIST: Apple omits them from query results, so a variant has to be fetched by its own id. Querying covers both App Store apps and Apple Maps brands even though only Maps assets can be uploaded. Read-only, free.

ParamètreTypeRequisDescription
idstringnonFetch one asset — the only way to see a crop or variant.
mapsBrandIdstringnonScope to one brand or app (promotedObjectId).
brandIdstringnonolder name for mapsBrandId (MCP only)
promotedObjectTypeenum: "APPSTORE_APP" | "BUSINESS_BRAND"nonAPPSTORE_APP or BUSINESS_BRAND: which kind of promoted object the assets belong to
assetTypeenum: "IMAGE"nonasset type; IMAGE is the only one listed
limitnumbernonmaximum number of assets to return
offsetnumbernonassets to skip, for paging

list_apple_ads_brands

List Apple Maps brands

The Apple Maps brands on this Apple Ads account. A BRAND IS THE ROOT OF EVERY ADS-ON-APPLE-MAPS CAMPAIGN and its id is what three other calls need: it is the promotedObjectId of a BUSINESS_BRAND campaign, the mapsBrandId upload_apple_ads_asset uploads against, and the mapsBrandId a LOCAL_ADS_SEARCH_CREATIVE carries. A brand must read eligibility ELIGIBLE before Apple will let a campaign use it. YOU CANNOT CREATE A BRAND HERE and that is Apple’s design, not a gap: brands come from Apple Business Connect, and Ads on Apple Maps additionally need the ad account to carry productFeatures BUSINESS_BRAND_MANUAL plus a BUSINESS_BRAND delegation, neither of which any API can grant. AN EMPTY LIST IS THE NORMAL ANSWER FOR AN APP STORE ADVERTISER and does not mean anything is broken — App Store campaigns need no brand at all. Read-only, free.

ParamètreTypeRequisDescription
mapsBrandIdstringnonFetch one brand by id.
brandIdstringnonolder name for mapsBrandId (MCP only)
namestringnonbrand name to filter by
countryOrRegionstringnonTwo-letter code, e.g. "US".
eligibilityStatusstringnonUsually ELIGIBLE — only an ELIGIBLE brand can be used in a campaign.
limitnumbernonmaximum number of brands to return
offsetnumbernonbrands to skip, for paging

list_apple_ads_locations

List Apple Maps business locations

The physical business locations behind an Apple Maps brand — the shops, restaurants or service centres an Ads-on-Apple-Maps campaign promotes. Filter by mapsBrandId (do: without it Apple returns every location across every brand, which can be a very large page), plus status, eligibility or address. LOCATIONS ARE READ-ONLY THROUGH THIS API BY APPLE’S DESIGN: Apple Business Connect creates and maintains them, so a missing shop, a wrong address or a closure is fixed there and appears here afterwards — there is no create, update or delete to look for. Only a location with status OPEN and eligibility ELIGIBLE is targetable. You do not target locations directly: collect the ids you want, put them in a location group with create_apple_ads_location_group, then point an ad group at that group. Read-only, free.

ParamètreTypeRequisDescription
idstringnonFetch one location.
mapsBrandIdstringnonStrongly recommended — scopes to one brand.
brandIdstringnonolder name for mapsBrandId (MCP only)
statusenum: "OPEN" | "OPENING_SOON" | "CLOSED" | "MOVED" | "TEMPORARILY_CLOSED"nonUsually OPEN — only OPEN locations are targetable.
eligibilityStatusenum: "ELIGIBLE" | "INELIGIBLE" | "LIMITED" | "PENDING" | "UNDEFINED"nonApple eligibility state; only ELIGIBLE locations can be targeted
countryOrRegionstringnonTwo-letter code.
adminAreastringnonFull state or province name, e.g. "California".
localitystringnonCity name.
postalCodestringnonpostal code to filter by
namestringnonlocation name to filter by
limitnumbernonmaximum number of locations to return
offsetnumbernonlocations to skip, for paging

list_apple_ads_location_groups

List Apple Maps location groups

The location groups on this Apple Ads account — named sets of a brand’s shops that an ad group targets. Each row carries its type (STATIC or DYNAMIC), Apple’s systemStatus and groupTotal, the number of locations currently in it. READ groupTotal BEFORE TARGETING A GROUP: a DYNAMIC group sits at PENDING while Apple evaluates its rules, and a group that evaluated to ZERO is Apple’s one silent failure here — it reports no error, so a rule spelled "CA" instead of "California" builds an empty group that looks fine. Soft-deleted groups are excluded unless you pass includeDeleted. There is no filter for "which groups contain this location": query by mapsBrandId and inspect membership. Read-only, free.

ParamètreTypeRequisDescription
idstringnonFetch one group.
mapsBrandIdstringnonApple Maps brand id from list_apple_ads_brands
brandIdstringnonolder name for mapsBrandId (MCP only)
namestringnonSubstring match.
groupTypeenum: "STATIC" | "DYNAMIC"nonSTATIC (fixed shop list) or DYNAMIC (rule-based)
includeDeletedbooleannonDeleted groups are hidden by default.
eligibilityStatusstringnonfilter by Apple eligibility state of the group
limitnumbernonmaximum number of location groups to return
offsetnumbernongroups to skip, for paging

create_apple_ads_location_group

Create an Apple Maps location group

Create a location group — the set of a brand’s shops an Apple Maps ad group promotes. TWO KINDS. STATIC takes an explicit locationIds list (from list_apple_ads_locations) and is VALID immediately. DYNAMIC takes rules and maintains itself as the brand opens and closes shops, but starts PENDING while Apple evaluates them — wait for systemStatus VALID before targeting it. A RULE THAT MATCHES NOTHING IS APPLE’S ONE SILENT FAILURE HERE: it returns no error and simply builds a group with groupTotal 0, so adminArea must be the FULL English name ("California", never "CA") and locality must be countryOrRegion|adminArea|locality ("US|New York|Brooklyn", never "Brooklyn") — both shapes are refused here before the group is built. A group SPENDS NOTHING and does not decide who sees the ad or how near they are: it only scopes WHICH shops the ad group promotes, while radius and geo targeting on the ad group decide reach. mapsBrandId and the ad account are locked in permanently at creation. Target it afterwards with create_apple_ads_ad_group(targeting.locationGroupIds) or update_apple_ads_object(level:"adgroup"). Free.

ParamètreTypeRequisDescription
namestringouiREQUIRED.
mapsBrandIdstringnonREQUIRED: from list_apple_ads_brands. Immutable afterwards.
brandIdstringnonolder name for mapsBrandId (MCP only)
groupTypeenum: "STATIC" | "DYNAMIC"nonDefault STATIC. Immutable afterwards.
locationIdsarray<string>nonREQUIRED for STATIC — ids from list_apple_ads_locations.
rulesarray<object>nonREQUIRED for DYNAMIC. value is a string for EQUALS/NOT_EQUALS and an array for IN/NOT_IN.
descriptionstringnondescription of the location group

apple_ads_keyword_suggestions

Apple Ads keyword, phrase and category suggestions

Apple’s OWN search data for an app you advertise — the fastest way to build a real Apple Search Ads keyword list instead of guessing. THE THREE KINDS DO NOT SHARE A FILTER VOCABULARY and Apple 400s any field that is not an attribute of the one you query, so each takes different parameters. kind:"keyword" (the default) returns suggested keyword strings and accepts `terms` + `countriesOrRegions` — it has NO queryType, and passing one is refused. kind:"phrase" returns longer search phrases and REQUIRES `phrases` (the phrases to look up); kind:"category" returns App Store categories and REQUIRES `categories`. Neither accepts `terms`. POPULARITY IS RELATIVE, NOT A VOLUME: it ranks terms against each other and cannot be read as searches per month. queryType defaults to "SEARCH", which looks up phrases/categories you name; "SUGGESTION" asks Apple to discover new ones and IS CURRENTLY BROKEN AT APPLE — measured 2026-08-17, it hangs ~34s and returns a server error for a request identical to Apple’s own published example, so retrying will not clear it. REQUIRED: promotedObjectId — the app’s adamId (search_apple_ads_apps with no arguments lists the apps this organization owns) or an Apple Maps brandId. An empty result is about the APP, not the account. Feed the winners straight into add_apple_ads_keywords or bulk_apple_ads_keywords. Read-only, free, spends nothing.

ParamètreTypeRequisDescription
kindenum: "keyword" | "phrase" | "category"nonDefault keyword. Each kind takes DIFFERENT filters — see the description.
promotedObjectIdstringouiREQUIRED — the app’s adamId, or an Apple Maps brandId.
promotedObjectTypeenum: "APPSTORE_APP" | "BUSINESS_BRAND"nonDefault APPSTORE_APP.
termsarray<string>nonkind:"keyword" ONLY. Seed search terms to expand from, e.g. ["productivity","task management"]. Refused on phrase/category.
phrasesarray<string>nonkind:"phrase" ONLY, and REQUIRED there on the SEARCH route — the phrases to look up, e.g. ["best productivity app"].
categoriesarray<string>nonkind:"category" ONLY, and REQUIRED there on the SEARCH route — the App Store categories to look up, e.g. ["Utilities"].
countriesOrRegionsarray<string>nonISO 3166-1 alpha-2, e.g. ["US","GB"].
queryTypeenum: "SUGGESTION" | "SEARCH"nonphrase/category ONLY (refused on keyword). Default SEARCH. SUGGESTION is measured BROKEN at Apple — ~34s then a server error.
limitnumbernonmaximum number of suggestions to return
offsetnumbernonsuggestions to skip, for paging

apple_ads_target_cpa_suggestion

Apple Ads suggested target CPA

What Apple thinks an install should cost you. Returns the suggested target CPA for an app — the MAXIMUM tap-install CPI Apple observed across that app’s eligible markets over the last 28 days, together with the market that produced it. Only markets with at least 10 installs in that window qualify, so a brand-new or low-volume app legitimately has no suggestion yet and that is an answer, not a failure. This is the number to put on a MAX_CONVERSIONS campaign, where the campaign-level bid IS the target CPA — it is NOT a per-tap bid and does not belong on a MANUAL_CPT campaign, which refuses a campaign-level bid outright. Scope it with countriesOrRegions to ask about specific markets. Read-only, free, spends nothing.

ParamètreTypeRequisDescription
promotedObjectIdstringouiREQUIRED — the app’s adamId.
promotedObjectTypeenum: "APPSTORE_APP" | "BUSINESS_BRAND"nonDefault APPSTORE_APP.
countriesOrRegionsarray<string>nonISO 3166-1 alpha-2 markets to consider, e.g. ["US","GB","CA"].

list_apple_ads_recommendations

List Apple Ads recommendations

Apple’s own optimisation engine for this account: campaigns it thinks are budget-capped, and campaigns whose target CPA it thinks should move. type:"daily_budget" returns DAILYCAP recommendations, each carrying the current and suggested budget plus the historical installs/taps/spend behind it AND Apple’s projection if you raise it; type:"target_cpa" returns TCPA recommendations, which Apple produces ONLY for campaigns on a Maximize Conversions bid strategy — a MANUAL_CPT campaign will never have one. Defaults to state AVAILABLE because that is the only actionable state: APPLIED and DISMISSED are terminal and can never be re-actioned (pass state:"ALL" to see the history). Apple names only two recommendation categories with endpoints; its enum also mentions keyword and bid categories but this API version publishes no way to query or act on those. Read-only, free — reading changes nothing.

ParamètreTypeRequisDescription
typeenum: "daily_budget" | "target_cpa"nonDefault daily_budget.
promotedObjectIdstringouiREQUIRED — the app’s adamId, or an Apple Maps brandId.
promotedObjectTypeenum: "APPSTORE_APP" | "BUSINESS_BRAND"nonDefault APPSTORE_APP.
statestringnonAVAILABLE (default), APPLIED, DISMISSED, DELETE, or "ALL" to skip the filter.
limitnumbernonmaximum number of recommendations to return
offsetnumbernonrecommendations to skip, for paging

apply_apple_ads_recommendation

Apply an Apple Ads recommendation

THIS CHANGES WHAT A LIVE CAMPAIGN MAY SPEND, and it is the only tool in the Apple Ads suggestion/recommendation family that touches money. Applying a daily-budget recommendation raises that campaign’s daily budget to Apple’s suggested amount; applying a target-CPA recommendation moves the CPA its auto-bidder chases. REQUIRES confirm:true, and the refusal you get without it is built from the recommendation READ BACK FROM APPLE — it names the campaign, states the daily budget current -> recommended (Apple keeps no current target CPA anywhere readable, so a target-CPA refusal states the recommended target against the campaign’s average CPA so far), and quotes Apple’s own projected spend over the next seven days — so you are confirming a specific change to a specific campaign rather than confirming that you pressed a button. Apple publishes no dry-run for this call; that refusal IS the preview, and it dispatches nothing. An id Hermoso cannot read back from Apple right now (unknown, expired, another app, or Apple not answering) is refused even WITH confirm:true. Pass amount to apply a DIFFERENT number than Apple suggested; omit it to take Apple’s. The campaign’s STATUS IS NOT TOUCHED: this moves a ceiling, it never enables or pauses anything, and it does not make a paused campaign start spending. Only an AVAILABLE recommendation can be applied and applying is TERMINAL. APPLIED is reported only from READ-BACKS, never from Apple’s acknowledgement: a daily budget only when the re-re…

ParamètreTypeRequisDescription
typeenum: "daily_budget" | "target_cpa"nonDefault daily_budget.
idstringouiREQUIRED — the recommendation id from list_apple_ads_recommendations.
promotedObjectIdstringouiREQUIRED — the same app or brand id the recommendation was queried for.
promotedObjectTypeenum: "APPSTORE_APP" | "BUSINESS_BRAND"nonDefault APPSTORE_APP.
amountstringnonOverride Apple’s suggestion with your own decimal amount, e.g. "500.00". Omit to apply what Apple suggested.
currencystringnonISO 4217; defaults to the currency of the recommendation Apple quoted (then the ad account’s). A different currency from the recommendation’s is refused — an Apple Ads account cannot mix currencies.
confirmbooleannonREQUIRED true. Without it nothing changes and the refusal states the campaign and the exact budget or CPA change.

dismiss_apple_ads_recommendation

Dismiss an Apple Ads recommendation

Decline an Apple Ads recommendation. NOTHING ABOUT THE CAMPAIGN CHANGES — no budget moves, no CPA moves, no status changes — it records that you reviewed the recommendation and said no, and Apple stops offering that particular one (it may generate a new one later). No confirmation is needed and that is deliberate rather than an oversight: dismissing cannot spend money, and gating the safe direction is what teaches people to pass confirm reflexively on the direction that matters. Only an AVAILABLE recommendation can be dismissed; APPLIED and DISMISSED are terminal, and trying to re-action one is refused for free. Free.

ParamètreTypeRequisDescription
typeenum: "daily_budget" | "target_cpa"nonDefault daily_budget.
idstringouiREQUIRED — the recommendation id.
promotedObjectIdstringouiREQUIRED — the same app or brand id the recommendation was queried for.
promotedObjectTypeenum: "APPSTORE_APP" | "BUSINESS_BRAND"nonDefault APPSTORE_APP.

apple_ads_impression_share

Apple Ads impression share

COMPETITIVE INTELLIGENCE: what fraction of the available impressions your app actually captures for each search term, by market and day or week. This is the report that finds where you are being out-bid or out-budgeted — a LOW share on a term with high search popularity means budget, bid or eligibility is capping your reach on a term people are really searching, which is the most actionable row Apple publishes. READ THE ENCODING BEFORE QUOTING A NUMBER: lowImpressionShare and highImpressionShare are TIERED, not continuous. Below 91% the two are equal and read as a single percentage; a row where they diverge to 0.91 and 1.0 means ">90%", not "91 to 100". granularity DAILY covers at most 30 days; WEEKLY_SUN_SAT covers at most 4 weeks and its start date MUST be a Sunday (both are refused for free before any request). reportType FIRST_SLOT (default) is the top ad position only; ALL_SLOTS aggregates every position. Timezone is fixed to UTC by Apple. Read-only, free.

ParamètreTypeRequisDescription
promotedObjectIdstringouiREQUIRED — the app’s adamId. Apple answers 400 without it.
countryOrRegionarray<string>nonISO 3166-1 alpha-2, e.g. ["US"].
startstringouiREQUIRED YYYY-MM-DD. Must be a SUNDAY when granularity is WEEKLY_SUN_SAT.
endstringouiREQUIRED YYYY-MM-DD.
granularityenum: "DAILY" | "WEEKLY_SUN_SAT"nonDefault DAILY (max 30-day window). WEEKLY_SUN_SAT allows at most 4 weeks.
reportTypeenum: "FIRST_SLOT" | "ALL_SLOTS"nonDefault FIRST_SLOT.
limitnumbernonmaximum number of rows to return
offsetnumbernonrows to skip, for paging

apple_ads_search_term_popularity

Apple Ads search term popularity

The most-searched App Store terms in a genre and market — MARKET-WIDE DEMAND, not your own performance, so it works for finding terms to target before you have spent anything. Cross-read it against apple_ads_impression_share: a term ranking high here where your impression share is low is exactly where budget or bid is leaving installs on the table. Rows carry rankInGenre, searchPopularityInGenre and searchPopularity1to100 (1–100, in genre / all genres) and searchPopularity1to5. granularity WEEKLY_SUN_SAT uses fixed Sunday–Saturday weeks generated Mondays at 07:00 UTC with 65 weeks of retention; MONTHLY uses calendar months refreshed on the 5th UTC with 15 months of retention — an empty result for a very recent window usually means Apple has not generated that period yet rather than that there is no demand. NOTE THE GRANULARITY SETS DIFFER between the two insights reports: DAILY exists on impression share and NOT here. Read-only, free.

ParamètreTypeRequisDescription
countryOrRegionarray<string>nonISO 3166-1 alpha-2, e.g. ["US","GB","DE"].
genrearray<string>nonApple genre names: BUSINESS, EDUCATION, ENTERTAINMENT, FINANCE, FOOD_DRINK, GAMES, HEALTH_FITNESS, LIFESTYLE, NEW_PUBLICATION, PHOTO_VIDEO, PRODUCTIVITY_UTILITIES, SHOPPING, SOCIAL_NETWORKING, SPORTS, TRAVEL.
searchTermstringnonterms containing this text
searchTermMatchenum: "CONTAINS" | "STARTS_WITH" | "EQUALS" | "IN"non
filtersarray<object>nonApple filters, e.g. {field:"searchPopularity1to5",operator:"GREATER_THAN_OR_EQUAL_TO",value:4}
sortingarray<object>nondefault genre, rankInGenre ASC
startstringouiREQUIRED YYYY-MM-DD. Must be a SUNDAY when granularity is WEEKLY_SUN_SAT.
endstringouiREQUIRED YYYY-MM-DD.
granularityenum: "WEEKLY_SUN_SAT" | "MONTHLY"nonDefault WEEKLY_SUN_SAT. DAILY does NOT exist on this report.
limitnumbernonmaximum number of rows to return
offsetnumbernonrows to skip, for paging

apple_ads_rejection_reasons

Why an Apple Ads creative or brand was rejected

WHY an Apple Ads creative, custom product page or Maps brand was REJECTED: Apple’s reason code, type and level (default or custom product page, or a locale of one), the asset or product page it applies to, the country and language, and Apple’s comment — read live. Use it whenever list_apple_ads_creatives shows systemStatus INVALID, or the user asks why an Apple ad is not running. Pass adamId for an app’s reasons, mapsBrandId for a Maps brand’s policy reasons, or rejectionReasonId for one reason. Read-only, free.

ParamètreTypeRequisDescription
adamIdstringnonthe app’s App Store id — every reason Apple holds for it
mapsBrandIdstringnona Maps brand id (list_apple_ads_brands) — its policy rejection reasons. Not `brandId`: over the REST API that name means a Hermoso brand
rejectionReasonIdstringnonone reason by id
limitnumbernonmaximum number of reasons to return
offsetnumbernonreasons to skip, for paging

apple_ads_change_history

Apple Ads change history

Who changed what on this Apple Ads account, and when. Call it with start and/or end to get one row per TRANSACTION GROUP — a single user action that may have touched several fields, which is what changeCount counts — with the user, the entity and the event type (CREATE / UPDATE / DELETE). Then pass a row’s detailId back as detailId to get the field-by-field before and after. THE TIME BOUND IS MANDATORY: Apple answers 400 without one, so pass start (meaning "since then"), end ("up to then"), or both. Narrow with campaignId, adGroupId, entityType, eventType or userId. Useful for "why did this campaign’s budget change overnight" and for reconstructing what an agent did on the account. On a CREATE event the old values are empty by design; a DELETE is implemented as a record update so its old values ARE populated. Read-only, free.

ParamètreTypeRequisDescription
detailIdstringnonFetch field-level detail for ONE change. This is a COMPOSITE id ({transactionId}-{entityType}-{entityId}) that appears on each summary row — not a campaign or ad group id.
startstringnonYYYY-MM-DD. Required unless end or an explicit eventTime filter is given.
endstringnonYYYY-MM-DD.
filtersarray<object>nonExtra conditions, e.g. [{"field":"campaignId","operator":"EQUALS","value":"123"}]. Non-time fields accept only EQUALS and IN.
limitnumbernonmaximum number of changes to return
offsetnumbernonchanges to skip, for paging

list_apple_ads_budget_orders

List Apple Ads budget orders

Budget orders on this Apple Ads account — a spend CEILING SHARED ACROSS CAMPAIGNS, which is how an agency caps a client for a quarter: total spend across every campaign assigned to one cannot exceed its value, however generous the individual daily budgets are. Each row carries the value, the active window, the systemStatus and, when it is blocking, the systemStatusReasons saying why (EXHAUSTED, EXPIRED, CANCELLED). Pass id for one. AN EMPTY LIST IS NORMAL: a budget order is optional, and without one each campaign is capped only by its own dailyBudget. Read-only, free.

ParamètreTypeRequisDescription
idstringnonFetch one budget order, including its invoice details and assigned ad accounts.
filtersarray<object>nonQuery conditions, e.g. [{"field":"name","operator":"CONTAINS","value":"Q3"}].
limitnumbernonmaximum number of budget orders to return
offsetnumbernonbudget orders to skip, for paging

create_apple_ads_budget_order

Create an Apple Ads budget order

A BUDGET ORDER NEEDS A LINE OF CREDIT ORGANIZATION. Measured on prod 2026-08-17 against org 19534840 (PAYG): Apple answers 403 “The organization does not have a Line of Credit(LOC). Creating Budget Order is permissible only for LOC Organizations. [FORBIDDEN]” — so on a pay-as-you-go account this whole family is unusable and no request shape fixes it. That is Apple’s account tier, not a Hermoso limit and not something to reconnect over. Create a shared spending ceiling that campaigns can draw from. A BUDGET ORDER SPENDS NOTHING AND CANNOT MAKE ANYTHING SERVE — it is a cap, so creating one can only ever reduce what campaigns may spend, never raise it, which is why it takes no confirmation. Nothing draws from it until you set a campaign’s budgetOrderId. TWO APPLE RULES ARE ENFORCED FOR FREE BEFORE ANYTHING IS SENT, because Apple’s own 400s name the field rather than the rule: startTime must be TOMORROW OR LATER at midnight UTC (today is rejected outright), and exactly ONE ad account may be attached — which is why adAccountId is a single value and defaults to the account this connection is pinned to. Omit endTime for an open-ended budget. Apple requires invoice contact details, so primaryBuyerEmail and billingEmail are required and are never invented. Free.

ParamètreTypeRequisDescription
namestringouiREQUIRED.
startTimestringouiREQUIRED. Must be TOMORROW or later (midnight UTC) — Apple rejects today.
endTimestringnonOmit for an open-ended budget.
amountstringouiREQUIRED total budget as a decimal string, e.g. "50000.00".
currencystringnonISO 4217; defaults to the ad account’s currency, which it must match.
primaryBuyerEmailstringouiREQUIRED — Apple bills and notifies this address.
billingEmailstringouiREQUIRED.
invoiceNamestringnonname shown on the invoice
orderNumberstringnonpurchase order or internal order number
clientNamestringnonclient name shown on the invoice
primaryBuyerNamestringnonname of the primary buyer on the invoice

update_apple_ads_budget_order

Update an Apple Ads budget order

Change a budget order: its name, window, total value, attached ad account or invoice details. Only the fields you send change; everything omitted keeps its value. RAISING `amount` IS HOW YOU EXTEND A BUDGET APPROACHING EXHAUSTION — an exhausted budget order stops every campaign drawing from it, so this is the tool to reach for when campaigns stop serving with budget left on their own daily caps. AN END DATE ON AN ACTIVE BUDGET ORDER CAN ONLY BE SHORTENED, NEVER EXTENDED; the one exception is openEnded:true, which clears the end date entirely and makes the budget run indefinitely. startTime, if changed, must still be tomorrow or later. Free.

ParamètreTypeRequisDescription
idstringouiREQUIRED.
namestringnonnew budget order name
startTimestringnonMust still be TOMORROW or later.
endTimestringnonCan only SHORTEN an active budget order’s window.
openEndedbooleannontrue clears the end date entirely, making the budget open-ended. This is the only way to extend rather than shorten.
amountstringnonNew total, e.g. "75000.00". Raise it to extend a budget nearing exhaustion.
currencystringnonISO 4217 currency code
adAccountIdstringnonExactly one — Apple rejects more.
orderNumberstringnonpurchase order or internal order number
invoiceNamestringnonname shown on the invoice
clientNamestringnonclient name shown on the invoice
primaryBuyerNamestringnonname of the primary buyer on the invoice
primaryBuyerEmailstringnonemail address Apple bills and notifies for this budget order
billingEmailstringnonbilling contact email for invoices

bulk_apple_ads_keywords

Bulk create or update Apple Ads keywords

Create or update up to 1,000 Apple Ads keywords or negative keywords in ONE call — how you seed a whole campaign structure from apple_ads_keyword_suggestions, or re-bid a list after a performance review, instead of one call per keyword. A single request can span DIFFERENT AD GROUPS. op:"create" takes full keyword rows; op:"update" takes ids and can change ONLY bid and status, because a keyword’s text and matchType are immutable after creation — changing either means deleting it and creating a new one. ALLOW-PARTIAL-SUCCESS MATTERS AND APPLE’S DEFAULT IS ALL-OR-NOTHING: with it unset, one bad item (a duplicate text/matchType, say) rejects the ENTIRE batch and nothing is written; pass allowPartialSuccess:true to let the good ones land and read the per-item errors. The reply is the per-item read-back Apple returns — each row carries the stored id, text, matchType and status, so you can see exactly which items landed rather than trusting a 200. Adding keywords into an ENABLED ad group can serve on the next auction and therefore takes confirm:true, the same guard add_apple_ads_keywords uses. Apple caps 1,000 per call and 5,000 per ad group in total. Free.

ParamètreTypeRequisDescription
kindenum: "keyword" | "negative_keyword"nonDefault keyword.
openum: "create" | "update"nonDefault create.
itemsarray<object>ouiREQUIRED. create: [{adGroupId,text,matchType,bid?}] for keywords, or [{campaignId|adGroupId,text,matchType}] for negatives. update: [{id,bid?,status?}].
allowPartialSuccessbooleannontrue keeps the items that succeeded when others fail. Apple’s default is all-or-nothing.
currencystringnonISO 4217 for bids; defaults to the ad account’s currency.
confirmbooleannonRequired only when the target ad group or campaign is already ENABLED, where the new keywords could serve immediately.

search_apple_ads_geo

Search Apple Ads geo locations

Resolve a place NAME into the geo id an Apple Ads ad group actually targets. THIS IS THE ONLY WAY TO GET THOSE IDS: an ad group’s targeting takes adminAreaIds / localityIds / postalCodeIds / countryIds, it does NOT accept place names, and nothing else in Hermoso produces one — so without this tool those targeting fields cannot be used at all. (A campaign’s own `countries` field is a different thing and takes plain ISO country codes.) supplySource is REQUIRED and is not a formality: APPSTORE has NO PostalCode entity (postal codes are a Maps-level geo), and MAPS has NO Country entity and covers only the US and Canada — both are refused for free with the reason. Pass query with at least 2 characters, or "*" to list everything at an entity level. Rows flagged soft-blocked (low search volume, sparse coverage) are still targetable — Apple returns them by default with their eligibility attached. To go the other way and look UP ids you already have, pass geos:[{id|legacyId, entity}] instead of query. Read-only, free.

ParamètreTypeRequisDescription
supplySourceenum: "APPSTORE" | "MAPS"ouiREQUIRED. APPSTORE for App Store campaigns, MAPS for Apple Maps. Decides which entity types exist.
querystringnonName to search, minimum 2 characters. "*" returns everything at the entity level.
entityenum: "Country" | "AdminArea" | "Locality" | "PostalCode"nonNarrow to one granularity.
countryCodestringnonISO 3166-1 alpha-2 to scope the search.
eligiblebooleannonfalse excludes soft-blocked geos entirely. Default includes them with eligibility data.
geosarray<object>nonLook UP known geos instead of searching by name: [{"id":"12345","entity":"Locality"}] or [{"legacyId":"US|CA|SanFrancisco","entity":"Locality"}]. Exactly one of id or legacyId per entry.
limitnumbernonmaximum number of geo locations to return
offsetnumbernongeo locations to skip, for paging

list_apple_ads_supported_languages

List Apple Ads supported languages

Every country and region Apple Ads serves, with the languages supported in each market. Use it to VALIDATE A LOCALE BEFORE setting it on an Apple Maps creative’s localizedText or defaultLocale, or on an ad group — a locale a market does not support makes the creative INVALID after it is built, which surfaces as a serving failure long after the mistake was made. Also the definitive answer to "can we advertise in this market and in what language" when expanding a campaign. Read-only, free.

ParamètreTypeRequisDescription
filtersarray<object>nonScope to specific markets, e.g. [{"field":"countryCode","operator":"IN","value":["US","DE"]}].
limitnumbernonmaximum number of markets to return
offsetnumbernonmarkets to skip, for paging

get_apple_ads_ad_account

Get an Apple Ads ad account

The full record for an Apple Ads ad account — its name, currency, timezone, payment model, productFeatures and the advertiser resources delegated to it. Called with no id it returns the account this connection is pinned to. THE FIELD THAT DECIDES WHAT THIS ACCOUNT CAN DO IS productFeatures, and it is IMMUTABLE: APPSTORE_APP_MANUAL can never run Apple Maps ads and BUSINESS_BRAND_MANUAL can never run App Store ads, so an organization that needs both keeps a separate ad account for each. currency, timeZone and paymentModel are inherited from the organization and are immutable too — which is why a campaign’s amounts must be in this currency and cannot be mixed. Read-only, free.

ParamètreTypeRequisDescription
idstringnonDefaults to the ad account this Apple Ads connection resolved.

list_apple_ads_advertiser_resources

List Apple Ads advertiser resources

The brands and content providers this Apple Ads ORGANIZATION can delegate to an ad account — the ids create_apple_ads_ad_account and update_apple_ads_ad_account need. resourceType CONTENT_PROVIDER returns App Store Connect content providers, each identified by its CPID, which is what links an ad account to App Store advertising; BUSINESS_BRAND returns Apple Maps brands by Brand ID. resourceType is REQUIRED — Apple errors without it. This list is ORGANIZATION-WIDE and is deliberately not scoped to any one ad account, which is why a resource can appear here that no account has claimed yet. Read-only, free.

ParamètreTypeRequisDescription
resourceTypeenum: "CONTENT_PROVIDER" | "BUSINESS_BRAND"ouiREQUIRED. CONTENT_PROVIDER = App Store (CPID); BUSINESS_BRAND = Apple Maps (Brand ID).

create_apple_ads_ad_account

Create an Apple Ads ad account

Create a new ad account under this Apple Ads organization — the container an agency opens per client, or a business opens to run Apple Maps ads alongside App Store ones. AN AD ACCOUNT SPENDS NOTHING: it holds campaigns, and every campaign inside it is still born PAUSED. productFeatures is REQUIRED, is a CHOICE OF ONE, and is IMMUTABLE FOREVER — APPSTORE_APP_MANUAL for App Store advertising or BUSINESS_BRAND_MANUAL for Apple Maps, never both, and an organization needing both keeps two accounts. Delegations must MATCH that choice: an App Store account delegates a CONTENT_PROVIDER (a CPID from list_apple_ads_advertiser_resources), a Maps account delegates a BUSINESS_BRAND — a mismatch is refused for free here, because Apple accepts it and you get an account that cannot advertise anything. currency, timeZone and paymentModel are inherited from the organization and cannot be set. NOTE: Hermoso keeps writing to the ONE ad account this connection is pinned to — reconnect Apple Ads and choose the new account to build inside it. Free.

ParamètreTypeRequisDescription
namestringouiREQUIRED.
productFeaturesenum: "APPSTORE_APP_MANUAL" | "BUSINESS_BRAND_MANUAL"ouiREQUIRED and IMMUTABLE. App Store or Apple Maps, never both.
delegationsarray<object>non[{"resourceType":"CONTENT_PROVIDER","resourceId":" "}] for App Store, or BUSINESS_BRAND + Brand ID for Maps. Must match productFeatures.

update_apple_ads_ad_account

Update an Apple Ads ad account

Rename an Apple Ads ad account or change which advertiser resources it delegates — how you link App Store Connect (a CONTENT_PROVIDER / CPID) to an account that cannot yet advertise an app, or attach a brand for Apple Maps. WARNING: DELEGATIONS REPLACE RATHER THAN MERGE. The list you send becomes the account’s ENTIRE delegation set and anything omitted is removed, so to ADD one, read the current set with get_apple_ads_ad_account, append to it, and send the whole list back. productFeatures cannot be changed and Apple ignores it on update — an App Store account can never be converted into an Apple Maps one; create a second ad account instead. currency, timeZone and paymentModel are immutable, inherited from the organization. Free.

ParamètreTypeRequisDescription
idstringnonDefaults to the ad account this connection resolved.
namestringnonnew ad account name
delegationsarray<object>nonREPLACES the entire set. [{"resourceType":"CONTENT_PROVIDER","resourceId":" "}].

update_x_ads_campaign

Change an X campaign budget or settings

Change a LIVE X campaign — budget, name, delivery pacing. THIS IS HOW YOU THROTTLE OR RAISE SPEND on a running campaign without rebuilding it, and lowering dailyBudget is the fastest way to slow money down short of pausing. Budgets are in the ad account's own currency. Only fields X actually applies are offered: startTime/endTime are DEPRECATED on an X campaign (its schedule lives on the LINE ITEM — use update_x_ads_line_item) and frequency capping needs an X account feature we cannot enable, so both are refused BY NAME with the reason instead of being sent and silently ignored. THE READ-BACK IS A DIFF against the before-state: a field X did not move is reported as REFUSED, never counted as applied. Print the returned note verbatim.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringouifrom list_x_ads_campaigns
namestringnonnew campaign name
dailyBudgetnumbernonin the ad account's currency
totalBudgetnumbernonnew lifetime budget in ad account currency
standardDeliverybooleannonfalse = accelerated. Works on a campaign-budget campaign; with line item budgets set it on the line item
purchaseOrderNumberstringnonpurchase order number recorded on the campaign

update_x_ads_line_item

Change an X line item (ad group)

Change an X line item — BID, bid strategy, SCHEDULE, goal or name. An X campaign's start and end times are deprecated, so the schedule genuinely lives HERE. Lowering `bidAmount` is also the fix when X refuses a campaign budget with “Bid is too close to Budget”. NOT changeable after creation: `objective` and `productType` — X answers 200 and silently keeps the old value (measured), so both are refused BY NAME here and a different objective means a NEW line item. Changing `goal` also requires `bidAmount` (X refuses the goal alone) and that is stated up front rather than relayed. A line-item dailyBudget/totalBudget is only legal when the parent campaign is NOT budget-optimised — that is the campaign's setting, so those two are forwarded and X's own refusal names the remedy rather than Hermoso blocking a legal edit. THE READ-BACK IS A DIFF against an independent re-read: a field X accepted but did not move is reported as REFUSED. Print the returned note verbatim.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
lineItemIdstringouifrom list_x_ads_line_items
namestringnonnew line item (ad group) name
bidAmountnumbernonin the ad account's currency
bidStrategyenum: "AUTO" | "GUARANTEED" | "MAX" | "TARGET"nonAUTO, GUARANTEED, MAX or TARGET; MAX and TARGET need bidAmount
goalenum: "APP_CLICKS" | "APP_INSTALLS" | "APP_PURCHASES" | "ENGAGEMENT" | "FOLLOWERS" | "LINK_CLICKS" | "MAX_REACH" | "PREROLL" …nonrequires bidAmount too
startTimestringnonISO 8601
endTimestringnonISO 8601 end time for this line item
dailyBudgetnumbernononly if the campaign is not budget-optimised
totalBudgetnumbernononly if the campaign is not budget-optimised
standardDeliverybooleannonfalse = accelerated, only with line item budgets; X refuses it under a campaign budget

list_x_ads_promoted_tweets

List X promoted posts

List the promoted posts (the CREATIVES) attached to an X line item, or across the whole ad account. Two things only this can tell you: each post's APPROVAL STATUS, so an ad X rejected — which can never serve however the statuses are set — is visible rather than mysterious; and the promoted-tweet ID, which is the only way to remove one. NOTE a promoted post cannot be PAUSED on X (its PUT accepts only an approval appeal), so the reversible way to stop it is to pause its LINE ITEM. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
lineItemIdstringnonscope to one line item
limitnumbernonmaximum number of promoted posts to return

list_x_ads_targeting

List an X line item’s targeting

List every targeting criterion an X line item carries, WITH THE ID of each — the id needed to remove one with delete_x_ads_object. READ THE EMPTY CASE CORRECTLY: no targeting criteria on X means the line item is UNRESTRICTED and will reach the broadest possible audience once ACTIVE — it does NOT mean it cannot serve. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
lineItemIdstringouiX line item id from list_x_ads_line_items

list_x_ads_funding_instruments

List X ad account payment methods

List the funding instruments (payment methods) on an X ad account — type, currency, credit limit, credit remaining, and whether each can currently fund a campaign. THIS IS THE ANSWER TO “why is my X campaign not delivering?” whenever the cause is a cancelled card or an exhausted credit line, which is invisible from the campaign itself, and it shows what a campaign will spend against BEFORE anyone activates it. Hermoso cannot add a payment method — that is done at ads.x.com. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)

x_ads_targeting_search

Find X targeting ids (interests, devices, languages…)

Resolve X targeting ids by name for every vocabulary BEYOND location — INTEREST, CONVERSATION, PLATFORM, DEVICE, LANGUAGE, APP_STORE_CATEGORY, NETWORK_OPERATOR, TV_MARKET, TV_SHOW, EVENT. X's targeting ids are opaque (an interest is a 19-digit number, a device is “96”) and X has NO name-based targeting parameter, so this is the only way to obtain one — without it add_x_ads_targeting accepts vocabularies nobody can supply a value for. Pass a result as criteria:[{targetingType, targetingValue}]. Locations have their own tool: x_ads_geo_search. TV_SHOW requires a `locale`, which comes from kind:"TV_MARKET". Read-only, free.

ParamètreTypeRequisDescription
kindenum: "INTEREST" | "CONVERSATION" | "PLATFORM" | "DEVICE" | "LANGUAGE" | "APP_STORE_CATEGORY" | "NETWORK_OPERATOR" | "TV_MARKET" …ouitargeting vocabulary to search, e.g. INTEREST, DEVICE, LANGUAGE or EVENT
querystringnonfilter by name
osTypeenum: "ANDROID" | "IOS"nonAPP_STORE_CATEGORY
countryCodestringnonNETWORK_OPERATOR, e.g. US
localestringnonTV_SHOW — required; get one from kind:"TV_MARKET"
eventTypesenum: "CONFERENCE" | "HOLIDAY" | "MOVIE_RELEASE" | "MUSIC_AND_ENTERTAINMENT" | "OLYMPICS" | "OTHER" | "POLITICS" | "RECURRING" …nonEVENT
limitnumbernonmaximum number of results to return

delete_x_ads_object

Delete an X ads object (permanent, cascades)

PERMANENTLY delete an X campaign, line item, promoted post, promoted account or targeting criterion — or ARCHIVE a lead form (it stops collecting and its leads can no longer be exported, so run get_x_ads_leads first), or remove a card, a Media Library item (type media: id is the media_key) or a custom audience (custom_audience). X CASCADES AND PUBLISHES NO UNDO: deleting a campaign destroys its line items and their promoted posts too — verified live, the children answer 404 the moment the parent is deleted. RUN IT WITHOUT confirm FIRST: that deletes nothing and reports the REAL blast radius read back off X (what is underneath it, whether it is live, whether it has spent). Show the user exactly that, get an unambiguous yes, then call again with confirm:true — and, for anything with children / live delivery / real spend, also confirmName set to its exact name and confirmChildren set to the real count, because confirm:true alone proves you meant to delete SOMETHING and cannot prove you aimed at the right object. TO STOP DELIVERY WITHOUT DESTROYING ANYTHING use set_x_ads_status PAUSED, which is reversible — except for a promoted post, which cannot be paused on X at all, so pause its LINE ITEM instead. Removing a targeting criterion WIDENS the audience rather than narrowing it. The result is confirmed by re-reading the object, never by X's 200.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
typeenum: "campaign" | "line_item" | "promoted_tweet" | "targeting_criterion" | "promoted_account" | "lead_form" | "card" | "media" …ouikind of object the id names; for media, id is the media_key
idstringouicampaign/line-item id, or the id from list_x_ads_promoted_tweets / list_x_ads_targeting
lineItemIdstringnonREQUIRED for type "targeting_criterion" — X cannot look one up without its line item
confirmbooleannonomit on the first call to see the blast radius
confirmNamestringnonthe target's exact name — required once it has children, is live, or has spent
confirmChildrennumbernonthe real number of children, from the unconfirmed call

list_x_ads_line_items

List X ads line items

List the line items on an X ad account — X's name for an ad group, and the level that carries the objective, the placements, the bid, the targeting and the creatives. Pass campaignId to scope it to one campaign. `servable` is X's own verdict on whether the line item could run. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringnonscope to one campaign's line items; omit for all
limitnumbernonmaximum number of line items to return

create_x_ads_line_item

Build an X ads line item (paused)

Create a line item — X's ad group — under a campaign. ALWAYS CREATED PAUSED with no override. THE TREE ON X IS campaign -> line item -> promoted post, and a campaign ALONE CANNOT SERVE: this is the middle level, and it still cannot serve until you attach a post with create_x_ads_promoted_tweet. Targeting attaches HERE (add_x_ads_targeting), never to the campaign. `objective` is validated before dispatch because X answers an invalid one with a 500 that reads like an outage; note that WEBSITE_CONVERSIONS and SITE_VISITS are `goal` values and are NOT objectives. `bidStrategy` MAX/TARGET require a bidAmount; AUTO lets X set it. Omitting startTime records now, and the read-back says so. Everything is READ BACK from X before you are told it exists; print the returned note verbatim.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
campaignIdstringouifrom create_x_ads_campaign or list_x_ads_campaigns
namestringnonline item (ad group) name
objectiveenum: "APP_ENGAGEMENTS" | "APP_INSTALLS" | "ENGAGEMENTS" | "FOLLOWERS" | "PREROLL_VIEWS" | "REACH" | "VIDEO_VIEWS" | "WEBSITE_CLICKS"ouione per campaign (X refuses a second objective). For an X LEAD AD use WEBSITE_CLICKS with a lead-form card — X retired LEAD_GENERATION
productTypeenum: "MEDIA" | "PROMOTED_ACCOUNT" | "PROMOTED_TWEETS"nondefault PROMOTED_TWEETS — PROMOTED_ACCOUNT when objective is FOLLOWERS, and that line item serves the ACCOUNT attached with create_x_ads_promoted_account
placementsarray<enum: "ALL_ON_TWITTER" | "PUBLISHER_NETWORK" | "TAP_BANNER" | "TAP_FULL" | "TAP_FULL_LANDSCAPE" | "TAP_MRECT" | "TAP_NATIVE" | "TWITTER_MEDIA_VIEWER" …>nondefault ALL_ON_TWITTER
goalenum: "APP_CLICKS" | "APP_INSTALLS" | "APP_PURCHASES" | "ENGAGEMENT" | "FOLLOWERS" | "LINK_CLICKS" | "MAX_REACH" | "PREROLL" …nonoptimization goal, e.g. LINK_CLICKS or WEBSITE_CONVERSIONS; these are goals, not objectives
standardDeliverybooleannonfalse = accelerated, only with line item budgets; X refuses it under a campaign budget
bidStrategyenum: "AUTO" | "GUARANTEED" | "MAX" | "TARGET"nonAUTO lets X set the bid; MAX and TARGET need bidAmount
bidAmountnumbernonrequired for MAX/TARGET; in the ad account's currency
totalBudgetnumbernonlifetime budget for this line item in ad account currency
startTimestringnonISO 8601; defaults to now
endTimestringnonISO 8601 end time for this line item

create_x_ads_promoted_account

Attach an X account to a follower line item (paused)

THE CREATIVE OF AN X FOLLOWER CAMPAIGN. A line item with objective FOLLOWERS (productType PROMOTED_ACCOUNT, which create_x_ads_line_item now defaults to for FOLLOWERS) promotes an X ACCOUNT, and until one is attached here it has nothing to show and never serves. Omit userId and the ad account’s own promotable account is used; if it may promote several, the choice is refused rather than guessed (list_x_ads_promotable_users shows them). A line item of any other product type is refused for free, naming X’s INCOMPATIBLE_LINE_ITEM rule. You may ALSO attach a post with create_x_ads_promoted_tweet, which X adds as a mobile timeline placement. The attachment is READ BACK from the line item before it is reported. Nothing spends: the campaign and line item stay PAUSED until set_x_ads_status(confirm:true). X cannot edit a promoted account, only remove it (delete_x_ads_object type:"promoted_account"). Free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
lineItemIdstringouia PROMOTED_ACCOUNT line item (objective FOLLOWERS) from create_x_ads_line_item
userIdstringnonthe numeric X user id to promote — omit for the ad account’s own promotable account

list_x_ads_promotable_users

List the X accounts an ad account may promote

The X accounts this ad account may promote — FULL (can be promoted for followers with create_x_ads_promoted_account and have its posts promoted) or RETWEETS_ONLY (posts only). Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)

list_x_ads_lead_forms

List X lead forms

List the lead forms on an X ad account (or one, with leadFormId) — fields, privacy policy, and the customer-list audience X builds from each form's leads. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
leadFormIdstringnonone lead form id; omit for all forms
withDeletedbooleannoninclude archived forms
limitnumbernonmaximum number of lead forms to return

create_x_ads_lead_form

Create an X lead form

Create an X lead form — the native form an X lead ad opens, so people sign up without leaving X. The X lead ad chain: lead form -> create_x_ads_card(leadFormId) -> create_x_ads_post(cardUri, lineItemId) on a WEBSITE_CLICKS line item (X retired the LEAD_GENERATION objective) -> get_x_ads_leads. Needs name, purpose, fields (at least one required), and an https privacy policy URL + company name. X ties every form to a conversion event: an ad account with no X Pixel needs conversionEventId, and the refusal says so plainly. X also builds a customer-list audience of the form's leads. Read back from X. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
namestringouiinternal name of the lead form
purposestringouiwhat the leads are used for (shown to the person)
fieldsarray<object>ouiat least one must not be optional
privacyPolicyUrlstringouihttps
companyNamestringouicompany name shown on the form
headlinestringnonintro card headline
descriptionstringnonintro card text
thankYouHeadlinestringnonheadline on the thank-you page shown after submit
thankYouDescriptionstringnontext on the thank-you page shown after submit
thankYouUrlstringnonhttps link on the thank-you button
thankYouButtonstringnonlabel of the thank-you page button
conversionEventIdstringnonEvent ID from X Events Manager — required when the ad account has no X Pixel

update_x_ads_lead_form

Change an X lead form

Change an X lead form. Only the fields you pass change — but X replaces the fields list and each section (intro, thank-you page, privacy policy) WHOLE, so pass the complete new value of any you touch. An archived form cannot be changed. Read back from X. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
leadFormIdstringouilead form id from list_x_ads_lead_forms
namestringnonnew internal name of the lead form
purposestringnonwhat the leads are used for, shown to the person
fieldsarray<object>nonreplaces the whole field list; each entry as in create_x_ads_lead_form
privacyPolicyUrlstringnonhttps link to the privacy policy shown on the form
companyNamestringnoncompany name shown on the form
headlinestringnonintro card headline
descriptionstringnonintro card text
thankYouHeadlinestringnonthank-you page headline; X replaces the whole section
thankYouDescriptionstringnonthank-you page text; X replaces the whole section
thankYouUrlstringnonhttps link on the thank-you button
thankYouButtonstringnonthank-you page button label
conversionEventIdstringnonX Events Manager event id; needed when the account has no X Pixel

get_x_ads_leads

Read the leads from an X lead form

Read the leads submitted to an X lead form over a window (default the last 30 days) — each lead's answers keyed by field (EMAIL, FULL_NAME…). X builds the export as a job; this waits up to ~45s and, if X is still working, returns an exportId to collect later with no new job. X lets only an ACCOUNT ADMIN export leads, and refuses an ARCHIVED form, so export before archiving. format csv/xlsx returns a download link instead. The result is personal information. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
leadFormIdstringnonX lead form id from list_x_ads_lead_forms; required unless exportId is given
startTimestringnonISO 8601
endTimestringnonISO 8601; default now
daysnumbernonwindow length when startTime is omitted; default 30
formatenum: "json" | "csv" | "xlsx"nonjson (default, returns leads inline) | csv | xlsx (returns a download link)
exportIdstringnoncollect an export that was still running

upload_x_ads_media

Upload media to an X ad account

Upload an image or video (any URL — a Hermoso render, an upload_file URL, a public file) to an X ad account and return its media_key, for create_x_ads_card or create_x_ads_post. Added to the ad account's Media Library and read back. A card image must be 1:1 ≥600×600, 1.91:1 ≥600×314, 16:9 ≥600×337, 9:16 ≥600×1066, 2:3 ≥600×900 or 4:5 ≥600×750. Free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
urlstringouipublic image or video URL: a Hermoso render, an upload_file URL or any public file
namestringnonlabel in the Media Library

list_x_ads_media

List an X ad account’s Media Library

List the X ad account's Media Library — media keys usable in cards and promoted-only posts. Read-only, free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
mediaTypeenum: "IMAGE" | "VIDEO" | "GIF"nonIMAGE, VIDEO or GIF; omit for all types
limitnumbernonmax items to return, 1-50; default 20

create_x_ads_card

Build an X ad card

Create an X card — the big image/video with a headline or button that an X ad clicks through on. ONE destination: websiteUrl (a website card, with a headline `title`), leadFormId (opens an X lead form — headline, or a button with buttonLabel), or an app (iosAppId/googlePlayAppId + countryCode, a button). Media: mediaKey, or 2–6 mediaKeys for a swipeable card (upload_x_ads_media). utm {source,medium,campaign,content,term} is appended to websiteUrl without overwriting the URL's own. Read back from X; a card is used by create_x_ads_post(cardUri). Free.

ParamètreTypeRequisDescription
adAccountIdstringnonX ad account id (list_x_ads_accounts); omit if only one is shared
accountIdstringnonolder name for adAccountId (MCP only)
namestringouiinternal name for the card
mediaKeystringnonone media key from upload_x_ads_media (single image or video)
mediaKeysarray<string>non2-6 media keys from upload_x_ads_media, for a swipeable card
titlestringnonheadline, for website and lead-form cards
websiteUrlstringnonDestination URL for a website card.
utmobjectnonUTM tags object: source, medium, campaign, content, term; appended to websiteUrl
leadFormIdstringnonX lead form id from list_x_ads_lead_forms, for a lead-form card
buttonLabelenum: "BOOK" | "CONNECT" | "INSTALL" | "OPEN" | "ORDER" | "PLAY" | "SHOP"nonbutton text shown on a lead-form or app card
iosAppIdstringnoniOS App Store app id, for an app card
googlePlayAppIdstringnonGoogle Play package id, for an app card
countryCodestringnon2-letter store country for an app card, e.g. US
iosDeepLinkstringnoniOS deep link for an app card
googlePlayDeepLinkstringnonAndroid deep link for an app card

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://app.hermoso.ai/mcp?src=registry. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http hermoso https://app.hermoso.ai/mcp?src=registry
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : hermoso ; URL : https://app.hermoso.ai/mcp?src=registry
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : hermoso ; Server URL : https://app.hermoso.ai/mcp?src=registry ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "hermoso": {
      "url": "https://app.hermoso.ai/mcp?src=registry"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "hermoso": {
      "type": "http",
      "url": "https://app.hermoso.ai/mcp?src=registry",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "hermoso": {
      "url": "https://app.hermoso.ai/mcp?src=registry"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "hermoso": {
      "httpUrl": "https://app.hermoso.ai/mcp?src=registry"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.hermoso]
url = "https://app.hermoso.ai/mcp?src=registry"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

Hermoso · L’Atlas · Test du

Markdown
[Hermoso — L’Atlas](https://latlas.dev/mcp/io.github.hermoso-ai/hermoso)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.