Bitrix Site Manager

CAdv::Reset

bool
CAdv::Reset(
 int adv_id
)

The method Reset clears statistical information on an advertising campaign.

Parameters

Parameter Description
adv_id The advertising campaign ID.

See Also

Example



<?
$adv_id = 1;
if (CAdv::Reset($adv_id)) 
    echo "Information on the advertising campaign #".$adv_id." has been deleted.";
?>