gogol-adsense-host-0.5.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.AdSenseHost.Types

Contents

Description

 
Synopsis

Service Configuration

adSenseHostService :: ServiceConfig Source #

Default request referring to version 'v4.1' of the AdSense Host API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

adSenseHostScope :: Proxy '["https://www.googleapis.com/auth/adsensehost"] Source #

View and manage your AdSense host data and associated accounts

AdClients

data AdClients Source #

Instances
Eq AdClients Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data AdClients Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdClients -> Constr #

dataTypeOf :: AdClients -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdClients Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdClients Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdClients :: Type -> Type #

ToJSON AdClients Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdClients Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdClients Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdClients = D1 (MetaData "AdClients" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdClients'" PrefixI True) ((S1 (MetaSel (Just "_acEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_acNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_acKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_acItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AdClient])))))

adClients :: AdClients Source #

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

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

acEtag :: Lens' AdClients (Maybe Text) Source #

ETag of this response for caching purposes.

acNextPageToken :: Lens' AdClients (Maybe Text) Source #

Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's "pageToken" value to this.

acKind :: Lens' AdClients Text Source #

Kind of list this is, in this case adsensehost#adClients.

acItems :: Lens' AdClients [AdClient] Source #

The ad clients returned in this list response.

AssociationSession

data AssociationSession Source #

Instances
Eq AssociationSession Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data AssociationSession Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AssociationSession -> Constr #

dataTypeOf :: AssociationSession -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AssociationSession Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AssociationSession Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AssociationSession :: Type -> Type #

ToJSON AssociationSession Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AssociationSession Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AssociationSession Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

associationSession :: AssociationSession Source #

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

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

asStatus :: Lens' AssociationSession (Maybe Text) Source #

Status of the completed association, available once the association callback token has been verified. One of ACCEPTED, REJECTED, or ERROR.

asKind :: Lens' AssociationSession Text Source #

Kind of resource this is, in this case adsensehost#associationSession.

asWebsiteLocale :: Lens' AssociationSession (Maybe Text) Source #

The locale of the user's hosted website.

asUserLocale :: Lens' AssociationSession (Maybe Text) Source #

The preferred locale of the user themselves when going through the AdSense association flow.

asAccountId :: Lens' AssociationSession (Maybe Text) Source #

Hosted account id of the associated publisher after association. Present if status is ACCEPTED.

asProductCodes :: Lens' AssociationSession [Text] Source #

The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated)

asId :: Lens' AssociationSession (Maybe Text) Source #

Unique identifier of this association session.

asWebsiteURL :: Lens' AssociationSession (Maybe Text) Source #

The URL of the user's hosted website.

asRedirectURL :: Lens' AssociationSession (Maybe Text) Source #

Redirect URL of this association session. Used to redirect users into the AdSense association flow.

AssociationSessionsStartProductCode

data AssociationSessionsStartProductCode Source #

Products to associate with the user.

Constructors

Afc

AFC AdSense For Content

Afg

AFG AdSense For Games

Afmc

AFMC AdSense For Mobile Content - deprecated

Afs

AFS AdSense For Search - deprecated

Afv

AFV AdSense For Video

Instances
Enum AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

Eq AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

Data AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

Methods

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

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

toConstr :: AssociationSessionsStartProductCode -> Constr #

dataTypeOf :: AssociationSessionsStartProductCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

Read AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

Show AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

Generic AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

Hashable AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

ToJSON AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

FromJSON AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

FromHttpApiData AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

ToHttpApiData AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

type Rep AssociationSessionsStartProductCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Sum

type Rep AssociationSessionsStartProductCode = D1 (MetaData "AssociationSessionsStartProductCode" "Network.Google.AdSenseHost.Types.Sum" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) ((C1 (MetaCons "Afc" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Afg" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Afmc" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Afs" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Afv" PrefixI False) (U1 :: Type -> Type))))

Accounts

data Accounts Source #

Instances
Eq Accounts Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data Accounts Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: Accounts -> Constr #

dataTypeOf :: Accounts -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Accounts Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic Accounts Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep Accounts :: Type -> Type #

Methods

from :: Accounts -> Rep Accounts x #

to :: Rep Accounts x -> Accounts #

