gogol-adsense-host-0.4.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 # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.AssociationSessions.Start

Data AssociationSessionsStart Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.AssociationSessions.Start

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 # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.AssociationSessions.Start

Generic AssociationSessionsStart Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.AssociationSessions.Start

Associated Types

type Rep AssociationSessionsStart :: Type -> Type #

GoogleRequest AssociationSessionsStart Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.AssociationSessions.Start

type Rep AssociationSessionsStart Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.AssociationSessions.Start

type Rep AssociationSessionsStart = D1 (MetaData "AssociationSessionsStart" "Network.Google.Resource.AdSenseHost.AssociationSessions.Start" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "AssociationSessionsStart'" PrefixI True) ((S1 (MetaSel (Just "_assWebsiteLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_assUserLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_assWebsiteURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_assProductCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [AssociationSessionsStartProductCode]))))
type Scopes AssociationSessionsStart Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.AssociationSessions.Start

type Scopes AssociationSessionsStart = "https://www.googleapis.com/auth/adsensehost" ': ([] :: [Symbol])
type Rs AssociationSessionsStart Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.AssociationSessions.Start

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.