Copyright | (c) 2015 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 |
Create a new custom dimension.
See: Google Analytics API Reference for analytics.management.customDimensions.insert
.
- type ManagementCustomDimensionsInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDimensions" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CustomDimension :> Post `[JSON]` CustomDimension)))))))))
- managementCustomDimensionsInsert :: Text -> CustomDimension -> Text -> ManagementCustomDimensionsInsert
- data ManagementCustomDimensionsInsert
- mcdiWebPropertyId :: Lens' ManagementCustomDimensionsInsert Text
- mcdiPayload :: Lens' ManagementCustomDimensionsInsert CustomDimension
- mcdiAccountId :: Lens' ManagementCustomDimensionsInsert Text
REST Resource
type ManagementCustomDimensionsInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDimensions" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CustomDimension :> Post `[JSON]` CustomDimension))))))))) Source
A resource alias for analytics.management.customDimensions.insert
method which the
ManagementCustomDimensionsInsert
request conforms to.
Creating a Request
managementCustomDimensionsInsert Source
Creates a value of ManagementCustomDimensionsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementCustomDimensionsInsert Source
Create a new custom dimension.
See: managementCustomDimensionsInsert
smart constructor.
Request Lenses
mcdiWebPropertyId :: Lens' ManagementCustomDimensionsInsert Text Source
Web property ID for the custom dimension to create.
mcdiPayload :: Lens' ManagementCustomDimensionsInsert CustomDimension Source
Multipart request metadata.
mcdiAccountId :: Lens' ManagementCustomDimensionsInsert Text Source
Account ID for the custom dimension to create.