Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

2016-10-13 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Cindy, In that case, I would recommend keeping the Campaign ID / Ad Group ID - Keyword mapping saved in your local database. You can first perform a basic check on whether an ad group / campaign exists before performing updates on the keyword. Multiple sanity check actions can be grouped

Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

2016-10-13 Thread Cindy J
Thanks Vishal! I also found there's such limit: - When using IN and NOT_IN operators in your WHERE clause, you are limited to 10,000 items. So the best solution would require multiple get to fetch all keywords then? On Thursday, October 13, 2016 at 1:57:36 PM UTC-5, Vishal Vinayak

Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

2016-10-13 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Cindy, That is correct. You may see the OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error if you try to update an entity that is already been removed.

How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

2016-10-13 Thread Cindy J
Hi there, I have an account with about 100,000 ad groups, millions of keywords and many campaigns. While I was trying to update keywords, it's quite often to have OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error. I know I could use campaignService and adGroupService to retrieve active

Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY

2015-11-18 Thread Josh Radcliff (AdWords API Team)
Hi, *CampaignService.get *refers to the get method of CampaignService , which you can use to retrieve your campaigns. Check out the GetCampaigns Java example

Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY

2015-11-18 Thread Charlie Muir
What is *CampaignService.get?* On Thursday, October 23, 2014 at 6:37:09 AM UTC-7, Josh Radcliff (AdWords API Team) wrote: > > Hi Pino, > > You're probably getting that error because the *Campaign* that contains > the *AdGroup* of the *AdGroupAd* has been removed. Once a *Campaign *has > been

Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY

2014-10-23 Thread Josh Radcliff (AdWords API Team)
Hi Pino, You're probably getting that error because the *Campaign* that contains the *AdGroup* of the *AdGroupAd* has been removed. Once a *Campaign *has been removed you can no longer mutate any attributes of its *AdGroups*. To limit to *AdGroups* that are neither removed nor are in removed

How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY

2014-10-22 Thread Jose Luis Lopez Pino
Hi, I'm trying to update (remove and add) the ads of several adgroups, but frequently I get an OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error when I try to remove the old ads. To try to avoid this, I'm including the following condition in all the selectors to ensure