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

Contents

Description

Create a new experiment.

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

Synopsis

REST Resource

type ManagementExperimentsInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Experiment :> Post `[JSON]` Experiment))))))))))) Source

A resource alias for analytics.management.experiments.insert method which the ManagementExperimentsInsert request conforms to.

Creating a Request

managementExperimentsInsert Source

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

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

Request Lenses

meiWebPropertyId :: Lens' ManagementExperimentsInsert Text Source

Web property ID to create the experiment for.

meiProFileId :: Lens' ManagementExperimentsInsert Text Source

View (Profile) ID to create the experiment for.

meiAccountId :: Lens' ManagementExperimentsInsert Text Source

Account ID to create the experiment for.