I'm seeing some weird behavior, hoping someone else has seen it as well.
I'm querying for campaign criteria, with a list of campaign ids as the
only predicate. I've got paging turned on, with a page size of 5000. The
first response gives me 71 criteria, and says there are a total of 79. I
pull the second page, and get the final 8 criteria. But all 8 of those are
duplicates.
The dupes are for multiple campaigns, and there are multiple criteria types
in there as well.
I assumed that I was simply missing a field that would differentiate the
two, but damned if I can figure out which.
<serviceSelector xsi3:type="cm:Selector">
<cm:fields>Address</cm:fields>
<cm:fields>AgeRangeType</cm:fields>
<cm:fields>CampaignId</cm:fields>
<cm:fields>CriteriaType</cm:fields>
<cm:fields>DisplayType</cm:fields>
<cm:fields>GeoPoint</cm:fields>
<cm:fields>Id</cm:fields>
<cm:fields>IsObsolete</cm:fields>
<cm:fields>KeywordMatchType</cm:fields>
<cm:fields>KeywordText</cm:fields>
<cm:fields>LanguageCode</cm:fields>
<cm:fields>LanguageName</cm:fields>
<cm:fields>LocationName</cm:fields>
<cm:fields>ParentLocations</cm:fields>
<cm:fields>PlacementUrl</cm:fields>
<cm:fields>PlatformName</cm:fields>
<cm:fields>RadiusDistanceUnits</cm:fields>
<cm:fields>RadiusInUnits</cm:fields>
<cm:predicates xsi3:type="cm:Predicate">
<cm:field>CampaignId</cm:field>
<cm:operator>IN</cm:operator>
<SNIP CAMPAIGN IDS>
</cm:predicates>
<cm:paging xsi3:type="cm:Paging">
<cm:startIndex>0</cm:startIndex>
<cm:numberResults>5000</cm:numberResults>
</cm:paging>
</serviceSelector>
This is in python, with adspygoogle 15.1.4.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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