Added
Oct 21st, 2022
almost 3 years ago by Moloco Dev
New error code added on ValidateTrackingLink API response
ValidateTrackingLink API responseWe are now converts TrackingLink if it contains the Moloco Legacy Macro on Creation or Update. With this change, we show the converted format of TrackingLink in advance via ValidateTrackingLink.
- new
error_codeCONTAINS_LEGACY_MACROhad been added. The fieldparamswill containsconverted_linkas key and converted link as the value.
// ValidateTrackingLink Request Body
{
"device_os": "ANDROID",
"tracking_company": "APPSFLYER",
"click_through_link": {
"url": "https://app.appsflyer.com/test.com?advertising_id=%{a_idfa}&af_sub4=%{source}&pid=moloco_int"
}
}
// ValidateTrackingLink Response Body
{
"status": "PASSED",
"validation_warnings_click_through_link": [
{
"error_code": "CONTAINS_LEGACY_MACRO",
"params": {
"converted_link": "https://app.appsflyer.com/test.com?advertising_id={{device.gaid}}&af_sub4={{mtid}}&pid=moloco_int"
},
"error_msg": "the link contains legacy macro: it will be converted automatically to the latest format"
}
]
}