Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
imagewidth (px)
116
1.08k
End of preview. Expand in Data Studio

Gambling Ads

Gambling and betting ads from the Meta Ad Library, with their creative media (images and videos), for four regions: the EU, the UK, the US and Brazil.

Ads were scraped from the Meta Ad Library API, and the creatives of the ads were downloaded. A vision LLM then checked each creative, and only ads whose creative is a gambling or betting ad are included here.

Contents

Region Ads Media files
eu 127,811 127,811
uk 35,553 35,553
us 8,370 8,370
br 6,423 6,423

Every ad has exactly one media file.

Repo layout

<region>/                    eu, uk, us, br
  metadata/<page_name>.json  ad metadata, one JSON file per advertiser page
  media/<page_name>/<ad_id>.png|mp4
baseline/                    non-gambling comparison ads (metadata only)
  eu/<category>.parquet
  uk/<category>.parquet
  • A media file is named after the ad's id in the metadata. media/<page_name>/ matches metadata/<page_name>.json.
  • The Hub allows at most 10,000 files per directory, so in the EU the pages OneSpinCasino, SlotsAndCasino, Spin_Casino and Wild_Casino are split into part-000/, part-001/, ... subfolders (5,000 files each). Search recursively, or look the file up by ad id.
  • The baseline categories are alcohol, employment, finance, fitness accessories and housing. They have no media.

Metadata

Each metadata/<page_name>.json is a list of ads with the fields returned by the Meta Ad Library API, for example id, page_id, page_name, ad_creation_time, ad_delivery_start_time, ad_delivery_stop_time, ad_creative_bodies, ad_creative_link_titles, publisher_platforms, target_ages, target_gender, target_locations, age_country_gender_reach_breakdown, beneficiary_payers and eu_total_reach. Which fields are present depends on the region.

Loading

import json
from huggingface_hub import hf_hub_download

path = hf_hub_download("aatman/gambling-ads", "uk/metadata/10Cric.json", repo_type="dataset")
ads = json.load(open(path))
Downloads last month
4,003