Connecting to Google Analytics, how do I connect to a Custom Dimension?

I would like to connect to Google Analytics, and push that data into Dynamics CRM. I have successfully pulled out field data, but have a custom field I need to access in Google Analytics. It is called Dimension2 (User ID). How can I access it? When I use an Entity, I don't see those custom fields available. 


I've tried using a Native Query, but no version of the field (Dimension2, ga:dimension2, dimension(2), UserID) works. The error I get is the following:


ERROR: Exception Type : GoogleAnalyticsException

Message : [500] Could not execute the specified command: Unrecognized column dimension2.


Any help would be great.




(5) Answers