postgresql connection to adscript

1,056 views
Skip to first unread message

ISMAIL TAIBANI

unread,
Oct 8, 2021, 7:35:38 AM10/8/21
to Google Ads Scripts Forum
wants to connect the ads script with my postgres database will it be possible ??

i m providing connection as shown below:
  var conn = Jdbc.getConnection('jdbc:postgresql://host:port/optimization_test_yt',{user: 'xx', password: 'xx'});


but it throws error as shown below
"Connection URL uses an unsupported JDBC protocol"

how can i connect my postgres db to ad script

Google Ads Scripts Forum Advisor

unread,
Oct 11, 2021, 2:08:48 AM10/11/21
to adwords...@googlegroups.com
Hi Ismail,

Thanks for reaching out. Harry here, from the Google Ads Scripts Team.

As per checking, the JDBC service only supports Google Cloud SQL MySQL, MySQL, Microsoft SQL Server, and Oracle databases. For better assistance and for other alternative services you can use, kindly reach out to the Google App Script Team / Community through this link.

If you have other questions/concerns specific to Google Ads scripts, please do let me know.

Thanks,
Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2PHy2q:ref
Reply all
Reply to author
Forward
0 new messages