v1.0
Jivox API Documentation

DV360

DV360, also known as Display and Video 360 is Google Marketing Platform’s demand-side platform (DSP) for programmatic media buying, allowing advertisers and marketers to activate media buys with maximum control. It offers a single tool for planning campaigns, designing and managing tags, organizing and applying audience data, finding and buying inventory, and measuring and optimizing campaigns.

The primary objective of the DV360 integration is to automate the Tag export to DV360 ie. It automates the current manual process of uploading tags in DV360, allowing users to seamlessly manage their tag association in DV360 for Jivox tags.

Methods

Method NameMethod TypeDescription
Get configurations listGETTo list all the dv 360 configurations created under the particular account
POST/PUT configurationPOSTTo create a dv360 configuration under the particular account.
DELETE specified configurationDELETETo delete the dv360 configuration under the particular account.
GET access token and refresh token for verifying partnerIdGETTo get the authentication from the user’s google account using OAuth2.0.
GET DV360 advertisersGETTo list all the advertisers listed under the given dv360 partnerId.
POST tags to DV360POSTTo traffic tags to dv360.
GET status of tagExport/cancelExportGETTo get the status of dv360 tag export
GET boolean value for generated tagsGETTo check whether tags have been generated for the jivox campaign or not
CANCEL tagExportPOSTTo cancel the ongoing tag trafficking

Get Configurations List

Parameters

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

Sample Request

HTTP
Copy

Sample Response

JSON
Copy

POST/PUT configuration

Parameters

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

Sample Request

HTTP
Copy

Request Body

JSON
Copy

Sample Response

JSON
Copy

DELETE specified configuration

Parameters

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

Sample Request

HTTP
Copy

Sample Response

JSON
Copy

GET Access Token and Refresh Token for verifying partnerId

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
partnerIdstringMandatorypathA unique ID of the partner account created under DV360.

Sample Request

HTTP
Copy

Authorization

User is redirected to Auth Screen where user can authorize.

Final redirect url : https://jvx.app.dev.jivox.com/studio/authstatus.php?data=

Query

Query param data is JSON of form :

{"partnerId":"5024333","message":"Authentication%20Successful","status":200}

Messages and Warnings

In case of successful authorization

  • status = 200

In case of failure

  • status=422

Example: https://jvx.app.dev.jivox.com/studio/authstatus.php?data={%22partnerId%22:%225024333%22,%22message%22:%22Authentication%20Successful%22,%22status%22:200}

GET DV360 Advertisers

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
partnerIdstringMandatorypathsA unique ID of the partner account created under DV360.

Sample Request

HTTP
Copy

Sample Response

JSON
Copy

POST tags to DV360

Call to DV360 server to export tags

Parameters

No parameters

Sample Request

HTTP
Copy

Request Body

JSON
Copy

Sample Response

JSON
Copy

Messages and Warnings

1- On successful start of exporting Tags:

  • Status Code : 202
  • Message = “Tag Export in Progress”

2- On successful export with some warning

  • Status Code : 210
  • Warning = possible warning

3- On Failure to fetch the required parameters for tagExport from db

  • Status Code : 422
  • Message = "Failed to get data from database"

4- On any other type of failure

  • Status Code : 500
  • Message and error would indicate reason for failure.

GET Status of tagExport/cancelExport

Parameters

No parameters

Sample Request

HTTP
Copy

Query Parameters

  1. configId
  2. jivoxCampaignId

Sample Response

JSON
Copy

Messages and Warnings

1- On successful export of all tags Tags

  • Status Code : 200
  • Message = “Tags exported successfully”

2- On successful export of few Tags, and few other tags as failed

  • Status Code : 200
  • Message = "Tags Export has finished, 1 tag(s) export failed"

3- On an ongoing process of exporting Tags

  • Status Code : 210
  • Message = "Tags trafficking is in progress. 20/100 tags have been associated, 1 failed"

4- On an ongoing process of cancelling Tags

  • Status Code : 310
  • Message = "Cancellation in progress, 20 tags are yet to be archived”

5- On successful cancellation of exportTags

  • Status Code:300
  • Message="Tags trafficking is stopped. 20/100 tags have been associated"

6- On successful export of few tags, and few other tags as failed:

  • Status Code : 200
  • Message = "Tags Export has finished, 1 tags export failed"

7- On Failure to fetch the required parameters for tagExport from db

  • Status Code : 422
  • Message = "Failed to get status from database"

8- On failure:500 and message and error would indicate reason for failure.

GET boolean value for generated tags(true if tags generated, false otherwise)

Parameters

No parameters

Sample Request

HTTP
Copy

Query Parameters

  1. jivoxCampaignId

Sample Response

JSON
Copy

Cancel tagExport

Parameters

No parameters

Sample Request

HTTP
Copy

Request Body

JSON
Copy

Sample Response

JSON
Copy

Messages and Warnings

1- On successful start of cancel Export

  • Status Code : 202
  • Message = “Export cancellation in progress”

2- On successful export with some warning

  • Status Code : 210
  • Warning = "possible warning"
  • Example - status code : 210, message = "Tag Exported has already completed", if the user tries to cancel after the tagExport has completed.

3- On failure

  • Status Code : 500
  • Message = "Message and Error would indicate reason for failure"

Get configId of already processing tag Export

Parameters

No parameters

Sample Request

HTTP
Copy

Query Parameters

  1. jivoxCampaignId

Sample Response

JSON
Copy

Messages and Warnings

1- On successful processing of ongoing tag Export

  • Status Code : 200 along with configId and batchId of the ongoing tagExport

3- On failure

  • Status Code : 422 (For Database error) or 500(For any other exception)