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
- 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
- adSenseService :: ServiceConfig
- adSenseReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/adsense.readonly"]
- adSenseScope :: Proxy '["https://www.googleapis.com/auth/adsense"]
- 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
- 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
AdClients
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
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.
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:
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.
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) - 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
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:
AdUnitMobileContentAdsSettings
data AdUnitMobileContentAdsSettings Source #
Settings specific to WAP mobile content ads (AFMC) - deprecated.
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.
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 (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
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.
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 - deprecated).
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.