What if I don't specify paging field while making a get request then maximum how many records will be retrieved?

6 views
Skip to first unread message

Ankit Agarwal

unread,
Jul 16, 2019, 6:51:28 AM7/16/19
to AdWords API and Google Ads API Forum
selector = {
   
:fields => ['Id', 'CriteriaType', 'KeywordText'],
   
:predicates => [
     
{:field => 'CampaignId', :operator => 'EQUALS', :values => [campaign_id]}
   
],
   
:paging => {
     
:start_index => 0,
     
:number_results => PAGE_SIZE
   
}
 
}

Google Ads API Forum Advisor Prod

unread,
Jul 16, 2019, 1:18:03 PM7/16/19
to ankit....@lsasoftware.com, adwor...@googlegroups.com
Hi Ankit, 

If the page_size is not specified, it is automatically set to the maximum allowed page_size which is 10,000. Please refer to this section of the guide for more information.

Let me know if you have any questions. 

Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001U8Lew1:ref
Reply all
Reply to author
Forward
0 new messages