Hi,
Thank you for reaching out to the Google Ads Scripts Support team.
I would like to inform you that we don't have any specific method to get the script id. Currently we have only the methods referred to in the
AdsApp.ExecutionInfo documentation related to the script information.
Feel free to get back in case of any further queries.
Thanks,
Google Ads Scripts team