Jivox API Documentation
v1.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Get Preview Links API
Copy Markdown
Open in ChatGPT
Open in Claude
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:
| Parameter | Description |
|---|---|
| adId | (Required) ID of the ad. This ID is available in the response of the createAd call. |
Example
Javascript
curl –d 'apiId=aaa&apiKey=bbb&apiVersion=1.0&publisherId=xxx&adId=12345' https:__<server>_jivox_serverAPIs_rest_getPreviewLinks.phpServer Success Response
In case of success, the server returns a response with the structure shown below:
Javascript
<_jivoxServerResponse><jivoxServerResponse><result>SUCCESS<_result><adUnits><adUnit><Name>Medium Rectangle<_Name><previewURL>http:__previewURL<_previewURL><_adUnit><adUnit><Name>Leaderboard<_Name><previewURL>http:__previewURL<_previewURL><_adUnit><_adUnits><_jivoxServerResponse>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
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Create Campaign APIDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message