Search code examples
marketo

How to get all available dimensions in Marketo API?


How can I get the list of all dimensions available to pass to the api to get data to construct the chart on the fly?

For example in this case, the dimension is Source: http://www.marketo.com/_assets/uploads/ContentVideoTier/96/reports-analytics-roi.png?20131014201216

In google analytics, I can pass the dimensions available from the list here (https://developers.google.com/analytics/devguides/reporting/core/dimsmets) via the api and it will give me the data that I can display in a chart.

How can I make similar behaviour in Marketo?

Thanks.


Solution

  • The list of standard fields on a lead record in Marketo is available here.

    In addition to the standard fields, a Marketo user can add custom fields to their account. To get a list of all fields in a specific Marketo user's account, query the Describe REST API.

    Lead activity data is also available through the Marketo API. To get a list of available activity types, query the Get Activity Types REST API.