gogol-adsense-host-0.2.0: Google AdSense Host SDK.

Copyright(c) 2015-2016 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.AdSenseHost.AssociationSessions.Start

Contents

Description

Create an association session for initiating an association with an AdSense user.

See: AdSense Host API Reference for adsensehost.associationsessions.start.

Synopsis

REST Resource

type AssociationSessionsStartResource = "adsensehost" :> ("v4.1" :> ("associationsessions" :> ("start" :> (QueryParams "productCode" AssociationSessionsStartProductCode :> (QueryParam "websiteUrl" Text :> (QueryParam "websiteLocale" Text :> (QueryParam "userLocale" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AssociationSession)))))))) Source #

A resource alias for adsensehost.associationsessions.start method which the AssociationSessionsStart request conforms to.

Creating a Request

associationSessionsStart Source #

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

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

data AssociationSessionsStart Source #

Create an association session for initiating an association with an AdSense user.

See: associationSessionsStart smart constructor.

Instances

Eq AssociationSessionsStart Source # 
Data AssociationSessionsStart Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssociationSessionsStart -> c AssociationSessionsStart #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssociationSessionsStart #

toConstr :: AssociationSessionsStart -> Constr #

dataTypeOf :: AssociationSessionsStart -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AssociationSessionsStart) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssociationSessionsStart) #

gmapT :: (forall b. Data b => b -> b) -> AssociationSessionsStart -> AssociationSessionsStart #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssociationSessionsStart -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssociationSessionsStart -> r #

gmapQ :: (forall d. Data d => d -> u) -> AssociationSessionsStart -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AssociationSessionsStart -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssociationSessionsStart -> m AssociationSessionsStart #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssociationSessionsStart -> m AssociationSessionsStart #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssociationSessionsStart -> m AssociationSessionsStart #

Show AssociationSessionsStart Source # 
Generic AssociationSessionsStart Source # 
GoogleRequest AssociationSessionsStart Source # 
type Rep AssociationSessionsStart Source # 
type Rep AssociationSessionsStart = D1 (MetaData "AssociationSessionsStart" "Network.Google.Resource.AdSenseHost.AssociationSessions.Start" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AssociationSessionsStart'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_assWebsiteLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_assUserLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_assWebsiteURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_assProductCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [AssociationSessionsStartProductCode])))))
type Scopes AssociationSessionsStart Source # 
type Scopes AssociationSessionsStart = (:) Symbol "https://www.googleapis.com/auth/adsensehost" ([] Symbol)
type Rs AssociationSessionsStart Source # 

Request Lenses

assWebsiteLocale :: Lens' AssociationSessionsStart (Maybe Text) Source #

The locale of the user's hosted website.

assUserLocale :: Lens' AssociationSessionsStart (Maybe Text) Source #

The preferred locale of the user.

assWebsiteURL :: Lens' AssociationSessionsStart Text Source #

The URL of the user's hosted website.