Hi
I am trying to get all ad groups in a campaign that have clicks greater
than zero.
here is the xml body
<serviceSelector>
<fields>Id</fields>
<fields>Name</fields>
<fields>Clicks</fields>
<predicates>
<field>Clicks</field>
<operator>GREATER_THAN</operator>
<values>0</values>
</predicates>
<predicates>
<field>CampaignId</field>
<operator>EQUALS</operator>
<values>xxxxxxxx</values>
</predicates>
<ordering>
<field>Name</field>
<sortOrder>ASCENDING</sortOrder>
</ordering>
<paging>
<startIndex>0</startIndex>
<numberResults>5</numberResults>
</paging>
</serviceSelector>
But I get all the adgroups in the campaign.. its not filtered on clicks..
does the predicate operator act as OR if i provide multiple?
I am using the ruby gem for the api..
Any thoughts would be much appreciated..
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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