# Integración del SDK

## Configurar sitio web

Para realizar la integración de nuestro SDK web, es necesario agregar el siguiente tag JavaScript dentro del bloque `<head>` del sitio web, especificando el "**asset key**" proporcionado por nuestra plataforma:

```javascript
<script type="text/javascript" async src="https://cdn.resources.wortise.com/sdk/web/web-sdk.js">
    wortise.init('tu asset key')
</script>
```

## Formatos de anuncio

### Banner

Los anuncios de banner son anuncios de imagen o de texto rectangulares que ocupan un lugar dentro del diseño de un sitio web. Permanecen en la pantalla mientras los usuarios interactúan con el sitio web y pueden actualizarse automáticamente después de un cierto período de tiempo.

La integración de un banner se realiza con un proceso muy sencillo, insertando el siguiente elemento `<div>` en el lugar donde se quiera mostrar los anuncios:

```html
<div id='wortise:BANNER_ID' style='min-width: WIDTHpx; min-height: HEIGHTpx;'></div>
```

Es **totalmente necesario** especificar el ID del ad unit de banner que se vaya a utilizar, además de las dimensiones que deben ocupar los anuncios.


---

# 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://docs.wortise.com/web-sdk/integracion-del-sdk.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.
