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.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 # 
Data AdClients Source # 

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 # 
Generic AdClients Source # 

Associated Types

type Rep AdClients :: * -> * #

ToJSON AdClients Source # 
FromJSON AdClients Source # 
type Rep AdClients Source # 
type Rep AdClients = D1 (MetaData "AdClients" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdClients'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_acEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_acNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_acKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_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 # 
Data AssociationSession Source # 

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 # 
Generic AssociationSession Source # 
ToJSON AssociationSession Source # 
FromJSON AssociationSession Source # 
type Rep AssociationSession Source # 

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 # 
Eq AssociationSessionsStartProductCode Source # 
Data AssociationSessionsStartProductCode Source # 

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 # 
Read AssociationSessionsStartProductCode Source # 
Show AssociationSessionsStartProductCode Source # 
Generic AssociationSessionsStartProductCode Source # 
Hashable AssociationSessionsStartProductCode Source # 
ToJSON AssociationSessionsStartProductCode Source # 
FromJSON AssociationSessionsStartProductCode Source # 
FromHttpApiData AssociationSessionsStartProductCode Source # 
ToHttpApiData AssociationSessionsStartProductCode Source # 
type Rep AssociationSessionsStartProductCode Source # 
type Rep AssociationSessionsStartProductCode = D1 (MetaData "AssociationSessionsStartProductCode" "Network.Google.AdSenseHost.Types.Sum" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) ((:+:) ((:+:) (C1 (MetaCons "Afc" PrefixI False) U1) (C1 (MetaCons "Afg" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Afmc" PrefixI False) U1) ((:+:) (C1 (MetaCons "Afs" PrefixI False) U1) (C1 (MetaCons "Afv" PrefixI False) U1))))

Accounts

data Accounts Source #

Instances

Eq Accounts Source # 
Data Accounts Source # 

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 # 
Generic Accounts Source # 

Associated Types

type Rep Accounts :: * -> * #

Methods

from :: Accounts -> Rep Accounts x #

to :: Rep Accounts x -> Accounts #

ToJSON Accounts Source # 
FromJSON Accounts Source # 
type Rep Accounts Source # 
type Rep Accounts = D1 (MetaData "Accounts" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "Accounts'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_aKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_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 # 

Methods

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

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

Data AdUnits Source # 

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 # 
Generic AdUnits Source # 

Associated Types

type Rep AdUnits :: * -> * #

Methods

from :: AdUnits -> Rep AdUnits x #

to :: Rep AdUnits x -> AdUnits #

ToJSON AdUnits Source # 
FromJSON AdUnits Source # 
type Rep AdUnits Source # 
type Rep AdUnits = D1 (MetaData "AdUnits" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdUnits'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_auEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_auNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_auKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_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 # 
Data URLChannels Source # 

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 # 
Generic URLChannels Source # 

Associated Types

type Rep URLChannels :: * -> * #

ToJSON URLChannels Source # 
FromJSON URLChannels Source # 
type Rep URLChannels Source # 
type Rep URLChannels = D1 (MetaData "URLChannels" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "URLChannels'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ucEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ucNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ucKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_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 # 
Data CustomChannels Source # 

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 # 
Generic CustomChannels Source # 

Associated Types

type Rep CustomChannels :: * -> * #

ToJSON CustomChannels Source # 
FromJSON CustomChannels Source # 
type Rep CustomChannels Source # 
type Rep CustomChannels = D1 (MetaData "CustomChannels" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "CustomChannels'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ccEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ccNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ccKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_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 # 

Methods

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

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

Data AdUnit Source # 

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 # 
Generic AdUnit Source # 

Associated Types

type Rep AdUnit :: * -> * #

Methods

from :: AdUnit -> Rep AdUnit x #

to :: Rep AdUnit x -> AdUnit #

ToJSON AdUnit Source # 
FromJSON AdUnit Source # 
type Rep AdUnit Source # 

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 # 

Methods

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

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

Data Report Source # 

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 # 
Generic Report Source # 

Associated Types

type Rep Report :: * -> * #

Methods

from :: Report -> Rep Report x #

to :: Rep Report x -> Report #

ToJSON Report Source # 
FromJSON Report Source # 
type Rep Report Source # 

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 # 
Data AdStyleFont Source # 

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 # 
Generic AdStyleFont Source # 

Associated Types

type Rep AdStyleFont :: * -> * #

ToJSON AdStyleFont Source # 
FromJSON AdStyleFont Source # 
type Rep AdStyleFont Source # 
type Rep AdStyleFont = D1 (MetaData "AdStyleFont" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdStyleFont'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_asfSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 

Methods

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

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

Data Account Source # 

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 # 
Generic Account Source # 

Associated Types

type Rep Account :: * -> * #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

ToJSON Account Source # 
FromJSON Account Source # 
type Rep Account Source # 
type Rep Account = D1 (MetaData "Account" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "Account'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_accStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_accKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_accName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 
Data AdUnitMobileContentAdsSettings Source # 

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 # 
Generic AdUnitMobileContentAdsSettings Source # 
ToJSON AdUnitMobileContentAdsSettings Source # 
FromJSON AdUnitMobileContentAdsSettings Source # 
type Rep AdUnitMobileContentAdsSettings Source # 
type Rep AdUnitMobileContentAdsSettings = D1 (MetaData "AdUnitMobileContentAdsSettings" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdUnitMobileContentAdsSettings'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aumcasSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aumcasScriptingLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_aumcasMarkupLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 
Data AdStyleColors Source # 

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 # 
Generic AdStyleColors Source # 

Associated Types

type Rep AdStyleColors :: * -> * #

ToJSON AdStyleColors Source # 
FromJSON AdStyleColors Source # 
type Rep AdStyleColors Source # 
type Rep AdStyleColors = D1 (MetaData "AdStyleColors" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdStyleColors'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ascText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ascURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ascBOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ascTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 
Data AdUnitContentAdsSettingsBackupOption Source # 

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 # 
Generic AdUnitContentAdsSettingsBackupOption Source # 
ToJSON AdUnitContentAdsSettingsBackupOption Source # 
FromJSON AdUnitContentAdsSettingsBackupOption Source # 
type Rep AdUnitContentAdsSettingsBackupOption Source # 
type Rep AdUnitContentAdsSettingsBackupOption = D1 (MetaData "AdUnitContentAdsSettingsBackupOption" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdUnitContentAdsSettingsBackupOption'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aucasboColor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_aucasboURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 
Data AdClient Source # 

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 # 
Generic AdClient Source # 

Associated Types

type Rep AdClient :: * -> * #

Methods

from :: AdClient -> Rep AdClient x #

to :: Rep AdClient x -> AdClient #

ToJSON AdClient Source # 
FromJSON AdClient Source # 
type Rep AdClient Source # 
type Rep AdClient = D1 (MetaData "AdClient" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdClient'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_adKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_adArcOptIn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_adSupportsReporting") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_adId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 
Data ReportHeadersItem Source # 

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 # 
Generic ReportHeadersItem Source # 
ToJSON ReportHeadersItem Source # 
FromJSON ReportHeadersItem Source # 
type Rep ReportHeadersItem Source # 
type Rep ReportHeadersItem = D1 (MetaData "ReportHeadersItem" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "ReportHeadersItem'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rhiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rhiCurrency") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 

Methods

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

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

Data AdStyle Source # 

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 # 
Generic AdStyle Source # 

Associated Types

type Rep AdStyle :: * -> * #

Methods

from :: AdStyle -> Rep AdStyle x #

to :: Rep AdStyle x -> AdStyle #

ToJSON AdStyle Source # 
FromJSON AdStyle Source # 
type Rep AdStyle Source # 
type Rep AdStyle = D1 (MetaData "AdStyle" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdStyle'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_assCorners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_assKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_assFont") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdStyleFont))) (S1 (MetaSel (Just Symbol "_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 # 
Data CustomChannel Source # 

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 # 
Generic CustomChannel Source # 

Associated Types

type Rep CustomChannel :: * -> * #

ToJSON CustomChannel Source # 
FromJSON CustomChannel Source # 
type Rep CustomChannel Source # 
type Rep CustomChannel = D1 (MetaData "CustomChannel" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "CustomChannel'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 
Data URLChannel Source # 

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 # 
Generic URLChannel Source # 

Associated Types

type Rep URLChannel :: * -> * #

ToJSON URLChannel Source # 
FromJSON URLChannel Source # 
type Rep URLChannel Source # 
type Rep URLChannel = D1 (MetaData "URLChannel" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "URLChannel'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_urlcKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_urlcId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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 # 

Methods

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

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

Data AdCode Source # 

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 # 
Generic AdCode Source # 

Associated Types

type Rep AdCode :: * -> * #

Methods

from :: AdCode -> Rep AdCode x #

to :: Rep AdCode x -> AdCode #

ToJSON AdCode Source # 
FromJSON AdCode Source # 
type Rep AdCode Source # 
type Rep AdCode = D1 (MetaData "AdCode" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdCode'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aaKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_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 # 
Data AdUnitContentAdsSettings Source # 

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 # 
Generic AdUnitContentAdsSettings Source # 
ToJSON AdUnitContentAdsSettings Source # 
FromJSON AdUnitContentAdsSettings Source # 
type Rep AdUnitContentAdsSettings Source # 
type Rep AdUnitContentAdsSettings = D1 (MetaData "AdUnitContentAdsSettings" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.2.0-EdCnxrMpNsV9NwvFRgHS2o" False) (C1 (MetaCons "AdUnitContentAdsSettings'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aucasBackupOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdUnitContentAdsSettingsBackupOption))) ((:*:) (S1 (MetaSel (Just Symbol "_aucasSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_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.