> 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/pt/anunciantes/exoclick-rtb/bid-request.md).

# Pedido de Lance ExoClick RTB

Esta página descreve os diferentes componentes das solicitações RTB que você receberá para dar lances.

## Cabeçalhos da solicitação de lance

* **Cabeçalho HTTP da versão RTB da ExoClick**: `x-exadsrtb-version: 1.0`
* **Cabeçalho HTTP Keep-Alive**: `Connection: Keep-Alive`
* **JSON do conteúdo**: `Content-Type: application/json`
* **Cabeçalho de codificação de dados**: `Accept-Encoding`

## Objeto da solicitação de lance

Ao solicitar lances para um contexto específico, a plataforma fará uma solicitação HTTP com um tempo limite de **300ms**. Ele enviará o seguinte objeto codificado como JSON no corpo da solicitação como POST:

| Atributo          | Descrição                                                                                                                                   |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| id                | ID único da solicitação de lance (string)\*                                                                                                 |
| ip                | Endereço IP do usuário (string)\*                                                                                                           |
| language          | Idioma do navegador usando ISO-639-1 alfa-2 (string)\*                                                                                      |
| remote\_addr      | Endereço IP principal do usuário (string)                                                                                                   |
| x\_forwarded\_for | Endereço IP X-FORWARDED-FOR do usuário ou vazio se não estiver definido (string)                                                            |
| type              | Tipo de solicitação. Pode ser "banner", "popunder" ou "push\_notification" (string)\*                                                       |
| ua                | User agent do navegador (string)\*                                                                                                          |
| url               | URL completa da página onde o anúncio será exibido (string)\*                                                                               |
| user\_id          | ID único do usuário (string)\*                                                                                                              |
| exportação        | Tipo de resposta. Pode ser "json" ou "xml" (string)\*                                                                                       |
| keyword           | palavra-chave (string)                                                                                                                      |
| tamanho           | Tamanho do tipo de anúncio do publicador (string)\*\*                                                                                       |
| sub               | O sub será um número inteiro que representa o ID da zona de onde a solicitação se originou (não deve ser confundido com o token {zone\_id}) |

\*campos obrigatórios

\*\*obrigatório apenas para o tipo banner. Em Push Notification, será assumido 192x192 se estiver vazio

## Exemplos

Você pode encontrar uma lista completa de todos os tipos de solicitações que pode receber em nossa [página de exemplo de Solicitação do Anunciante](/rtb/pt/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/pt/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.
