how to get around ga4 incompatible combination of dimensions and metrics - google-analytics-4

I’m trying to use the reporting API but I am getting a "[GA4] Data compatibility" error and can’t get the data that I want.
I want to get newUsers counts by minute but minute dimension and newUsers metrics are incompatible. Is there a way to get around this?
(We are transitioning from Universal Analytics to Google Analytics 4 and this has not been a problem with Universal Analytics)

In this link GA4 Dimensions & Metrics Explorer, you can check if the metrics and dimensions you want are compatible or not. Remember that you need to enter your account and property ID as requested in this photo.
As you choose dimensions & metrics (by clicking the checkbox next to their name), they will be added here. Incompatible dimensions & metrics will be grayed out.

Related

Build Stackdriver Dashboard that contains a filtered list of log entries

We are evaluating Stackdriver as an alternative to our ELK-stack, I'm missing a few features that I have in kibana (1).
Most important I don't find a way to show the actual logs in a Stackdriver Dashboard, I can only show graphs based on the logs. Changing between two tabs all the time (2 and 3) and adapting the filters on both of them seems very inconvenient for log/error analysis.
Is there a way that I can have a dashboard that also shows logs (based on the filters in the dashboard search)?
There is currently no way to show raw log files in the Metrics Dashboard unfortunately.
You can file a feature request to add this functionality to Stackdriver.

Get all running activities from Google Fit via REST API

Is there a way to get all activities from the Google fitness store via the REST API?
My current assumption is that other apps store their activities in sessions and I can retrieve them using Users.sessions.list. However, the information there, does not really include all the information that was stored or I would like to see: when I manually add a short run via the Fit Android app, I expect this information to be somehow accessible via the sessions API. This should at least include the information I have provided, such as distance or time.
Looking at the same information via the app or the web interface, I can see all the details I have previously entered plus the approximate number of steps and calories.
How do I get this information via the API?
I am currently mainly interested in activities of type running or jogging (8, 56-58) and would like to read the distance in addition to the time information already provided in the session.
Not sure, if this is the right way, but I get all the information I need, if I follow these steps
Find the correct session via Users.sessions.list
Query all data via Users.datasets.aggregate:
Set startTimeMillis and endTimeMillis to the values from the session in question
Set bucketBySession to group results by sessions.
I explicitly query all data sources: For every data source id I add a { "dataSourceId": <id>}to theaggregateBy` array. Not sure, if this is necessary
The resulting bucket has all information related to the session. For my use case I need to clean up overloaded data: some data sources return the distance as steps (derived) while I need the physical length in meters.
This seems to work for my Fit data with the additional cleaning, but I will need to check, if this works for other user's data too.

Unable to setup Azure alert on resource specific events

In the past, it was possible to setup an Azure alert on a single event for a resource e.g. on data factory single RunFinished where the status is Failed*.
This appears to have been superseded by "Activity Log Alerts"
However these alerts only seem to either work on a metric threshold (e.g. number of failures in 5 minutes) or on events which are related to the general admin of the resource (e.g. has it been deployed) not on the operations of the resource.
A threshold doesn't make sense for data factory, as a data factory may only run once a day, if a failure happens and then it doesn't happen X minutes later it doesn't mean it's been resolved.
The activity event alerts, don't seem to have things like failures.
Am I missing something?
It it because this is expected to be done in OMS Log Analytics now? Or perhaps even in Event Grid later?
*n.b. it is still possible to create these alert types via ARM templates, but you can't see them in the portal anymore.
The events you're describing are part of a resource type's diagnostic logs, which are not alertable in the same way that the Activity Log is. I suggest routing the data to Log Analytics and setting the alert there: https://learn.microsoft.com/en-us/azure/data-factory/monitor-using-azure-monitor

Watson IOT Platform dashboard

I am working on IBM Watson IoT platform. I wish to understand how I can view my meta data attributes related to ALL devices registered in the platform, on the platform dashboard (not per device or device type)
you can do that : go to you watson iot dashboard ,
1_ go to Boards.
2_ choose one board or create new one ( I recommand the device centric analytics
3_ click on add new card and choose linechart
4_then u ll have to select your devices types that u want to visualise ( select them all in your case ) and then enter data properties name u wish u visualize. u ll see them all in one line chart.
if you want to see them in seperate linecharts on the same board. add different linechart.
If this help u please confirm it by cliking the "green tick"
I am afraid that this is not possible at this point in time.
The metadata that is defined at the Device Type level is used a template when creating a Device of that type. However, the user has the ability to completely override this metadata at Device creation time. As a result, the metadata on every single device registered with the platform could be unique. For a single Org, this is a potentially huge number of devices spread across multiple device types.
Providing support for this functionality would be possible, but it is a new requirement. Please could you raise an enhancement request for this functionality?

Cant apply for next level rate limit Facebook marketing api

I have to create script to create adsets and ads for a facebook campaign and I have to do it for a lot of items. For now, i can create every needed entity but there is a big problem, the rate limit. I reach it pretty quick (I can create like 15 items before getting a rate limit exception) and this is very limitating, creating eveything by hand is actually much faster... I want to apply to the next level of rate limitation but I can't. One of my coworker contacted someone from facebook and we were told we did not make any API call using my app ID. Since I am able to create a campaigns, adsets, ads... and we can see those in power editor I don't understand what is going on.
What my dashboard looks like
We will need to be able to create everything using the API really soon so, after some research, I try asking the question here. Did I miss something when creating my app ?
You probably want to go through the official request to promote your app from a Basic level to a Standard level. The level for your app determines how heavily it is rate limited. Details here: https://developers.facebook.com/docs/marketing-api/access
It sounds as if you have not make your official request in app dashboard. It's possible we evaluated your number of API calls before you reached the threshold, or the data we are able to see on your API calls was from an earlier time period when you did not consistently reach the boundary.
You could also be hitting rate limits due to your error rates.
You can apply here, and if needed, reapply: https://www.facebook.com/business/standardadsapi?attachment_canonical_url=https%3A%2F%2Fwww.facebook.com%2Fbusiness%2Fstandardadsapi