Is it possible to permanently remove those AdGroup, Ads, Keywords from a deleted campaign?

43 views
Skip to first unread message

matthew tang

unread,
Jun 16, 2020, 4:26:47 AM6/16/20
to AdWords API and Google Ads API Forum
As mentioned, we are successfully imported Google Ads Campaigns in Enabled, Paused Status,
yet we are getting all AdGroups, Ads, Keywords even those parent campaigns have been removed.
Would be pleased to get Google's solutions to permanently  remove those AdGroups, Ads, Keywords that belongs to the deleted campaigns.

The documents of 'Remove an ad group', 'Remove a keyword' are not functionable as these required.
Errors popped out with '[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY @ operations[0]; trigger:'AdGroup']'.


Many thanks.
Matthew

Google Ads API Forum Advisor Prod

unread,
Jun 16, 2020, 1:12:10 PM6/16/20
to matthew....@gmail.com, adwor...@googlegroups.com
Hi Matthew,

Thank you for reaching out. Unfortunately, you cannot make any changes to entities belonging to a removed campaign, so deleting them would not be possible via API. There is no way to bypass the OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY mechanism since this is in place to check the system's integrity. 

I suggest selecting only active campaigns and ad groups when trying to run update requests in order to avoid this error. Let me know if you have additional questions.

Regards,
Danica, Google Ads API Team
 

ref:_00D1U1174p._5004Q20ZCx9:ref

matthew tang

unread,
Jun 16, 2020, 11:46:50 PM6/16/20
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Hi Danica,

Thanks for the updates. Will try on your suggestion.

Best regards,
Matthew
Reply all
Reply to author
Forward
0 new messages