Operations 13
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“How do I add a new strategy to a campaign with goals and pacing?”
“Is there a limit on IPs or postal codes when creating a strategy?”
Tell an agent
Create a strategy in campaign {campaign} with goals {goals} and pacing {pacing}.
Add a new strategy to campaign {campaign} using pacing {pacing} and goals {goals} with inventory {inventory}.
Ask an LLM
“Which strategies are running across my MediaMath campaigns?”
“Can I list only live strategies?”
Tell an agent
List all strategies.
Show only live strategies.
Ask an LLM
“How do I change the targeting on an existing strategy?”
“Can I update a single strategy's settings by ID?”
Tell an agent
Update the targeting on strategy {strategy} to {targeting}.
Change strategy {strategy} so its targeting becomes {targeting}.
Ask an LLM
“What are the settings of a specific strategy?”
“Can I get the extended view of one strategy?”
Tell an agent
Get strategy {strategy}.
Show the settings of strategy {strategy}.
Ask an LLM
“Can I duplicate a strategy under a new name?”
“How do I copy a strategy along with its targeting and concepts?”
Tell an agent
Copy strategy {strategy} as {name} with status {status}.
Duplicate strategy {strategy} under the name {name} with status {status}.
Ask an LLM
“Is my strategy healthy and able to bid?”
“What problems are flagged on a strategy?”
Tell an agent
Run a health check on strategy {strategy}.
Tell me if strategy {strategy} has any health problems.
GET
/strategies/{strategy_id}/friendly_names
Get readable names for a strategy's targeting · Get Targeting Friendly Names
#
Ask an LLM
“What do the targeting IDs on my strategy actually mean in plain names?”
“Can I see human-readable labels for a strategy's targeting?”
Tell an agent
Show friendly targeting names for strategy {strategy}.
Translate strategy {strategy}'s targeting IDs into readable names.
Ask an LLM
“What forecast query is generated for a strategy?”
“Can I see the query used to forecast a strategy's reach?”
Tell an agent
Get the forecast query for strategy {strategy}.
Show me the query used to forecast strategy {strategy}.
GET
/strategies/{strategy_id}/targeting_expression
Get a strategy's targeting expression · Get Targeting Expression
#
Ask an LLM
“What is the normalized targeting expression for my strategy?”
“Can the targeting expression include inactive targeting?”
Tell an agent
Get the targeting expression for strategy {strategy}.
Show strategy {strategy}'s targeting expression including inactive items.
Ask an LLM
“Who changed this strategy and what did they change?”
“Where can I see the audit trail for one strategy?”
Tell an agent
Show the audit log for strategy {strategy}.
List the changes made to strategy {strategy}.
Ask an LLM
“Can I change many strategies in one request?”
“How do I bulk edit strategies across a campaign?”
Tell an agent
Bulk update strategies with {update}.
Apply this change to many strategies at once: {update}.
GET
/strategies/{strategy_id}/permissions
List users with access to a strategy · List User Permissions for a Strategy
#
Ask an LLM
“Which users have permission to a given strategy?”
“Who can view or edit this strategy?”
Tell an agent
List user permissions for strategy {strategy}.
Show who has access to strategy {strategy}.
Ask an LLM
“Can I pull the audit logs for several strategies together?”
“What changed across this set of strategies?”
Tell an agent
Get the audit logs for strategies {ids}.
List the changes made across strategies {ids}.
Documentation
Documentation
https://apidocs.mediamath.com/docs/api/YXBpOjMyMzMyMTI4-campaigns-v2-0-api-reference
Authentication
https://apidocs.mediamath.com/guides
RateLimits
https://artifacts.apis.io/mediamath/rate-limits/mediamath-rate-limits.yml
Documentation
https://apidocs.mediamath.com/apis/reporting-api