ScriptApp object/entity is not supported in AdWords Scripts. If you are using this entity for the purpose of accessing the script services like Spreadsheet and Mail, then, these services have their own object/entity to use. For Mail, you can use MailApp. For Spreadsheet, you can use SpreadsheetApp. You can check the examples
here for the script services/utilities.
Let me know if this helps.