Informacje o emisji

Informacje o emisji

Endpointy zostały zaprojektowane w celu zwracania szczegółowych informacji o płatniku reklamy emisyjnej. Zwracają one kluczowe dane takie jak nazwa reklamodawcy, nazwa firmy reklamodawcy, numer identyfikacji podatkowej (NIP) oraz identyfikatory sprzedawców.

Dla obu typów reklamy odpowiedź ma postać:

HTTP/1.1 200 
Content-Type: application/json;charset=utf-8

{
  "sellerName": "string",
  "advertiserName": "string",
  "companyName": "string",
  "taxNumber": "string",
  "sellerIds": "string[]"
}

Oferty sponsorowane

Pole sellerName wypełniane jest tylko dla ofert sponsorowanych. Jest to wartość pola seller_name z feeda produktowego.

POST https://dispatcher.ahevds.com/v1/dsa/emissionInfo HTTP/2
Content-Type: application/json

{
  "showId": "{showId}"
}
curl --location --request POST 'https://dispatcher.ahevds.com/v1/dsa/emissionInfo' \
    --header 'Content-Type: application/json' \
    --data '{
       "showId": "{showId}"
    }'

Reklama graficzna

POST https://dispatcher.ahevds.com/v1/banner/dsa/emissionInfo HTTP/2
Content-Type: application/json

{
  "showId": "{showId}"
}
curl --location --request POST 'https://dispatcher.ahevds.com/v1/banner/dsa/emissionInfo' \
    --header 'Content-Type: application/json' \
    --data '{
       "showId": "{showId}"
    }'