v1.0
Jivox API Documentation

Get Preview Links API

The Get Preview Links API is used to retrieve the preview links for the ad units that have been created for an ad. The preview links can be used to get the creative approval from the advertiser. These preview links can also be saved in the order entry system as a point of record.

Request URL

To retrieve preview links for an ad, make a request to the following URL:

https://<JIVOX_SERVER>/jivox/serverAPIs/rest/getPreviewLinks.php

The request URL supports the following parameters:

ParameterDescription
adId(Required) ID of the ad. This ID is available in the response of the createAd call.

Example

Javascript
Copy

Server Success Response

In case of success, the server returns a response with the structure shown below:

Javascript
Copy

Fields in the server response XML are as follows:

  • Name: Name of the Ad Unit. A list of supported ad units is available in Appendix: Supported Ad Units.
  • previewURL: URL of preview for the ad