Not all Keyword returned by AdGroupCriterionServiceInterface

51 views
Skip to first unread message

assaf

unread,
Nov 15, 2014, 1:06:32 PM11/15/14
to adwor...@googlegroups.com
Hi,

I witness strange behavior that the  AdGroupCriterionServiceInterface does not return all the keywords defined under certain adgroups.
This happened in a certain account for 2 different adgroups.
I thought it might be some kind of paging issue (too many adgroups or keywords) but added a few other keywords as well and these
were returned just fine.

Any specific reason why this can happen?

I appreciate any input on the matter,

Thanks


Josh Radcliff (AdWords API Team)

unread,
Nov 17, 2014, 11:13:55 AM11/17/14
to adwor...@googlegroups.com
Hi,

Do you have any filters/predicates defined in your Selector, e.g., filters on the criterion's status?

If that doesn't explain the behavior, please send along the AdGroup ID and the IDs of the missing criteria.

Thanks,
Josh, AdWords API Team

assaf

unread,
Nov 18, 2014, 3:09:30 PM11/18/14
to adwor...@googlegroups.com
Hi Josh,

I have 2 predicates - for Status (Paused and Enabled) and according to AdgroupIDs.
The keywords missing are enabled and belong to the specific adgroup.

for Example -

AdgroupID = 7062803524

I don't have the IDs of missing keywords but at the moment the API returns only 16 keywords while in Web interface there are 34.

I Say at the moment because that last time I checked (over the past weekend) this adgroup was missing only 3 keywords and now this number got greater.
I also see now that missing keyword in another adgroup are "back" now and the number is the same (API vs. Web interface).
No Code changes were done in this period to explain the change in numbers.

Josh Radcliff (AdWords API Team)

unread,
Nov 19, 2014, 1:28:25 PM11/19/14
to adwor...@googlegroups.com
Hi,

Please double-check the complete output from your request and make sure you are requesting all pages. When I ran a request for all AdGroupCriterion for your ad group ID with CriterionUse = 'BIDDABLE' I got back 102 entries in total. With a page size of 100, this meant that I had to submit two requests: one with startIndex 0 and another with startIndex 100.

I actually didn't catch this on the first run because the JVM interleaved SOAP request and response logging with output from the System.out.print.. calls in the GetKeywords.java example.

You may be wondering why you get 102 results back when you only have 34 keywords in total in that ad group. As it turns out, there's an issue we're investigating where if you include the MatchType field in your selector you'll get back the same criterion multiple times in the response (34 * 3 = 102). If you remove MatchType from your selector fields then you should only get back each criterion once.

Cheers,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages