Skip to main content

Scenario

The first 5 seconds of a YouTube pre-roll ad determine everything — viewers either watch or hit Skip. This job takes your pre-roll ad candidates, runs Video Analysis focused on the opening 5 seconds (hook score, visual complexity, text legibility, emotional trigger), then puts the results through a Focus Group asking the core question: “Would you skip this ad?” The result is a skip-or-watch prediction with specific improvement recommendations from each persona before you commit media budget.

Architecture

Code

Example Output

Error Handling

The focus_window: "0-5s" option restricts analysis to the opening seconds. If unsupported, the full video is analyzed — results are still valid but include post-skip content.
YouTube pre-roll ads are 6s (bumper), 15s, or 30s. Ensure uploaded files match these lengths. Longer files are analyzed in full, diluting the skip-window focus.
The “Impatient Scroller” persona skews negative — expected. Weight their feedback for skip prediction, but weight “Intentional Viewer” for click-through prediction.

YouTube Integration

Focus Groups API