Hi,

I believe you can include AdGroupStatus = ENABLED and CampaignStatus = 
ENABLED in the AWQL, though these aren't directly part of the 
AdGroupCriterion object. If that doesn't work, you'd have to do this 
yourself by fetching the campaigns and adgroups first using CampaignService 
and AdGroupService.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, August 22, 2014 3:09:34 AM UTC-4, [email protected] 
wrote:
>
> Hi, 
>
> I have a question realted to this issue: I have a program which toggles 
> the state of some adgroups between enabled and paused.
> Since I determine which adgroups are affected by searching for certain 
> keywords. I will now run into problems, if I detect a keyword which ia 
> associated wit an deactivated adgroup
>
> Is it possible to write a selector, which will find only keywords 
> associated with a adgroups and campaigns which are not removed. As fas as I 
> have seen I can include the field userStatus and filter for enabled 
> keyword. But this will still find all enabled keywords, which are 
> associated with removed adwords and will trigger an error if I try to 
> change the status of the adgroup
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/69bb1482-f872-44ba-92cd-f700c981f156%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to