LinkedIn Marketing API not returing any ads reporting data - linkedin

I am currently trying to fetch all the available campaigns and ads.
Search for adCampaigns GET https://api.linkedin.com/v2/adCampaignsV2?q=search&search.test=false&count=10 returns empty "elements": [].
Querying for analytics: GET https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&dateRange.end.month=9&dateRange.start.day=1&dateRange.start.year=2021&dateRange.end.day=1&dateRange.end.year=2021&pivot=CAMPAIGN&dateRange.start.month=1&timeGranularity=DAILY&companies[0]=urn:li:organization:ORGID&fields=impressions again return empty "elements": [].
The OAuth token was generated by Super Admin user and the campaigns are managed by other Media company.
Thanks.

Related

How can I display Google Analytics using the API in my website

I have a website where buyers and sellers are logging in using their unique id. They will be visiting various product pages once logged in. Using Google Analytics API, I would like to display the details of each buyer or seller, with the time they spent in a product page, the pages they visited, etc., in my website backend.
However I am not able to get the UserID, which is important to display the user name and other information, using the google API code.
The same details are visible when I download the data as an excel sheet from google analytics dashboard.
Is there any restriction in APIs that the UserID will be not passed?
How we can achieve this otherwise?

Get messages and contacts from Linkedin

I would like to do some analytics on my Linkedin account.
I would like to get a list of my messages and my contacts.
Is there an API for this, or is there any other way to get them - export or something....
Contacts API provides a complete list of the authenticated user's address book on LinkedInhere
Not sure if LinkedIn allow the enumeration of ones messages. However, sending, deleting, archiving messages are possible.
LinkedIn Messages API:
https://developer.linkedin.com/docs/v1/communications/message-api-calls
LinkedIn Contacts API:
https://developer.linkedin.com/docs/v1/people/contacts-api
GET https://api.linkedin.com/v1/contacts

Google analytics reporting API returns incorrect data with paging

I have implemented Google analytics reporting API v4 to get the data stored in Google analytics with one of the e-commerce applications and it sends two report requests to GA side in order to get data with pagination for the first request. one request is sent to get a page of userIds and second request will sent with those userIds to fetch another set of data. This works perfect until in some cases, at the last page it sends some userIds which is not showing in the Google Analytics web UI either. We have a record against each userId in our own database and there is no such record for those incorrect userIds either.
I would be grateful if someone has any idea/clue on this.

Google Analytics - UserID report get data

I've setup of google analytics USER-ID report where i send user id's, i want to get the details of each any userid using get or post request
It's not possible. Google analytics only utilises User Id for sessions unification through different devices. User I'd is not exposed in the reports. Consider using unique custom dimensions values to split sessions across users

Google Analytics - cannot insert or update webproperty

I am trying to create a new WebProperty or update an existing one in Google Analytics API.
The service account is added to the Google Analytics account with all permissions checked.
Response:
"errors": [
{
"domain": "global",
"reason": "insufficientPermissions",
"message": "Your project does not have access to this feature."
}
]
Apart from update and insert the rest of the management API is working.
What am I missing?
it's written in documentation:
Write operations in the Management API (e.g. create, update, delete,
patch) for Web Property, View (Profile), and Goal resources is
currently available as a developer preview in limited beta. If you're
interested in using these features, request access to the beta.
Update:
To request access fill out the form at Google Analytics Account Setup and Configuration APIs it can take a few weeks to get access. You should recieve an email from google when you get access.

Resources