Linkedin API. How can I retrieve impressions from a video ugcPost - linkedin

I have been able to retrieve the video statistics from the company page ( in which I am an administrator). However when I get the statistics ( likes, impressions, engagement, etc.) from all the company's shares/posts the fields for the video posts appear to not exist. Hope you cna help me, here is the request I've been using:
'https://api.linkedin.com/v2/organizationalEntityShareStatistics?q=organizationalEntity&organizationalEntity=organizationURN&shares=List(shareURN)
*I've tried input of the ugcPost URN in the shareURN field but still no result yet.
Thanks in advance!

Related

Campaigns showing up in Google Analytics that I didn't create?

I created a few UTM campaigns to track in Google Analytics. After a few days, I went to check the campaigns and while the ones I created were there, other campaigns I had not created were also showing up. They had strange, gibberish names. As in, the names are just long strings of characters. The first screenshot shows some campaigns I created ("VBC Campaign (Pilot 1 (5.12.21))" and "VBC Campaign (Pilot 1 (5.12.21))") as well as some I did not ("gebafvgvba_gb_icd_vageb" and "gebafvgvba_gb_icd_xabj_lbhe_cbchybgvba"). The listed source is also gibberish, and the medium is email for each of them (see second screenshot).
How do I figure out how these got created, and how can I get rid of them/prevent them from being created in the future? Thank you!
Screenshot 1
Screenshot 2
Try to check if you checked tick to exclude spam and bot in View setting.
There are not many ways (ie: Michele's suggestion) to prevent someone from sending aletory Campaign data to you Google Analytics account. As the UTMs are query paramns we append to a URL, anyone may add these UTMs and click or share the UTMed URL and as it's clicked GA will record these informations.

Can the LinkedIn API return a list of a user's saved articles?

The LinkedIn docs for the articles API show that I can get a particular article's content etc. by doing a
GET https://api.linkedin.com/v2/originalArticles/{originalArticlesId}
But it's not clear to me where I get that originalArticlesId from. How do I list the articles that any given user has saved?
The LinkedIn API does not yet provide that functionality. The closest you can get to what you are looking for is to get the articles published by a particular author.
GET https://api.linkedin.com/v2/originalArticles?q=authors
I think that if you want to have this functionality you will have to do a scraping of the profile of the person who requires this functionality.

How to trace a user who buys on eshop via google analytics?

I need to make reports via GA API (v4) of some eshop. The owner of this eshop wants to trace info somehow, when someone buys something.
So he wants to know, if somebody buys something on his eshop, how many times before the user have visited the eshop before and where he walked through (which pages). The e-shop has Google analytics and Shopify features, from which I can potentialy obtain data and bound them together.
Is it something like that possible with API? I wanted to create User-ID, but I cant get it as dimension. So my idea was create some custom dimension with User-ID value (same as userId), but I dont know, if it is not forbidden, because it is the fake exactly.
Thanks for any answer.

Can I get the companies a user is admin of AND their picture urls via LinkedIn API?

Using LinkedIn API Documentation for company pages, I know how to retrieve :
The list of companies a user is admin of
Several profile fields for each individual company
Can I do that in one call instead of N+1 calls ?
Well, I ended up answering my own question pretty quickly. Calling the API in the following way gives you the list of companies AND the list of profile fields you need :
https://api.linkedin.com/v1/companies:(id,name,ticker,description,website-url,square-logo-url)?format=json&is-company-admin=true

Google analytics: how to count occurrences of each item in internal search listing

In company I am working on a website that presents users' announcements. Announcements can be searched through our internal search engine. SO far we have implemented Googla Analytics API to present our users 'pageViews' information of their announcement, but they also want to know how often their announcement has been shown in search listing (probably to compare with pageviews and later modify some information like title or thumbnail of announcement to gain CTR). How can we collect such data? I obviously tried to google it, but couldn't find any information.

Resources