# Advertising


The Kinescope player supports advertising tag integration via the `adtagurl` parameter. This allows showing ads during video playback.

## Who this article is for

* **Content owners** — need to monetize video through advertising
* **Developers** — need to integrate advertising tags into the player
* **Platform administrators** — need to configure ad display for users

## Using the adtagurl parameter

Add the `adtagurl` parameter with the advertising tag URL to the iframe URL:

```markup
<iframe src="https://kinescope.io/embed/123456789?adtagurl=https://example.com/ad-tag.js"
        allow="autoplay; fullscreen; picture-in-picture; encrypted-media;"
        frameborder="0"
        allowfullscreen></iframe>
```

### Example with multiple parameters

You can combine the `adtagurl` parameter with other parameters:

```markup
<iframe src="https://kinescope.io/embed/123456789?adtagurl=https://example.com/ad-tag.js&autoplay=1&muted=1"
        allow="autoplay; fullscreen; picture-in-picture; encrypted-media;"
        frameborder="0"
        allowfullscreen></iframe>
```

## Configuration via IFrame API

For more flexible ad configuration, use [IFrame Player API](https://docs.kinescope.com/developer-guides/iframe-player-api/). See the [full documentation](https://docs.kinescope.io/player/latest/embed/iframe-api/) for all API capabilities:

```javascript
import { createPlayer } from '@kinescope/iframe-api';

const player = await createPlayer({
  videoId: '123456789',
  adTagUrl: 'https://example.com/ad-tag.js'
});
```

## Advertising tag types

The player supports various advertising tag formats:

* **VAST (Video Ad Serving Template)** — standard format for video advertising
* **VPAID (Video Player-Ad Interface Definition)** — interactive advertising
* **IMA (Interactive Media Ads)** — advertising from Google

## Recommendations

* Make sure the advertising tag is accessible via HTTPS
* Check the advertising tag's compatibility with the player
* For better performance, use deferred ad loading
* Keep browser autoplay policies in mind when displaying ads

## Limitations

* Ads may not work with DRM-protected videos
* Some ad blockers may block advertising tags
* Ad autoplay may be restricted by browser policies

## What's next?

* Review the [IFrame Player API](https://docs.kinescope.com/developer-guides/iframe-player-api/) section for basic API information
* See [player creation parameters via IFrame API](https://docs.kinescope.io/player/latest/embed/iframe-api/iframe-player-factory/) for ad configuration
* Read the [full player documentation](https://docs.kinescope.io/player/latest/) for advanced ad settings
* Read the [Embedding](https://docs.kinescope.com/video-player/embedding/) article for basic player configuration

Still have questions? Write to the support chat within the Kinescope interface — our specialists will help!

