Translations:On Response/9/ru
function(response) {
if (response.block == 1) {
// blocked click
window.location = 'some.url';
} else if (response.fraud == 1) {
// bot
window.location = 'some.url';
} else {
// not a bot
showAd();
}
}