How to fully delete a Label

104 views
Skip to first unread message

Rob N

unread,
Jul 6, 2018, 5:11:43 AM7/6/18
to AdWords API and Google Ads API Forum
Hi,

I used the Java API to create a Label, then remove it. It looks like it doesn't go away, because subsequent queries show it with status "removed". Is there a way to really delete it? 

I used LabelServiceInterface.mutate, and a LabelOperation with Operator/REMOVE.

Rob

Bharani Cherukuri (AdWords API Team)

unread,
Jul 6, 2018, 3:23:01 PM7/6/18
to AdWords API and Google Ads API Forum
Hello Rob, 

You will be able to delete the label by following the steps mentioned under how to delete Label in this guide. Through the API, the REMOVE operator supports removing the association between the Label and the respective criteria. This will set the status to REMOVED. It cannot be used to delete the label completely. You will be able to use the LabelService.LabelOperation and use the REMOVE operator to remove the label completely.

Let me know if you have any other questions. 

Regards,
Bharani, AdWords API Team
Reply all
Reply to author
Forward
0 new messages