Fetching sitelinks and extensions

29 views
Skip to first unread message

Poojan Shah

unread,
Jun 18, 2024, 5:46:31 AM (3 days ago) Jun 18
to Google Ads Scripts Forum
Hello, i want to fetch data from campaigns such as sitelinks, extensions and callouts and show it in google sheets. Also it should mention if it is enabled or disabled. 

Google Ads Scripts Forum

unread,
Jun 20, 2024, 8:29:04 AM (yesterday) Jun 20
to Google Ads Scripts Forum

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

Reply all
Reply to author
Forward
0 new messages