Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- adsensehost.accounts.adclients.get
- adsensehost.accounts.adclients.list
- adsensehost.accounts.adunits.delete
- adsensehost.accounts.adunits.get
- adsensehost.accounts.adunits.getAdCode
- adsensehost.accounts.adunits.insert
- adsensehost.accounts.adunits.list
- adsensehost.accounts.adunits.patch
- adsensehost.accounts.adunits.update
- adsensehost.accounts.get
- adsensehost.accounts.list
- adsensehost.accounts.reports.generate
- adsensehost.adclients.get
- adsensehost.adclients.list
- adsensehost.associationsessions.start
- adsensehost.associationsessions.verify
- adsensehost.customchannels.delete
- adsensehost.customchannels.get
- adsensehost.customchannels.insert
- adsensehost.customchannels.list
- adsensehost.customchannels.patch
- adsensehost.customchannels.update
- adsensehost.reports.generate
- adsensehost.urlchannels.delete
- adsensehost.urlchannels.insert
- adsensehost.urlchannels.list
- Types
Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.
Synopsis
- adSenseHostService :: ServiceConfig
- adSenseHostScope :: Proxy '["https://www.googleapis.com/auth/adsensehost"]
- type AdSenseHostAPI = AssociationSessionsVerifyResource :<|> (AssociationSessionsStartResource :<|> (AdClientsListResource :<|> (AdClientsGetResource :<|> (AccountsAdClientsListResource :<|> (AccountsAdClientsGetResource :<|> (AccountsReportsGenerateResource :<|> (AccountsAdUnitsInsertResource :<|> (AccountsAdUnitsListResource :<|> (AccountsAdUnitsPatchResource :<|> (AccountsAdUnitsGetResource :<|> (AccountsAdUnitsGetAdCodeResource :<|> (AccountsAdUnitsDeleteResource :<|> (AccountsAdUnitsUpdateResource :<|> (AccountsListResource :<|> (AccountsGetResource :<|> (ReportsGenerateResource :<|> (URLChannelsInsertResource :<|> (URLChannelsListResource :<|> (URLChannelsDeleteResource :<|> (CustomChannelsInsertResource :<|> (CustomChannelsListResource :<|> (CustomChannelsPatchResource :<|> (CustomChannelsGetResource :<|> (CustomChannelsDeleteResource :<|> CustomChannelsUpdateResource))))))))))))))))))))))))
- module Network.Google.Resource.AdSenseHost.Accounts.AdClients.Get
- module Network.Google.Resource.AdSenseHost.Accounts.AdClients.List
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Delete
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.GetAdCode
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Insert
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Patch
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Update
- module Network.Google.Resource.AdSenseHost.Accounts.Get
- module Network.Google.Resource.AdSenseHost.Accounts.List
- module Network.Google.Resource.AdSenseHost.Accounts.Reports.Generate
- module Network.Google.Resource.AdSenseHost.AdClients.Get
- module Network.Google.Resource.AdSenseHost.AdClients.List
- module Network.Google.Resource.AdSenseHost.AssociationSessions.Start
- module Network.Google.Resource.AdSenseHost.AssociationSessions.Verify
- module Network.Google.Resource.AdSenseHost.CustomChannels.Delete
- module Network.Google.Resource.AdSenseHost.CustomChannels.Get
- module Network.Google.Resource.AdSenseHost.CustomChannels.Insert
- module Network.Google.Resource.AdSenseHost.CustomChannels.List
- module Network.Google.Resource.AdSenseHost.CustomChannels.Patch
- module Network.Google.Resource.AdSenseHost.CustomChannels.Update
- module Network.Google.Resource.AdSenseHost.Reports.Generate
- module Network.Google.Resource.AdSenseHost.URLChannels.Delete
- module Network.Google.Resource.AdSenseHost.URLChannels.Insert
- module Network.Google.Resource.AdSenseHost.URLChannels.List
- data AdClients
- adClients :: AdClients
- acEtag :: Lens' AdClients (Maybe Text)
- acNextPageToken :: Lens' AdClients (Maybe Text)
- acKind :: Lens' AdClients Text
- acItems :: Lens' AdClients [AdClient]
- data AssociationSession
- associationSession :: AssociationSession
- asStatus :: Lens' AssociationSession (Maybe Text)
- asKind :: Lens' AssociationSession Text
- asWebsiteLocale :: Lens' AssociationSession (Maybe Text)
- asUserLocale :: Lens' AssociationSession (Maybe Text)
- asAccountId :: Lens' AssociationSession (Maybe Text)
- asProductCodes :: Lens' AssociationSession [Text]
- asId :: Lens' AssociationSession (Maybe Text)
- asWebsiteURL :: Lens' AssociationSession (Maybe Text)
- asRedirectURL :: Lens' AssociationSession (Maybe Text)
- data AssociationSessionsStartProductCode
- data Accounts
- accounts :: Accounts
- aEtag :: Lens' Accounts (Maybe Text)
- aKind :: Lens' Accounts Text
- aItems :: Lens' Accounts [Account]
- data AdUnits
- adUnits :: AdUnits
- auEtag :: Lens' AdUnits (Maybe Text)
- auNextPageToken :: Lens' AdUnits (Maybe Text)
- auKind :: Lens' AdUnits Text
- auItems :: Lens' AdUnits [AdUnit]
- data URLChannels
- urlChannels :: URLChannels
- ucEtag :: Lens' URLChannels (Maybe Text)
- ucNextPageToken :: Lens' URLChannels (Maybe Text)
- ucKind :: Lens' URLChannels Text
- ucItems :: Lens' URLChannels [URLChannel]
- data CustomChannels
- customChannels :: CustomChannels
- ccEtag :: Lens' CustomChannels (Maybe Text)
- ccNextPageToken :: Lens' CustomChannels (Maybe Text)
- ccKind :: Lens' CustomChannels Text
- ccItems :: Lens' CustomChannels [CustomChannel]
- data AdUnit
- adUnit :: AdUnit
- auuStatus :: Lens' AdUnit (Maybe Text)
- auuMobileContentAdsSettings :: Lens' AdUnit (Maybe AdUnitMobileContentAdsSettings)
- auuKind :: Lens' AdUnit Text
- auuCustomStyle :: Lens' AdUnit (Maybe AdStyle)
- auuName :: Lens' AdUnit (Maybe Text)
- auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings)
- auuCode :: Lens' AdUnit (Maybe Text)
- auuId :: Lens' AdUnit (Maybe Text)
- data Report
- report :: Report
- rKind :: Lens' Report Text
- rAverages :: Lens' Report [Text]
- rWarnings :: Lens' Report [Text]
- rRows :: Lens' Report [[Text]]
- rTotals :: Lens' Report [Text]
- rHeaders :: Lens' Report [ReportHeadersItem]
- rTotalMatchedRows :: Lens' Report (Maybe Int64)
- data AdStyleFont
- adStyleFont :: AdStyleFont
- asfSize :: Lens' AdStyleFont (Maybe Text)
- asfFamily :: Lens' AdStyleFont (Maybe Text)
- data Account
- account :: Account
- accStatus :: Lens' Account (Maybe Text)
- accKind :: Lens' Account Text
- accName :: Lens' Account (Maybe Text)
- accId :: Lens' Account (Maybe Text)
- data AdUnitMobileContentAdsSettings
- adUnitMobileContentAdsSettings :: AdUnitMobileContentAdsSettings
- aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
- aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
- aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
- aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
- data AdStyleColors
- adStyleColors :: AdStyleColors
- ascText :: Lens' AdStyleColors (Maybe Text)
- ascURL :: Lens' AdStyleColors (Maybe Text)
- ascBOrder :: Lens' AdStyleColors (Maybe Text)
- ascTitle :: Lens' AdStyleColors (Maybe Text)
- ascBackgRound :: Lens' AdStyleColors (Maybe Text)
- data AdUnitContentAdsSettingsBackupOption
- adUnitContentAdsSettingsBackupOption :: AdUnitContentAdsSettingsBackupOption
- aucasboColor :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
- aucasboURL :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
- aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
- data AdClient
- adClient :: AdClient
- adKind :: Lens' AdClient Text
- adArcOptIn :: Lens' AdClient (Maybe Bool)
- adSupportsReporting :: Lens' AdClient (Maybe Bool)
- adId :: Lens' AdClient (Maybe Text)
- adProductCode :: Lens' AdClient (Maybe Text)
- data ReportHeadersItem
- reportHeadersItem :: ReportHeadersItem
- rhiName :: Lens' ReportHeadersItem (Maybe Text)
- rhiCurrency :: Lens' ReportHeadersItem (Maybe Text)
- rhiType :: Lens' ReportHeadersItem (Maybe Text)
- data AdStyle
- adStyle :: AdStyle
- assCorners :: Lens' AdStyle (Maybe Text)
- assKind :: Lens' AdStyle Text
- assFont :: Lens' AdStyle (Maybe AdStyleFont)
- assColors :: Lens' AdStyle (Maybe AdStyleColors)
- data CustomChannel
- customChannel :: CustomChannel
- cKind :: Lens' CustomChannel Text
- cName :: Lens' CustomChannel (Maybe Text)
- cCode :: Lens' CustomChannel (Maybe Text)
- cId :: Lens' CustomChannel (Maybe Text)
- data URLChannel
- urlChannel :: URLChannel
- urlcKind :: Lens' URLChannel Text
- urlcId :: Lens' URLChannel (Maybe Text)
- urlcURLPattern :: Lens' URLChannel (Maybe Text)
- data AdCode
- adCode :: AdCode
- aaKind :: Lens' AdCode Text
- aaAdCode :: Lens' AdCode (Maybe Text)
- data AdUnitContentAdsSettings
- adUnitContentAdsSettings :: AdUnitContentAdsSettings
- aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitContentAdsSettingsBackupOption)
- aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text)
- aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text)
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
API Declaration
type AdSenseHostAPI = AssociationSessionsVerifyResource :<|> (AssociationSessionsStartResource :<|> (AdClientsListResource :<|> (AdClientsGetResource :<|> (AccountsAdClientsListResource :<|> (AccountsAdClientsGetResource :<|> (AccountsReportsGenerateResource :<|> (AccountsAdUnitsInsertResource :<|> (AccountsAdUnitsListResource :<|> (AccountsAdUnitsPatchResource :<|> (AccountsAdUnitsGetResource :<|> (AccountsAdUnitsGetAdCodeResource :<|> (AccountsAdUnitsDeleteResource :<|> (AccountsAdUnitsUpdateResource :<|> (AccountsListResource :<|> (AccountsGetResource :<|> (ReportsGenerateResource :<|> (URLChannelsInsertResource :<|> (URLChannelsListResource :<|> (URLChannelsDeleteResource :<|> (CustomChannelsInsertResource :<|> (CustomChannelsListResource :<|> (CustomChannelsPatchResource :<|> (CustomChannelsGetResource :<|> (CustomChannelsDeleteResource :<|> CustomChannelsUpdateResource)))))))))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the AdSense Host API service.
Resources
adsensehost.accounts.adclients.get
adsensehost.accounts.adclients.list
adsensehost.accounts.adunits.delete
adsensehost.accounts.adunits.get
adsensehost.accounts.adunits.getAdCode
adsensehost.accounts.adunits.insert
adsensehost.accounts.adunits.list
adsensehost.accounts.adunits.patch
adsensehost.accounts.adunits.update
adsensehost.accounts.get
adsensehost.accounts.list
adsensehost.accounts.reports.generate
adsensehost.adclients.get
adsensehost.adclients.list
adsensehost.associationsessions.start
adsensehost.associationsessions.verify
adsensehost.customchannels.delete
adsensehost.customchannels.get
adsensehost.customchannels.insert
adsensehost.customchannels.list
adsensehost.customchannels.patch
adsensehost.customchannels.update
adsensehost.reports.generate
adsensehost.urlchannels.delete
adsensehost.urlchannels.insert
adsensehost.urlchannels.list
Types
AdClients
Instances
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:
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.
AssociationSession
data AssociationSession Source #
Instances
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.
Afc |
|
Afg |
|
Afmc |
|
Afs |
|
Afv |
|
Instances
Accounts
Instances
Eq Accounts Source # | |
Data Accounts Source # | |
Defined in Network.Google.AdSenseHost.Types.Product 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 # | |
ToJSON Accounts Source # | |
Defined in Network.Google.AdSenseHost.Types.Product | |
FromJSON Accounts Source # | |
type Rep Accounts Source # | |
Defined in Network.Google.AdSenseHost.Types.Product type Rep Accounts = D1 (MetaData "Accounts" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "Accounts'" PrefixI True) (S1 (MetaSel (Just "_aEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Account]))))) |
AdUnits
Instances
Eq AdUnits Source # | |
Data AdUnits Source # | |
Defined in Network.Google.AdSenseHost.Types.Product 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 # | |
ToJSON AdUnits Source # | |
Defined in Network.Google.AdSenseHost.Types.Product | |
FromJSON AdUnits Source # | |
type Rep AdUnits Source # | |
Defined in Network.Google.AdSenseHost.Types.Product type Rep AdUnits = D1 (MetaData "AdUnits" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "AdUnits'" PrefixI True) ((S1 (MetaSel (Just "_auEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_auNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_auKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_auItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AdUnit]))))) |
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:
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.
URLChannels
data URLChannels Source #
Instances
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:
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
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:
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
Instances
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).
auuCustomStyle :: Lens' AdUnit (Maybe AdStyle) Source #
Custom style information specific to 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
Instances
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.
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
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
Instances
Eq Account Source # | |
Data Account Source # | |
Defined in Network.Google.AdSenseHost.Types.Product 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 # | |
ToJSON Account Source # | |
Defined in Network.Google.AdSenseHost.Types.Product | |
FromJSON Account Source # | |
type Rep Account Source # | |
Defined in Network.Google.AdSenseHost.Types.Product type Rep Account = D1 (MetaData "Account" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "Account'" PrefixI True) ((S1 (MetaSel (Just "_accStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_accKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_accName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_accId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
accStatus :: Lens' Account (Maybe Text) Source #
Approval status of this account. One of: PENDING, APPROVED, DISABLED.
AdUnitMobileContentAdsSettings
data AdUnitMobileContentAdsSettings Source #
Settings specific to WAP mobile content ads (AFMC - deprecated).
See: adUnitMobileContentAdsSettings
smart constructor.
Instances
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:
aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) Source #
Size of this ad unit.
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.
aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) Source #
Type of 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
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:
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
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
Instances
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:
adSupportsReporting :: Lens' AdClient (Maybe Bool) Source #
Whether this ad client supports being reported on.
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
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:
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
Instances
Eq AdStyle Source # | |
Data AdStyle Source # | |
Defined in Network.Google.AdSenseHost.Types.Product 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 # | |
ToJSON AdStyle Source # | |
Defined in Network.Google.AdSenseHost.Types.Product | |
FromJSON AdStyle Source # | |
type Rep AdStyle Source # | |
Defined in Network.Google.AdSenseHost.Types.Product type Rep AdStyle = D1 (MetaData "AdStyle" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "AdStyle'" PrefixI True) ((S1 (MetaSel (Just "_assCorners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_assKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_assFont") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdStyleFont)) :*: S1 (MetaSel (Just "_assColors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdStyleColors))))) |
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).
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
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.
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
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
Instances
Eq AdCode Source # | |
Data AdCode Source # | |
Defined in Network.Google.AdSenseHost.Types.Product 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 # | |
ToJSON AdCode Source # | |
Defined in Network.Google.AdSenseHost.Types.Product | |
FromJSON AdCode Source # | |
type Rep AdCode Source # | |
Defined in Network.Google.AdSenseHost.Types.Product type Rep AdCode = D1 (MetaData "AdCode" "Network.Google.AdSenseHost.Types.Product" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "AdCode'" PrefixI True) (S1 (MetaSel (Just "_aaKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aaAdCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
AdUnitContentAdsSettings
data AdUnitContentAdsSettings Source #
Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
See: adUnitContentAdsSettings
smart constructor.
Instances
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.