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.WebProperties.Insert

Contents

Description

Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.

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

Synopsis

REST Resource

type ManagementWebPropertiesInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` WebProperty :> Post `[JSON]` WebProperty))))))) Source

A resource alias for analytics.management.webproperties.insert method which the ManagementWebPropertiesInsert request conforms to.

Creating a Request

managementWebPropertiesInsert Source

Creates a value of ManagementWebPropertiesInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ManagementWebPropertiesInsert Source

Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.

See: managementWebPropertiesInsert smart constructor.

Request Lenses

mwpiAccountId :: Lens' ManagementWebPropertiesInsert Text Source

Account ID to create the web property for.