facebookAdLibrary

Ad Details

Get details for a specific Facebook Ad Library entry by Ad ID. For ads with multiple versions, the title should be sourced from the cards object in the response.

get/v1/scrape/facebook-ad-library/ad-details

Request

  • Base URL: https://api.sociavault.com
  • URL: https://api.sociavault.com/v1/scrape/facebook-ad-library/ad-details
  • Auth: API key in header X-API-Key

Query parameters

idstring
Example:702369045530963

Facebook Ad Id

urlstring
Example:https://www.facebook.com/ads/library?id=1185617869915074

Facebook Ad URL

get_transcriptboolean

Get the transcript of the ad. This is a new feature, so let me know if its not working how you expected.

trimboolean

Set to true for a trimmed down version of the response

Response

Successful response

Key Response Fields:

  • adArchiveID: This is the ad id. You'd think it'd be 'adid', but facebook decided to make it confusing 🤦‍♂️

Changes

No recorded changes to this operation across all 1 revision of this API.