Umer Pasha Blogs

www.umerpasha.com

Using Adobe Omniture WebServices API in C# and showing data in Telerik grid and charts (Source Code included)

Here is the Source Code right up front: The C# Project File for Visual Studio 2008

If you have used Adobe Omniture Site Catalyst Web Services API, you will know what a hassle it is and how bad the documentation and technical support is. It took me a couple of weeks to reach this point. But that also included mastering a 3rd party grid and charting control from Telerik.

You will need to get a trial version of RadGrid from Telerik here which works for 90 days. You can also modify the attached code to just get the data and delete anything related to Telerik.

You will need to download MS Web Service Enhancement 3. You can get it here.

Make sure you get Web Service Access to the Enterprise API. Instructions are here.

You need to get your specific Site Catalyst WSDL. Here are the instructions. You will use this to add a web reference to your dot net project.

In the web.config, setup the SQL Server Connection String before running. I am storing the data I get from Omniture in SQL Server. I have not provided the SP code here. Mail me if you need help with that. You can remove all the SQL bits from code to not use that.

The project uses API 1.3 which is the latest as of now.

The project also shows getting custom conversion variables “eVar21”. if you are not using them, you can remove the code.


Some important links:

Getting started with Omniture API: https://developer.omniture.com/en_US

Reporting API Tutorial: https://developer.omniture.com/en_US/content_page/enterprise-api/c-reporting-api-tutorial

Advertisements
Leave a comment »