> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/rtb/es/anunciantes/exoclick-rtb/bid-request.md).

# Solicitud de puja de ExoClick RTB

En esta página se describen los distintos componentes de las solicitudes de RTB que recibirás para pujar.

## Encabezados de la solicitud de puja

* **Encabezado HTTP Keep-Alive**: `Connection: Keep-Alive`
* **Contenido JSON**: `Content-Type: application/json`
* **Encabezado de codificación de datos**: `Accept-Encoding`

## Objeto de solicitud de puja

Al solicitar pujas para un contexto específico, la plataforma realizará una solicitud HTTP con un tiempo de espera de **300ms**. Enviará el siguiente objeto codificado como JSON en el cuerpo de la solicitud POST:

| Atributo          | Descripción                                                                                                                                  |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| id                | ID único de la solicitud de puja (cadena)\*                                                                                                  |
| ip                | Dirección IP del usuario (cadena)\*                                                                                                          |
| language          | Idioma del navegador según ISO-639-1-alpha-2 (cadena)\*                                                                                      |
| remote\_addr      | Dirección IP principal del usuario (cadena)                                                                                                  |
| x\_forwarded\_for | Dirección IP X-FORWARDED-FOR del usuario, o vacío si no está definido (cadena)                                                               |
| type              | Tipo de solicitud. Puede ser "banner", "popunder" o "push\_notification" (cadena)\*                                                          |
| ua                | Agente de usuario del navegador (cadena)\*                                                                                                   |
| url               | URL completa de la página donde se mostrará el anuncio (cadena)\*                                                                            |
| user\_id          | ID único del usuario (cadena)\*                                                                                                              |
| export            | Tipo de respuesta. Puede ser "json" o "xml" (cadena)\*                                                                                       |
| keyword           | palabra clave (cadena)                                                                                                                       |
| size              | Tamaño del tipo de anuncio del editor (cadena)\*\*                                                                                           |
| sub               | sub será un número entero que representa el ID de la zona desde la que se originó la solicitud (no debe confundirse con el token {zone\_id}) |

\*campos obligatorios

\*\*obligatorio solo para el tipo banner. Para las notificaciones push, se asumirá un tamaño de 192x192 si está vacío

## Ejemplos

Puedes consultar una lista completa de todos los tipos de solicitudes que puedes recibir en nuestra [página de ejemplo de solicitud de anunciante](https://docs.exoclick.com/rtb/es/anunciantes/exoclick-rtb/exoclick-rtb-advertiser-code-examples.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.exoclick.com/rtb/es/anunciantes/exoclick-rtb/bid-request.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
