You can get data from the Multi Channel Funnel (MCF) api segmented by the MCF Channel Grouping using the dimension mcf:basicChannelGrouping.
Is there any way to get attribution data segmented by a Custom Channel Grouping that a user has defined in their GA account?
If this is not possible in the MCF API, is it possible in any other Google Analytics API?
Based on several searches, it seems Custom Channel Groupings are indeed NOT available in the MCF API, as of march 2017.
Related
I understand that GA4 data API does not support segments yet. I read that you can imitate a segment using audiences. In my code, I create a new dimension 'audienceName', however, it only returns 'All users' audience. How can I select the audience I manually created in GA4 UI with the criterias needed for my query to show me the data I want ?
Thanks!
We currently rely on using UTM parameters (utm_source, utm_medium, utm_campaign, utm_term, utm_content) for our Universal Analytics integration with the Google Analytics Core Reporting API and Multi-Channel Funnels APIs.
Are there plans to support UTM tags in GA4 properties and the Google Analytics Data API? I do see sessionSource, sessionMedium, and firstUserCampaignName listed in the dimensions list, which suggests utm_source, utm_medium, and utm_campaign can still be used. Is there an equivalent dimension for utm_content (ga:adContent in the Core Reporting API and mcf:adwordsAdContent in the MCF API) or utm_term (ga:keyword or mcf:keyword)?
There seem to be no equivalent dimensions for ga:keyword or ga:adContent in the Google Analytics Data API. I will try to find out more about this and update this question once I have more information.
Ilya
The Google Analytics Team
I have a Web+App google analytics property, and I need to access report data using The Google Analytics Reporting API v4. In the docs, the field viewId is required to build a ReportRequest object. But, in the new google analytics Web+App feature, you cannot create a view from the property.
For GA4 Properties, you need to use the Google Analytics Data API v1. See the devsite: https://developers.google.com/analytics/trusted-testing/analytics-data
App + Web Properties were recently renamed to GA4 Properties. See the blog post: https://blog.google/products/marketingplatform/analytics/new_google_analytics/.
The Google Analytics Reporting API v4 (https://developers.google.com/analytics/devguides/reporting/core/v4) accepts numeric view identifiers in report requests. GA4 Properties do not have views, and there is not a way to create views in those properties.
Unfortunately Reporting API v4 doesn't support App+Web properties for the exact reason you stated - the API only understands view ID's and not property ID's.
Looking at the documentation, it's noted there that it doesn't support your setup, however, they do have a tester program that allows you to test and provide feedback when it comes to new reporting features for properties like the one you use.
https://developers.google.com/analytics/devguides/reporting/core/v4
If there a similar meta data API for MCF reporting like there is for GA:
https://www.googleapis.com/analytics/v3/metadata/ga/columns?pp=1"
No currently the Google Analytics Metadata api only supports the Normal Core reporting dimensions and metrics.
But if you check the documentation for columns list there is a parameter option. It currently states.
reportType string Report type. Allowed Values: ga. Where ga
corresponds to the Core Reporting API.
Right now the only thing you can request are the ga dimensions and metrics but this implies to me that they may at some point open up for more.
I added a feature request a while back asking for Access to Realtime Dimensions and metric list. I have asked the devs and the only response was they weren't going to do it right now.
This is an EXPERT Google analytics question (you've been warned).
In the GA user interface I can create a segment based on a USER and not a VISIT.
When using the dynamic segments in the API I've discovered the segment is VISIT based.
Is is possible to tell the API I want to create a dynamic segment based on USER instead (like in the GUI)?
I looked into this some more and found that as of Dec 13, 2013 it is NOT possible to create dynamic user based segments via the API.
The problem is, that you even cant retrieve Id of Segment with visitor filtration, even if exists in Web interface.