Menu

How to Export Google Ads Transparency Center Data (with Ad Copy) in Python
πŸ“°

How to Export Google Ads Transparency Center Data (with Ad Copy) in Python

DEV Community: tutorialΒ·datalumeΒ·17 days ago
#4zleUVRu
#devtotutorial#devto#dev#nike#google
Reading 0:00
15s threshold

I wanted something simple: every Google search ad a competitor is running, how long each one has been running, and the actual ad copy β€” in a spreadsheet.

Google already publishes all of this in the Ads Transparency Center (Google's answer to Meta's Ad Library). It just has no export button and no API. So I scraped it, and ran into something I didn't expect: for most big advertisers, the ad copy isn't there as text at all .

The surprise: most text ads are stored as images

When you open a text ad in the Transparency Center, Google renders it in one of two ways:

A text preview β€” the headline and description exist as text (in a small JS preview), easy to parse.

A screenshot β€” a PNG of the ad, nothing else.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.