Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- adsensehost.accounts.adclients.get
- adsensehost.accounts.adclients.list
- adsensehost.accounts.adunits.delete
- adsensehost.accounts.adunits.get
- adsensehost.accounts.adunits.getAdCode
- adsensehost.accounts.adunits.insert
- adsensehost.accounts.adunits.list
- adsensehost.accounts.adunits.patch
- adsensehost.accounts.adunits.update
- adsensehost.accounts.get
- adsensehost.accounts.list
- adsensehost.accounts.reports.generate
- adsensehost.adclients.get
- adsensehost.adclients.list
- adsensehost.associationsessions.start
- adsensehost.associationsessions.verify
- adsensehost.customchannels.delete
- adsensehost.customchannels.get
- adsensehost.customchannels.insert
- adsensehost.customchannels.list
- adsensehost.customchannels.patch
- adsensehost.customchannels.update
- adsensehost.reports.generate
- adsensehost.urlchannels.delete
- adsensehost.urlchannels.insert
- adsensehost.urlchannels.list
- Types
Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.
- adSenseHostService :: ServiceConfig
- adSenseHostScope :: Proxy '["https://www.googleapis.com/auth/adsensehost"]
- type AdSenseHostAPI = AssociationSessionsVerifyResource :<|> (AssociationSessionsStartResource :<|> (AdClientsListResource :<|> (AdClientsGetResource :<|> (AccountsAdClientsListResource :<|> (AccountsAdClientsGetResource :<|> (AccountsReportsGenerateResource :<|> (AccountsAdUnitsInsertResource :<|> (AccountsAdUnitsListResource :<|> (AccountsAdUnitsPatchResource :<|> (AccountsAdUnitsGetResource :<|> (AccountsAdUnitsGetAdCodeResource :<|> (AccountsAdUnitsDeleteResource :<|> (AccountsAdUnitsUpdateResource :<|> (AccountsListResource :<|> (AccountsGetResource :<|> (ReportsGenerateResource :<|> (URLChannelsInsertResource :<|> (URLChannelsListResource :<|> (URLChannelsDeleteResource :<|> (CustomChannelsInsertResource :<|> (CustomChannelsListResource :<|> (CustomChannelsPatchResource :<|> (CustomChannelsGetResource :<|> (CustomChannelsDeleteResource :<|> CustomChannelsUpdateResource))))))))))))))))))))))))
- module Network.Google.Resource.AdSenseHost.Accounts.AdClients.Get
- module Network.Google.Resource.AdSenseHost.Accounts.AdClients.List
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Delete
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.GetAdCode
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Insert
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.List
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Patch
- module Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Update
- module Network.Google.Resource.AdSenseHost.Accounts.Get
- module Network.Google.Resource.AdSenseHost.Accounts.List
- module Network.Google.Resource.AdSenseHost.Accounts.Reports.Generate
- module Network.Google.Resource.AdSenseHost.AdClients.Get
- module Network.Google.Resource.AdSenseHost.AdClients.List
- module Network.Google.Resource.AdSenseHost.AssociationSessions.Start
- module Network.Google.Resource.AdSenseHost.AssociationSessions.Verify
- module Network.Google.Resource.AdSenseHost.CustomChannels.Delete
- module Network.Google.Resource.AdSenseHost.CustomChannels.Get
- module Network.Google.Resource.AdSenseHost.CustomChannels.Insert
- module Network.Google.Resource.AdSenseHost.CustomChannels.List
- module Network.Google.Resource.AdSenseHost.CustomChannels.Patch
- module Network.Google.Resource.AdSenseHost.CustomChannels.Update
- module Network.Google.Resource.AdSenseHost.Reports.Generate
- module Network.Google.Resource.AdSenseHost.URLChannels.Delete
- module Network.Google.Resource.AdSenseHost.URLChannels.Insert
- module Network.Google.Resource.AdSenseHost.URLChannels.List
- data AdClients
- adClients :: AdClients
- acEtag :: Lens' AdClients (Maybe Text)
- acNextPageToken :: Lens' AdClients (Maybe Text)
- acKind :: Lens' AdClients Text
- acItems :: Lens' AdClients [AdClient]
- data AssociationSession
- associationSession :: AssociationSession
- asStatus :: Lens' AssociationSession (Maybe Text)
- asKind :: Lens' AssociationSession Text
- asWebsiteLocale :: Lens' AssociationSession (Maybe Text)
- asUserLocale :: Lens' AssociationSession (Maybe Text)
- asAccountId :: Lens' AssociationSession (Maybe Text)
- asProductCodes :: Lens' AssociationSession [Text]
- asId :: Lens' AssociationSession (Maybe Text)
- asWebsiteURL :: Lens' AssociationSession (Maybe Text)
- asRedirectURL :: Lens' AssociationSession (Maybe Text)
- data AssociationSessionsStartProductCode
- data Accounts
- accounts :: Accounts
- aEtag :: Lens' Accounts (Maybe Text)
- aKind :: Lens' Accounts Text
- aItems :: Lens' Accounts [Account]
- data AdUnits
- adUnits :: AdUnits
- auEtag :: Lens' AdUnits (Maybe Text)
- auNextPageToken :: Lens' AdUnits (Maybe Text)
- auKind :: Lens' AdUnits Text
- auItems :: Lens' AdUnits [AdUnit]
- data URLChannels
- urlChannels :: URLChannels
- ucEtag :: Lens' URLChannels (Maybe Text)
- ucNextPageToken :: Lens' URLChannels (Maybe Text)
- ucKind :: Lens' URLChannels Text
- ucItems :: Lens' URLChannels [URLChannel]
- data CustomChannels
- customChannels :: CustomChannels
- ccEtag :: Lens' CustomChannels (Maybe Text)
- ccNextPageToken :: Lens' CustomChannels (Maybe Text)
- ccKind :: Lens' CustomChannels Text
- ccItems :: Lens' CustomChannels [CustomChannel]
- data AdUnit
- adUnit :: AdUnit
- auuStatus :: Lens' AdUnit (Maybe Text)
- auuMobileContentAdsSettings :: Lens' AdUnit (Maybe AdUnitMobileContentAdsSettings)
- auuKind :: Lens' AdUnit Text
- auuCustomStyle :: Lens' AdUnit (Maybe AdStyle)
- auuName :: Lens' AdUnit (Maybe Text)
- auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings)
- auuCode :: Lens' AdUnit (Maybe Text)
- auuId :: Lens' AdUnit (Maybe Text)
- data Report
- report :: Report
- rKind :: Lens' Report Text
- rAverages :: Lens' Report [Text]
- rWarnings :: Lens' Report [Text]
- rRows :: Lens' Report [[Text]]
- rTotals :: Lens' Report [Text]
- rHeaders :: Lens' Report [ReportHeadersItem]
- rTotalMatchedRows :: Lens' Report (Maybe Int64)
- data AdStyleFont
- adStyleFont :: AdStyleFont
- asfSize :: Lens' AdStyleFont (Maybe Text)
- asfFamily :: Lens' AdStyleFont (Maybe Text)
- data Account
- account :: Account
- accStatus :: Lens' Account (Maybe Text)
- accKind :: Lens' Account Text
- accName :: Lens' Account (Maybe Text)
- accId :: Lens' Account (Maybe Text)
- data AdUnitMobileContentAdsSettings
- adUnitMobileContentAdsSettings :: AdUnitMobileContentAdsSettings
- aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
- aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
- aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
- aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
- data AdStyleColors
- adStyleColors :: AdStyleColors
- ascText :: Lens' AdStyleColors (Maybe Text)
- ascURL :: Lens' AdStyleColors (Maybe Text)
- ascBOrder :: Lens' AdStyleColors (Maybe Text)
- ascTitle :: Lens' AdStyleColors (Maybe Text)
- ascBackgRound :: Lens' AdStyleColors (Maybe Text)
- data AdUnitContentAdsSettingsBackupOption
- adUnitContentAdsSettingsBackupOption :: AdUnitContentAdsSettingsBackupOption
- aucasboColor :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
- aucasboURL :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
- aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
- data AdClient
- adClient :: AdClient
- adKind :: Lens' AdClient Text
- adArcOptIn :: Lens' AdClient (Maybe Bool)
- adSupportsReporting :: Lens' AdClient (Maybe Bool)
- adId :: Lens' AdClient (Maybe Text)
- adProductCode :: Lens' AdClient (Maybe Text)
- data ReportHeadersItem
- reportHeadersItem :: ReportHeadersItem
- rhiName :: Lens' ReportHeadersItem (Maybe Text)
- rhiCurrency :: Lens' ReportHeadersItem (Maybe Text)
- rhiType :: Lens' ReportHeadersItem (Maybe Text)
- data AdStyle
- adStyle :: AdStyle
- assCorners :: Lens' AdStyle (Maybe Text)
- assKind :: Lens' AdStyle Text
- assFont :: Lens' AdStyle (Maybe AdStyleFont)
- assColors :: Lens' AdStyle (Maybe AdStyleColors)
- data CustomChannel
- customChannel :: CustomChannel
- cKind :: Lens' CustomChannel Text
- cName :: Lens' CustomChannel (Maybe Text)
- cCode :: Lens' CustomChannel (Maybe Text)
- cId :: Lens' CustomChannel (Maybe Text)
- data URLChannel
- urlChannel :: URLChannel
- urlcKind :: Lens' URLChannel Text
- urlcId :: Lens' URLChannel (Maybe Text)
- urlcURLPattern :: Lens' URLChannel (Maybe Text)
- data AdCode
- adCode :: AdCode
- aaKind :: Lens' AdCode Text
- aaAdCode :: Lens' AdCode (Maybe Text)
- data AdUnitContentAdsSettings
- adUnitContentAdsSettings :: AdUnitContentAdsSettings
- aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitContentAdsSettingsBackupOption)
- aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text)
- aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text)
Service Configuration
adSenseHostService :: ServiceConfig Source #
Default request referring to version 'v4.1' of the AdSense Host API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
adSenseHostScope :: Proxy '["https://www.googleapis.com/auth/adsensehost"] Source #
View and manage your AdSense host data and associated accounts
API Declaration
type AdSenseHostAPI = AssociationSessionsVerifyResource :<|> (AssociationSessionsStartResource :<|> (AdClientsListResource :<|> (AdClientsGetResource :<|> (AccountsAdClientsListResource :<|> (AccountsAdClientsGetResource :<|> (AccountsReportsGenerateResource :<|> (AccountsAdUnitsInsertResource :<|> (AccountsAdUnitsListResource :<|> (AccountsAdUnitsPatchResource :<|> (AccountsAdUnitsGetResource :<|> (AccountsAdUnitsGetAdCodeResource :<|> (AccountsAdUnitsDeleteResource :<|> (AccountsAdUnitsUpdateResource :<|> (AccountsListResource :<|> (AccountsGetResource :<|> (ReportsGenerateResource :<|> (URLChannelsInsertResource :<|> (URLChannelsListResource :<|> (URLChannelsDeleteResource :<|> (CustomChannelsInsertResource :<|> (CustomChannelsListResource :<|> (CustomChannelsPatchResource :<|> (CustomChannelsGetResource :<|> (CustomChannelsDeleteResource :<|> CustomChannelsUpdateResource)))))))))))))))))))))))) Source #
Represents the entirety of the methods and resources available for the AdSense Host API service.
Resources
adsensehost.accounts.adclients.get
adsensehost.accounts.adclients.list
adsensehost.accounts.adunits.delete
adsensehost.accounts.adunits.get
adsensehost.accounts.adunits.getAdCode
adsensehost.accounts.adunits.insert
adsensehost.accounts.adunits.list
adsensehost.accounts.adunits.patch
adsensehost.accounts.adunits.update
adsensehost.accounts.get
adsensehost.accounts.list
adsensehost.accounts.reports.generate
adsensehost.adclients.get
adsensehost.adclients.list
adsensehost.associationsessions.start
adsensehost.associationsessions.verify
adsensehost.customchannels.delete
adsensehost.customchannels.get
adsensehost.customchannels.insert
adsensehost.customchannels.list
adsensehost.customchannels.patch
adsensehost.customchannels.update
adsensehost.reports.generate
adsensehost.urlchannels.delete
adsensehost.urlchannels.insert
adsensehost.urlchannels.list
Types
AdClients
adClients :: AdClients Source #
Creates a value of AdClients
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
acNextPageToken :: Lens' AdClients (Maybe Text) Source #
Continuation token used to page through ad clients. To retrieve the next page of results, set the next request's "pageToken" value to this.
AssociationSession
data AssociationSession Source #
associationSession :: AssociationSession Source #
Creates a value of AssociationSession
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asStatus :: Lens' AssociationSession (Maybe Text) Source #
Status of the completed association, available once the association callback token has been verified. One of ACCEPTED, REJECTED, or ERROR.
asKind :: Lens' AssociationSession Text Source #
Kind of resource this is, in this case adsensehost#associationSession.
asWebsiteLocale :: Lens' AssociationSession (Maybe Text) Source #
The locale of the user's hosted website.
asUserLocale :: Lens' AssociationSession (Maybe Text) Source #
The preferred locale of the user themselves when going through the AdSense association flow.
asAccountId :: Lens' AssociationSession (Maybe Text) Source #
Hosted account id of the associated publisher after association. Present if status is ACCEPTED.
asProductCodes :: Lens' AssociationSession [Text] Source #
The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated)
asId :: Lens' AssociationSession (Maybe Text) Source #
Unique identifier of this association session.
asWebsiteURL :: Lens' AssociationSession (Maybe Text) Source #
The URL of the user's hosted website.
asRedirectURL :: Lens' AssociationSession (Maybe Text) Source #
Redirect URL of this association session. Used to redirect users into the AdSense association flow.
AssociationSessionsStartProductCode
data AssociationSessionsStartProductCode Source #
Products to associate with the user.
Afc |
|
Afg |
|
Afmc |
|
Afs |
|
Afv |
|
Accounts
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.
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 adsensehost#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 adsensehost#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).
auuCustomStyle :: Lens' AdUnit (Maybe AdStyle) Source #
Custom style information specific to this ad unit.
auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings) Source #
Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
auuCode :: Lens' AdUnit (Maybe Text) Source #
Identity code of this ad unit, not necessarily unique across ad clients.
auuId :: Lens' AdUnit (Maybe Text) Source #
Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
Report
rAverages :: Lens' Report [Text] Source #
The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.
rRows :: Lens' Report [[Text]] Source #
The output rows of the report. Each row is a list of cells; one for each dimension in the request, followed by one for each metric in the request. The dimension cells contain strings, and the metric cells contain numbers.
rTotals :: Lens' Report [Text] Source #
The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.
rHeaders :: Lens' Report [ReportHeadersItem] Source #
The header information of the columns requested in the report. This is a list of headers; one for each dimension in the request, followed by one for each metric in the request.
rTotalMatchedRows :: Lens' Report (Maybe Int64) Source #
The total number of rows matched by the report request. Fewer rows may be returned in the response due to being limited by the row count requested or the report row limit.
AdStyleFont
data AdStyleFont Source #
The font which is included in the style.
See: adStyleFont
smart constructor.
adStyleFont :: AdStyleFont Source #
Creates a value of AdStyleFont
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asfSize :: Lens' AdStyleFont (Maybe Text) Source #
The size of the font. Possible values are: ACCOUNT_DEFAULT_SIZE, ADSENSE_DEFAULT_SIZE, SMALL, MEDIUM and LARGE.
asfFamily :: Lens' AdStyleFont (Maybe Text) Source #
The family of the font. Possible values are: ACCOUNT_DEFAULT_FAMILY, ADSENSE_DEFAULT_FAMILY, ARIAL, TIMES and VERDANA.
Account
accStatus :: Lens' Account (Maybe Text) Source #
Approval status of this account. One of: PENDING, APPROVED, DISABLED.
AdUnitMobileContentAdsSettings
data AdUnitMobileContentAdsSettings Source #
Settings specific to WAP mobile content ads (AFMC - deprecated).
See: adUnitMobileContentAdsSettings
smart constructor.
adUnitMobileContentAdsSettings :: AdUnitMobileContentAdsSettings Source #
Creates a value of AdUnitMobileContentAdsSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) Source #
Size of this ad unit.
aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) Source #
The scripting language to use for this ad unit.
aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) Source #
The markup language to use for this ad unit.
aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text) Source #
Type of this ad unit.
AdStyleColors
data AdStyleColors Source #
The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
See: adStyleColors
smart constructor.
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. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
aucasboURL :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text) Source #
URL to use when type is set to URL.
aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text) Source #
Type of the backup option. Possible values are BLANK, COLOR and URL.
AdClient
Creates a value of AdClient
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adSupportsReporting :: Lens' AdClient (Maybe Bool) Source #
Whether this ad client supports being reported on.
adProductCode :: Lens' AdClient (Maybe Text) Source #
This ad client's product code, which corresponds to the PRODUCT_CODE report dimension.
ReportHeadersItem
data ReportHeadersItem Source #
reportHeadersItem :: ReportHeadersItem Source #
Creates a value of ReportHeadersItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rhiCurrency :: Lens' ReportHeadersItem (Maybe Text) Source #
The currency of this column. Only present if the header type is METRIC_CURRENCY.
rhiType :: Lens' ReportHeadersItem (Maybe Text) Source #
The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or METRIC_CURRENCY.
AdStyle
Creates a value of AdStyle
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
assCorners :: Lens' AdStyle (Maybe Text) Source #
The style of the corners in the ad. Possible values are SQUARE, SLIGHTLY_ROUNDED and VERY_ROUNDED.
assColors :: Lens' AdStyle (Maybe AdStyleColors) Source #
The colors included in the style. These are represented as six hexadecimal characters, similar to HTML color codes, but without the leading hash.
CustomChannel
data CustomChannel Source #
customChannel :: CustomChannel Source #
Creates a value of CustomChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cKind :: Lens' CustomChannel Text Source #
Kind of resource this is, in this case adsensehost#customChannel.
cCode :: Lens' CustomChannel (Maybe Text) Source #
Code of this custom channel, not necessarily unique across ad clients.
cId :: Lens' CustomChannel (Maybe Text) Source #
Unique identifier of this custom channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
URLChannel
data URLChannel Source #
urlChannel :: URLChannel Source #
Creates a value of URLChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
urlcKind :: Lens' URLChannel Text Source #
Kind of resource this is, in this case adsensehost#urlChannel.
urlcId :: Lens' URLChannel (Maybe Text) Source #
Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.
urlcURLPattern :: Lens' URLChannel (Maybe Text) Source #
URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home
AdCode
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.