v1.0
Jivox API Documentation

Asset Validation

Overview

As a part of Campaign setup, asset source validation framework allows the user to validate the asset source data. The user should be notified with all the invalid rows in the asset source with a detailed listing of what is invalid. With this feature, the user is pre-informed of the invalid data coming in the feed, uploaded asset source or the asset sources created through the DCS.

Methods

Method NameMethod TypeDescription
Trigger Validation FrameworkGETTo trigger the asset validation for the data service id.
Get API to Download ReportGETTo get (download) the validation report.
Get API to view jsonGETTo view the validation report.

Trigger Validation Framework

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
dataServiceIdstringMandatorypathIt is a unique identifier for asset sources.

Sample Request

HTTP
Copy

Sample Response

JSON
Copy

In case the data service Id is not present in the database the response will be as shown below:

JSON
Copy

Status code: 400

In case the data service Id is present in the database but the columns are not eligible for validation then the response will be as shown below:

JSON
Copy

Status code: 400

GET API to download Report

Parameters

NameData TypeRequirementParameter TypeDescription
accountIdstringMandatorypathID of the advertiser account created on the platform.
dataServiceIdstringMandatorypathIt is a unique identifier for asset sources.

Sample Request

HTTP
Copy

Sample Response

JSON
Copy

Reports are downloaded on the user's system.

If no report is available for a data serviceID then the following is the response:

JSON
Copy

GET API to view json

Parameters

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

Sample Request

HTTP
Copy

Sample Response

1- If the validation framework status is “IN_PROGRESS" then the response is as below:

JSON
Copy

2- If the validation framework status is “VALID" then the response is as below:

JSON
Copy

3- If the validation framework status is “INVALID" then the response is as below:

JSON
Copy

4- If the validation framework status is “CANCELLED" or "FAILED"

JSON
Copy