Jivox Programmable Personalization API supports dynamic ad creation. Our omni channel capability ensures ad formats across multiple channels are supported: Video, Rich Media, Native, Social, and Mobile.
| Method Name | Method Type | Description |
|---|---|---|
| Create Ad | POST | Creates an Ad under a particular account. |
| Create Ad Unit | POST | Creates an Ad unit under a particular account. |
| Get Ad Preview Links | GET | Returns a preview link for a given ad. |
| List Ads | GET | Returns a list of ads under a particular account. |
| Delete Ad | DELETE | Deletes a particular Ad from a particular account. |
| Get Ad Details | GET | Returns Details of an Ad from a particular account. |
Parameters
| Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
| accountId | string | Mandatory | path | ID of the advertiser account created on the platform |
Sample Request
xxxxxxxxxxPOST http://demo.stub.api.jivox.com/v2/accounts/1234/ads/Request Body
xxxxxxxxxx{ "title": "string", "dynamic": true, "description": "string", "adUnits": [ { "adUnitTypeId": 0, "dimension": "string", "backgroundColor": "string", "paramString": {} } ], "isDraft": true, "tags": [ "string" ], "playerParams": {}, "thumbnailURL": "string"}Sample Response
xxxxxxxxxx{ "adId": 0, "adUnitIds": [ 0 ]}Parameters
| Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
| accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
| adId | string | Mandatory | path | ID of the ad. |
Sample Request
xxxxxxxxxxGET http://demo.stub.api.jivox.com/v2/accounts/1234/ads/10102/preview/?adUnitId=4556Sample Response
xxxxxxxxxx{"preview":"http://demo.stub.api.jivox.com/v2/accounts/1234/ads/10102/preview/creative-variant?adId=10102&bUnitId=4556&unitType=inbanner&assetOverrideParams=Y3JlYXRpdmVNYXN0ZXI9UG9sbGVu"}Parameters
| Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
| accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
xxxxxxxxxxGET http://demo.stub.api.jivox.com/v2/accounts/1234/adsSample Response
{ "ads": [ { "title": "Adobe EDGE and CC", "adId": 17620, "dynamic": true }, { "title": "Image and text", "adId": 17642, "dynamic": true }, ],"previous": "", "next": "" }Parameters
| Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
| accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
| adId | string | Mandatory | path | ID of the ad. |
Sample Request
xxxxxxxxxxGET http://demo.stub.api.jivox.com/v2/accounts/1234/ads/7398/Sample Response
HTTP status code as 200 OK with no response body is returned.
Parameters
| Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
| accountId | string | Mandatory | Path | ID of the advertiser account created on the platform. |
| adId | string | Mandatory | Path | ID of the ad Sample Request. |
Sample Request
xxxxxxxxxxGET http://demo.stub.api.jivox.com/v2/accounts/1234/ads/10102Sample Response
xxxxxxxxxx{ "adType": "Video", "description": "Sample ad", "previous": 0, "draft": true, "adParams": "autoPlay=false&hoverToPlay=true", "adLayout": [ { "layoutDimension": "810x550", "adUnitId": "4556", "adUnitType": "inbanner" } ], "next": 0, "creationDate": "2002-05-01 14:41:36", "creativeMasters": [ { "name": "Pollen", "assets": [ { "childAssets": [ { "assetType": "Image", "assetId": "asset101.bg_trusted_care", "assetName": "bg_trusted_care", "default": "http://jivoxassets.s3.amazonaws.com/widgets/2017/8/a11z5987cace3adca/1/Kleenex_Flu_300x250/Kleenex_Flu_300x250.html", "dynamic": true }, . . . } ], "title": "Kleenex Demo", "adId": "10102", "dynamic": true}