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 |
Returns Analytics Multi-Channel Funnels data for a view (profile).
See: Google Analytics API Reference for analytics.data.mcf.get
.
- type DataMcfGetResource = "analytics" :> ("v3" :> ("data" :> ("mcf" :> (QueryParam "ids" Text :> (QueryParam "start-date" Text :> (QueryParam "end-date" Text :> (QueryParam "metrics" Text :> (QueryParam "samplingLevel" DataMcfGetSamplingLevel :> (QueryParam "filters" Text :> (QueryParam "sort" Text :> (QueryParam "dimensions" Text :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] McfData))))))))))))))
- dataMcfGet :: Text -> Text -> Text -> Text -> DataMcfGet
- data DataMcfGet
- dmgMetrics :: Lens' DataMcfGet Text
- dmgSamplingLevel :: Lens' DataMcfGet (Maybe DataMcfGetSamplingLevel)
- dmgFilters :: Lens' DataMcfGet (Maybe Text)
- dmgIds :: Lens' DataMcfGet Text
- dmgEndDate :: Lens' DataMcfGet Text
- dmgSort :: Lens' DataMcfGet (Maybe Text)
- dmgDimensions :: Lens' DataMcfGet (Maybe Text)
- dmgStartIndex :: Lens' DataMcfGet (Maybe Int32)
- dmgMaxResults :: Lens' DataMcfGet (Maybe Int32)
- dmgStartDate :: Lens' DataMcfGet Text
REST Resource
type DataMcfGetResource = "analytics" :> ("v3" :> ("data" :> ("mcf" :> (QueryParam "ids" Text :> (QueryParam "start-date" Text :> (QueryParam "end-date" Text :> (QueryParam "metrics" Text :> (QueryParam "samplingLevel" DataMcfGetSamplingLevel :> (QueryParam "filters" Text :> (QueryParam "sort" Text :> (QueryParam "dimensions" Text :> (QueryParam "start-index" (Textual Int32) :> (QueryParam "max-results" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] McfData)))))))))))))) Source #
A resource alias for analytics.data.mcf.get
method which the
DataMcfGet
request conforms to.
Creating a Request
Creates a value of DataMcfGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DataMcfGet Source #
Returns Analytics Multi-Channel Funnels data for a view (profile).
See: dataMcfGet
smart constructor.
Eq DataMcfGet Source # | |
Data DataMcfGet Source # | |
Show DataMcfGet Source # | |
Generic DataMcfGet Source # | |
GoogleRequest DataMcfGet Source # | |
type Rep DataMcfGet Source # | |
type Scopes DataMcfGet Source # | |
type Rs DataMcfGet Source # | |
Request Lenses
dmgMetrics :: Lens' DataMcfGet Text Source #
A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
dmgSamplingLevel :: Lens' DataMcfGet (Maybe DataMcfGetSamplingLevel) Source #
The desired sampling level.
dmgFilters :: Lens' DataMcfGet (Maybe Text) Source #
A comma-separated list of dimension or metric filters to be applied to the Analytics data.
dmgIds :: Lens' DataMcfGet Text Source #
Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
dmgEndDate :: Lens' DataMcfGet Text Source #
End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
dmgSort :: Lens' DataMcfGet (Maybe Text) Source #
A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
dmgDimensions :: Lens' DataMcfGet (Maybe Text) Source #
A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
dmgStartIndex :: Lens' DataMcfGet (Maybe Int32) Source #
An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
dmgMaxResults :: Lens' DataMcfGet (Maybe Int32) Source #
The maximum number of entries to include in this feed.
dmgStartDate :: Lens' DataMcfGet Text Source #
Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.