Clay Icon

Automating Ad Data Scraping with Clay: Tips and Workflow Steps

·
·

Hey Everyone 👋 I’m trying to build a workflow where I:

  1. 1.

    Start with a company domain

  2. 2.

    Find their Google Ads Transparency link (adstransparency.google.com/advertiser/{id})

  3. 3.

    Get their Facebook Ads Library link from their FB page (facebook.com/ads/library/?page_id={id})

  4. 4.

    Then send both to Apify to scrape ad data like creatives, spend, etc.

Any tips on how to automate this in Clay? Best way to extract Advertiser IDs or Page IDs? Appreciate any ideas or examples 🙏

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    While we don't have a direct method to extract Advertiser IDs or Page IDs, we can help you automate ad data retrieval using Clay and Adyntel. Here's a simplified workflow: 1. Use Clay to import companies based on domains. 2. Set up HTTP API integration with Adyntel in Clay. 3. Use the "Retrieve Company Google Ads Data with Adnytel" and "Retrieve company Meta Ads Data with Adnytel" actions. 4. These actions will fetch ad data, including links, for your target companies. You can then use our "write to table" feature to organize this data for Apify scraping. For more detailed steps, check out our template "Get Facebook, LinkedIn, and Google ads for any company with just a URL".

  • Avatar of Shoaib K.
    Shoaib K.
    ·
    ·

    no I don't want to use Adyntel

  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Hey! You’ve got a couple solid options to get this running in Clay. You can use Claygent to search for the company’s Facebook page or Google Ads Transparency link directly. It’s great if you want to build out something flexible or tailored. But if you’re mainly focused on ad data like creatives, spend, and networks, the new Ad Intelligence Suite powered by Adbeat is probably the smoother route. Just drop in a domain, and you’ll get: • Top-performing ads • Ad spend by geography and media type • Ad networks used • Lookalike companies • And alerts when new ads go live (with filters for platform, keywords, etc.) That way, you skip the manual step of pulling advertiser or page IDs — everything’s enriched in one step. If you still want to build it manually, Claygent can grab the Facebook Page ID, and for Google Ads, try site::[adstransparency.google.com](http:://adstransparency.google.com) {company name} in your query. Let me know if you want help putting it together!

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·