analyze_ad_video
Downloads and analyzes LinkedIn ad videos to extract hooks, scene-by-scene storytelling, on-screen text, voiceover, sound-off readability, and B2B offer positioning.
Instructions
REQUIRED for analyzing video ads from LinkedIn. Downloads and analyzes ad videos using Gemini's video understanding to extract the hook, scene-by-scene storytelling, on-screen text, voiceover, sound-off readability and B2B offer positioning. Pass ad_id alongside media_url so results cache per ad rather than per (expiring) CDN URL. Uses intelligent caching for efficiency.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"media_url": "<media_url>"
},
"name": "analyze_ad_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | No | ||
| media_url | Yes | ||
| brand_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |