public-roadmap icon indicating copy to clipboard operation
public-roadmap copied to clipboard

[NEW API] LinkedIn Ad Library API

Open aliayar opened this issue 2 years ago • 7 comments

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

aliayar avatar Nov 16 '23 15:11 aliayar

@aliayar Has anyone ask for this?

hartator avatar Nov 22 '23 16:11 hartator

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

aliayar avatar Nov 22 '23 16:11 aliayar

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

hartator avatar Nov 22 '23 21:11 hartator

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

Echelpoel avatar Sep 12 '24 11:09 Echelpoel

@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.

schaferyan avatar Sep 12 '24 18:09 schaferyan

@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.

Echelpoel avatar Sep 13 '24 11:09 Echelpoel

Another user requested this:

Intercom

martin-serpapi avatar Sep 13 '24 14:09 martin-serpapi