Output
Looker Studio
The SignalBraid Looker Studio connector, which is in development, and how it is designed to work.
Status
Section titled “Status”The Looker Studio connector is in development. It is not published in the Looker Studio connector gallery, it is not deployed, and it has not been verified with a real report. There is no go-live date, and you cannot connect to it today.
Three different things are tracked separately here, and none of them is true yet beyond the first:
- Implemented: the connector’s code is in the SignalBraid repository, including its schema, its data requests, its per-user cache and the connection and account picker. It is unit-tested with stand-ins for the Apps Script and Looker Studio runtimes; it has not run in either.
- Deployed: the connector is installed as a versioned Apps Script deployment and the public API host it calls is live; this has not happened.
- Live-verified: a real Looker Studio report was compared with the same query made over REST and the numbers matched; this has not happened.
The rest of this page describes how the implemented connector behaves, so you can judge it and plan around it. None of it has run in a real report, so treat it as a description of the code, not as something you can rely on today. The registry entry for Looker Studio reads “in development” and nothing more.
What it is
Section titled “What it is”A Looker Studio community connector, written in Google Apps Script. It reads the same published data
as the REST API: when a report asks for data, the connector makes a
POST /v1/query request with your API key and hands the rows to Looker Studio.
It adds no arithmetic of its own to a result, and it uses no private endpoint.
How you will connect
Section titled “How you will connect”- Create an API key with the
query:readscope in SignalBraid. Use a key just for Looker Studio, so it can be revoked on its own. See Authentication. - When you add the connector to a data source, Looker Studio asks for the key. The connector checks it with one authenticated request to SignalBraid and stores it only if SignalBraid accepts it.
- The key is stored by Google, in the Apps Script user properties of your own Looker Studio user. It is not kept in script properties, in a cache or in a log, and it is sent only as a bearer credential to the SignalBraid API. SignalBraid cannot delete a key from Google’s storage. Revoking the key in SignalBraid is what stops it working, and the connector then asks for a new one.
- Choose a connector and a connection. The picker is designed to be filled from your workspace’s
connections (
GET /v1/connections, which lists ids only), with each connection offering its accounts, and to let you type the connection id and the account id yourself if a list cannot be loaded. The picker is unit-tested with stand-ins only.
Because the connector is not published, Google would show its own screen for an unreviewed connector when you first authorize it. That screen comes from Google and is not a SignalBraid warning.
Identifying the connector
Section titled “Identifying the connector”Requests from the connector are designed to carry a SignalBraid-Client: looker-studio/<version>
header, with ; sample added for a sample query Looker Studio makes while you build a report. The
header has no X- prefix. It is attribution: it never changes what your key may read or what a
result contains. Its one effect is that a connector whose serving policy has the Looker Studio switch
off refuses the query (see below). See
Identifying your client.
Fields
Section titled “Fields”The field list comes from the connector’s schema in SignalBraid, not from a list written into the connector, so it matches the connector references for the data source you chose.
-
Dimensions and metrics are listed with the labels and definitions SignalBraid publishes.
-
Provenance fields begin with
sb_and are dimensions, so Looker Studio never sums them. They appear after the source’s own fields:Field Meaning sb_data_throughThe last calendar date the row is complete through. sb_partialWhether the rows stop before the end of the range you asked for (see Dates). sb_staleWhether the data is older than SignalBraid expects it to be. sb_extracted_atWhen the data was extracted from the source. sb_timezoneThe time zone the dates are in. sb_snapshotWhich published snapshot the row was read from. sb_limitationsKnown limitations of the figures. -
Metrics that add up (counts, for example) can be summed by Looker Studio as usual.
-
Ratio metrics are not added up across rows. Where a ratio is made of two metrics that do add up, the field is a calculated field,
SUM(numerator)/SUM(denominator), so a chart that groups differently still gets the right ratio. Looker Studio does that arithmetic itself, and what it shows for a zero denominator is its own behaviour, which no real report has yet confirmed. -
Metrics that cannot be re-aggregated, such as averages and distinct counts, are available only at the exact set of dimensions the metric is published for. A chart that adds or removes a dimension is refused rather than shown with an averaged average. The connector references list the sets.
- A report’s date range is cut into windows no longer than the data source allows, and the windows are requested one after another. A range that would need more windows than the connector allows is refused with a message asking for a shorter range.
- Looker Studio’s default range ends yesterday, and the last day or days of a range are often not
published yet. When only the final days are missing, the connector returns the days that are
published and sets
sb_partialto true.sb_data_throughis the last window’s own date the data is complete through: the windows are contiguous, so the rows are complete through it, and after a cut it is earlier than the end of the range. - The connector never fills a missing day with zero. A day missing inside the range is an error that names the missing dates (up to ten, then “and more”). A source with nothing published gives the message “No complete data has been published for this date range yet.”, with no dates.
- Looker Studio keeps its own cache of what a connector returned, so a report can show earlier numbers
than a new API request. A restated past day can also appear late in a cached report.
sb_data_throughandsb_snapshotshow which publication a chart is drawn from. This page makes no statement about how recent the data is.
What is refused
Section titled “What is refused”Refusals are shown to report viewers in plain words. The technical error code is not shown to report viewers today: it is available only to staff the owner has enabled for the connector.
- Filters. Equality and “is one of” filters are sent to SignalBraid only when the data source lists the dimension as filterable and the report uses a single include condition on it; otherwise Looker Studio applies the filter itself. The date is set by the report’s date range, not by a filter. A field Looker Studio asks for only so it can filter on it (a filter-only field) is accepted when its filter is pinned to one value or is fully applied by SignalBraid, or when the metrics can be added up across it. Otherwise the chart is refused, because the numbers could not then be shown correctly.
- Currency. A money metric is not summed across more than one currency. The message starts “This chart would add up money in more than one currency.” and asks you to add the currency dimension to the chart or filter to one currency.
- Combinations that cannot be added up are refused with the reason, as on REST
(
non_additive_metric). - Credentials. A key that lacks
query:readis rejected when you enter it, and nothing is stored. A key that is revoked later is found on the next data request: the message says the key is invalid, expired or revoked, and the connector asks for a new one. If a data request is refused with 403, the message is “This key cannot read this workspace.” and the stored key stays. - Limits. The plan’s rate limits apply as they do for any other client.
- A SignalBraid connector whose serving policy has the Looker Studio switch off is refused, and the viewer reads “SignalBraid is not serving this connector to Looker Studio yet.” The policy belongs to the SignalBraid connector, not to a Looker Studio data source.
Sharing and what stays behind
Section titled “Sharing and what stays behind”A Looker Studio report can be shared. With the data source’s credentials set to the owner’s, everyone the report is shared with sees the data the owner’s key can read. Share a report only with people you would give that data to.
Data that has been delivered into Looker Studio belongs to you. Revoking the key stops new reads. It does not remove what Looker Studio has already cached or what a report already shows.
- Reading data for the query the connector sends.
- API reference for the REST routes.
- Errors and Rate limits.