Reputation: 396
I am new to working with APIs and especially with Linkedin API. I want to get Ad Reporting data. I only know to get a specific campaign data. How do I get all the campaign running for the account id?
Here is what I have run.
I tried something like following and it didn't work.
Upvotes: 2
Views: 6247
Reputation: 2470
Have you tried this recommendation? I think it's what you're looking for.
Search for Campaigns
You can search for campaigns by ID, account, campaign group, name, type, and status fields. Search criteria can be chained together for increased granularity. If a search query is omitted, the API returns all the campaigns that the caller has access to.
GET https://api.linkedin.com/v2/adCampaignsV2?q=search&search.{searchCriteria}.values[0]={searchValue}
Upvotes: 1