Hello,

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 
*Campaigns*, you can do the following:

1. Use *CampaignService.get* to select all *Campaigns* with *Status = 
'REMOVED'*, and store those *Campaign* IDs.

2. When selecting *AdGroups* via *AdGroupService.get*, include two 
predicates:

  a. *Status IN ['ENABLED', 'PAUSED']*

  b. *CampaignId NOT_IN [* *list of removed campaign IDs from step 1 ]*

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4ca02cb1-2eee-4df9-849e-ab45db91f198%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to