Copyright | (c) 2015 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
- API Declaration
- Resources
- 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
Gives AdSense publishers access to their inventory and the ability to generate reports
- adSenseService :: Service
- type AdSenseAPI = AdClientsListResource :<|> (AccountsAdClientsListResource :<|> (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.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)
- adArcReviewMode :: 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
- 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 :: Service 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.
API Declaration
type AdSenseAPI = AdClientsListResource :<|> (AccountsAdClientsListResource :<|> (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.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
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
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
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
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
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
SavedReports
data SavedReports Source
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.
srKind :: Lens' SavedReports Text Source
Kind of list this is, in this case adsense#savedReports.
srItems :: Lens' SavedReports [SavedReport] Source
The saved reports returned in this list response.
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:
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
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:
sKind :: Lens' SavedReport Text Source
Kind of resource this is, in this case adsense#savedReport.
URLChannels
data URLChannels Source
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 adsense#urlChannels.
ucItems :: Lens' URLChannels [URLChannel] Source
The URL channels returned in this list response.
CustomChannels
data CustomChannels Source
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
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).
auuFeedAdsSettings :: Lens' AdUnit (Maybe AdUnitFeedAdsSettings) Source
Settings specific to feed ads (AFF).
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).
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
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.
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
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:
accSubAccounts :: Lens' Account [Account] Source
Sub accounts of the this account.
AdUnitMobileContentAdsSettings
data AdUnitMobileContentAdsSettings Source
Settings specific to WAP mobile content ads (AFMC).
See: adUnitMobileContentAdsSettings
smart constructor.
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
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.
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.
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
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.
adArcReviewMode :: Lens' AdClient (Maybe Text) Source
ARC review mode this ad client is in. Empty if the client is not opted in to ARC. Possible values: POST_REVIEW, AUTOMATIC_PRE_REVIEW.
SavedAdStyle
data SavedAdStyle Source
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.
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). 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 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
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).
See: adUnitFeedAdsSettings
smart constructor.
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
CustomChannel
data CustomChannel Source
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
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
AdsenseReportsGenerateResponse
data AdsenseReportsGenerateResponse Source
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).
See: adUnitContentAdsSettings
smart constructor.
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.