简体   繁体   中英

How to Connect Google Data Studio with Google App Script?

I searched a lot on Internet, I think, not much or no one worked on Google Data Studio on scripting level. API's are available but I don't know how can I connect my Data Studio project with script to run any stuff using scripting.

To connect script with other Google Apps we write scripts which communicate with the following API's:

var GoogleSheet= SpreadsheetApp.getActiveSpreadsheet();
var Googleform = FormApp.openById('SOME-ID');
etc.

But to connect with Data Studio there is something different which not defines from which data studio project we are connecting:

var GoogleDataStudio = DataStudioApp().createCommunityConnector();

It Maybe be simple, but there is no straight source available to define its simplicity of connecting Data Studio with Google Script.

I want to connect my data studio specific schema with script to work on fields to automate filtering etc.

Please help me at that place. I will be huge Thankful to you.

DataStudioApp in Apps Script works as a helper library for creating Community Connectors for Data Studio. It is currently not possible to use Apps Script to interact with Data Studio the same way one would interact with Sheets or Docs. You cannot use Apps Script to manipulate Data Studio reports or data sources.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM