The Ad Serving API returns HTTP status codes for every request. A few of the common status codes and errors are outlined in the following table. See the Proof of play (PoP) section in this article for status codes related to PoPs.
Code | Message | Description |
200 |
OK | The request was processed successfully. |
400 |
Invalid Request |
Something was wrong with the data that was sent to the server. Ensure all required fields are present and check the attached message of the error. Example
|
403 |
Forbidden |
Authentication errors as a result of posting incorrect credentials. Example |
408 |
Request Timeout | The client may be having problems connecting to the internet, or Vistar's API servers may not be responding quickly enough. This request should be retried. |
429 |
Too Many Requests | The Ad Serving API server is receiving too many queries per second from the Network ID. Reduce the amount of ad requests sent to the Ad Serving API per second across your network. |
500 |
Server Error | The Ad Serving API servers received the requested, but encountered an error while processing it. This request may be retried. |
Proof of play status codes
Code | Message | Description |
200 |
OK | The request was submitted successfully. |
400 |
Invalid Request |
This can occur for the following reasons:
|