Skip to content
Get MCP AdsGet MCP Ads, home
View as Markdown

x_ads_update_media_library_item

Update a media library object's metadata (e.g. A write tool that previews before it changes anything, one of 44 X Ads tools on the Get MCP Ads MCP gateway.

Update a media library object's metadata (e.g. name, title, description) Preview by default. Ask the user to approve the exact account, target and parameters before confirm:true.

Source
X Ads
Kind
Write
Discovery
Reachable through search_tools and run_tool
Account parameter
account_id
Endpoint
https://mcp.getmcpads.com/x-ads/mcp

ParametersLink to this section

NameTypeRequiredNotes
account_idstringRequiredX Ads account ID selected in Sources.
descriptionstringOptionalVideo description, shown under the video. Videos only.
file_namestringOptionalMedia file name (1-255 characters).
media_keystringRequiredUploaded media key registered in the selected account's media library.
namestringOptionalMedia asset name, shown in campaign setup UIs (1-100 characters).
poster_media_keystringOptionalMedia key of an uploaded image to use as the video poster frame. Videos only.
titlestringOptionalVideo title, shown on the video itself. Videos only.
confirmbooleanOptionalFalse previews only; true applies this exact change after explicit human confirmation. Default: false.

Calling itLink to this section

jsonThrough run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "x_ads_update_media_library_item",
    "args": {
      "account_id": "<string>",
      "media_key": "<string>"
    }
  }
}
Esc

Type to search