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 Name | Method Type | Description |
|---|---|---|
| Trigger Validation Framework | GET | To trigger the asset validation for the data service id. |
| Get API to Download Report | GET | To get (download) the validation report. |
| Get API to view json | GET | To view the validation report. |
Parameters
| Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
| accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
| dataServiceId | string | Mandatory | path | It is a unique identifier for asset sources. |
Sample Request
xxxxxxxxxxSample Response
xxxxxxxxxxIn case the data service Id is not present in the database the response will be as shown below:
xxxxxxxxxxStatus 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:
xxxxxxxxxxStatus code: 400
Parameters
| Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
| accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
| dataServiceId | string | Mandatory | path | It is a unique identifier for asset sources. |
Sample Request
xxxxxxxxxxSample Response
xxxxxxxxxxReports are downloaded on the user's system. |
If no report is available for a data serviceID then the following is the response:
xxxxxxxxxxParameters
| Name | Data Type | Requirement | Parameter Type | Description |
|---|---|---|---|---|
| accountId | string | Mandatory | path | ID of the advertiser account created on the platform. |
| dataServiceId | string | Mandatory | path |
Sample Request
xxxxxxxxxxSample Response
1- If the validation framework status is “IN_PROGRESS" then the response is as below:
xxxxxxxxxx2- If the validation framework status is “VALID" then the response is as below:
xxxxxxxxxx3- If the validation framework status is “INVALID" then the response is as below:
xxxxxxxxxx4- If the validation framework status is “CANCELLED" or "FAILED"
xxxxxxxxxx