Linkedin API: Get insights (clicks, interactions, engagement) for company updates - linkedin

I'm trying to extract stat information for updates (posts) of company pages. I have succeeded in getting:
likes and comments
daily/monthly impressions
but I can't seem to find where I can get: clicks, interactions and engagement.
Does anyone know if this information is available through the API or the partnership programs?
Edit: The question was originally asked for LinkedIn API v1 for which the documentation is lacking. For V2, the answer lives here: https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations/share-statistics

Query should be like
https://api.linkedin.com/v1/companies/3502837/historical-status-update-statistics:(time,like-count,impression-count,click-count)?time-granularity=month&start-timestamp=1388514600000&end-timestamp=1433097000000&format=json
After URL, before query params :(time,like-count,impression-count,click-count)

The question was originally asked for LinkedIn v1 APIs.
For v2, the answer is here:
https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations/share-statistics

Related

Using LinkedIn API to retrieve advertising reports

I'm working on a simple app to programmatically retrieve ads performance within Linkedin. I have general API experience but this is the first time i get my feet wet with the Linkedin API.
One example from Linkedin API documentation suggest something that would get me started:
GET https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&dateRange.start.month=1&dateRange.start.day=1&dateRange.start.year=2016&timeGranularity=MONTHLY&pivot=CREATIVE&campaigns=urn:li:sponsoredCampaign:112466001
I am encountering two problems:
First this example implies that you already know the campaign ID. However I am unable to find a way to retrieve a list of campaign ID's for a given account.
Second, if I manually pull a campaign ID, I receive an error: "{"serviceErrorCode":2,"message":"Too many fields requested. Maximum possible fields to request: 20","status":400}". Pretty clear error.
A little research tells me that by adding the parameter "&fields=" I will be able to limit my query to less than 20 field (I really need only a dozen anyway) but I can't find and documentation regarding the names of the fields available.
Any help or pointer will be appreciated.
please refer the link below scroll down where you ill see the field names mentioned as metrics , these are the fields.
https://learn.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ads-reporting?tabs=http#analytics-finder

LinkedIn Marketing API Creative Names/Text

I am trying to use the adAnalyticsV2 with the statistics finder method to pull reports for my campaigns segmented by campaign + campaign group + creative.
https://learn.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ads-reporting#statistics-finder
It works fine for campaigns and campaign groups, I manage to find them in pivotValues and get their name. However for the creative name/title/subject/whatever, this is a different story.
Result from a creative pivot (sponsored video)
I don't see how I can retrieve the same title/name/subject that I can see via the web interface.
Web Interface adsets details
I tried many combinations with the projection/fields fields but without success so far :(.
Thanks,
You may need to project contents in the ugc API. like below:
variables(data((,directSponsoredContent, durationMicro, userGeneratedContentPost~(*)))))))

Get campaign name from LinkedIn API

I am trying to get in touch with LinkedIn support for the past month now, unfortunately I had no luck getting to the dev team through the account management.
We are using a reporting tool to pull LinkedIn campaign data via their API. We would like to pull Campaign Names which doesn't seem to be possible at the moment referencing https://developer.linkedin.com/docs/ref/v2/ads/adcampaigns#get
However, is there any kind of way to retrieve the Campaign Names (ID is making it really hard for us to identify campaigns on the fly)? It seems like such a basic request, I find it hard to believe LinkedIn has no way of doing this.
Thanks in advance!!
A little further down that page you referenced is a section called "FINDER" with this:
https://api.linkedin.com/v2/adCampaignsV2?q=statuses&statuses=ACTIVE
Options are ACTIVE, PAUSED, ARCHIVED, COMPLETED, OR CANCELLED
You will get the "name":"MY_CAMPAIGN_NAME" field there. That's the only place I've found it so far.

Google places api - airbnb

I would like to use the api like airbnb. I have search and read all posts/stackoveflow/google group that i can. I couldn't find the answer
In general i would like to do the following:
Would like the user to have the ability to insert advertise with full address
I would like to search in my db by city/street/country and radius according to users ads
Does i have to use api key? I have found autocomplete example without the api key and i works fine
Hope it makes sense.. I have looked on this Google group thread and this stackoverflow thread.. But i am not sure if this flow is allowed and optimise.
Thanks

How to get people search result for out of network connections in linkedin

I am using linkedin JSAPI to find people working in particular company , but my search result is limited to second degree connection is it possible to extend search result to display 3rd and out of network connection.
NOTE: In LinkedIn documentation it is described that it is possible to fetch only with first and last name,but in forums it is written as possible with facet search..but how is my question
Link:
https://developer.linkedin.com/forum/people-search-api-problem-out-my-network-profiles-search-return-always-empty-result?page=1#comment-34552
This is the code I used
IN.API.Raw("/people-search:(num-results,people:(headline,id,positions,first-name,location,public-profile-url))?facet=location,in:7127&facet=past-company,1283&facet=network,O&count=25")
.method("GET").result(function success(result) {
});
Found the answer
It is impossible to fetch search result for third and outside connection with linkedin basic plan..need premium account
https://www.linkedin.com/mnyfe/subscriptionv2?displayProducts=&family=general&c=23&trk=vsrp_people_upsell_executiveaccount

Resources