generateBatchLinks
  • 08 Jul 2024
  • Dark
    Light

generateBatchLinks

  • Dark
    Light

Article summary

Post
/publishers/{publisherId}/linkbuilder/generate-batch
Header parameters
Authorization
string

accessToken

Path parameters
publisherId
integer (int64) Required

publisherId

Query parameters
accessToken
stringRequired

access token

Body parameters

requestBody

Expand All
object
requests
Array of object (GenerateBatchLink)
object
advertiserId
integer (int64)
destinationUrl
string
parameters
object (Parameters)
campaign
string
clickref
string
clickref2
string
clickref3
string
clickref4
string
clickref5
string
clickref6
string
Responses
200

OK

object

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 



Was this article helpful?

What's Next