List Reports For Profile
  • 29 Mar 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

List Reports For Profile

  • Dark
    Light
  • PDF

Article Summary

/profiles/{Profile ID}/reports lists the reports defined for a profile.

Method: GET

URI: /profiles/{Profile ID}/reports/

Note: Add any optional parameters to the end of the URI. If you change the order of URI or required parameters, or place optional parameters before them, the call will not work.

Version number

The version number you will use is dependant upon the version of Analytics you have installed. Analytics versions 9.5 and below, use v2_0. Analytics versions 9.5.1 and above will use v2_1.

Example Request
https://myDomain.com/{version}/ReportService/profiles/K729vc8Qqj5/reports/?format=xml

Example Response

  <?xml version="1.0" encoding="utf-8" ?> 
- <list>
- <ReportDefinition>
  <decimal name="accountID">10314</decimal> 
  <string name="name">(03/09) Campaign IDs with Data Sheet Conversions</string> 
  <string name="ID">fAAKVO8ZuF6</string> 
  <string name="Category">Conversions</string> 
  <boolean name="IsHierarchy">false</boolean> 
  <boolean name="IntervalsEnabled">true</boolean> 
  <boolean name="IsRealtimeCompatible">false</boolean> 
  </ReportDefinition>
- <ReportDefinition>
  <decimal name="accountID">10314</decimal> 
  <string name="name">(03/09) Campaign IDs with Demo Request Conversions</string> 
  <string name="ID">8wkif2OyuF6</string> 
  <string name="Category">Conversions</string> 
  <boolean name="IsHierarchy">false</boolean> 
  <boolean name="IntervalsEnabled">true</boolean> 
  <boolean name="IsRealtimeCompatible">false</boolean> 
  </ReportDefinition>
- <ReportDefinition>
  <decimal name="accountID">10314</decimal> 
  <string name="name">(03/09) Campaign IDs with More Info Request Conversions</string> 
  <string name="ID">6bdZgJZyuF6</string> 
  <string name="Category">Conversions</string> 
  <boolean name="IsHierarchy">false</boolean> 
  <boolean name="IntervalsEnabled">true</boolean> 
  <boolean name="IsRealtimeCompatible">false</boolean> 
  </ReportDefinition>
- <ReportDefinition>
  <decimal name="accountID">10314</decimal> 
  <string name="name">(03/09) Campaign IDs with Request Pricing Conversions</string> 
  <string name="ID">5mcCeXeZuF6</string> 
  <string name="Category">Conversions</string> 
  <boolean name="IsHierarchy">false</boolean> 
  <boolean name="IntervalsEnabled">true</boolean> 
  <boolean name="IsRealtimeCompatible">false</boolean> 
  </ReportDefinition>
- <ReportDefinition>
  <decimal name="accountID">10314</decimal> 
  <string name="name">(03/09) Content Groups</string> 
  <string name="ID">xLdcZbi7xF6</string> 
  <string name="Category">%%Category_Content%%</string> 
  <boolean name="IsHierarchy">false</boolean> 
  <boolean name="IntervalsEnabled">false</boolean> 
  <boolean name="IsRealtimeCompatible">true</boolean> 
  </ReportDefinition>
  ...
- <ReportDefinition>
  <decimal name="accountID">10314</decimal> 
  <string name="name">Widemile Integration - RunID with Referring Site</string> 
  <string name="ID">JVnfBQU3yG6</string> 
  <string name="Category">Widemile - Transparency Campaign</string> 
  <boolean name="IsHierarchy">false</boolean> 
  <boolean name="IntervalsEnabled">false</boolean> 
  <boolean name="IsRealtimeCompatible">false</boolean> 
  </ReportDefinition>
  </list>

Parameters:

Format

format = return data format
Example: specifying data formats

Data formatParameter and value
JSONformat=json
XMLformat=xml
XML2 ("XPath-friendly" XML for dynamic applications)format=xml2

For report data requests, all formats are supported. For "list" requests, only XML and JSON formats are supported.

Suppress error codes

Set the suppress_error_codes parameter to true if you do not want to be notified of error conditions for a request (the default is false).

suppress_error_codes = {true|false}
Example: Suppress errors for a request
suppress_error_codes=true


Was this article helpful?