Start Index and End Index

77 views
Skip to first unread message

Robert

unread,
Jan 14, 2011, 8:14:09 PM1/14/11
to google-analytics...@googlegroups.com
How can I specify an "end index"? I'm using iOS and the provided API has a class called GDataQueryAnalytics which has a function setMaxResults that takes in an integer. However when I specify any value for setMaxResults, it does not seem to work, and I can't seem to control how many entries are returned. But what does work is setStartIndex, however that doesn't do much if I can't specify the max-results, so is there a way to set the endIndex?

Robert

unread,
Jan 14, 2011, 8:26:33 PM1/14/11
to google-analytics...@googlegroups.com
In addition, on this link:

http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDataFeed.html#startIndex

it specifies that "If you do not use the max-results parameter in your query, your feed returns the default maximum of 1000 entries." When I don't specify a max-results, I can get more than 1000 back.

How can I restrict the number of entries I am returned.

Nick

unread,
Jan 18, 2011, 8:28:12 PM1/18/11
to google-analytics-api - GA Data Export API
You should use the max-results parameter to get a maximum number of
entries.

We don't support the iOS client lib. Maybe they have an error. I'd
check with the author.

Thanks!
-Nick

On Jan 14, 5:26 pm, Robert <robertseisin...@gmail.com> wrote:
> In addition, on this link:
>
> http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDataFe...
Reply all
Reply to author
Forward
0 new messages