> For the complete documentation index, see [llms.txt](https://help.citrusad.com/retail-media-interface/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.citrusad.com/retail-media-interface/integration/sk/data-api/api-overview/reporting-impressions-clicks.md).

# Hlásenie impresií a kliknutí

Ak chcete efektívne hlásiť zobrazenia a kliknutia, použite `/resource/` endpoint. Zobrazenia by mali smerovať na `first-i` zdroj, zatiaľ čo kliknutia by sa mali hlásiť na `second-c` zdroj.

## Predpoklad

Pred hlásením zobrazení a kliknutí získajte svoju základnú URL adresu od svojho technického account manažéra.

## Integrácia volaní endpointov

Volania endpointov sa musia vykonávať v rámci vašej aplikácie alebo webovej lokality. V Epsilon Retail Mediaje proces integrácie podobný pre mobilné aplikácie aj webové lokality vďaka prístupu integrácie 'backend to backend'. Tento prístup zaisťuje, že žiadosti o reklamu sú konzistentné na počítačových aj mobilných platformách. Keďže však mobilné aplikácie nepodporujú knižnice JS, musíte odosielať backendové žiadosti na naše endpointy pre kliknutia a zobrazenia.

## Hlásenie zobrazení

Ak chcete nahlásiť zobrazenie, odošlite žiadosť GET v nasledujúcom formáte:

```
https://$BASE_URL.citrusad.com/v1/resource/first-i/AD_ID
```

Nahraďte `AD_ID` pomocou `adId` poskytnutého pre reklamu, ktorú hlásite.

Napríklad nasledujúca žiadosť GET hlási zobrazenie pre `adId`, `display_xw3ybbrymHT_D3VwU3Ic5ThUkbhFNkY4NVNIODU4NEVGRkdT`.

```
https://$BASE_URL.citrusad.com/v1/resource/first-i/display_xw3ybbrymHT_D3VwU3Ic5ThUkbhFNkY4NVNIODU4NEVGRkdT
```

## Hlásenie kliknutí

Ak chcete nahlásiť kliknutie, odošlite žiadosť GET vo formáte uvedenom nižšie:

```
https://$BASE_URL.citrusad.com/v1/resource/second-c/AD_ID
```

Nahraďte `AD_ID` pomocou `adId` poskytnutého pre reklamu, ktorú hlásite.

Napríklad nasledujúca žiadosť GET hlási zobrazenie pre `adId`, `display_xw3ybbrymHT_D3VwU3Ic5ThUkbhFNkY4NVNIODU4NEVGRkdT`.

```
https://$BASE_URL.citrusad.com/v1/resource/second-c/display_xw3ybbrymHT_D3VwU3Ic5ThUkbhFNkY4NVNIODU4NEVGRkdT
```

## Validácia API pre realizované ID reklám

API obsahuje validáciu ID reklám na zaistenie presných údajov a zníženie chýb. Žiadosti s nesprávne kódovanými ID reklám alebo ID reklám s nesprávnou predponou vrátia chybu 400 a podrobnú chybovú správu.

### Kľúčové výhody

* Rýchlejšie riešenie problémov: Rýchla spätná väzba pomáha maloobchodníkom riešiť problémy rýchlejšie.
* Lepšia presnosť: Menej chýb znamená presnejšie prehľady a údaje.

### Príklad chybovej správy

"Neplatné ID reklamy. Musí byť správne kódované a mať predponu 'display\_', 'banner\_' alebo 'shotgun\_'."


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.citrusad.com/retail-media-interface/integration/sk/data-api/api-overview/reporting-impressions-clicks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
