Recipes
Single tools are documented in the reference. These are the orders that get something done, with each step labelled by what it does to the account.
Read an account without touching it
Every tool here is read-only, so this is the safe way to point a new agent at a live account and see what comes back.
get_account_detailsRead Current user and account information.account_level_statsRead Account-level statistics and channel breakdown for a timeframe.performance_metricsRead Granular performance metrics for ads, audiences, creatives, offers, target groups, keywords.get_converted_leads_summaryRead Fast aggregate summary of the account's converted leads (Smart Leads) — counts and rates only, no lead rows.
Build and size an audience before spending
Search the criteria the platform actually supports, create the audience, then ask what it is worth targeting. The estimate is read-only, so the loop can iterate before anything spends.
search_target_group_criteriaRead Get available criteria and their supported values (names and IDs) for target group creation/updates.create_firmographic_audienceWrites Create B2B company firmographic audiences for targeted advertising campaigns.create_target_groupWrites Create a new target group with name and targeting criteria.estimate_target_groupRead Estimate audience size for target group criteria before creating.
Check a campaign before you launch it
The readiness check is read-only and tells you whether the launch would succeed. Calling it first turns one destructive call into a decision you can put a human in front of.
list_target_groupsRead List and search target groups in Metadata platform.check_campaign_launch_readinessRead Check whether a draft campaign is ready to launch, per channel.launch_campaignDestructive LAUNCHES REAL MARKETING CAMPAIGNS WITH REAL BUDGET SPEND 🚨 KEYWORDS: launch, start, activate, go live, campaign, begin, advertising, spend, marketing PREREQUISITE: Before runni…
A rule that holds for all of them
Resolve names to ids with a list_ or search_ call before the tool
that acts, and reproduce every campaign, audience and offer name character for character.
Separators and trailing words are part of the name; a tidied-up name is a wrong name, and the
call will either fail or hit the wrong object.