gogol-analytics-0.0.1: Google Analytics SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Analytics.Management.CustomDimensions.Insert

Contents

Description

Create a new custom dimension.

See: Google Analytics API Reference for analytics.management.customDimensions.insert.

Synopsis

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:

Request Lenses

mcdiWebPropertyId :: Lens' ManagementCustomDimensionsInsert Text Source

Web property ID for the custom dimension to create.

mcdiAccountId :: Lens' ManagementCustomDimensionsInsert Text Source

Account ID for the custom dimension to create.