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 Name | Method Type | Description |
---|---|---|
Get configurations list | GET | To list all the dv 360 configurations created under the particular account |
POST/PUT configuration | POST | To create a dv360 configuration under the particular account. |
DELETE specified configuration | DELETE | To delete the dv360 configuration under the particular account. |
GET access token and refresh token for verifying partnerId | GET | To get the authentication from the user’s google account using OAuth2.0. |
GET DV360 advertisers | GET | To list all the advertisers listed under the given dv360 partnerId. |
POST tags to DV360 | POST | To traffic tags to dv360. |
GET status of tagExport/cancelExport | GET | To get the status of dv360 tag export |
GET boolean value for generated tags | GET | To check whether tags have been generated for the jivox campaign or not |
CANCEL tagExport | POST | To cancel the ongoing tag trafficking |
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/accounts/:accountId/dv360-configurations
Sample Response
xxxxxxxxxx
{
“configurations” :
[
{
"configId" : Int,
“configName” : “String”,
“dv360PartnerId” : Long,
"dv360AdvertiserId" : Long,
"dv360AdvertiserName" : “String”,
"jivoxAdvertiserId": Long
},
{
"configId" : Int,
“configName” : “String”,
“dv360PartnerId” : Long,
"dv360AdvertiserId" : Long,
"dv360AdvertiserName" : “String”,
"jivoxAdvertiserId": Long
}
]
}
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
xxxxxxxxxx
POST http://demo.stub.api.jivox.com/v2/accounts/:accountId/dv360-configurations
Request Body
xxxxxxxxxx
{
"accountId" : Int,
“dv360PartnerId” : Long,
“dv360AdvertiserId” : Long,
"dv360AdvertiserName" : “String”,
“configName” : “string”
}
Sample Response
xxxxxxxxxx
{
“status” : <STATUS_CODE>,
“message” : <MESSAGE>,
“warning” : <String>(Optional),
“error” : <String>(Present in case of failed request, reason for failure)
}
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
configId | string | Mandatory | path | ID of the configuration |
Sample Request
xxxxxxxxxx
DELETE http://demo.stub.api.jivox.com/v2/accounts/:accountId/dv360-configurations/:configId
Sample Response
xxxxxxxxxx
{
“Status” : Status Code,
“Message” : “String” (configId of the deleted configuration if successfull else error)
}
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
partnerId | string | Mandatory | path | A unique ID of the partner account created under DV360. |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/accounts/:accountId/dv360-configurations/:partnerId/auth-gateway
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
In case of failure
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
partnerId | string | Mandatory | paths | A unique ID of the partner account created under DV360. |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/accounts/:accountId/dv360-configurations/:partnerId/advertisers
Sample Response
xxxxxxxxxx
STATUS CODE : 200
{
"status": "SUCCESS",
"advertisersList" : [
{
"id" : LONG,
"name" : STRING
}
]
}
OR
STATUS CODE : 500
{
"status":"FAILED",
"error": STRING,
}
Call to DV360 server to export tags
Parameters
No parameters
Sample Request
xxxxxxxxxx
POST http://demo.stub.api.jivox.com/jivox/serverApis/dv360/exportTags
Request Body
xxxxxxxxxx
{
"configId" : Int,
"jivoxCampaignId" : Long
}
Sample Response
xxxxxxxxxx
{
status : <STATUS_CODE>,
message : <MESSAGE>,
warning : <String>(Optional),
error : <String>(Present in case of failed request, reason for failure)
}
Messages and Warnings
1- On successful start of exporting Tags:
2- On successful export with some warning
3- On Failure to fetch the required parameters for tagExport from db
4- On any other type of failure
Parameters
No parameters
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/jivox/serverApis/dv360/checkStatus
Query Parameters
Sample Response
xxxxxxxxxx
{
status : <STATUS_CODE>,
message : <MESSAGE>,
warning : <String>(Optional),
error : <String>(Present in case of failed request, reason for failure)
}
Messages and Warnings
1- On successful export of all tags Tags
2- On successful export of few Tags, and few other tags as failed
3- On an ongoing process of exporting Tags
4- On an ongoing process of cancelling Tags
5- On successful cancellation of exportTags
6- On successful export of few tags, and few other tags as failed:
7- On Failure to fetch the required parameters for tagExport from db
8- On failure:500 and message and error would indicate reason for failure.
Parameters
No parameters
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/jivox/serverApis/dv360/tags
Query Parameters
Sample Response
xxxxxxxxxx
STATUS CODE : 200
{
"status": "SUCCESS",
"tagsGenerated" : "true" or "false"
}
OR
STATUS CODE : 500
{
"status":"FAILED",
"error": STRING,
}
Parameters
No parameters
Sample Request
xxxxxxxxxx
POST http://demo.stub.api.jivox.com/jivox/serverApis/dv360/cancelExport
Request Body
xxxxxxxxxx
{
"configId" : Int,
"jivoxCampaignId" : Long
}
Sample Response
xxxxxxxxxx
{
status : <STATUS_CODE>,
message : <MESSAGE>,
warning : <String>(Optional),
error : <String>(Present in case of failed request, reason for failure)
}
Messages and Warnings
1- On successful start of cancel Export
2- On successful export with some warning
3- On failure
Parameters
No parameters
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/jivox/serverApis/dv360/alreadyProcessing
Query Parameters
Sample Response
xxxxxxxxxx
{
status : <STATUS_CODE>,
configId : <INTEGER>,
batchId : <STRING>,
message : <MESSAGE>,
error : <String>(Present in case of failed request, reason for failure)
}
Messages and Warnings
1- On successful processing of ongoing tag Export
3- On failure