gogol-adsense-host-0.3.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 #

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"] #

View and manage your AdSense host data and associated accounts

AdClients

data AdClients #

Instances

Eq AdClients # 
Data AdClients # 

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

Associated Types

type Rep AdClients :: * -> * #

ToJSON AdClients # 
FromJSON AdClients # 
type Rep AdClients # 
type Rep AdClients = D1 (MetaData "AdClients" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

ETag of this response for caching purposes.

acNextPageToken :: Lens' AdClients (Maybe Text) #

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 #

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

acItems :: Lens' AdClients [AdClient] #

The ad clients returned in this list response.

AssociationSession

data AssociationSession #

Instances

Eq AssociationSession # 
Data AssociationSession # 

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

associationSession :: AssociationSession #

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) #

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

asKind :: Lens' AssociationSession Text #

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

asWebsiteLocale :: Lens' AssociationSession (Maybe Text) #

The locale of the user's hosted website.

asUserLocale :: Lens' AssociationSession (Maybe Text) #

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

asAccountId :: Lens' AssociationSession (Maybe Text) #

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

asProductCodes :: Lens' AssociationSession [Text] #

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

asId :: Lens' AssociationSession (Maybe Text) #

Unique identifier of this association session.

asWebsiteURL :: Lens' AssociationSession (Maybe Text) #

The URL of the user's hosted website.

asRedirectURL :: Lens' AssociationSession (Maybe Text) #

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

AssociationSessionsStartProductCode

data AssociationSessionsStartProductCode #

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

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 # 
Read AssociationSessionsStartProductCode # 
Show AssociationSessionsStartProductCode # 
Generic AssociationSessionsStartProductCode # 
Hashable AssociationSessionsStartProductCode # 
ToJSON AssociationSessionsStartProductCode # 
FromJSON AssociationSessionsStartProductCode # 
FromHttpApiData AssociationSessionsStartProductCode # 
ToHttpApiData AssociationSessionsStartProductCode # 
type Rep AssociationSessionsStartProductCode # 
type Rep AssociationSessionsStartProductCode = D1 (MetaData "AssociationSessionsStartProductCode" "Network.Google.AdSenseHost.Types.Sum" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

Instances

Eq Accounts # 
Data Accounts # 

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

Associated Types

type Rep Accounts :: * -> * #

Methods

from :: Accounts -> Rep Accounts x #

to :: Rep Accounts x -> Accounts #

ToJSON Accounts # 
FromJSON Accounts # 
type Rep Accounts # 
type Rep Accounts = D1 (MetaData "Accounts" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

ETag of this response for caching purposes.

aKind :: Lens' Accounts Text #

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

aItems :: Lens' Accounts [Account] #

The accounts returned in this list response.

AdUnits

data AdUnits #

Instances

Eq AdUnits # 

Methods

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

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

Data AdUnits # 

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

Associated Types

type Rep AdUnits :: * -> * #

Methods

from :: AdUnits -> Rep AdUnits x #

to :: Rep AdUnits x -> AdUnits #

ToJSON AdUnits # 
FromJSON AdUnits # 
type Rep AdUnits # 
type Rep AdUnits = D1 (MetaData "AdUnits" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

ETag of this response for caching purposes.

auNextPageToken :: Lens' AdUnits (Maybe Text) #

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 #

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

auItems :: Lens' AdUnits [AdUnit] #

The ad units returned in this list response.

URLChannels

data URLChannels #

Instances

Eq URLChannels # 
Data URLChannels # 

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

Associated Types

type Rep URLChannels :: * -> * #

ToJSON URLChannels # 
FromJSON URLChannels # 
type Rep URLChannels # 
type Rep URLChannels = D1 (MetaData "URLChannels" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

ETag of this response for caching purposes.

ucNextPageToken :: Lens' URLChannels (Maybe Text) #

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 #

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

ucItems :: Lens' URLChannels [URLChannel] #

The URL channels returned in this list response.

CustomChannels

data CustomChannels #

Instances

Eq CustomChannels # 
Data CustomChannels # 

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

Associated Types

type Rep CustomChannels :: * -> * #

ToJSON CustomChannels # 
FromJSON CustomChannels # 
type Rep CustomChannels # 
type Rep CustomChannels = D1 (MetaData "CustomChannels" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

ETag of this response for caching purposes.

ccNextPageToken :: Lens' CustomChannels (Maybe Text) #

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 #

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

ccItems :: Lens' CustomChannels [CustomChannel] #

The custom channels returned in this list response.

AdUnit

data AdUnit #

Instances

Eq AdUnit # 

Methods

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

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

Data AdUnit # 

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

Associated Types

type Rep AdUnit :: * -> * #

Methods

from :: AdUnit -> Rep AdUnit x #

to :: Rep AdUnit x -> AdUnit #

ToJSON AdUnit # 
FromJSON AdUnit # 
type Rep AdUnit # 

adUnit :: AdUnit #

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) #

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) #

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

auuKind :: Lens' AdUnit Text #

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

auuCustomStyle :: Lens' AdUnit (Maybe AdStyle) #

Custom style information specific to this ad unit.

auuName :: Lens' AdUnit (Maybe Text) #

Name of this ad unit.

auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings) #

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

auuCode :: Lens' AdUnit (Maybe Text) #

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

auuId :: Lens' AdUnit (Maybe Text) #

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 #

Instances

Eq Report # 

Methods

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

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

Data Report # 

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

Associated Types

type Rep Report :: * -> * #

Methods

from :: Report -> Rep Report x #

to :: Rep Report x -> Report #

ToJSON Report # 
FromJSON Report # 
type Rep Report # 

report :: Report #

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 #

Kind this is, in this case adsensehost#report.

rAverages :: Lens' Report [Text] #

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] #

Any warnings associated with generation of the report.

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

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] #

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] #

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) #

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 #

