The report metadata object contains dynamically generated documentation for a specific report, and is where you will find documentation for a specific report you want to run. Report metadata is only available for reports where ApiAccessible: true
.
Attributes
Name
string
Name
stringName of the report.
Id
string
Id
stringUnique impact.com Id for the report. Will only appear if ApiAccessible: true
.
Description
string
Description
stringShort explanation of what data the report shows.
Filters
array
Filters
arrayAn array of filters (listed as separate objects) that can be added as query string parameters to reports that are run via API. These are also the filters that are available for the report if you decide to run it in the impact.com web app.
View child attributes
Name
string
Name
stringName of the filter.
DataType
enum
DataType
enumWhat kind of value must be passed in the filter's parameter.
View possible values | |
---|---|
Boolean | Filter's query value should be in a true /false format. |
Date (yyyy-MM-dd'T'HH:mm:ssZZ) | Filter's query value should be in a datetime format. |
Decimal | Filter's query value should be in a decimal format. |
Integer | Filter's query value should be in an integer format. |
String | Filter's query value should be in a string format. |
Format
enum
Format
enumHow the filter's value should look when passed.
View possible values | |
---|---|
yyyy-MM-dd | The filter's value should pass a date, but not a time, with hyphens (- ) between the year, month, and day. |
{An empty string} | No additional format restrictions must be met for the filter's value. |
Attributes
array
Attributes
arrayAn array of attributes (listed as separate objects) that are returned when running the report via the Reports API. If running the report via the impact.com web app, these would be the names of the columns on a table report.
View child attributes
Name
string
Name
stringName of the attribute.
DataType
string
DataType
stringWhat format the attribute's value will be in.
View possible values | |
---|---|
Boolean | Attribute's value will return in a true /false format. |
Date (yyyy-MM-dd'T'HH:mm:ssZZ) | Attribute's value will return in a datetime format. |
Decimal | Attribute's value will return in a decimal format. |
Integer | Attribute's value will return in an integer format. |
String | Attribute's value will return in a string format. |
Description
string
Description
stringMore information about a given report attribute.
RunUri
string
RunUri
stringUri to run the report via API.
Uri
string
Uri
stringReport's direct Uri to view its metadata.
{
"Name": "Performance by Ad Campaign Group",
"Id": "att_adv_performance_by_ad_cam_group",
"Description": "Performance data aggregated by ad campaign and ad campaign group.",
"Filters": [
{
"Name": "DEFAULT_MODEL",
"DataType": "String",
"Format": ""
},
{
"Name": "Channel",
"DataType": "String",
"Format": ""
},
...
],
"Attributes": [
{
"Name": "Channel",
"DataType": "String",
"Description": ""
},
{
"Name": "Media",
"DataType": "String",
"Description": ""
},
...
],
"RunUri": "/Advertisers/<AccountSID>/Reports/att_adv_performance_by_ad_cam_group",
"Uri": "/Advertisers/<AccountSID>/Reports/att_adv_performance_by_ad_cam_group/MetaData"
}