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

# Richiesta di offerta ExoClick RTB

Questa pagina descrive i diversi componenti delle richieste RTB che riceverai per effettuare un'offerta.

## Header della richiesta di offerta

* **Header HTTP della versione RTB di ExoClick**: `x-exadsrtb-version: 1.0`
* **Header HTTP Keep-Alive**: `Connection: Keep-Alive`
* **JSON del contenuto**: `Content-Type: application/json`
* **Header di codifica dei dati**: `Accept-Encoding`

## Oggetto della richiesta di offerta

Quando richiedi offerte per un contesto specifico, la piattaforma eseguirà una richiesta HTTP con un timeout di **300ms**. Invierà il seguente oggetto codificato come JSON nel corpo della richiesta come POST:

| Attributo         | Descrizione                                                                                                                                    |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| id                | ID univoco della richiesta di offerta (stringa)\*                                                                                              |
| ip                | Indirizzo IP dell'utente (stringa)\*                                                                                                           |
| language          | Lingua del browser usando ISO-639-1-alpha-2 (stringa)\*                                                                                        |
| remote\_addr      | Indirizzo IP principale dell'utente (stringa)                                                                                                  |
| x\_forwarded\_for | Indirizzo IP X-FORWARDED-FOR dell'utente oppure vuoto se non impostato (stringa)                                                               |
| type              | Tipo di richiesta. Può essere "banner", "popunder" o "push\_notification" (stringa)\*                                                          |
| ua                | User agent del browser (stringa)\*                                                                                                             |
| url               | URL completo della pagina in cui verrà mostrato l'annuncio (stringa)\*                                                                         |
| user\_id          | ID utente univoco (stringa)\*                                                                                                                  |
| esporta           | Tipo di risposta. Può essere "json" o "xml" (stringa)\*                                                                                        |
| keyword           | parola chiave (stringa)                                                                                                                        |
| size              | Dimensione del tipo di annuncio dell'editore (stringa)\*\*                                                                                     |
| sub               | Il sub sarà un numero intero che rappresenta l'ID della zona da cui è stata originata la richiesta (da non confondere con il token {zone\_id}) |

\*campi obbligatori

\*\*obbligatorio solo per il tipo banner. Per Push Notification, se vuoto verrà assunto 192x192

## Esempi

Puoi trovare un elenco completo di tutti i tipi di richieste che puoi ricevere nella nostra [pagina di esempio della Richiesta Inserzionista](/rtb/it/inserzionisti/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/it/inserzionisti/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.
