GET DATA FROM TRACKING APPLICATION TO GOOGEL SHEET

42 views
Skip to first unread message

Bao Ho

unread,
Nov 10, 2022, 8:33:02 AM11/10/22
to Google Apps Script Community
Hello everyone,

I'm an account marketing, today I stuck with getting data from Appsflyer.
I ask for help from my co-worker, he use apps script with the code below. With that code I get data from AppsFlyers easily. By this code I count every single data but it no needed. So If I want to get specific data from Appsflyer, How do I do it? 

Thanks for you help. 

function updateDataAF_DLY_IOS() {
 var as = SpreadsheetApp.getActiveSpreadsheet();
 var sheet_af_dly_ios = as.getSheetByName('eKYC - Rawdata');
 
 var options = {muteHttpExceptions: true};
 var response = UrlFetchApp.fetch(url,options);
 var Dataraw = response.getContentText();
 var csvData = Utilities.parseCsv(Dataraw);
  sheet_af_dly_ios.getRange(1, 4, csvData.length, csvData[0].length).setValues(csvData);
 Logger.log("-----------Function2: Done-----------")
Reply all
Reply to author
Forward
0 new messages