Hi,
Have you tried also including a predicate on *CampaignStatus EQUALS
"ACTIVE"* (or *CampaignStatus IN ["ACTIVE", "PAUSED"]*)? My guess is that
when you're viewing the *Keywords* tab in the UI you are only looking at
active or non-deleted campaigns.
Cheers,
Josh, AdWords API Team
On Tuesday, May 13, 2014 1:50:50 PM UTC-4, Dan wrote:
>
> Hi all,
>
> I am trying to pull all non-deleted keywords from AdWords to use with the
> ReportDownloader.
> For this, I have to use the jaxb Selector.
>
> I am adding the following Predicate to my Selector:
>
> Predicate predicate1 = new Predicate();
>
> predicate1.setField("Status");
>
> predicate1.setOperator(PredicateOperator.EQUALS);
>
> predicate1.getValues().add(String.valueOf("ACTIVE"));
>
> selector.getPredicates().add(predicate1);
>
> However, this returns ALL keywords (over 250,000, of which the majority
> are in deleted campaigns). When I look at the "All but deleted keywords" in
> the AdWords web interface, I can see that there are only 12,000 active
> keywords.
>
> Is there something wrong with my predicate/selector?
>
> Thanks for any help!
>
>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
For more options, visit https://groups.google.com/d/optout.