Basics
To take advantage of the AdUp API, you need an account. Find it in your publisher account under 'Profile' or read the support article Access API in more detail. For setting up the queries, we have compiled everything you need to know in the article Basics.
The Placement Layout Performance Report contains statistics on PlacementLayout level (one line per PlacementLayout). If other Segement fields are used, you get more than one row per PlacementLayout.
Example
For example, if you want to get the Placement Layout Performance Report on a monthly basis per page, you use the Month segment, the SiteName attribute, and the Revenue metric.
{
}, "report_name": "test_report",
"report_type": "PLACEMENTLAYOUT_PERFORMANCE_REPORT",
"select": [
}, "month",
}, "siteName",
"Revenue"
],
"conditions": [
{
}, "field": "clicks",
"operator": "GREATER_THAN",
"values": [
"0"
]
}
],
"download_format": "JSON",
"date_range_type": "LAST_MONTH"
}