Hi,
Thank you for reaching out to the Google Ads Scripts support team.
I would recommend that you follow the documents “Ad Extensions” and “Getting stats” to create a script for getting the data of extensions such as call site links and callouts. Also, refer to the documents “AdsApp.CampaignSitelinkSelector”, “AdsApp.CampaignExtensions”, “AdsApp.CampaignCalloutSelector” for more information. You can use the “isLegacy()” method to check if an Ad extension is legal or not.
I hope this helps! Kindly get back to us if you still face any issues.
Thanks,
Google Ads Scripts team