GET Traffic Report Exports (deprecated, use live report builder API instead)
Copy {
"site": 26,
"idReport": 0,
"dateStart": "2016-01-01",
"dateEnd": "2016-01-30",
"attrib": "1,3,4",
"kpis": "1,3,6,9",
"segment": 2770,
"breakdown": "day",
"datas": [{
"date": "2016-01-01",
"level1": "SEO",
"level2": "google",
"kpis": [{
"id": "1",
"label": "Impressions",
"value": "12"
}, {
"id": "3",
"label": "Clicks",
"value": "42"
}, {
"id": "6",
"label": "Unique Clicks (by channel)",
"value": "2"
}, {
"id": "9",
"label": "Page views",
"value": "1"
}]
}, {
"date": "2016-01-02",
"level1": "SEO",
"level2": "google",
"kpis": [{
"id": "1",
"label": "Impressions",
"value": "12"
}, {
"id": "3",
"label": "Clicks",
"value": "42"
}, {
"id": "6",
"label": "Unique Clicks (by channel)",
"value": "2"
}, {
"id": "9",
"label": "Page views",
"value": "1"
}]
}]
}
XML
Copy <?xml version="1.0" encoding="UTF-8"?>
<root>
<attrib>1,3,4</attrib>
<breakdown>day</breakdown>
<dateEnd>2016-01-30</dateEnd>
<dateStart>2016-01-01</dateStart>
<kpis>1,3,6,9</kpis>
<segment>2770</segment>
<site>26</site>
<idReport>0</idReport>
<datas>
<data>
<level1>SEO</level1>
<level2>google</level2>
<date>2016-01-01</date>
<kpis>
<kpi>
<id>1</id>
<label>Impressions</label>
<value>12</value>
</kpi>
<kpi>
<id>3</id>
<label>Clicks</label>
<value>42</value>
</kpi>
<kpi>
<id>6</id>
<label>Unique Clicks (by channel)</label>
<value>2</value>
</kpi>
<kpi>
<id>9</id>
<label>Page views</label>
<value>1</value>
</kpi>
</kpis>
</data>
<data>
<date>2016-01-02</date>
<level1>SEO</level1>
<level2>google</level2>
<kpis>
<kpi>
<id>1</id>
<label>Impressions</label>
<value>12</value>
</kpi>
<kpi>
<id>3</id>
<label>Clicks</label>
<value>42</value>
</kpi>
<kpi>
<id>6</id>
<label>Unique Clicks (by channel)</label>
<value>2</value>
</kpi>
<kpi>
<id>9</id>
<label>Page views</label>
<value>1</value>
</kpi>
</kpis>
</data>
</datas>
</root>