FeedItemService limit issue

32 views
Skip to first unread message

Дмитрий Дмитриевич

unread,
Aug 26, 2015, 5:15:02 AM8/26/15
to AdWords API Forum
Hello!
I'm trying to get my feed items by using code bellow:

$feedItemService = $user->GetService('FeedItemService', 'v201506');
$page = $feedItemService->query('SELECT AttributeValues WHERE '
. 'Status = "ENABLED" AND FeedId = '.$feedId.'');

As a result I obtain 10000 items but my feed contains over than 10000 items. I try to use something like this:

$feedItemService = $user->GetService('FeedItemService', 'v201506');
$page = $feedItemService->query('SELECT AttributeValues WHERE '
. 'Status = "ENABLED" AND FeedId = '.$feedId.'LIMIT 10000,100');

but get error message like this:

[QueryError{reason=PARSING_FAILED, message=}] ...

Could you please tell me, how can I obtain all items of my feed?

Umesh Dengale

unread,
Aug 26, 2015, 12:15:55 PM8/26/15
to AdWords API Forum
Hello,

In the AdWords API, the request will return 10,000 records per page. Please check out our GetCampaignsWithAwql PHP example to know more about implementing the paging

Thanks,
Umesh, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages