AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
1.9K members online now
1.9K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

GA API v4 Goal completion location - segmentation

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

In Google analytics going "Conversions -> Goals -> Goal Urls" we can see the list of "Goal Completion Locations" with their completions and values. We can choose Segments and it will show the info shown in the image.

 

ga_goal_segmentation.PNG

 

Now, I need to get the same data by GA API v4 - so I need the goal completion locations with their completions and values but segmented by mobile, paid and organic traffic as in the image.

 

Right now I am using "ga:goalCompletionLocation" dimension to get list of goals, but it is not allowed in segments. 

https://developers.google.com/analytics/devguides/reporting/core/dimsmets#q=location&mode=api&cats=u...

 

 

So, how can I get the same data as shown in the image through API - namely, the goal completion locations' with their completions and values - segmented by paid, organic and mobile traffic.