v1.0
Jivox API Documentation

Tags

Overview

Jivox Programmable Personalization API allows users to generate and manage tags which are then placed on websites. These tags fetch ads served by the Jivox Server. Tags can also be bundled with various trackers and DSP macros.

Method NameMethod TypeDescription
Get TagsGETGets tags for a given media plan under a particular user account.
List Media PlansGETGets media plans for a given user account.
Generate TagsPOSTCreates tags for a given media plan.
Get TrackersGETGets trackers for a particular media plan.
Update TrackersPUTUpdates trackers for a particular media plan used in a given campaign.
Create Media PlansPOSTCreates media plans for a given user account
Update Media PlansPUTUpdates media plan for a given user account
Get Tag DetailsGETGets details of a particular tag for a given user account.
Get Latest TagGETGets the latest tag generated for a given user account.
Get List of Campaigns for a Media PlanGETGet list of campaigns associated with a given media plan.
Get Media Plan DetailsGETGet details of a particular media plan.

Get Tags

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account.

Sample Request

HTTP
Copy

Since this API needs an additional parameter, the path should be one of the following:

HTTP
Copy

Note that based on the above 1, 2 and 3 scripts given:

API 1 will return all tags ever generated for that mediaPlan

API 2 will return the latest tag generated for each combo of site and placement in the mediaPlan

API 3 will return all the tags generated for a specific generation request (this request should have returned a tagId that should be passed here).

Sample Response

Javascript
Copy

List Media Plans

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform

Sample Request

HTTP
Copy

Sample Response

Javascript
Copy

Generate Tags

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account

Sample Request

HTTP
Copy

Request Body

JSON
Copy

Sample Response

JSON
Copy

Get Trackers

To get list of trackers for the selected campaignId.

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account
campaignIdstringMandatorypathID of the campaign created under a given user account on the platform.

Sample Request

HTTP
Copy

Sample Response

JSON
Copy

Update Trackers

To update trackers for the selected campaignId. PUT call replaces all trackers, while PATCH call appends trackers (ignoring duplicates).

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account
campaignIdstringMandatorypathID of the campaign created under a given user account on the platform.

Sample Request

HTTP
Copy
HTTP
Copy

Request Body

JSON
Copy

Sample Response

JSON
Copy

Create Media Plan

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.

Sample Request

Javascript
Copy

Request Body Type 1

Javascript
Copy

Request Body Type 2

Javascript
Copy

The “ externalSiteId ” and “externalPlacementId” fields are optional parameters.

Sample Response

Javascript
Copy

Update Media Plan

Parameters

NameData TypeRequirementParameter TypeDescription
groupIdstringMandatorypathID of the media plan created under a given user account.

Sample Request

Javascript
Copy

Request Body Type 1

Javascript
Copy

Request Body Type 2

Javascript
Copy

The “ externalSiteId ” and “externalPlacementId” fields are optional parameters.

Sample Response

Javascript
Copy

Get All Tags

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account.

Sample Request

Javascript
Copy

This api will return all tags that have been generated for this mediaPlan.

Sample Response

Javascript
Copy

Get Latest Tag

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account

Sample Request

Javascript
Copy

This API will return the latest tag that has been generated for every combination of site & placement in this mediaPlan.

Sample Response

Javascript
Copy

Get List of Campaigns for a Media Plan

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account

Sample Request

Javascript
Copy

Sample Response

Javascript
Copy

Get Media Plan Details

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
mediaPlanIdstringMandatorypathID of the media plan associated with a given user account.

Sample Request

Javascript
Copy

Sample Response

Javascript
Copy