Clay Icon

Using the Meta Ad Library API to Check Brand's Active Ads

Ā·
Ā·

Does anyone know how to use Meta Ad Library API to see if the brand is running meta ads or not?

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    I’m sorry, but I couldn’t find any information related to your question. Could you rephrase it or let me know if you need further assistance?

  • Avatar of Bo (.
    Bo (.
    Ā·
    Ā·

    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

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·