Inputs
Output
Type:Dict
Returns the account ID plus resolved image and video detail lists.
Fields: account_id, images, videosDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Gets Meta media details for images and videos using image_hash or video_id
| App | Meta Ads |
| Operation ID | meta_ads_get_media_details |
| Type | Action |
| Connection | meta_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Ad account that owns the media. Accepts an account ID with or without the ‘act_’ prefix (for example ‘act_1234567890’ or ‘1234567890’) |
image_hashes | array of string | No | - | One or more Meta image hashes (the image_hash returned by a creative) to resolve into details such as url, permalink_url, width, and height. Accepts a single hash or a list. Provide image_hashes, video_ids, or both. |
video_ids | array of string | No | - | One or more Meta video IDs (the video_id returned by a creative) to resolve into details such as source URL, thumbnail/poster URL, title, and length. Accepts a single ID or a list. Provide image_hashes, video_ids, or both. |
Dict
Returns the account ID plus resolved image and video detail lists.
Fields: account_id, images, videos