Facebook Ad Library API

Get one section of the regional ad transparency report

get/facebook-ad-library/eu-report

Request

  • Base URL: https://scrappa.co/api
  • URL: https://scrappa.co/api/facebook-ad-library/eu-report
  • Auth: API key in header X-API-KEY

Query parameters

section'overview' | 'searches' | 'campaign-tracker' | 'advertisers' | 'locations' | 'download-availability' required

Report section: overview, searches, campaign-tracker, advertisers, locations or download-availability.

countrystring nullable

Two-letter ISO country code the report covers.

time_preset'LIFELONG' | 'YESTERDAY' | 'LAST_7_DAYS' | 'LAST_30_DAYS' | 'LAST_90_DAYS' | 'null' nullable

Reporting range for the locations, advertisers and campaign-tracker sections. Defaults to the full history; short ranges may legitimately return no rows.

Response

report_parametersobject required
section_dataobject required
response_time_msinteger nullable required

Changes

No recorded changes to this operation across all 3 revisions of this API.