# Video Example

This example shows a web video ad request with user identity sharing.

```json
{
    "id": "4808c11e-2aca-4a83-9447-0ea8df61c24c",
    "imp": [
        {
            "id": "3a38fc9a-8331-47f7-a25b-56f9ca0e7f76",
            "secure": 1,
            "ext": {
                "nexx360": {
                    "tagId": "your-nexx360-tag-id"
                }
            },
            "video": {
                "mimes": [
                    "video/mp4",
                    "video/mpeg",
                    "application/javascript"
                ],
                "maxduration": 32,
                "protocols": [2, 3, 5, 6, 7, 8],
                "placement": 1,
                "linearity": 1,
                "maxbitrate": 700,
                "playbackmethod": [2],
                "api": [1, 2],
                "w": 480,
                "h": 640
            }
        }
    ],
    "site": {
        "page": "https://example.com/article/video-content",
        "domain": "example.com"
    },
    "device": {
        "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36",
        "ip": "62.23.198.190"
    },
    "user": {
        "ext": {
            "consent": "CPf9mIAPf9mIAAGABCENCiCsAP_AAH_AAAqII...",
            "eids": [
                {
                    "source": "id5-sync.com",
                    "uids": [
                        {
                            "id": "ID5*example-id5-token",
                            "atype": 1,
                            "ext": {
                                "linkType": 2
                            }
                        }
                    ]
                },
                {
                    "source": "liveramp.com",
                    "uids": [
                        {
                            "id": "AjV0Ux2YsX2x79uP34XZ79LAEVXg...",
                            "atype": 3
                        }
                    ]
                },
                {
                    "source": "adnxs.com",
                    "uids": [
                        {
                            "id": "6193521930111213563"
                        }
                    ]
                },
                {
                    "source": "pubmatic.com",
                    "uids": [
                        {
                            "id": "0B7A75A1-1FE2-4E37-ABA4-48B9A8FE5D96"
                        }
                    ]
                }
            ]
        }
    },
    "at": 1,
    "tmax": 800,
    "cur": ["USD"],
    "regs": {
        "ext": {
            "gdpr": 1
        }
    },
    "source": {
        "tid": "c2addab6-5201-4c96-9f54-c4b4cbc50e85",
        "fd": 1
    },
    "ext": {
        "schain": {
            "ver": "1.0",
            "complete": 1,
            "nodes": []
        }
    },
    "test": 0
}
```

## Key Fields for Video

| Field                  | Description                                                          |
| ---------------------- | -------------------------------------------------------------------- |
| `video.mimes`          | Supported MIME types                                                 |
| `video.maxduration`    | Maximum video duration in seconds                                    |
| `video.protocols`      | Supported VAST protocols (2=VAST 2.0, 3=VAST 3.0, etc.)              |
| `video.placement`      | Placement type (1=in-stream, 2=in-banner, etc.)                      |
| `video.linearity`      | Linearity (1=linear/in-stream, 2=non-linear/overlay)                 |
| `video.playbackmethod` | Playback methods (1=auto-play sound on, 2=auto-play sound off, etc.) |
| `video.api`            | Supported API frameworks (1=VPAID 1.0, 2=VPAID 2.0, etc.)            |

## Video Protocols Reference

| Value | Protocol         |
| ----- | ---------------- |
| 2     | VAST 2.0         |
| 3     | VAST 3.0         |
| 5     | VAST 2.0 Wrapper |
| 6     | VAST 3.0 Wrapper |
| 7     | VAST 4.0         |
| 8     | VAST 4.0 Wrapper |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.nexx360.io/integration-methods/openrtb/video-example.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
