You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi All Dear Friends,
i m trying to delete/remove keywords by setting their status "REMOVE"
like
$adGroupCriterion->userStatus = 'REMOVE';
But it;s not working but if i test other status like ACTIVE, PAUSED
then then it's working file.
so please help me here how to delete keywords. following is my code.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion->adGroupId = $adGroupId;
$adGroupCriterion->criterion = new Criterion($criterionId);
// $adGroupCriterion->userStatus = 'PAUSED'; // use to pause keyword
// $adGroupCriterion->userStatus = 'REMOVE'; // use to remove/delete
keyword
// $adGroupCriterion->userStatus = 'ACTIVE'; // use to activate
keyword
$adGroupCriterion->userStatus = 'REMOVE';
Thanks in advance.
AdWords API Advisor
unread,
Jul 7, 2010, 3:06:23 PM7/7/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi,
You need to use the REMOVE operator to delete a keyword. An example
of this is included in the AdWords API PHP client library: