Errors
HTTP Error Codes
| Code | Description | Explanation |
|---|---|---|
| 400 | Bad Request | Indicates that the data sent is incorrectly formatted. |
| 200 | OK | This indicates that the request is correct, but one or more zones could not be found. The response will tell you which zones these are. |
| 500 | Internal Error | Indicates that an internal error happened but the cause is unknown. Support should be contacted. |
400 Error Messages
| Message | Explanation |
|---|---|
| Malformed JSON Body | The JSON is malformed in some way. |
| Unsupported Request Type | For example, the request uses GET instead of POST. |
| This field is missing | The field is missing or incorrectly formatted for some reason. |
200 Error Messages
| Message | Explanation |
|---|---|
| Zone id not found | The zone id is not present in our database. |
| Zone or site not valid | The zone or Publisher is blocked. |
Data Null
Very rarely, an ad zone request will return a correct response, but the 'data' field will be null. This means that the system found no ads to satisfy the given request given user locale, browser etc.