- 08 Jul 2024
- DarkLight
generateBatchLinks
- Updated on 08 Jul 2024
- DarkLight
accessToken
publisherId
access token
requestBody
OK
The response is a JSON object containing a single field “responses” which is an array of objects. Each of those objects contains 2 fields: status (indicating the HTTP status code which would have resulted from the corresponding request being sent singularly), and body. The body is as detailed for a single request above. Additionally, this contains a request field, containing the corresponding request payload, to aid in correlating the responses with the original requests.
Note: If the response contains "status": 400, "destinationUrl": "deeplinkNotPermitted" for single advertisers, they do not allow the link builder.
It's currently not possible to generate short links via the batch generated endpoint