API Reference

Meta Ads / API Reference

meta_ads_test_media_upload_flow

End-to-end safe media smoke test. Uploads or reuses image/video assets, creates test creatives, and can create PAUSED test ads. Use this when validating image/video upload wiring across a connected account. Sources can be public URLs, data URI/raw base64 payloads, existing image_hash/video_id values, or generated assets where supported.

This is a read-only tool: it returns test media upload flow for your Meta Ads account. It changes nothing.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Test media upload flow in my Meta Ads account.

It takes 0 required and 17 optional parameters.

Parameters

ParameterTypeRequiredDescription
image_source_valuestringNoImage Source Value
video_source_valuestringNoVideo Source Value
image_source_typestringNoImage Source Type
video_source_typestringNoVideo Source Type
image_filenamestringNoImage Filename
video_filenamestringNoVideo Filename
page_idstringNoPage Id
linkstringNoLink
name_prefixstringNoName Prefix
create_creativesbooleanNoCreate Creatives
create_adsbooleanNoCreate Ads
adset_idstringNoAdset Id
statusstringNoStatus
wait_for_video_readybooleanNoWait For Video Ready
timeout_secondsintegerNoTimeout Seconds
poll_secondsintegerNoPoll Seconds
account_idstringNoAccount Id

Related Meta Ads tools

Before you can call it

This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.

Workflows that use this

Rather than calling tools one at a time, these skills run a whole procedure against the same account:

Start using MCP Ads