Thank you for your responses! Just to update everyone, I have resolved the issues I have posted here. Please see the responses to the above problems below:
I have been using folder.createFile(Blob) to create PDF files from Google Apps Script and have not encountered an issue with daily quota so far. This is the case even if I generate > 900 of such files within one day. Hence, I have reason to believe that the create Documents quota listed under: https://developers.google.com/apps-script/guides/services/quotas does not apply to the creation of PDF files.
Following Kessy's comment, I have decided to manually record my quota consumption using a simple script. This was achieved by creating a new sheet in my workbook, and updating the sheet every time a fetchURL call is implemented. The script is as follows:
var log = SpreadsheetApp.openById(logSheet_ssId).getSheetByName("logSheet")
var fetch_count = log.getRange(1,1).setValue(log.getRange(1,1).getValue() + 1)
var fetch_time = log.getRange(1,2).setValue(new Date())
...where the total number of fetchURL calls is updated in cell (row = 1, col = 1) using fetch_count
, with a timestamp in cell (row = 1, col = 2) showing when the last fetchURL was called (fetch_time
). This helps me to keep track and manage my fetchURL quotas better.
- Following what I did in questions 1 and 2, I realised that there wasn't a need for me to temporarily increase my quotas for my event. As such, I did not look into a solution for question 3.
Hope my findings are useful to those of you who are facing similar issues! Have a good day!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…