Only one comment.

  1. marc_s

    You can set limit in query :

    const query = `SELECT campaign.id, campaign.name,metrics.clicks FROM campaign LIMIT 100`; const response = await customer.query({ query: query, page_size: 100, page_token: pageToken, }); console.log('Results:', response.results); pageToken = response.next_page_token;

    You can use do while loop for fetching all data until pageToken has value.

Add a new comment.