The font which is included in the style.

See: adStyleFont smart constructor.

Instances

Eq AdStyleFont # 
Data AdStyleFont # 

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

Associated Types

type Rep AdStyleFont :: * -> * #

ToJSON AdStyleFont # 
FromJSON AdStyleFont # 
type Rep AdStyleFont # 
type Rep AdStyleFont = D1 (MetaData "AdStyleFont" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

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

asfFamily :: Lens' AdStyleFont (Maybe Text) #

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

Account

data Account #

Instances

Eq Account # 

Methods

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

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

Data Account # 

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

Associated Types

type Rep Account :: * -> * #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

ToJSON Account # 
FromJSON Account # 
type Rep Account # 
type Rep Account = D1 (MetaData "Account" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

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

accKind :: Lens' Account Text #

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

accName :: Lens' Account (Maybe Text) #

Name of this account.

accId :: Lens' Account (Maybe Text) #

Unique identifier of this account.

AdUnitMobileContentAdsSettings

data AdUnitMobileContentAdsSettings #

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

See: adUnitMobileContentAdsSettings smart constructor.

Instances

Eq AdUnitMobileContentAdsSettings # 
Data AdUnitMobileContentAdsSettings # 

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 # 
Generic AdUnitMobileContentAdsSettings # 
ToJSON AdUnitMobileContentAdsSettings # 
FromJSON AdUnitMobileContentAdsSettings # 
type Rep AdUnitMobileContentAdsSettings # 
type Rep AdUnitMobileContentAdsSettings = D1 (MetaData "AdUnitMobileContentAdsSettings" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

The scripting language to use for this ad unit.

aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) #

The markup language to use for this ad unit.

AdStyleColors

data AdStyleColors #

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 # 
Data AdStyleColors # 

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

Associated Types

type Rep AdStyleColors :: * -> * #

ToJSON AdStyleColors # 
FromJSON AdStyleColors # 
type Rep AdStyleColors # 
type Rep AdStyleColors = D1 (MetaData "AdStyleColors" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

The color of the ad text.

ascURL :: Lens' AdStyleColors (Maybe Text) #

The color of the ad url.

ascBOrder :: Lens' AdStyleColors (Maybe Text) #

The color of the ad border.

ascTitle :: Lens' AdStyleColors (Maybe Text) #

The color of the ad title.

ascBackgRound :: Lens' AdStyleColors (Maybe Text) #

The color of the ad background.

AdUnitContentAdsSettingsBackupOption

data AdUnitContentAdsSettingsBackupOption #

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

See: adUnitContentAdsSettingsBackupOption smart constructor.

Instances

Eq AdUnitContentAdsSettingsBackupOption # 
Data AdUnitContentAdsSettingsBackupOption # 

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 # 
Generic AdUnitContentAdsSettingsBackupOption # 
ToJSON AdUnitContentAdsSettingsBackupOption # 
FromJSON AdUnitContentAdsSettingsBackupOption # 
type Rep AdUnitContentAdsSettingsBackupOption # 
type Rep AdUnitContentAdsSettingsBackupOption = D1 (MetaData "AdUnitContentAdsSettingsBackupOption" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

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) #

URL to use when type is set to URL.

aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text) #

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

AdClient

data AdClient #

Instances

Eq AdClient # 
Data AdClient # 

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

Associated Types

type Rep AdClient :: * -> * #

Methods

from :: AdClient -> Rep AdClient x #

to :: Rep AdClient x -> AdClient #

ToJSON AdClient # 
FromJSON AdClient # 
type Rep AdClient # 
type Rep AdClient = D1 (MetaData "AdClient" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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 #

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

adArcOptIn :: Lens' AdClient (Maybe Bool) #

Whether this ad client is opted in to ARC.

adSupportsReporting :: Lens' AdClient (Maybe Bool) #

Whether this ad client supports being reported on.

adId :: Lens' AdClient (Maybe Text) #

Unique identifier of this ad client.

adProductCode :: Lens' AdClient (Maybe Text) #

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

ReportHeadersItem

data ReportHeadersItem #

Instances

Eq ReportHeadersItem # 
Data ReportHeadersItem # 

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 # 
Generic ReportHeadersItem # 
ToJSON ReportHeadersItem # 
FromJSON ReportHeadersItem # 
type Rep ReportHeadersItem # 
type Rep ReportHeadersItem = D1 (MetaData "ReportHeadersItem" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

The name of the header.

rhiCurrency :: Lens' ReportHeadersItem (Maybe Text) #

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

rhiType :: Lens' ReportHeadersItem (Maybe Text) #

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

AdStyle

data AdStyle #

Instances

Eq AdStyle # 

Methods

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

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

Data AdStyle # 

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

Associated Types

type Rep AdStyle :: * -> * #

Methods

from :: AdStyle -> Rep AdStyle x #

to :: Rep AdStyle x -> AdStyle #

ToJSON AdStyle # 
FromJSON AdStyle # 
type Rep AdStyle # 
type Rep AdStyle = D1 (MetaData "AdStyle" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

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

assKind :: Lens' AdStyle Text #

Kind this is, in this case adsensehost#adStyle.

assFont :: Lens' AdStyle (Maybe AdStyleFont) #

The font which is included in the style.

assColors :: Lens' AdStyle (Maybe AdStyleColors) #

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 #

Instances

Eq CustomChannel # 
Data CustomChannel # 

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

Associated Types

type Rep CustomChannel :: * -> * #

ToJSON CustomChannel # 
FromJSON CustomChannel # 
type Rep CustomChannel # 
type Rep CustomChannel = D1 (MetaData "CustomChannel" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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 #

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

cName :: Lens' CustomChannel (Maybe Text) #

Name of this custom channel.

cCode :: Lens' CustomChannel (Maybe Text) #

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

cId :: Lens' CustomChannel (Maybe Text) #

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 #

Instances

Eq URLChannel # 
Data URLChannel # 

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

Associated Types

type Rep URLChannel :: * -> * #

ToJSON URLChannel # 
FromJSON URLChannel # 
type Rep URLChannel # 
type Rep URLChannel = D1 (MetaData "URLChannel" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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 #

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

urlcId :: Lens' URLChannel (Maybe Text) #

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) #

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

AdCode

data AdCode #

Instances

Eq AdCode # 

Methods

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

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

Data AdCode # 

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

Associated Types

type Rep AdCode :: * -> * #

Methods

from :: AdCode -> Rep AdCode x #

to :: Rep AdCode x -> AdCode #

ToJSON AdCode # 
FromJSON AdCode # 
type Rep AdCode # 
type Rep AdCode = D1 (MetaData "AdCode" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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 #

Kind this is, in this case adsensehost#adCode.

aaAdCode :: Lens' AdCode (Maybe Text) #

The ad code snippet.

AdUnitContentAdsSettings

data AdUnitContentAdsSettings #

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

See: adUnitContentAdsSettings smart constructor.

Instances

Eq AdUnitContentAdsSettings # 
Data AdUnitContentAdsSettings # 

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 # 
Generic AdUnitContentAdsSettings # 
ToJSON AdUnitContentAdsSettings # 
FromJSON AdUnitContentAdsSettings # 
type Rep AdUnitContentAdsSettings # 
type Rep AdUnitContentAdsSettings = D1 (MetaData "AdUnitContentAdsSettings" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.3.0-AfT8wa1oKiMJE1C56uWdej" 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 #

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) #

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

aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text) #

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

aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text) #

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