ToJSON Accounts Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON Accounts Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep Accounts Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep Accounts = D1 (MetaData "Accounts" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "Accounts'" PrefixI True) (S1 (MetaSel (Just "_aEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Account])))))

accounts :: Accounts Source #

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

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

aEtag :: Lens' Accounts (Maybe Text) Source #

ETag of this response for caching purposes.

aKind :: Lens' Accounts Text Source #

Kind of list this is, in this case adsensehost#accounts.

aItems :: Lens' Accounts [Account] Source #

The accounts returned in this list response.

AdUnits

data AdUnits Source #

Instances
Eq AdUnits Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

(==) :: AdUnits -> AdUnits -> Bool #

(/=) :: AdUnits -> AdUnits -> Bool #

Data AdUnits Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdUnits -> Constr #

dataTypeOf :: AdUnits -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdUnits Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdUnits Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdUnits :: Type -> Type #

Methods

from :: AdUnits -> Rep AdUnits x #

to :: Rep AdUnits x -> AdUnits #

ToJSON AdUnits Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdUnits Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnits Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnits = D1 (MetaData "AdUnits" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdUnits'" PrefixI True) ((S1 (MetaSel (Just "_auEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_auNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_auKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_auItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AdUnit])))))

adUnits :: AdUnits Source #

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

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

auEtag :: Lens' AdUnits (Maybe Text) Source #

ETag of this response for caching purposes.

auNextPageToken :: Lens' AdUnits (Maybe Text) Source #

Continuation token used to page through ad units. To retrieve the next page of results, set the next request's "pageToken" value to this.

auKind :: Lens' AdUnits Text Source #

Kind of list this is, in this case adsensehost#adUnits.

auItems :: Lens' AdUnits [AdUnit] Source #

The ad units returned in this list response.

URLChannels

data URLChannels Source #

Instances
Eq URLChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data URLChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: URLChannels -> Constr #

dataTypeOf :: URLChannels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show URLChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic URLChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep URLChannels :: Type -> Type #

ToJSON URLChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON URLChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep URLChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep URLChannels = D1 (MetaData "URLChannels" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "URLChannels'" PrefixI True) ((S1 (MetaSel (Just "_ucEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ucKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ucItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [URLChannel])))))

urlChannels :: URLChannels Source #

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

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

ucEtag :: Lens' URLChannels (Maybe Text) Source #

ETag of this response for caching purposes.

ucNextPageToken :: Lens' URLChannels (Maybe Text) Source #

Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.

ucKind :: Lens' URLChannels Text Source #

Kind of list this is, in this case adsensehost#urlChannels.

ucItems :: Lens' URLChannels [URLChannel] Source #

The URL channels returned in this list response.

CustomChannels

data CustomChannels Source #

Instances
Eq CustomChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data CustomChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: CustomChannels -> Constr #

dataTypeOf :: CustomChannels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic CustomChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep CustomChannels :: Type -> Type #

ToJSON CustomChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON CustomChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep CustomChannels Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep CustomChannels = D1 (MetaData "CustomChannels" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "CustomChannels'" PrefixI True) ((S1 (MetaSel (Just "_ccEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ccNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ccKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CustomChannel])))))

customChannels :: CustomChannels Source #

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

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

ccEtag :: Lens' CustomChannels (Maybe Text) Source #

ETag of this response for caching purposes.

ccNextPageToken :: Lens' CustomChannels (Maybe Text) Source #

Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's "pageToken" value to this.

ccKind :: Lens' CustomChannels Text Source #

Kind of list this is, in this case adsensehost#customChannels.

ccItems :: Lens' CustomChannels [CustomChannel] Source #

The custom channels returned in this list response.

AdUnit

data AdUnit Source #

Instances
Eq AdUnit Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

(==) :: AdUnit -> AdUnit -> Bool #

(/=) :: AdUnit -> AdUnit -> Bool #

Data AdUnit Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdUnit -> Constr #

dataTypeOf :: AdUnit -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdUnit Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdUnit Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdUnit :: Type -> Type #

Methods

from :: AdUnit -> Rep AdUnit x #

to :: Rep AdUnit x -> AdUnit #

ToJSON AdUnit Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdUnit Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnit Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

adUnit :: AdUnit Source #

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

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

auuStatus :: Lens' AdUnit (Maybe Text) Source #

Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it. ACTIVE: Indicates that there has been activity on this ad unit in the last seven days. INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.

auuMobileContentAdsSettings :: Lens' AdUnit (Maybe AdUnitMobileContentAdsSettings) Source #

Settings specific to WAP mobile content ads (AFMC - deprecated).

auuKind :: Lens' AdUnit Text Source #

Kind of resource this is, in this case adsensehost#adUnit.

auuCustomStyle :: Lens' AdUnit (Maybe AdStyle) Source #

Custom style information specific to this ad unit.

auuName :: Lens' AdUnit (Maybe Text) Source #

Name of this ad unit.

auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings) Source #

Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

auuCode :: Lens' AdUnit (Maybe Text) Source #

Identity code of this ad unit, not necessarily unique across ad clients.

auuId :: Lens' AdUnit (Maybe Text) Source #

Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

Report

data Report Source #

Instances
Eq Report Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

(==) :: Report -> Report -> Bool #

(/=) :: Report -> Report -> Bool #

Data Report Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: Report -> Constr #

dataTypeOf :: Report -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Report Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic Report Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep Report :: Type -> Type #

Methods

from :: Report -> Rep Report x #

to :: Rep Report x -> Report #

ToJSON Report Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON Report Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep Report Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

report :: Report Source #

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

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

rKind :: Lens' Report Text Source #

Kind this is, in this case adsensehost#report.

rAverages :: Lens' Report [Text] Source #

The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.

rWarnings :: Lens' Report [Text] Source #

Any warnings associated with generation of the report.

rRows :: Lens' Report [[Text]] Source #

The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.

rTotals :: Lens' Report [Text] Source #

The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.

rHeaders :: Lens' Report [ReportHeadersItem] Source #

The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request.

rTotalMatchedRows :: Lens' Report (Maybe Int64) Source #

The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit.

AdStyleFont

data AdStyleFont Source #

The font which is included in the style.

See: adStyleFont smart constructor.

Instances
Eq AdStyleFont Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data AdStyleFont Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdStyleFont -> Constr #

dataTypeOf :: AdStyleFont -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdStyleFont Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdStyleFont Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdStyleFont :: Type -> Type #

ToJSON AdStyleFont Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdStyleFont Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdStyleFont Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdStyleFont = D1 (MetaData "AdStyleFont" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdStyleFont'" PrefixI True) (S1 (MetaSel (Just "_asfSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_asfFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

adStyleFont :: AdStyleFont Source #

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

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

asfSize :: Lens' AdStyleFont (Maybe Text) Source #

The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE, ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE.

asfFamily :: Lens' AdStyleFont (Maybe Text) Source #

The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY, ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA.

Account

data Account Source #

Instances
Eq Account Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Data Account Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: Account -> Constr #

dataTypeOf :: Account -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Account Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic Account Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

ToJSON Account Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON Account Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep Account Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep Account = D1 (MetaData "Account" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "Account'" PrefixI True) ((S1 (MetaSel (Just "_accStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_accKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_accName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_accId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

account :: Account Source #

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

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

accStatus :: Lens' Account (Maybe Text) Source #

Approval status of this account. One of: PENDING, APPROVED, DISABLED.

accKind :: Lens' Account Text Source #

Kind of resource this is, in this case adsensehost#account.

accName :: Lens' Account (Maybe Text) Source #

Name of this account.

accId :: Lens' Account (Maybe Text) Source #

Unique identifier of this account.

AdUnitMobileContentAdsSettings

data AdUnitMobileContentAdsSettings Source #

Settings specific to WAP mobile content ads (AFMC - deprecated).

See: adUnitMobileContentAdsSettings smart constructor.

Instances
Eq AdUnitMobileContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data AdUnitMobileContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdUnitMobileContentAdsSettings -> Constr #

dataTypeOf :: AdUnitMobileContentAdsSettings -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdUnitMobileContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdUnitMobileContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdUnitMobileContentAdsSettings :: Type -> Type #

ToJSON AdUnitMobileContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdUnitMobileContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnitMobileContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnitMobileContentAdsSettings = D1 (MetaData "AdUnitMobileContentAdsSettings" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdUnitMobileContentAdsSettings'" PrefixI True) ((S1 (MetaSel (Just "_aumcasSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aumcasScriptingLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aumcasMarkupLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aumcasType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

adUnitMobileContentAdsSettings :: AdUnitMobileContentAdsSettings Source #

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

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

aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) Source #

The scripting language to use for this ad unit.

aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) Source #

The markup language to use for this ad unit.

AdStyleColors

data AdStyleColors Source #

The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.

See: adStyleColors smart constructor.

Instances
Eq AdStyleColors Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data AdStyleColors Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdStyleColors -> Constr #

dataTypeOf :: AdStyleColors -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdStyleColors Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdStyleColors Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdStyleColors :: Type -> Type #

ToJSON AdStyleColors Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdStyleColors Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdStyleColors Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdStyleColors = D1 (MetaData "AdStyleColors" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdStyleColors'" PrefixI True) ((S1 (MetaSel (Just "_ascText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ascURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ascBOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ascTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ascBackgRound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

adStyleColors :: AdStyleColors Source #

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

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

ascText :: Lens' AdStyleColors (Maybe Text) Source #

The color of the ad text.

ascURL :: Lens' AdStyleColors (Maybe Text) Source #

The color of the ad url.

ascBOrder :: Lens' AdStyleColors (Maybe Text) Source #

The color of the ad border.

ascTitle :: Lens' AdStyleColors (Maybe Text) Source #

The color of the ad title.

ascBackgRound :: Lens' AdStyleColors (Maybe Text) Source #

The color of the ad background.

AdUnitContentAdsSettingsBackupOption

data AdUnitContentAdsSettingsBackupOption Source #

The backup option to be used in instances where no ad is available.

See: adUnitContentAdsSettingsBackupOption smart constructor.

Instances
Eq AdUnitContentAdsSettingsBackupOption Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data AdUnitContentAdsSettingsBackupOption Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdUnitContentAdsSettingsBackupOption -> Constr #

dataTypeOf :: AdUnitContentAdsSettingsBackupOption -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdUnitContentAdsSettingsBackupOption Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdUnitContentAdsSettingsBackupOption Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

ToJSON AdUnitContentAdsSettingsBackupOption Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdUnitContentAdsSettingsBackupOption Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnitContentAdsSettingsBackupOption Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnitContentAdsSettingsBackupOption = D1 (MetaData "AdUnitContentAdsSettingsBackupOption" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdUnitContentAdsSettingsBackupOption'" PrefixI True) (S1 (MetaSel (Just "_aucasboColor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aucasboURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aucasboType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

adUnitContentAdsSettingsBackupOption :: AdUnitContentAdsSettingsBackupOption Source #

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

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

aucasboColor :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text) Source #

Color to use when type is set to COLOR. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.

aucasboURL :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text) Source #

URL to use when type is set to URL.

aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text) Source #

Type of the backup option. Possible values are BLANK, COLOR and URL.

AdClient

data AdClient Source #

Instances
Eq AdClient Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data AdClient Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdClient -> Constr #

dataTypeOf :: AdClient -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdClient Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdClient Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdClient :: Type -> Type #

Methods

from :: AdClient -> Rep AdClient x #

to :: Rep AdClient x -> AdClient #

ToJSON AdClient Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdClient Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdClient Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdClient = D1 (MetaData "AdClient" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdClient'" PrefixI True) ((S1 (MetaSel (Just "_adKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_adArcOptIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_adSupportsReporting") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_adId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_adProductCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

adClient :: AdClient Source #

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

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

adKind :: Lens' AdClient Text Source #

Kind of resource this is, in this case adsensehost#adClient.

adArcOptIn :: Lens' AdClient (Maybe Bool) Source #

Whether this ad client is opted in to ARC.

adSupportsReporting :: Lens' AdClient (Maybe Bool) Source #

Whether this ad client supports being reported on.

adId :: Lens' AdClient (Maybe Text) Source #

Unique identifier of this ad client.

adProductCode :: Lens' AdClient (Maybe Text) Source #

This ad client's product code, which corresponds to the PRODUCT_CODE report dimension.

ReportHeadersItem

data ReportHeadersItem Source #

Instances
Eq ReportHeadersItem Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data ReportHeadersItem Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: ReportHeadersItem -> Constr #

dataTypeOf :: ReportHeadersItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportHeadersItem Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic ReportHeadersItem Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep ReportHeadersItem :: Type -> Type #

ToJSON ReportHeadersItem Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON ReportHeadersItem Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep ReportHeadersItem Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep ReportHeadersItem = D1 (MetaData "ReportHeadersItem" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "ReportHeadersItem'" PrefixI True) (S1 (MetaSel (Just "_rhiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rhiCurrency") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rhiType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

reportHeadersItem :: ReportHeadersItem Source #

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

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

rhiName :: Lens' ReportHeadersItem (Maybe Text) Source #

The name of the header.

rhiCurrency :: Lens' ReportHeadersItem (Maybe Text) Source #

The currency of this column. Only present if the header type is METRIC_CURRENCY.

rhiType :: Lens' ReportHeadersItem (Maybe Text) Source #

The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.

AdStyle

data AdStyle Source #

Instances
Eq AdStyle Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

(==) :: AdStyle -> AdStyle -> Bool #

(/=) :: AdStyle -> AdStyle -> Bool #

Data AdStyle Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdStyle -> Constr #

dataTypeOf :: AdStyle -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdStyle Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdStyle Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdStyle :: Type -> Type #

Methods

from :: AdStyle -> Rep AdStyle x #

to :: Rep AdStyle x -> AdStyle #

ToJSON AdStyle Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdStyle Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdStyle Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdStyle = D1 (MetaData "AdStyle" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdStyle'" PrefixI True) ((S1 (MetaSel (Just "_assCorners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_assKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_assFont") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdStyleFont)) :*: S1 (MetaSel (Just "_assColors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdStyleColors)))))

adStyle :: AdStyle Source #

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

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

assCorners :: Lens' AdStyle (Maybe Text) Source #

The style of the corners in the ad (deprecated: never populated, ignored).

assKind :: Lens' AdStyle Text Source #

Kind this is, in this case adsensehost#adStyle.

assFont :: Lens' AdStyle (Maybe AdStyleFont) Source #

The font which is included in the style.

assColors :: Lens' AdStyle (Maybe AdStyleColors) Source #

The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.

CustomChannel

data CustomChannel Source #

Instances
Eq CustomChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data CustomChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: CustomChannel -> Constr #

dataTypeOf :: CustomChannel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic CustomChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep CustomChannel :: Type -> Type #

ToJSON CustomChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON CustomChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep CustomChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep CustomChannel = D1 (MetaData "CustomChannel" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "CustomChannel'" PrefixI True) ((S1 (MetaSel (Just "_cKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

customChannel :: CustomChannel Source #

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

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

cKind :: Lens' CustomChannel Text Source #

Kind of resource this is, in this case adsensehost#customChannel.

cName :: Lens' CustomChannel (Maybe Text) Source #

Name of this custom channel.

cCode :: Lens' CustomChannel (Maybe Text) Source #

Code of this custom channel, not necessarily unique across ad clients.

cId :: Lens' CustomChannel (Maybe Text) Source #

Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

URLChannel

data URLChannel Source #

Instances
Eq URLChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data URLChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: URLChannel -> Constr #

dataTypeOf :: URLChannel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show URLChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic URLChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep URLChannel :: Type -> Type #

ToJSON URLChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON URLChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep URLChannel Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep URLChannel = D1 (MetaData "URLChannel" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "URLChannel'" PrefixI True) (S1 (MetaSel (Just "_urlcKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_urlcId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_urlcURLPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

urlChannel :: URLChannel Source #

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

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

urlcKind :: Lens' URLChannel Text Source #

Kind of resource this is, in this case adsensehost#urlChannel.

urlcId :: Lens' URLChannel (Maybe Text) Source #

Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

urlcURLPattern :: Lens' URLChannel (Maybe Text) Source #

URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home

AdCode

data AdCode Source #

Instances
Eq AdCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

(==) :: AdCode -> AdCode -> Bool #

(/=) :: AdCode -> AdCode -> Bool #

Data AdCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdCode -> Constr #

dataTypeOf :: AdCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdCode :: Type -> Type #

Methods

from :: AdCode -> Rep AdCode x #

to :: Rep AdCode x -> AdCode #

ToJSON AdCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdCode Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdCode = D1 (MetaData "AdCode" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdCode'" PrefixI True) (S1 (MetaSel (Just "_aaKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aaAdCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

adCode :: AdCode Source #

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

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

aaKind :: Lens' AdCode Text Source #

Kind this is, in this case adsensehost#adCode.

aaAdCode :: Lens' AdCode (Maybe Text) Source #

The ad code snippet.

AdUnitContentAdsSettings

data AdUnitContentAdsSettings Source #

Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

See: adUnitContentAdsSettings smart constructor.

Instances
Eq AdUnitContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Data AdUnitContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Methods

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

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

toConstr :: AdUnitContentAdsSettings -> Constr #

dataTypeOf :: AdUnitContentAdsSettings -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdUnitContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Generic AdUnitContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

Associated Types

type Rep AdUnitContentAdsSettings :: Type -> Type #

ToJSON AdUnitContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

FromJSON AdUnitContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnitContentAdsSettings Source # 
Instance details

Defined in Network.Google.AdSenseHost.Types.Product

type Rep AdUnitContentAdsSettings = D1 (MetaData "AdUnitContentAdsSettings" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.5.0-JLSS8Ly9Z0w5k3lIK5IZni" False) (C1 (MetaCons "AdUnitContentAdsSettings'" PrefixI True) (S1 (MetaSel (Just "_aucasBackupOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdUnitContentAdsSettingsBackupOption)) :*: (S1 (MetaSel (Just "_aucasSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aucasType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

adUnitContentAdsSettings :: AdUnitContentAdsSettings Source #

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

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

aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitContentAdsSettingsBackupOption) Source #

The backup option to be used in instances where no ad is available.

aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text) Source #

Size of this ad unit. Size values are in the form SIZE_{width}_{height}.

aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text) Source #

Type of this ad unit. Possible values are TEXT, TEXT_IMAGE, IMAGE and LINK.