serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
50 stars 3 forks source link

[NEW API] LinkedIn Ad Library API #1209

Open aliayar opened 10 months ago

aliayar commented 10 months ago

We can scrape LinkedIn Ad Library as an additional resource to our recently released Google Ads Transparency Center API.

LinkedIn Ad Library | Intercom

Search Page

image

Results Page

image

Intercom

hartator commented 9 months ago

@aliayar Has anyone ask for this?

aliayar commented 9 months ago

Also added Intercom link to the top of the OP for visibility.

hartator commented 9 months ago

@aliayar Sorry I've indeed missed the Intercom links for some reasons! 👍

Echelpoel commented 4 days ago

Would be cool to have access to the ads' data itself through your API as LinkedIn's API only returns the ad page.

schaferyan commented 3 days ago

@Echelpoel thanks for that context! Can you clarify what you mean by the data itself? We can only scrape things that can be obtained through the browser, so the data would need to be available via the page. But if you mean that you would like the information from the page extracted into a more useful format, that is certainly something we would provide if we implement this, as all of our APIs return data parsed into nested JSON.

Echelpoel commented 3 days ago

@schaferyan This is an example of an ad object the LinkedIn API returns:

{
    "isRestricted": false,
    "adUrl": "https://www.linkedin.com/ad-library/detail/320330694",
    "details": {
        "type": "SPONSORED_VIDEO",
        "advertiser": {
            "adPayer": "Bolt Energy",
            "advertiserName": "Bolt Energy",
            "advertiserUrl": "https://www.linkedin.com/company/2295491"
        },
        "adTargeting": []
    }
}

There is no information about the ad itself being returned. All relevant data about the ad is available on the adUrl page, which is publicly accessible and makes it suitable for scraping.

martin-serpapi commented 3 days ago

Another user requested this:

Intercom