Check an image or video before it becomes an ad
check_media🟢 READ-ONLY — runs immediately, changes nothing. Cost: free (not counted against tasks).
Checks a creative file before any ad is built from it, and answers where a file with no link yet has to go. Use when: the user offers an image or a video in any form — a link, a file on their computer, "the one from our site" — and always before a create tool that takes image_url or video_url. What it does: repairs the share links that do not serve files (Drive, Dropbox, OneDrive, GitHub, Imgur have a direct form), fetches only the head of the file to read its type, size, dimensions and an MP4's duration, and reports slot by slot which platforms accept it and what would be cropped. Call it with no arguments when the user has a file but no link: it returns the three ways to get one, cheapest first, starting with reusing what is already in their ad account. Adako hosts nothing and never receives the file. The platform downloads the URL itself, from its own servers and often hours later, which is why a local path, a login-gated page or a link that expires cannot work however it is passed. Free, instant, touches no ad account and creates nothing, so run it as often as needed. If a file is refused, say exactly which rule it broke and what to change — never retry a create with the same file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only judge image slots or video slots. Defaults to what the file turns out to be. | |
| urls | No | The file links to check, as the user gave them — share pages and http links are repaired rather than rejected. Leave this out to get the "where do I put my file" answer instead. | |
| raw_data | No | Return compact JSON only (no markdown). Use when you will compute on the result. | |
| platforms | No | Only judge these platforms. Defaults to all five, which is what to use when the user has not chosen yet. |