Include Parameters to Filter the Query

For each operation add the parameters and values you need as a filter. For example:
https://testandtarget.omniture.com/api?client=acme&email=john@acme.com&password=mypassword&operation=report&campaignId=NNNN&start=YYYY-MM-DD&end=YYYY-MM-DD&environment=testEnvironment&resolution=hour&segment=name
Parameter Description
operation (Required) Identifies the type of T&T action to execute. To generate performance reports, this value is always Report.
campaignId (Required) The ID of the campaign you want to query. To identify the Campaign List ID, Use the Campaign List API or look at the campaignDescriptionId parameter in the URL when viewing a campaign in the T&T Tool.
start (Required) The report start date and time. Specify the date using the following format: YYYY-MM-DDTHH:mm. The performance report uses the time zone setting specified in the Web browser.
end (Required) The report end date and time. Specify the date using the following format: YYYY-MM-DDTHH:mm. The performance report uses the time zone setting specified in the Web browser.
environment (Optional) A URL-encoded host group name, as defined in the T&T Tool. By default, the environment value is Production.
resolution (Optional) The period of the report, which can be one of the following values: hour, day (default), week, month.
segment (Optional) The name of the segment to include in the report. If you don't specify this parameter, the performance report is an aggregate of all segments. To generate a report listing each segment separately, use a segment value of allSegments.

Comments (0)

Must be logged in to comment. or register now to comment!