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 |
Creates a webProperty-AdWords link.
See: Google Analytics API Reference for analytics.management.webPropertyAdWordsLinks.insert
.
- type ManagementWebPropertyAdWordsLinksInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("entityAdWordsLinks" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityAdWordsLink :> Post '[JSON] EntityAdWordsLink)))))))))
- managementWebPropertyAdWordsLinksInsert :: Text -> EntityAdWordsLink -> Text -> ManagementWebPropertyAdWordsLinksInsert
- data ManagementWebPropertyAdWordsLinksInsert
- mwpawliWebPropertyId :: Lens' ManagementWebPropertyAdWordsLinksInsert Text
- mwpawliPayload :: Lens' ManagementWebPropertyAdWordsLinksInsert EntityAdWordsLink
- mwpawliAccountId :: Lens' ManagementWebPropertyAdWordsLinksInsert Text
REST Resource
type ManagementWebPropertyAdWordsLinksInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("entityAdWordsLinks" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityAdWordsLink :> Post '[JSON] EntityAdWordsLink))))))))) Source #
A resource alias for analytics.management.webPropertyAdWordsLinks.insert
method which the
ManagementWebPropertyAdWordsLinksInsert
request conforms to.
Creating a Request
managementWebPropertyAdWordsLinksInsert Source #
Creates a value of ManagementWebPropertyAdWordsLinksInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementWebPropertyAdWordsLinksInsert Source #
Creates a webProperty-AdWords link.
See: managementWebPropertyAdWordsLinksInsert
smart constructor.
Request Lenses
mwpawliWebPropertyId :: Lens' ManagementWebPropertyAdWordsLinksInsert Text Source #
Web property ID to create the link for.
mwpawliPayload :: Lens' ManagementWebPropertyAdWordsLinksInsert EntityAdWordsLink Source #
Multipart request metadata.
mwpawliAccountId :: Lens' ManagementWebPropertyAdWordsLinksInsert Text Source #
ID of the Google Analytics account to create the link for.