Operations 11
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
“Can I change settings on several campaigns in a single request?”
“How do I bulk update campaigns in MediaMath?”
Tell an agent
Bulk update campaigns with {update}.
Apply update {update} to multiple campaigns at once.
Ask an LLM
“What are the budget, goals and status of a specific campaign?”
“Can I get extended details for one campaign?”
Tell an agent
Get campaign {campaign_id}.
Show extended details for campaign {campaign_id}.
Ask an LLM
“How can I change an existing campaign's budget or pacing?”
“Can I pause or archive a campaign I already created?”
Tell an agent
Set campaign {campaign_id} status to {status}.
Change the budget of campaign {campaign_id} to {budget}.
Ask an LLM
“Which campaigns are currently live?”
“Can I list campaigns while hiding ones that have expired?”
Tell an agent
List my campaigns.
List only live campaigns.
Ask an LLM
“How do I launch a new campaign for an advertiser?”
“What goals and budget are required when creating a campaign?”
Tell an agent
Create campaign {name} for advertiser {advertiser_id} with budget {budget} and goals {goals}.
Set up a new campaign for advertiser {advertiser_id}.
Ask an LLM
“Who changed this campaign and when?”
“Can I see the audit log for one campaign?”
Tell an agent
Show the change history for campaign {campaign_id}.
Get the audit log of campaign {campaign_id}.
POST
/campaigns/{campaign_id}/dynamic_budget_allocation
Update a campaign's dynamic budget allocation (legacy) · (Legacy) Update Specific Campaign Dynamic Budget Allocation
#
Ask an LLM
“Can I toggle dynamic budget allocation on one campaign with the legacy endpoint?”
“Is the per-campaign dynamic budget allocation call going away?”
Tell an agent
Turn dynamic budget allocation {dynamic_budget_allocation_applied} for campaign {campaign_id} via the legacy call.
Set dynamic budget allocation availability to {dynamic_budget_allocation_available} on campaign {campaign_id}.
Ask an LLM
“Can I duplicate an existing campaign with new dates?”
“When copying a campaign, can I bring over its site lists and brain settings?”
Tell an agent
Copy campaign {campaign_id} as {name} with status {status}.
Duplicate campaign {campaign_id} into {name} running {start_date} to {end_date}, status {status}.
POST
/campaign_dba
Update dynamic budget allocation (service account) · Update Campaign Dynamic Budget Allocation
#
Ask an LLM
“Is there a service-account-only endpoint for campaign dynamic budget allocation?”
“Who can call the campaign_dba update endpoint?”
Tell an agent
Update campaign dynamic budget allocation through the service account endpoint.
Push dynamic budget allocation updates via campaign_dba.
GET
/campaigns/{campaign_id}/permissions
List users with access to a campaign · List User Permissions for a Campaign
#
Ask an LLM
“Which users have permissions on a particular campaign?”
“Can I search a campaign's user permissions?”
Tell an agent
List user permissions for campaign {campaign_id}.
Show users who can access campaign {campaign_id}.
Ask an LLM
“Can I pull the audit log for multiple campaigns at once?”
“What changed across a batch of campaigns?”
Tell an agent
Get the audit log for campaigns {id}.
Show changes made to campaigns {id}.
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