Skip to content

X Ads media library item

Get a single media library object by media key Native X fields and pagination are preserved; monetary fields ending in _micro are millionths of the account. Works on your own X Ads account, connected through Get MCP Ads. Needs account id and media key.

Inputs

2 required
Account ID
X Ads account ID selected in SourcesRequired · account_id
Media key
Uploaded media key registered in the selected account's media libraryRequired · media_key
Workspace ID
Authorized workspace ID from list_accounts/list_workspacesOptional · workspace_id

Pricing

Price
$0.005 per call
Billing
The provider’s price, with no markup. Billed for measured usage.

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

X Ads creatives

Connect your agent to 2,400+ tools for free

Sign in with Google or GitHub. No card required.