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
- adsense.accounts.adclients.getAdCode
- adsense.accounts.adclients.list
- adsense.accounts.adunits.customchannels.list
- adsense.accounts.adunits.get
- adsense.accounts.adunits.getAdCode
- adsense.accounts.adunits.list
- adsense.accounts.alerts.delete
- adsense.accounts.alerts.list
- adsense.accounts.customchannels.adunits.list
- adsense.accounts.customchannels.get
- adsense.accounts.customchannels.list
- adsense.accounts.get
- adsense.accounts.list
- adsense.accounts.payments.list
- adsense.accounts.reports.generate
- adsense.accounts.reports.saved.generate
- adsense.accounts.reports.saved.list
- adsense.accounts.savedadstyles.get
- adsense.accounts.savedadstyles.list
- adsense.accounts.urlchannels.list
- adsense.adclients.list
- adsense.adunits.customchannels.list
- adsense.adunits.get
- adsense.adunits.getAdCode
- adsense.adunits.list
- adsense.alerts.delete
- adsense.alerts.list
- adsense.customchannels.adunits.list
- adsense.customchannels.get
- adsense.customchannels.list
- adsense.metadata.dimensions.list
- adsense.metadata.metrics.list
- adsense.payments.list
- adsense.reports.generate
- adsense.reports.saved.generate
- adsense.reports.saved.list
- adsense.savedadstyles.get
- adsense.savedadstyles.list
- adsense.urlchannels.list
- Types
- AdClients
- ReportingMetadataEntry
- AdsenseReportsGenerateResponseHeadersItem
- Payment
- Accounts
- Alerts
- SavedReports
- AdUnits
- SavedReport
- URLChannels
- CustomChannels
- AdUnit
- Alert
- AdStyleFont
- Account
- AdUnitMobileContentAdsSettings
- SavedAdStyles
- AdStyleColors
- AdUnitContentAdsSettingsBackupOption
- AdClient
- SavedAdStyle
- CustomChannelTargetingInfo
- AdStyle
- AdUnitFeedAdsSettings
- Metadata
- CustomChannel
- URLChannel
- AdCode
- AdsenseReportsGenerateResponse
- AdUnitContentAdsSettings
- Payments
Accesses AdSense publishers' inventory and generates performance reports.
Synopsis
- adSenseService :: ServiceConfig
- adSenseReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/adsense.readonly"]
- adSenseScope :: Proxy '["https://www.googleapis.com/auth/adsense"]
- type AdSenseAPI = AdClientsListResource :<|> (AccountsAdClientsListResource :<|> (AccountsAdClientsGetAdCodeResource :<|> (AccountsReportsSavedListResource :<|> (AccountsReportsSavedGenerateResource :<|> (AccountsReportsGenerateResource :<|> (AccountsAlertsListResource :<|> (AccountsAlertsDeleteResource :<|> (AccountsAdUnitsCustomChannelsListResource :<|> (AccountsAdUnitsListResource :<|> (AccountsAdUnitsGetResource :<|> (AccountsAdUnitsGetAdCodeResource :<|> (AccountsURLChannelsListResource :<|> (AccountsCustomChannelsAdUnitsListResource :<|> (AccountsCustomChannelsListResource :<|> (AccountsCustomChannelsGetResource :<|> (AccountsSavedadstylesListResource :<|> (AccountsSavedadstylesGetResource :<|> (AccountsPaymentsListResource :<|> (AccountsListResource :<|> (AccountsGetResource :<|> (ReportsSavedListResource :<|> (ReportsSavedGenerateResource :<|> (ReportsGenerateResource :<|> (AlertsListResource :<|> (AlertsDeleteResource :<|> (AdUnitsCustomChannelsListResource :<|> (AdUnitsListResource :<|> (AdUnitsGetResource :<|> (AdUnitsGetAdCodeResource :<|> (URLChannelsListResource :<|> (CustomChannelsAdUnitsListResource :<|> (CustomChannelsListResource :<|> (CustomChannelsGetResource :<|> (SavedadstylesListResource :<|> (SavedadstylesGetResource :<|> (MetadataMetricsListResource :<|> (MetadataDimensionsListResource :<|> PaymentsListResource)))))))))))))))))))))))))))))))))))))
- module Network.Google.Resource.AdSense.Accounts.AdClients.GetAdCode
- module Network.Google.Resource.AdSense.Accounts.AdClients.List
- module Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List
- module Network.Google.Resource.AdSense.Accounts.AdUnits.Get
- module Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode
- module Network.Google.Resource.AdSense.Accounts.AdUnits.List
- module Network.Google.Resource.AdSense.Accounts.Alerts.Delete
- module Network.Google.Resource.AdSense.Accounts.Alerts.List
- module Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List
- module Network.Google.Resource.AdSense.Accounts.CustomChannels.Get
- module Network.Google.Resource.AdSense.Accounts.CustomChannels.List
- module Network.Google.Resource.AdSense.Accounts.Get
- module Network.Google.Resource.AdSense.Accounts.List
- module Network.Google.Resource.AdSense.Accounts.Payments.List
- module Network.Google.Resource.AdSense.Accounts.Reports.Generate
- module Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate
- module Network.Google.Resource.AdSense.Accounts.Reports.Saved.List
- module Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get
- module Network.Google.Resource.AdSense.Accounts.Savedadstyles.List
- module Network.Google.Resource.AdSense.Accounts.URLChannels.List
- module Network.Google.Resource.AdSense.AdClients.List
- module Network.Google.Resource.AdSense.AdUnits.CustomChannels.List
- module Network.Google.Resource.AdSense.AdUnits.Get
- module Network.Google.Resource.AdSense.AdUnits.GetAdCode
- module Network.Google.Resource.AdSense.AdUnits.List
- module Network.Google.Resource.AdSense.Alerts.Delete
- module Network.Google.Resource.AdSense.Alerts.List
- module Network.Google.Resource.AdSense.CustomChannels.AdUnits.List
- module Network.Google.Resource.AdSense.CustomChannels.Get
- module Network.Google.Resource.AdSense.CustomChannels.List
- module Network.Google.Resource.AdSense.Metadata.Dimensions.List
- module Network.Google.Resource.AdSense.Metadata.Metrics.List
- module Network.Google.Resource.AdSense.Payments.List
- module Network.Google.Resource.AdSense.Reports.Generate
- module Network.Google.Resource.AdSense.Reports.Saved.Generate
- module Network.Google.Resource.AdSense.Reports.Saved.List
- module Network.Google.Resource.AdSense.Savedadstyles.Get
- module Network.Google.Resource.AdSense.Savedadstyles.List
- module Network.Google.Resource.AdSense.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 ReportingMetadataEntry
- reportingMetadataEntry :: ReportingMetadataEntry
- rmeKind :: Lens' ReportingMetadataEntry Text
- rmeRequiredMetrics :: Lens' ReportingMetadataEntry [Text]
- rmeCompatibleMetrics :: Lens' ReportingMetadataEntry [Text]
- rmeRequiredDimensions :: Lens' ReportingMetadataEntry [Text]
- rmeId :: Lens' ReportingMetadataEntry (Maybe Text)
- rmeCompatibleDimensions :: Lens' ReportingMetadataEntry [Text]
- rmeSupportedProducts :: Lens' ReportingMetadataEntry [Text]
- data AdsenseReportsGenerateResponseHeadersItem
- adsenseReportsGenerateResponseHeadersItem :: AdsenseReportsGenerateResponseHeadersItem
- argrhiName :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)
- argrhiCurrency :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)
- argrhiType :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)
- data Payment
- payment :: Payment
- pPaymentAmountCurrencyCode :: Lens' Payment (Maybe Text)
- pKind :: Lens' Payment Text
- pPaymentDate :: Lens' Payment (Maybe Text)
- pId :: Lens' Payment (Maybe Text)
- pPaymentAmount :: Lens' Payment (Maybe Text)
- data Accounts
- accounts :: Accounts
- aEtag :: Lens' Accounts (Maybe Text)
- aNextPageToken :: Lens' Accounts (Maybe Text)
- aKind :: Lens' Accounts Text
- aItems :: Lens' Accounts [Account]
- data Alerts
- alerts :: Alerts
- aleKind :: Lens' Alerts Text
- aleItems :: Lens' Alerts [Alert]
- data SavedReports
- savedReports :: SavedReports
- srEtag :: Lens' SavedReports (Maybe Text)
- srNextPageToken :: Lens' SavedReports (Maybe Text)
- srKind :: Lens' SavedReports Text
- srItems :: Lens' SavedReports [SavedReport]
- data AdUnits
- adUnits :: AdUnits
- auEtag :: Lens' AdUnits (Maybe Text)
- auNextPageToken :: Lens' AdUnits (Maybe Text)
- auKind :: Lens' AdUnits Text
- auItems :: Lens' AdUnits [AdUnit]
- data SavedReport
- savedReport :: SavedReport
- sKind :: Lens' SavedReport Text
- sName :: Lens' SavedReport (Maybe Text)
- sId :: Lens' SavedReport (Maybe Text)
- 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
- auuFeedAdsSettings :: Lens' AdUnit (Maybe AdUnitFeedAdsSettings)
- auuCustomStyle :: Lens' AdUnit (Maybe AdStyle)
- auuSavedStyleId :: Lens' AdUnit (Maybe Text)
- auuName :: Lens' AdUnit (Maybe Text)
- auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings)
- auuCode :: Lens' AdUnit (Maybe Text)
- auuId :: Lens' AdUnit (Maybe Text)
- data Alert
- alert :: Alert
- aaIsDismissible :: Lens' Alert (Maybe Bool)
- aaKind :: Lens' Alert Text
- aaSeverity :: Lens' Alert (Maybe Text)
- aaId :: Lens' Alert (Maybe Text)
- aaType :: Lens' Alert (Maybe Text)
- aaMessage :: Lens' Alert (Maybe Text)
- data AdStyleFont
- adStyleFont :: AdStyleFont
- asfSize :: Lens' AdStyleFont (Maybe Text)
- asfFamily :: Lens' AdStyleFont (Maybe Text)
- data Account
- account :: Account
- accKind :: Lens' Account Text
- accCreationTime :: Lens' Account (Maybe Int64)
- accPremium :: Lens' Account (Maybe Bool)
- accName :: Lens' Account (Maybe Text)
- accId :: Lens' Account (Maybe Text)
- accTimezone :: Lens' Account (Maybe Text)
- accSubAccounts :: Lens' Account [Account]
- 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 SavedAdStyles
- savedAdStyles :: SavedAdStyles
- sasEtag :: Lens' SavedAdStyles (Maybe Text)
- sasNextPageToken :: Lens' SavedAdStyles (Maybe Text)
- sasKind :: Lens' SavedAdStyles Text
- sasItems :: Lens' SavedAdStyles [SavedAdStyle]
- 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 SavedAdStyle
- savedAdStyle :: SavedAdStyle
- savKind :: Lens' SavedAdStyle Text
- savName :: Lens' SavedAdStyle (Maybe Text)
- savAdStyle :: Lens' SavedAdStyle (Maybe AdStyle)
- savId :: Lens' SavedAdStyle (Maybe Text)
- data CustomChannelTargetingInfo
- customChannelTargetingInfo :: CustomChannelTargetingInfo
- cctiLocation :: Lens' CustomChannelTargetingInfo (Maybe Text)
- cctiSiteLanguage :: Lens' CustomChannelTargetingInfo (Maybe Text)
- cctiAdsAppearOn :: Lens' CustomChannelTargetingInfo (Maybe Text)
- cctiDescription :: Lens' CustomChannelTargetingInfo (Maybe Text)
- data AdStyle
- adStyle :: AdStyle
- asCorners :: Lens' AdStyle (Maybe Text)
- asKind :: Lens' AdStyle Text
- asFont :: Lens' AdStyle (Maybe AdStyleFont)
- asColors :: Lens' AdStyle (Maybe AdStyleColors)
- data AdUnitFeedAdsSettings
- adUnitFeedAdsSettings :: AdUnitFeedAdsSettings
- aufasFrequency :: Lens' AdUnitFeedAdsSettings (Maybe Int32)
- aufasAdPosition :: Lens' AdUnitFeedAdsSettings (Maybe Text)
- aufasType :: Lens' AdUnitFeedAdsSettings (Maybe Text)
- aufasMinimumWordCount :: Lens' AdUnitFeedAdsSettings (Maybe Int32)
- data Metadata
- metadata :: Metadata
- mKind :: Lens' Metadata Text
- mItems :: Lens' Metadata [ReportingMetadataEntry]
- data CustomChannel
- customChannel :: CustomChannel
- cTargetingInfo :: Lens' CustomChannel (Maybe CustomChannelTargetingInfo)
- 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
- addKind :: Lens' AdCode Text
- addAmpHead :: Lens' AdCode (Maybe Text)
- addAmpBody :: Lens' AdCode (Maybe Text)
- addAdCode :: Lens' AdCode (Maybe Text)
- data AdsenseReportsGenerateResponse
- adsenseReportsGenerateResponse :: AdsenseReportsGenerateResponse
- argrKind :: Lens' AdsenseReportsGenerateResponse Text
- argrAverages :: Lens' AdsenseReportsGenerateResponse [Text]
- argrEndDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text)
- argrWarnings :: Lens' AdsenseReportsGenerateResponse [Text]
- argrRows :: Lens' AdsenseReportsGenerateResponse [[Text]]
- argrTotals :: Lens' AdsenseReportsGenerateResponse [Text]
- argrStartDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text)
- argrHeaders :: Lens' AdsenseReportsGenerateResponse [AdsenseReportsGenerateResponseHeadersItem]
- argrTotalMatchedRows :: Lens' AdsenseReportsGenerateResponse (Maybe Int64)
- data AdUnitContentAdsSettings
- adUnitContentAdsSettings :: AdUnitContentAdsSettings
- aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitContentAdsSettingsBackupOption)
- aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text)
- aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text)
- data Payments
- payments :: Payments
- payKind :: Lens' Payments Text
- payItems :: Lens' Payments [Payment]
Service Configuration
adSenseService :: ServiceConfig Source #
Default request referring to version 'v1.4' of the AdSense Management API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
adSenseReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/adsense.readonly"] Source #
View your AdSense data
adSenseScope :: Proxy '["https://www.googleapis.com/auth/adsense"] Source #
View and manage your AdSense data
API Declaration
type AdSenseAPI = AdClientsListResource :<|> (AccountsAdClientsListResource :<|> (AccountsAdClientsGetAdCodeResource :<|> (AccountsReportsSavedListResource :<|> (AccountsReportsSavedGenerateResource :<|> (AccountsReportsGenerateResource :<|> (AccountsAlertsListResource :<|> (AccountsAlertsDeleteResource :<|> (AccountsAdUnitsCustomChannelsListResource :<|> (AccountsAdUnitsListResource :<|> (AccountsAdUnitsGetResource :<|> (AccountsAdUnitsGetAdCodeResource :<|> (AccountsURLChannelsListResource :<|> (AccountsCustomChannelsAdUnitsListResource :<|> (AccountsCustomChannelsListResource :<|> (AccountsCustomChannelsGetResource :<|> (AccountsSavedadstylesListResource :<|> (AccountsSavedadstylesGetResource :<|> (AccountsPaymentsListResource :<|> (AccountsListResource :<|> (AccountsGetResource :<|> (ReportsSavedListResource :<|> (ReportsSavedGenerateResource :<|> (ReportsGenerateResource :<|> (AlertsListResource :<|> (AlertsDeleteResource :<|> (AdUnitsCustomChannelsListResource :<|> (AdUnitsListResource :<|> (AdUnitsGetResource :<|> (AdUnitsGetAdCodeResource :<|> (URLChannelsListResource :<|> (CustomChannelsAdUnitsListResource :<|> (CustomChannelsListResource :<|> (CustomChannelsGetResource :<|> (SavedadstylesListResource :<|> (SavedadstylesGetResource :<|> (MetadataMetricsListResource :<|> (MetadataDimensionsListResource :<|> PaymentsListResource))))))))))))))))))))))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the AdSense Management API service.
Resources
adsense.accounts.adclients.getAdCode
adsense.accounts.adclients.list
adsense.accounts.adunits.customchannels.list
adsense.accounts.adunits.get
adsense.accounts.adunits.getAdCode
adsense.accounts.adunits.list
adsense.accounts.alerts.delete
adsense.accounts.alerts.list
adsense.accounts.customchannels.adunits.list
adsense.accounts.customchannels.get
adsense.accounts.customchannels.list
adsense.accounts.get
adsense.accounts.list
adsense.accounts.payments.list
adsense.accounts.reports.generate
adsense.accounts.reports.saved.generate
adsense.accounts.reports.saved.list
adsense.accounts.savedadstyles.get
adsense.accounts.savedadstyles.list
adsense.accounts.urlchannels.list
adsense.adclients.list
adsense.adunits.customchannels.list
adsense.adunits.get
adsense.adunits.getAdCode
adsense.adunits.list
adsense.alerts.delete
adsense.alerts.list
adsense.customchannels.adunits.list
adsense.customchannels.get
adsense.customchannels.list
adsense.metadata.dimensions.list
adsense.metadata.metrics.list
adsense.payments.list
adsense.reports.generate
adsense.reports.saved.generate
adsense.reports.saved.list
adsense.savedadstyles.get
adsense.savedadstyles.list
adsense.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.
ReportingMetadataEntry
data ReportingMetadataEntry Source #
Instances
reportingMetadataEntry :: ReportingMetadataEntry Source #
Creates a value of ReportingMetadataEntry
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rmeKind :: Lens' ReportingMetadataEntry Text Source #
Kind of resource this is, in this case adsense#reportingMetadataEntry.
rmeRequiredMetrics :: Lens' ReportingMetadataEntry [Text] Source #
The names of the metrics which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.
rmeCompatibleMetrics :: Lens' ReportingMetadataEntry [Text] Source #
The names of the metrics the dimension or metric this reporting metadata entry describes is compatible with.
rmeRequiredDimensions :: Lens' ReportingMetadataEntry [Text] Source #
The names of the dimensions which the dimension or metric this reporting metadata entry describes requires to also be present in order for the report to be valid. Omitting these will not cause an error or warning, but may result in data which cannot be correctly interpreted.
rmeId :: Lens' ReportingMetadataEntry (Maybe Text) Source #
Unique identifier of this reporting metadata entry, corresponding to the name of the appropriate dimension or metric.
rmeCompatibleDimensions :: Lens' ReportingMetadataEntry [Text] Source #
For metrics this is a list of dimension IDs which the metric is compatible with, for dimensions it is a list of compatibility groups the dimension belongs to.
rmeSupportedProducts :: Lens' ReportingMetadataEntry [Text] Source #
The codes of the projects supported by the dimension or metric this reporting metadata entry describes.
AdsenseReportsGenerateResponseHeadersItem
data AdsenseReportsGenerateResponseHeadersItem Source #
Instances
adsenseReportsGenerateResponseHeadersItem :: AdsenseReportsGenerateResponseHeadersItem Source #
Creates a value of AdsenseReportsGenerateResponseHeadersItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
argrhiName :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text) Source #
The name of the header.
argrhiCurrency :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text) Source #
The currency of this column. Only present if the header type is METRIC_CURRENCY.
argrhiType :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text) Source #
The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.
Payment
Instances
Eq Payment Source # | |
Data Payment Source # | |
Defined in Network.Google.AdSense.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Payment -> c Payment # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Payment # toConstr :: Payment -> Constr # dataTypeOf :: Payment -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Payment) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Payment) # gmapT :: (forall b. Data b => b -> b) -> Payment -> Payment # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Payment -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Payment -> r # gmapQ :: (forall d. Data d => d -> u) -> Payment -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Payment -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Payment -> m Payment # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Payment -> m Payment # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Payment -> m Payment # | |
Show Payment Source # | |
Generic Payment Source # | |
ToJSON Payment Source # | |
Defined in Network.Google.AdSense.Types.Product | |
FromJSON Payment Source # | |
type Rep Payment Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep Payment = D1 (MetaData "Payment" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "Payment'" PrefixI True) ((S1 (MetaSel (Just "_pPaymentAmountCurrencyCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pPaymentDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pPaymentAmount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) |
Creates a value of Payment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pPaymentAmountCurrencyCode :: Lens' Payment (Maybe Text) Source #
The currency code for the amount to be paid.
pPaymentDate :: Lens' Payment (Maybe Text) Source #
The date this payment was/will be credited to the user, or none if the payment threshold has not been met.
Accounts
Instances
Eq Accounts Source # | |
Data Accounts Source # | |
Defined in Network.Google.AdSense.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.AdSense.Types.Product | |
FromJSON Accounts Source # | |
type Rep Accounts Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep Accounts = D1 (MetaData "Accounts" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "Accounts'" PrefixI True) ((S1 (MetaSel (Just "_aEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aNextPageToken") 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]))))) |
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:
aNextPageToken :: Lens' Accounts (Maybe Text) Source #
Continuation token used to page through accounts. To retrieve the next page of results, set the next request's "pageToken" value to this.
Alerts
Instances
Eq Alerts Source # | |
Data Alerts Source # | |
Defined in Network.Google.AdSense.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Alerts -> c Alerts # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Alerts # toConstr :: Alerts -> Constr # dataTypeOf :: Alerts -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Alerts) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Alerts) # gmapT :: (forall b. Data b => b -> b) -> Alerts -> Alerts # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Alerts -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Alerts -> r # gmapQ :: (forall d. Data d => d -> u) -> Alerts -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Alerts -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Alerts -> m Alerts # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Alerts -> m Alerts # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Alerts -> m Alerts # | |
Show Alerts Source # | |
Generic Alerts Source # | |
ToJSON Alerts Source # | |
Defined in Network.Google.AdSense.Types.Product | |
FromJSON Alerts Source # | |
type Rep Alerts Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep Alerts = D1 (MetaData "Alerts" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "Alerts'" PrefixI True) (S1 (MetaSel (Just "_aleKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aleItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Alert])))) |
SavedReports
data SavedReports Source #
Instances
savedReports :: SavedReports Source #
Creates a value of SavedReports
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srNextPageToken :: Lens' SavedReports (Maybe Text) Source #
Continuation token used to page through saved reports. To retrieve the next page of results, set the next request's "pageToken" value to this.
srItems :: Lens' SavedReports [SavedReport] Source #
The saved reports returned in this list response.
AdUnits
Instances
Eq AdUnits Source # | |
Data AdUnits Source # | |
Defined in Network.Google.AdSense.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.AdSense.Types.Product | |
FromJSON AdUnits Source # | |
type Rep AdUnits Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep AdUnits = D1 (MetaData "AdUnits" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" 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.
SavedReport
data SavedReport Source #
Instances
savedReport :: SavedReport Source #
Creates a value of SavedReport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
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 adsense#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.
auuFeedAdsSettings :: Lens' AdUnit (Maybe AdUnitFeedAdsSettings) Source #
Settings specific to feed ads (AFF) - deprecated.
auuCustomStyle :: Lens' AdUnit (Maybe AdStyle) Source #
Custom style information specific to this ad unit.
auuSavedStyleId :: Lens' AdUnit (Maybe Text) Source #
ID of the saved ad style which holds this ad unit's style information.
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.
Alert
Instances
Eq Alert Source # | |
Data Alert Source # | |
Defined in Network.Google.AdSense.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Alert -> c Alert # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Alert # dataTypeOf :: Alert -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Alert) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Alert) # gmapT :: (forall b. Data b => b -> b) -> Alert -> Alert # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Alert -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Alert -> r # gmapQ :: (forall d. Data d => d -> u) -> Alert -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Alert -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Alert -> m Alert # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Alert -> m Alert # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Alert -> m Alert # | |
Show Alert Source # | |
Generic Alert Source # | |
ToJSON Alert Source # | |
Defined in Network.Google.AdSense.Types.Product | |
FromJSON Alert Source # | |
type Rep Alert Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep Alert = D1 (MetaData "Alert" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "Alert'" PrefixI True) ((S1 (MetaSel (Just "_aaIsDismissible") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_aaKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aaSeverity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_aaId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aaType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aaMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) |
Creates a value of Alert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aaSeverity :: Lens' Alert (Maybe Text) Source #
Severity of this alert. Possible values: INFO, WARNING, SEVERE.
aaId :: Lens' Alert (Maybe Text) Source #
Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
aaType :: Lens' Alert (Maybe Text) Source #
Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD.
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:
Account
Instances
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:
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.
SavedAdStyles
data SavedAdStyles Source #
Instances
savedAdStyles :: SavedAdStyles Source #
Creates a value of SavedAdStyles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sasNextPageToken :: Lens' SavedAdStyles (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.
sasKind :: Lens' SavedAdStyles Text Source #
Kind of list this is, in this case adsense#savedAdStyles.
sasItems :: Lens' SavedAdStyles [SavedAdStyle] Source #
The saved ad styles returned in this list response.
AdStyleColors
data AdStyleColors Source #
The colors which are 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.
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.
SavedAdStyle
data SavedAdStyle Source #
Instances
savedAdStyle :: SavedAdStyle Source #
Creates a value of SavedAdStyle
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
savKind :: Lens' SavedAdStyle Text Source #
Kind of resource this is, in this case adsense#savedAdStyle.
savAdStyle :: Lens' SavedAdStyle (Maybe AdStyle) Source #
The AdStyle itself.
savId :: Lens' SavedAdStyle (Maybe Text) Source #
Unique identifier of this saved ad style. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
CustomChannelTargetingInfo
data CustomChannelTargetingInfo Source #
The targeting information of this custom channel, if activated.
See: customChannelTargetingInfo
smart constructor.
Instances
customChannelTargetingInfo :: CustomChannelTargetingInfo Source #
Creates a value of CustomChannelTargetingInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cctiLocation :: Lens' CustomChannelTargetingInfo (Maybe Text) Source #
The locations in which ads appear. (Only valid for content and mobile content ads (deprecated)). Acceptable values for content ads are: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, MIDDLE_CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT, MULTIPLE_LOCATIONS. Acceptable values for mobile content ads (deprecated) are: TOP, MIDDLE, BOTTOM, MULTIPLE_LOCATIONS.
cctiSiteLanguage :: Lens' CustomChannelTargetingInfo (Maybe Text) Source #
The language of the sites ads will be displayed on.
cctiAdsAppearOn :: Lens' CustomChannelTargetingInfo (Maybe Text) Source #
The name used to describe this channel externally.
cctiDescription :: Lens' CustomChannelTargetingInfo (Maybe Text) Source #
The external description of the channel.
AdStyle
Instances
Eq AdStyle Source # | |
Data AdStyle Source # | |
Defined in Network.Google.AdSense.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.AdSense.Types.Product | |
FromJSON AdStyle Source # | |
type Rep AdStyle Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep AdStyle = D1 (MetaData "AdStyle" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "AdStyle'" PrefixI True) ((S1 (MetaSel (Just "_asCorners") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_asKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_asFont") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdStyleFont)) :*: S1 (MetaSel (Just "_asColors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdStyleColors))))) |
asCorners :: Lens' AdStyle (Maybe Text) Source #
The style of the corners in the ad (deprecated: never populated, ignored).
asColors :: Lens' AdStyle (Maybe AdStyleColors) Source #
The colors which are included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
AdUnitFeedAdsSettings
data AdUnitFeedAdsSettings Source #
Settings specific to feed ads (AFF) - deprecated.
See: adUnitFeedAdsSettings
smart constructor.
Instances
adUnitFeedAdsSettings :: AdUnitFeedAdsSettings Source #
Creates a value of AdUnitFeedAdsSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aufasFrequency :: Lens' AdUnitFeedAdsSettings (Maybe Int32) Source #
The frequency at which ads should appear in the feed (i.e. every N entries).
aufasAdPosition :: Lens' AdUnitFeedAdsSettings (Maybe Text) Source #
The position of the ads relative to the feed entries.
aufasMinimumWordCount :: Lens' AdUnitFeedAdsSettings (Maybe Int32) Source #
The minimum length an entry should be in order to have attached ads.
Metadata
Instances
Eq Metadata Source # | |
Data Metadata Source # | |
Defined in Network.Google.AdSense.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Metadata -> c Metadata # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Metadata # toConstr :: Metadata -> Constr # dataTypeOf :: Metadata -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Metadata) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Metadata) # gmapT :: (forall b. Data b => b -> b) -> Metadata -> Metadata # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Metadata -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Metadata -> r # gmapQ :: (forall d. Data d => d -> u) -> Metadata -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Metadata -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Metadata -> m Metadata # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Metadata -> m Metadata # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Metadata -> m Metadata # | |
Show Metadata Source # | |
Generic Metadata Source # | |
ToJSON Metadata Source # | |
Defined in Network.Google.AdSense.Types.Product | |
FromJSON Metadata Source # | |
type Rep Metadata Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep Metadata = D1 (MetaData "Metadata" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "Metadata'" PrefixI True) (S1 (MetaSel (Just "_mKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ReportingMetadataEntry])))) |
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:
cTargetingInfo :: Lens' CustomChannel (Maybe CustomChannelTargetingInfo) Source #
The targeting information of this custom channel, if activated.
cKind :: Lens' CustomChannel Text Source #
Kind of resource this is, in this case adsense#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 adsense#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.AdSense.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.AdSense.Types.Product | |
FromJSON AdCode Source # | |
type Rep AdCode Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep AdCode = D1 (MetaData "AdCode" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "AdCode'" PrefixI True) ((S1 (MetaSel (Just "_addKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_addAmpHead") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_addAmpBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_addAdCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
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:
addAmpHead :: Lens' AdCode (Maybe Text) Source #
The AMP Auto ad code snippet that goes in the head of an AMP page.
addAmpBody :: Lens' AdCode (Maybe Text) Source #
The AMP Auto ad code snippet that goes in the body of an AMP page.
AdsenseReportsGenerateResponse
data AdsenseReportsGenerateResponse Source #
Instances
adsenseReportsGenerateResponse :: AdsenseReportsGenerateResponse Source #
Creates a value of AdsenseReportsGenerateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
argrKind :: Lens' AdsenseReportsGenerateResponse Text Source #
Kind this is, in this case adsense#report.
argrAverages :: Lens' AdsenseReportsGenerateResponse [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.
argrEndDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text) Source #
The requested end date in yyyy-mm-dd format.
argrWarnings :: Lens' AdsenseReportsGenerateResponse [Text] Source #
Any warnings associated with generation of the report.
argrRows :: Lens' AdsenseReportsGenerateResponse [[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.
argrTotals :: Lens' AdsenseReportsGenerateResponse [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.
argrStartDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text) Source #
The requested start date in yyyy-mm-dd format.
argrHeaders :: Lens' AdsenseReportsGenerateResponse [AdsenseReportsGenerateResponseHeadersItem] 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.
argrTotalMatchedRows :: Lens' AdsenseReportsGenerateResponse (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.
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.
Payments
Instances
Eq Payments Source # | |
Data Payments Source # | |
Defined in Network.Google.AdSense.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Payments -> c Payments # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Payments # toConstr :: Payments -> Constr # dataTypeOf :: Payments -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Payments) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Payments) # gmapT :: (forall b. Data b => b -> b) -> Payments -> Payments # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Payments -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Payments -> r # gmapQ :: (forall d. Data d => d -> u) -> Payments -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Payments -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Payments -> m Payments # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Payments -> m Payments # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Payments -> m Payments # | |
Show Payments Source # | |
Generic Payments Source # | |
ToJSON Payments Source # | |
Defined in Network.Google.AdSense.Types.Product | |
FromJSON Payments Source # | |
type Rep Payments Source # | |
Defined in Network.Google.AdSense.Types.Product type Rep Payments = D1 (MetaData "Payments" "Network.Google.AdSense.Types.Product" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "Payments'" PrefixI True) (S1 (MetaSel (Just "_payKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_payItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Payment])))) |