> 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 dos pedidos RTB que irá receber para poder licitar.

## Cabeçalhos do pedido de licitação

* **Cabeçalho HTTP Keep-Alive**: `Connection: Keep-Alive`
* **Conteúdo JSON**: `Content-Type: application/json`
* **Cabeçalho de codificação de dados**: `Accept-Encoding`

## Objeto do pedido de licitação

Ao solicitar licitações para um contexto específico, a plataforma efetuará um pedido HTTP com um tempo limite de **300 ms**. Enviará o seguinte objeto codificado em JSON no corpo do pedido POST:

| Atributo          | Descrição                                                                                                                    |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| id                | ID exclusivo do pedido de licitação (string)\*                                                                               |
| ip                | Endereço IP do utilizador (string)\*                                                                                         |
| language          | Idioma do navegador, utilizando ISO-639-1-alpha-2 (string)\*                                                                 |
| remote\_addr      | Endereço IP principal do utilizador (string)                                                                                 |
| x\_forwarded\_for | Endereço IP X-FORWARDED-FOR do utilizador, ou vazio se não estiver definido (string)                                         |
| type              | Tipo de pedido. Pode ser "banner", "popunder" ou "push\_notification" (string)\*                                             |
| ua                | Agente do utilizador do navegador (string)\*                                                                                 |
| url               | URL completa da página onde o anúncio será apresentado (string)\*                                                            |
| user\_id          | ID exclusivo do utilizador (string)\*                                                                                        |
| export            | Tipo de resposta. Pode ser "json" ou "xml" (string)\*                                                                        |
| keyword           | palavra-chave (string)                                                                                                       |
| size              | Tamanho do tipo de anúncio do publisher (string)\*\*                                                                         |
| sub               | O valor de sub será um número inteiro que representa o ID da zona de origem do pedido (não confundir com o token {zone\_id}) |

\*campos obrigatórios

\*\*obrigatório apenas para o tipo banner. Para notificações push, será assumido o valor 192x192 se estiver vazio

## Exemplos

Pode encontrar uma lista completa de todos os tipos de pedidos que pode receber na nossa [página de exemplo de pedido do anunciante](https://docs.exoclick.com/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.
