Bitrix Site Manager

CAdv::Delete

bool
CAdv::Delete(
 int adv_id
)

The method Delete deletes an advertising campaign.

Parameters

Parameter Description
adv_id The ID of the advertising campaign to be deleted.

See Also

Example



<?
$adv_id = 1;
if (CAdv::Delete($adv_id)) 
    echo "Advertising campaign #".$adv_id." has been deleted.";
?>