Hey,
You can use the Meta Ad Library API to check if a brand is currently running Meta ads. Hereās how to set it up:
Youāll need:
⢠A Meta developer account
⢠A registered app with Meta
⢠An access token
Get the access token by calling:
https://graph.facebook.com/oauth/access_token
Method: GET
Fields:
⢠client_id = your App ID
⢠client_secret = your App Secret
⢠grant_type = client_credentials
In Clay (HTTP API Block)
You can configure it like this:
⢠Endpoint: https://graph.facebook.com/v19.0/ads_archive
⢠Method: GET
⢠Query:
⢠search_terms: your brand
⢠ad_type: POLITICAL_AND_ISSUE_ADS
⢠ad_active_status: ACTIVE
⢠fields: page_name,ad_creative_bodies,ad_delivery_start_time
⢠access_token: your token
āø»
If the response includes ad data, the brand is currently running ads. If the response is empty, theyāre likely not running any that match your criteria.
Let me know if you have more questions