List Report Time Periods
  • 29 Mar 2024
  • 1 Minute to read
  • Contributors
  • Dark
  • PDF

List Report Time Periods

  • Dark
  • PDF

Article summary

profiles/{Profile ID}/periods returns the time periods for a given report.

Method: GET

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

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{version}/ReportService/profiles/K729vc8Qqj5/periods/?format=xml

Example Response

<?xml version="1.0" encoding="UTF-8"?>
    <list name="Report">
    <list name="Realtime">



format = return data format
Example: specifying data formats

Data formatParameter and value
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

Was this article helpful?