> 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

Esta página describe los diferentes componentes de las solicitudes RTB que recibirás para poder pujar.

## Encabezados de la solicitud de puja

* **Encabezado HTTP de la versión RTB de ExoClick**: `x-exadsrtb-version: 1.0`
* **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 como POST:

| Atributo          | Descripción                                                                                                                                  |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| id                | ID único de la solicitud de puja (cadena)\*                                                                                                  |
| ip                | Dirección IP del usuario (string)\*                                                                                                          |
| language          | Idioma del navegador usando ISO-639-1 alpha-2 (cadena)\*                                                                                     |
| remote\_addr      | Dirección IP principal del usuario (string)                                                                                                  |
| x\_forwarded\_for | Dirección IP X-FORWARDED-FOR del usuario o vacío si no está configurada (string)                                                             |
| type              | Tipo de solicitud. Puede ser "banner", "popunder" o "push\_notification" (cadena)\*                                                          |
| ua                | User agent del navegador (cadena)\*                                                                                                          |
| url               | URL completa de la página donde se mostrará el anuncio (cadena)\*                                                                            |
| user\_id          | ID único de usuario (cadena)\*                                                                                                               |
| exportar          | Tipo de respuesta. Puede ser "json" o "xml" (cadena)\*                                                                                       |
| keyword           | palabra clave (cadena)                                                                                                                       |
| size              | Tamaño del tipo de anuncio del publicador (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. En Push Notification, se asumirá 192x192 si está vacío

## Ejemplos

Puedes encontrar una lista completa de todos los tipos de solicitudes que puedes recibir en nuestra [Página de ejemplo de solicitud del anunciante](/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.
