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 |
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
- type ManagementWebPropertiesInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebProperty :> Post '[JSON] WebProperty)))))))
- managementWebPropertiesInsert :: WebProperty -> Text -> ManagementWebPropertiesInsert
- data ManagementWebPropertiesInsert
- mwpiPayload :: Lens' ManagementWebPropertiesInsert WebProperty
- mwpiAccountId :: Lens' ManagementWebPropertiesInsert Text
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.
Instances
Request Lenses
mwpiPayload :: Lens' ManagementWebPropertiesInsert WebProperty Source #
Multipart request metadata.
mwpiAccountId :: Lens' ManagementWebPropertiesInsert Text Source #
Account ID to create the web property for.