Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the authenticated user's list of performance metrics.
See: Ad Exchange Buyer API Reference for adexchangebuyer.performanceReport.list
.
- type PerformanceReportListResource = "adexchangebuyer" :> ("v1.4" :> ("performancereport" :> (QueryParam "accountId" (Textual Int64) :> (QueryParam "endDateTime" Text :> (QueryParam "startDateTime" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PerformanceReportList))))))))
- performanceReportList' :: Int64 -> Text -> Text -> PerformanceReportList'
- data PerformanceReportList'
- prlAccountId :: Lens' PerformanceReportList' Int64
- prlPageToken :: Lens' PerformanceReportList' (Maybe Text)
- prlEndDateTime :: Lens' PerformanceReportList' Text
- prlMaxResults :: Lens' PerformanceReportList' (Maybe Word32)
- prlStartDateTime :: Lens' PerformanceReportList' Text
REST Resource
type PerformanceReportListResource = "adexchangebuyer" :> ("v1.4" :> ("performancereport" :> (QueryParam "accountId" (Textual Int64) :> (QueryParam "endDateTime" Text :> (QueryParam "startDateTime" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PerformanceReportList)))))))) Source #
A resource alias for adexchangebuyer.performanceReport.list
method which the
PerformanceReportList'
request conforms to.
Creating a Request
performanceReportList' Source #
Creates a value of PerformanceReportList'
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PerformanceReportList' Source #
Retrieves the authenticated user's list of performance metrics.
See: performanceReportList'
smart constructor.
Request Lenses
prlAccountId :: Lens' PerformanceReportList' Int64 Source #
The account id to get the reports.
prlPageToken :: Lens' PerformanceReportList' (Maybe Text) Source #
A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. Optional.
prlEndDateTime :: Lens' PerformanceReportList' Text Source #
The end time of the report in ISO 8601 timestamp format using UTC.
prlMaxResults :: Lens' PerformanceReportList' (Maybe Word32) Source #
Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
prlStartDateTime :: Lens' PerformanceReportList' Text Source #
The start time of the report in ISO 8601 timestamp format using UTC.