Python 如何使用start index参数获取访问群体列表

Python 如何使用start index参数获取访问群体列表,python,api,google-analytics,google-api,google-analytics-api,Python,Api,Google Analytics,Google Api,Google Analytics Api,我想在从1001个位置开始向Python请求时获得受众列表。在谷歌管理API网站上有一篇文章说,你可以使用其他选项。但是当使用 audiences = service.management().remarketingAudience().list( accountId='111111', webPropertyId='UA-111111-1' max-results=1000, start-index=1001 ). execute() 出现错误:max results=1000,语法错误

我想在从1001个位置开始向Python请求时获得受众列表。在谷歌管理API网站上有一篇文章说,你可以使用其他选项。但是当使用

audiences = service.management().remarketingAudience().list(
accountId='111111',  
webPropertyId='UA-111111-1'
max-results=1000,
start-index=1001
). execute()

出现错误:max results=1000,语法错误:关键字不能是表达式

Yes,start\u index&max\u results有效。非常感谢。是的,开始索引和最大结果工作。非常感谢。