Hi,

I'm trying to filter keywords by status. I only want to get keywords that 
have an active status. I was able to do this with ads by adding the 
following predicate to the selector:

$selector->predicates[] = new Predicate('Status','EQUALS','ENABLED'); 

With keywords, on the other hand, I got an invalid predicate error. I 
looked into the AdGroupCriterion object hierarchy and didn't see any status 
attribute. Is there any way to do this? 

What I plan to do is to get all the active elements from certain campaigns, 
I'm setting selectors with the predicate above and then counting all page 
entries, not sure if this is the best way to do it.

Thanks,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to