Google Analytics API v.4 returning wrong users value on Android and iOS apps - google-analytics-api

Using Google Analytics' API I'm getting a report (sessions, users, new/returning users, page views, bounce rate, etc...) on all devices, every value is correct except "users" value on my Android and iOS devices. Google Analytic's returning over 2.5x amount of value that is shown in Google Analytic website, I've also used this link and it's returning the same value as Google Analytics website.
This is only happening to apps analytics, on a desktop and mobile site everything's fine.
I've already checked the sampling level, not sure what else could go wrong.
I'd appreciate the help, thank you in advance.

There was an issue with Google Analytics's API v.4 that returned the aggregation of users within the provided date range instead of unique users.
I don't know if the problem still exists, but I managed to use ga:7dayUsers or ga:30dayUsers type of metrics to retrieve my unique users.

Related

People API Get Method don't return phone number?

I have been testing a People API get method.
https://developers.google.com/people/api/rest/v1/people/get
I noticed that it is not returning the phone number.
Other data as well:
addresses,biographies,braggingRights,events,imClients,interests,occupations,organizations,relations,relationshipInterests,relationshipStatuses,residences,sipAddresses,skills,taglines,userDefined.
I tried all the scopes, but it doesn't help. It's really easy to test.
I'd like to return the phone number. Last week it was working perfectly with only 4 scopes (April 9).
How can I manage to get the phone number?
As for the Google phone number - it is a configuration thing that's need to be done:
For 'user.phonenumbers.read' scope the documentation of people API states - 'your app be given read access to the authenticated user's phone numbers in their Google profile'.
But by 'Google profile' it indicates the Google Plus Profile which is completely different form their core google profile - My Account. People API is fetching information only from the Google Plus Profile..
So even if a user has his/her contact details added in My Account, the People API will not fetch their phone numbers unless they have added them manually in their Google Plus Profile.
So, please add the phone number to the user Google Plus Profile and try again

Get registered devices Google Homegraph

Is it possible to receive a list with all registered devices, homes and rooms from a Google account with a google actions?
Basically I want to create an action which allows to send notifications to a specific google home device.
I know that this might somehow involve using the Homegraph API. I thought that request sync might do the job but I didn't get it to work. I don't know how to find out the agentUserID.
Anyone experience with using the homegraph API?
Thank you in advance.
Oli
No it is not possible to use the API to get a list of devices at the user level. The API only allows one to get the devices per user per action.
It also does not allow one to get the homes and rooms for a Google account.

How to dynamically change content depending on data from Facebook analytics?

Facebook have deprecated their app notifications API so there is no way to push content to a users phone based on segments anymore, correct me if I'm wrong.
The problem is that I want to analyse Facebook analytic data programatically and display different products to my customers based on how they use the app, to do this I need access to Facebook analytics through a PHP SDK or JavaScript SDK. How do I access Facebook analytics programatically? I can't find anything in their PHP SDK which would let me do this.
Furthermore, I want to push notifications to specific segments of users, now that Facebook have deprecated their app notifications API, how can this be accomplished?
Could it be worth switching to Firebase / Google analytics, would these services allow me to accomplish these tasks?
Thanks
Analytics is primarily about post-event analysis, vs real-time optimization. All of the products you mention focus on post-event analysis and don't support you reading data out for a single individual (i.e. the current user), through an API or otherwise.

Notification from Facebook for App - This account has enhanced targeting data set to off

I recently created an app on developers.facebook.com to learn OAuth using OpenFB. I got it working but from yesterday I've been getting a notification message written below in my facebook app account - to be frank I don't understand what they are trying to say. Can anyone please shed some light?
This account has enhanced targeting data set to off. We are removing the opt out setting, effective October 15. Note that data received through the use of our pixel and mobile app events has not been used for targeting to date, and we do not have plans to do so beyond small-scale tests. If we start using this data to improve ad targeting, we will ensure that this data makes up only a small percentage of the inputs into each targeting segment. You can also remove the Facebook pixel, app events and Social Plugins from your websites and apps before the effective date.
In essence, Facebook can collect data about what a user does on your app/site to build a more dynamic profile of that individual, and target them better.
This article does a good job of explaining what it is - note: the article is from when the advanced targeting data collection first started to roll out.
http://www.reuters.com/article/2014/06/12/us-facebook-ads-idUSKBN0EN0U520140612

Free education Chrome App not appearing in Web Store

I created a free education Chrome App and uploaded it via the Chrome Developer Dashboard. The App doesn't appear when I search for it with the Web Store search feature. Is there something missing in the manifest file or the descriptive material? There is no website associated with this App.
Thanks.
Edit: Thanks for the answer. Patience is the key with the Google Chrome Store.
The search index of Web Store is (probably) not updated immediately after publishing an extension/app.
Retrying the search a couple of hours after publication is complete will show it like normal.
Also, make sure your extension is actually published, and not stuck in automated or manual review. The former takes up to an hour, the latter can take days. Check your Developer Dashboard for the status of your item.