mutateAdGroups error

111 views
Skip to first unread message

jubap...@gmail.com

unread,
Jul 14, 2022, 3:23:54 PM7/14/22
to Google Ads API and AdWords API Forum
Hi, I am testing my remove ad group scripts.

The error message is below:

Request made: ClientCustomerId: 1711243173, Host: googleads.googleapis.com, Method: /google.ads.googleads.v9.services.AdGroupService/MutateAdGroups, RequestId: 56FSRKZAfpzf-QmyJY4KEQ, IsFault: True, FaultMessage: This operation is not allowed because the resource is removed.

I had created this group of four ad groups before, and using my remove function in example library, it work once. But after I create with the same group of four names, and want to remove these again, it shows the error message.

Does it mean I can not create the ad group with same name and delete them serval times?  Even if I remove this resource, it will permanently exist. and the remove mutate function will mark this ad group as removed, and can't create an ad group with the same name, only can use the existing resource to recover the ad group? 
 
Thank you 

Google Ads API Forum Advisor

unread,
Jul 15, 2022, 1:11:12 AM7/15/22
to jubap...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

Moving forward to your concern, "Does it mean I can not create the ad group with same name and delete them serval times? Even if I remove this resource, it will permanently exist. and the remove mutate function will mark this ad group as removed, and can't create an ad group with the same name, only can use the existing resource to recover the ad group?", yes you can't. An Ad group name must be unique and the deleted ad group name will stay forever in the account.

If you have other concerns, feel free to reply in these thread.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


ref:_00D1U1174p._5004Q2cWE5J:ref

jubap...@gmail.com

unread,
Jul 15, 2022, 1:15:45 PM7/15/22
to Google Ads API and AdWords API Forum

got it. thanks for your help
Reply all
Reply to author
Forward
0 new messages