Google Ads Weather management script

561 views
Skip to first unread message

Samaradigital

unread,
Jul 10, 2023, 9:56:40 AM7/10/23
to Google Ads Scripts Forum
Hi, I implemented the weather management script in my google ads account. I created a separate spreadsheet with all the information and pasted the URL in the code. I also put the API Key. How can I make the API call? Can I do it directly in the script or do I have to create a separate sheet?
Thank you

Google Ads Scripts Forum

unread,
Jul 24, 2023, 3:16:03 PM7/24/23
to Google Ads Scripts Forum
Reposting the last inquiry (https://groups.google.com/g/adwords-scripts/c/M5GPHGcZij4) from the forum as it wasn't routed to our support queue.

Regards,
Google Ads Scripts Support Team

Google Ads Scripts Forum

unread,
Jul 24, 2023, 3:28:58 PM7/24/23
to Google Ads Scripts Forum
Hi,

If you're referring to the Bid by Weather (https://developers.google.com/google-ads/scripts/docs/solutions/bid-by-weather?hl=en#source_code) solution script, then the script itself handles the API call inside the getWeather(location) function. It utilizes UrlFetchApp to interact with a third-party API. You may check this link (https://developers.google.com/google-ads/scripts/docs/features/third-party-apis) for additional information.

If you have an additional clarification, kindly elaborate your concern so we can further investigate and assist you.

Regards,
Google Ads Scripts Support Team

Reply all
Reply to author
Forward
0 new messages