Page MenuHomePhabricator

Load Google Search Console social account impressions and clicks data into Data Lake
Closed, DeclinedPublic

Description

Google now allows Google Search Console web domain owners to link their social accounts (TikTok, YouTube, Instagram, and X) to get data on impressions and clicks on content from those accounts in search: https://developers.google.com/search/blog/2025/12/social-channels-search-console

We've linked our at-Wikipedia social channels to our GSC account and are getting this data in GSC now (e.g. here is a link to the Wikipedia TikTok account data: https://search.google.com/search-console/performance/search-analytics?resource_id=sc-creator-profile%3Atiktok.com%2Fuser%2Fwikipedia&hl=en&metrics=IMPRESSIONS), and the WMF Social Media team would like to track and (later this fiscal year) analyze this data to identify relevant content trends that can help grow these channels.

Event Timeline

This data is not reachable through the BigQuery path that produces our current searchdata_url_impression / searchdata_site_impression. Those tables only cover website properties (URL-prefix + sc-domain:).

The social-account data belongs to Google's newer "platform properties" type (launched July 2026), a per-account verified property with its own resource identifier scheme, e.g. sc-creator-profile:tiktok.com/user/wikipedia.

The plausible automatable route is the Search Analytics API (webmasters.searchanalytics.query), passing the sc-creator-profile:... resource as siteUrl. However, this is undocumented — the API reference still only lists URL-prefix and sc-domain: formats. So it needs to be tested empirically before we can commit to a pipeline design.

@Ahoelzl could you give me access to GSC so I can test whether the Search Analytics API accepts the sc-creator-profile: resource?

We can also wait/hope for an evolution of the export to BQ... depends on the urgency.