-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Google AdSense Management SDK.
--   
--   Accesses AdSense publishers' inventory and generates performance
--   reports.
--   
--   <i>Warning:</i> This is an experimental prototype/preview release
--   which is still under exploratory development and not intended for
--   public use, caveat emptor!
--   
--   This library is compatible with version <tt>v1.4</tt> of the API.
@package gogol-adsense
@version 0.3.0


module Network.Google.AdSense.Types

-- | 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.
adSenseService :: ServiceConfig

-- | View your AdSense data
adSenseReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/adsense.readonly"]

-- | View and manage your AdSense data
adSenseScope :: Proxy '["https://www.googleapis.com/auth/adsense"]
data AdClients

-- | Creates a value of <a>AdClients</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acEtag</a></li>
--   <li><a>acNextPageToken</a></li>
--   <li><a>acKind</a></li>
--   <li><a>acItems</a></li>
--   </ul>
adClients :: AdClients

-- | ETag of this response for caching purposes.
acEtag :: Lens' AdClients (Maybe Text)

-- | Continuation token used to page through ad clients. To retrieve the
--   next page of results, set the next request's "pageToken" value to
--   this.
acNextPageToken :: Lens' AdClients (Maybe Text)

-- | Kind of list this is, in this case adsense#adClients.
acKind :: Lens' AdClients Text

-- | The ad clients returned in this list response.
acItems :: Lens' AdClients [AdClient]
data ReportingMetadataEntry

-- | Creates a value of <a>ReportingMetadataEntry</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rmeKind</a></li>
--   <li><a>rmeRequiredMetrics</a></li>
--   <li><a>rmeCompatibleMetrics</a></li>
--   <li><a>rmeRequiredDimensions</a></li>
--   <li><a>rmeId</a></li>
--   <li><a>rmeCompatibleDimensions</a></li>
--   <li><a>rmeSupportedProducts</a></li>
--   </ul>
reportingMetadataEntry :: ReportingMetadataEntry

-- | Kind of resource this is, in this case adsense#reportingMetadataEntry.
rmeKind :: Lens' ReportingMetadataEntry Text

-- | 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.
rmeRequiredMetrics :: Lens' ReportingMetadataEntry [Text]

-- | The names of the metrics the dimension or metric this reporting
--   metadata entry describes is compatible with.
rmeCompatibleMetrics :: Lens' ReportingMetadataEntry [Text]

-- | 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.
rmeRequiredDimensions :: Lens' ReportingMetadataEntry [Text]

-- | Unique identifier of this reporting metadata entry, corresponding to
--   the name of the appropriate dimension or metric.
rmeId :: Lens' ReportingMetadataEntry (Maybe Text)

-- | 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.
rmeCompatibleDimensions :: Lens' ReportingMetadataEntry [Text]

-- | The codes of the projects supported by the dimension or metric this
--   reporting metadata entry describes.
rmeSupportedProducts :: Lens' ReportingMetadataEntry [Text]
data AdsenseReportsGenerateResponseHeadersItem

-- | Creates a value of <a>AdsenseReportsGenerateResponseHeadersItem</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>argrhiName</a></li>
--   <li><a>argrhiCurrency</a></li>
--   <li><a>argrhiType</a></li>
--   </ul>
adsenseReportsGenerateResponseHeadersItem :: AdsenseReportsGenerateResponseHeadersItem

-- | The name of the header.
argrhiName :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)

-- | The currency of this column. Only present if the header type is
--   METRIC_CURRENCY.
argrhiCurrency :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)

-- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO,
--   or METRIC_CURRENCY.
argrhiType :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)
data Payment

-- | Creates a value of <a>Payment</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pPaymentAmountCurrencyCode</a></li>
--   <li><a>pKind</a></li>
--   <li><a>pPaymentDate</a></li>
--   <li><a>pId</a></li>
--   <li><a>pPaymentAmount</a></li>
--   </ul>
payment :: Payment

-- | The currency code for the amount to be paid.
pPaymentAmountCurrencyCode :: Lens' Payment (Maybe Text)

-- | Kind of resource this is, in this case adsense#payment.
pKind :: Lens' Payment Text

-- | The date this payment was/will be credited to the user, or none if the
--   payment threshold has not been met.
pPaymentDate :: Lens' Payment (Maybe Text)

-- | Unique identifier of this Payment.
pId :: Lens' Payment (Maybe Text)

-- | The amount to be paid.
pPaymentAmount :: Lens' Payment (Maybe Text)
data Accounts

-- | Creates a value of <a>Accounts</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aEtag</a></li>
--   <li><a>aNextPageToken</a></li>
--   <li><a>aKind</a></li>
--   <li><a>aItems</a></li>
--   </ul>
accounts :: Accounts

-- | ETag of this response for caching purposes.
aEtag :: Lens' Accounts (Maybe Text)

-- | Continuation token used to page through accounts. To retrieve the next
--   page of results, set the next request's "pageToken" value to this.
aNextPageToken :: Lens' Accounts (Maybe Text)

-- | Kind of list this is, in this case adsense#accounts.
aKind :: Lens' Accounts Text

-- | The accounts returned in this list response.
aItems :: Lens' Accounts [Account]
data Alerts

-- | Creates a value of <a>Alerts</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aleKind</a></li>
--   <li><a>aleItems</a></li>
--   </ul>
alerts :: Alerts

-- | Kind of list this is, in this case adsense#alerts.
aleKind :: Lens' Alerts Text

-- | The alerts returned in this list response.
aleItems :: Lens' Alerts [Alert]
data SavedReports

-- | Creates a value of <a>SavedReports</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srEtag</a></li>
--   <li><a>srNextPageToken</a></li>
--   <li><a>srKind</a></li>
--   <li><a>srItems</a></li>
--   </ul>
savedReports :: SavedReports

-- | ETag of this response for caching purposes.
srEtag :: Lens' SavedReports (Maybe Text)

-- | Continuation token used to page through saved reports. To retrieve the
--   next page of results, set the next request's "pageToken" value to
--   this.
srNextPageToken :: Lens' SavedReports (Maybe Text)

-- | Kind of list this is, in this case adsense#savedReports.
srKind :: Lens' SavedReports Text

-- | The saved reports returned in this list response.
srItems :: Lens' SavedReports [SavedReport]
data AdUnits

-- | Creates a value of <a>AdUnits</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>auEtag</a></li>
--   <li><a>auNextPageToken</a></li>
--   <li><a>auKind</a></li>
--   <li><a>auItems</a></li>
--   </ul>
adUnits :: AdUnits

-- | ETag of this response for caching purposes.
auEtag :: Lens' AdUnits (Maybe Text)

-- | Continuation token used to page through ad units. To retrieve the next
--   page of results, set the next request's "pageToken" value to this.
auNextPageToken :: Lens' AdUnits (Maybe Text)

-- | Kind of list this is, in this case adsense#adUnits.
auKind :: Lens' AdUnits Text

-- | The ad units returned in this list response.
auItems :: Lens' AdUnits [AdUnit]
data SavedReport

-- | Creates a value of <a>SavedReport</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sKind</a></li>
--   <li><a>sName</a></li>
--   <li><a>sId</a></li>
--   </ul>
savedReport :: SavedReport

-- | Kind of resource this is, in this case adsense#savedReport.
sKind :: Lens' SavedReport Text

-- | This saved report's name.
sName :: Lens' SavedReport (Maybe Text)

-- | Unique identifier of this saved report.
sId :: Lens' SavedReport (Maybe Text)
data URLChannels

-- | Creates a value of <a>URLChannels</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucEtag</a></li>
--   <li><a>ucNextPageToken</a></li>
--   <li><a>ucKind</a></li>
--   <li><a>ucItems</a></li>
--   </ul>
urlChannels :: URLChannels

-- | ETag of this response for caching purposes.
ucEtag :: Lens' URLChannels (Maybe Text)

-- | Continuation token used to page through URL channels. To retrieve the
--   next page of results, set the next request's "pageToken" value to
--   this.
ucNextPageToken :: Lens' URLChannels (Maybe Text)

-- | Kind of list this is, in this case adsense#urlChannels.
ucKind :: Lens' URLChannels Text

-- | The URL channels returned in this list response.
ucItems :: Lens' URLChannels [URLChannel]
data CustomChannels

-- | Creates a value of <a>CustomChannels</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccEtag</a></li>
--   <li><a>ccNextPageToken</a></li>
--   <li><a>ccKind</a></li>
--   <li><a>ccItems</a></li>
--   </ul>
customChannels :: CustomChannels

-- | ETag of this response for caching purposes.
ccEtag :: Lens' CustomChannels (Maybe Text)

-- | Continuation token used to page through custom channels. To retrieve
--   the next page of results, set the next request's "pageToken" value to
--   this.
ccNextPageToken :: Lens' CustomChannels (Maybe Text)

-- | Kind of list this is, in this case adsense#customChannels.
ccKind :: Lens' CustomChannels Text

-- | The custom channels returned in this list response.
ccItems :: Lens' CustomChannels [CustomChannel]
data AdUnit

-- | Creates a value of <a>AdUnit</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>auuStatus</a></li>
--   <li><a>auuMobileContentAdsSettings</a></li>
--   <li><a>auuKind</a></li>
--   <li><a>auuFeedAdsSettings</a></li>
--   <li><a>auuCustomStyle</a></li>
--   <li><a>auuSavedStyleId</a></li>
--   <li><a>auuName</a></li>
--   <li><a>auuContentAdsSettings</a></li>
--   <li><a>auuCode</a></li>
--   <li><a>auuId</a></li>
--   </ul>
adUnit :: AdUnit

-- | 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.
auuStatus :: Lens' AdUnit (Maybe Text)

-- | Settings specific to WAP mobile content ads (AFMC) - deprecated.
auuMobileContentAdsSettings :: Lens' AdUnit (Maybe AdUnitMobileContentAdsSettings)

-- | Kind of resource this is, in this case adsense#adUnit.
auuKind :: Lens' AdUnit Text

-- | Settings specific to feed ads (AFF) - deprecated.
auuFeedAdsSettings :: Lens' AdUnit (Maybe AdUnitFeedAdsSettings)

-- | Custom style information specific to this ad unit.
auuCustomStyle :: Lens' AdUnit (Maybe AdStyle)

-- | ID of the saved ad style which holds this ad unit's style information.
auuSavedStyleId :: Lens' AdUnit (Maybe Text)

-- | Name of this ad unit.
auuName :: Lens' AdUnit (Maybe Text)

-- | Settings specific to content ads (AFC) and highend mobile content ads
--   (AFMC - deprecated).
auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings)

-- | Identity code of this ad unit, not necessarily unique across ad
--   clients.
auuCode :: Lens' AdUnit (Maybe Text)

-- | 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.
auuId :: Lens' AdUnit (Maybe Text)
data Alert

-- | Creates a value of <a>Alert</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aaIsDismissible</a></li>
--   <li><a>aaKind</a></li>
--   <li><a>aaSeverity</a></li>
--   <li><a>aaId</a></li>
--   <li><a>aaType</a></li>
--   <li><a>aaMessage</a></li>
--   </ul>
alert :: Alert

-- | Whether this alert can be dismissed.
aaIsDismissible :: Lens' Alert (Maybe Bool)

-- | Kind of resource this is, in this case adsense#alert.
aaKind :: Lens' Alert Text

-- | Severity of this alert. Possible values: INFO, WARNING, SEVERE.
aaSeverity :: Lens' Alert (Maybe Text)

-- | 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.
aaId :: Lens' Alert (Maybe Text)

-- | Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3,
--   ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY,
--   GRAYLISTED_PUBLISHER, API_HOLD.
aaType :: Lens' Alert (Maybe Text)

-- | The localized alert message.
aaMessage :: Lens' Alert (Maybe Text)

-- | The font which is included in the style.
--   
--   <i>See:</i> <a>adStyleFont</a> smart constructor.
data AdStyleFont

-- | Creates a value of <a>AdStyleFont</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asfSize</a></li>
--   <li><a>asfFamily</a></li>
--   </ul>
adStyleFont :: AdStyleFont

-- | The size of the font.
asfSize :: Lens' AdStyleFont (Maybe Text)

-- | The family of the font.
asfFamily :: Lens' AdStyleFont (Maybe Text)
data Account

-- | Creates a value of <a>Account</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>accKind</a></li>
--   <li><a>accCreationTime</a></li>
--   <li><a>accPremium</a></li>
--   <li><a>accName</a></li>
--   <li><a>accId</a></li>
--   <li><a>accTimezone</a></li>
--   <li><a>accSubAccounts</a></li>
--   </ul>
account :: Account

-- | Kind of resource this is, in this case adsense#account.
accKind :: Lens' Account Text
accCreationTime :: Lens' Account (Maybe Int64)

-- | Whether this account is premium.
accPremium :: Lens' Account (Maybe Bool)

-- | Name of this account.
accName :: Lens' Account (Maybe Text)

-- | Unique identifier of this account.
accId :: Lens' Account (Maybe Text)

-- | AdSense timezone of this account.
accTimezone :: Lens' Account (Maybe Text)

-- | Sub accounts of the this account.
accSubAccounts :: Lens' Account [Account]

-- | Settings specific to WAP mobile content ads (AFMC) - deprecated.
--   
--   <i>See:</i> <a>adUnitMobileContentAdsSettings</a> smart constructor.
data AdUnitMobileContentAdsSettings

-- | Creates a value of <a>AdUnitMobileContentAdsSettings</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aumcasSize</a></li>
--   <li><a>aumcasScriptingLanguage</a></li>
--   <li><a>aumcasMarkupLanguage</a></li>
--   <li><a>aumcasType</a></li>
--   </ul>
adUnitMobileContentAdsSettings :: AdUnitMobileContentAdsSettings

-- | Size of this ad unit.
aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)

-- | The scripting language to use for this ad unit.
aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)

-- | The markup language to use for this ad unit.
aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)

-- | Type of this ad unit.
aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
data SavedAdStyles

-- | Creates a value of <a>SavedAdStyles</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sasEtag</a></li>
--   <li><a>sasNextPageToken</a></li>
--   <li><a>sasKind</a></li>
--   <li><a>sasItems</a></li>
--   </ul>
savedAdStyles :: SavedAdStyles

-- | ETag of this response for caching purposes.
sasEtag :: Lens' SavedAdStyles (Maybe Text)

-- | Continuation token used to page through ad units. To retrieve the next
--   page of results, set the next request's "pageToken" value to this.
sasNextPageToken :: Lens' SavedAdStyles (Maybe Text)

-- | Kind of list this is, in this case adsense#savedAdStyles.
sasKind :: Lens' SavedAdStyles Text

-- | The saved ad styles returned in this list response.
sasItems :: Lens' SavedAdStyles [SavedAdStyle]

-- | 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.
--   
--   <i>See:</i> <a>adStyleColors</a> smart constructor.
data AdStyleColors

-- | Creates a value of <a>AdStyleColors</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ascText</a></li>
--   <li><a>ascURL</a></li>
--   <li><a>ascBOrder</a></li>
--   <li><a>ascTitle</a></li>
--   <li><a>ascBackgRound</a></li>
--   </ul>
adStyleColors :: AdStyleColors

-- | The color of the ad text.
ascText :: Lens' AdStyleColors (Maybe Text)

-- | The color of the ad url.
ascURL :: Lens' AdStyleColors (Maybe Text)

-- | The color of the ad border.
ascBOrder :: Lens' AdStyleColors (Maybe Text)

-- | The color of the ad title.
ascTitle :: Lens' AdStyleColors (Maybe Text)

-- | The color of the ad background.
ascBackgRound :: Lens' AdStyleColors (Maybe Text)

-- | The backup option to be used in instances where no ad is available.
--   
--   <i>See:</i> <a>adUnitContentAdsSettingsBackupOption</a> smart
--   constructor.
data AdUnitContentAdsSettingsBackupOption

-- | Creates a value of <a>AdUnitContentAdsSettingsBackupOption</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aucasboColor</a></li>
--   <li><a>aucasboURL</a></li>
--   <li><a>aucasboType</a></li>
--   </ul>
adUnitContentAdsSettingsBackupOption :: AdUnitContentAdsSettingsBackupOption

-- | Color to use when type is set to COLOR.
aucasboColor :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)

-- | URL to use when type is set to URL.
aucasboURL :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)

-- | Type of the backup option. Possible values are BLANK, COLOR and URL.
aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
data AdClient

-- | Creates a value of <a>AdClient</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>adKind</a></li>
--   <li><a>adArcOptIn</a></li>
--   <li><a>adSupportsReporting</a></li>
--   <li><a>adId</a></li>
--   <li><a>adProductCode</a></li>
--   </ul>
adClient :: AdClient

-- | Kind of resource this is, in this case adsense#adClient.
adKind :: Lens' AdClient Text

-- | Whether this ad client is opted in to ARC.
adArcOptIn :: Lens' AdClient (Maybe Bool)

-- | Whether this ad client supports being reported on.
adSupportsReporting :: Lens' AdClient (Maybe Bool)

-- | Unique identifier of this ad client.
adId :: Lens' AdClient (Maybe Text)

-- | This ad client's product code, which corresponds to the PRODUCT_CODE
--   report dimension.
adProductCode :: Lens' AdClient (Maybe Text)
data SavedAdStyle

-- | Creates a value of <a>SavedAdStyle</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>savKind</a></li>
--   <li><a>savName</a></li>
--   <li><a>savAdStyle</a></li>
--   <li><a>savId</a></li>
--   </ul>
savedAdStyle :: SavedAdStyle

-- | Kind of resource this is, in this case adsense#savedAdStyle.
savKind :: Lens' SavedAdStyle Text

-- | The user selected name of this SavedAdStyle.
savName :: Lens' SavedAdStyle (Maybe Text)

-- | The AdStyle itself.
savAdStyle :: Lens' SavedAdStyle (Maybe AdStyle)

-- | 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.
savId :: Lens' SavedAdStyle (Maybe Text)

-- | The targeting information of this custom channel, if activated.
--   
--   <i>See:</i> <a>customChannelTargetingInfo</a> smart constructor.
data CustomChannelTargetingInfo

-- | Creates a value of <a>CustomChannelTargetingInfo</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cctiLocation</a></li>
--   <li><a>cctiSiteLanguage</a></li>
--   <li><a>cctiAdsAppearOn</a></li>
--   <li><a>cctiDescription</a></li>
--   </ul>
customChannelTargetingInfo :: CustomChannelTargetingInfo

-- | 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.
cctiLocation :: Lens' CustomChannelTargetingInfo (Maybe Text)

-- | The language of the sites ads will be displayed on.
cctiSiteLanguage :: Lens' CustomChannelTargetingInfo (Maybe Text)

-- | The name used to describe this channel externally.
cctiAdsAppearOn :: Lens' CustomChannelTargetingInfo (Maybe Text)

-- | The external description of the channel.
cctiDescription :: Lens' CustomChannelTargetingInfo (Maybe Text)
data AdStyle

-- | Creates a value of <a>AdStyle</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asCorners</a></li>
--   <li><a>asKind</a></li>
--   <li><a>asFont</a></li>
--   <li><a>asColors</a></li>
--   </ul>
adStyle :: AdStyle

-- | The style of the corners in the ad (deprecated: never populated,
--   ignored).
asCorners :: Lens' AdStyle (Maybe Text)

-- | Kind this is, in this case adsense#adStyle.
asKind :: Lens' AdStyle Text

-- | The font which is included in the style.
asFont :: Lens' AdStyle (Maybe AdStyleFont)

-- | 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.
asColors :: Lens' AdStyle (Maybe AdStyleColors)

-- | Settings specific to feed ads (AFF) - deprecated.
--   
--   <i>See:</i> <a>adUnitFeedAdsSettings</a> smart constructor.
data AdUnitFeedAdsSettings

-- | Creates a value of <a>AdUnitFeedAdsSettings</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aufasFrequency</a></li>
--   <li><a>aufasAdPosition</a></li>
--   <li><a>aufasType</a></li>
--   <li><a>aufasMinimumWordCount</a></li>
--   </ul>
adUnitFeedAdsSettings :: AdUnitFeedAdsSettings

-- | The frequency at which ads should appear in the feed (i.e. every N
--   entries).
aufasFrequency :: Lens' AdUnitFeedAdsSettings (Maybe Int32)

-- | The position of the ads relative to the feed entries.
aufasAdPosition :: Lens' AdUnitFeedAdsSettings (Maybe Text)

-- | The type of ads which should appear.
aufasType :: Lens' AdUnitFeedAdsSettings (Maybe Text)

-- | The minimum length an entry should be in order to have attached ads.
aufasMinimumWordCount :: Lens' AdUnitFeedAdsSettings (Maybe Int32)
data Metadata

-- | Creates a value of <a>Metadata</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mKind</a></li>
--   <li><a>mItems</a></li>
--   </ul>
metadata :: Metadata

-- | Kind of list this is, in this case adsense#metadata.
mKind :: Lens' Metadata Text
mItems :: Lens' Metadata [ReportingMetadataEntry]
data CustomChannel

-- | Creates a value of <a>CustomChannel</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cTargetingInfo</a></li>
--   <li><a>cKind</a></li>
--   <li><a>cName</a></li>
--   <li><a>cCode</a></li>
--   <li><a>cId</a></li>
--   </ul>
customChannel :: CustomChannel

-- | The targeting information of this custom channel, if activated.
cTargetingInfo :: Lens' CustomChannel (Maybe CustomChannelTargetingInfo)

-- | Kind of resource this is, in this case adsense#customChannel.
cKind :: Lens' CustomChannel Text

-- | Name of this custom channel.
cName :: Lens' CustomChannel (Maybe Text)

-- | Code of this custom channel, not necessarily unique across ad clients.
cCode :: Lens' CustomChannel (Maybe Text)

-- | 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.
cId :: Lens' CustomChannel (Maybe Text)
data URLChannel

-- | Creates a value of <a>URLChannel</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>urlcKind</a></li>
--   <li><a>urlcId</a></li>
--   <li><a>urlcURLPattern</a></li>
--   </ul>
urlChannel :: URLChannel

-- | Kind of resource this is, in this case adsense#urlChannel.
urlcKind :: Lens' URLChannel Text

-- | 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.
urlcId :: Lens' URLChannel (Maybe Text)

-- | URL Pattern of this URL channel. Does not include "http://" or
--   "https://". Example: www.example.com/home
urlcURLPattern :: Lens' URLChannel (Maybe Text)
data AdCode

-- | Creates a value of <a>AdCode</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>addKind</a></li>
--   <li><a>addAdCode</a></li>
--   </ul>
adCode :: AdCode

-- | Kind this is, in this case adsense#adCode.
addKind :: Lens' AdCode Text

-- | The ad code snippet.
addAdCode :: Lens' AdCode (Maybe Text)
data AdsenseReportsGenerateResponse

-- | Creates a value of <a>AdsenseReportsGenerateResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>argrKind</a></li>
--   <li><a>argrAverages</a></li>
--   <li><a>argrEndDate</a></li>
--   <li><a>argrWarnings</a></li>
--   <li><a>argrRows</a></li>
--   <li><a>argrTotals</a></li>
--   <li><a>argrStartDate</a></li>
--   <li><a>argrHeaders</a></li>
--   <li><a>argrTotalMatchedRows</a></li>
--   </ul>
adsenseReportsGenerateResponse :: AdsenseReportsGenerateResponse

-- | Kind this is, in this case adsense#report.
argrKind :: Lens' AdsenseReportsGenerateResponse Text

-- | The averages of the report. This is the same length as any other row
--   in the report; cells corresponding to dimension columns are empty.
argrAverages :: Lens' AdsenseReportsGenerateResponse [Text]

-- | The requested end date in yyyy-mm-dd format.
argrEndDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text)

-- | Any warnings associated with generation of the report.
argrWarnings :: Lens' AdsenseReportsGenerateResponse [Text]

-- | 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.
argrRows :: Lens' AdsenseReportsGenerateResponse [[Text]]

-- | The totals of the report. This is the same length as any other row in
--   the report; cells corresponding to dimension columns are empty.
argrTotals :: Lens' AdsenseReportsGenerateResponse [Text]

-- | The requested start date in yyyy-mm-dd format.
argrStartDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text)

-- | 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.
argrHeaders :: Lens' AdsenseReportsGenerateResponse [AdsenseReportsGenerateResponseHeadersItem]

-- | 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.
argrTotalMatchedRows :: Lens' AdsenseReportsGenerateResponse (Maybe Int64)

-- | Settings specific to content ads (AFC) and highend mobile content ads
--   (AFMC - deprecated).
--   
--   <i>See:</i> <a>adUnitContentAdsSettings</a> smart constructor.
data AdUnitContentAdsSettings

-- | Creates a value of <a>AdUnitContentAdsSettings</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aucasBackupOption</a></li>
--   <li><a>aucasSize</a></li>
--   <li><a>aucasType</a></li>
--   </ul>
adUnitContentAdsSettings :: AdUnitContentAdsSettings

-- | The backup option to be used in instances where no ad is available.
aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitContentAdsSettingsBackupOption)

-- | Size of this ad unit.
aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text)

-- | Type of this ad unit.
aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text)
data Payments

-- | Creates a value of <a>Payments</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>payKind</a></li>
--   <li><a>payItems</a></li>
--   </ul>
payments :: Payments

-- | Kind of list this is, in this case adsense#payments.
payKind :: Lens' Payments Text

-- | The list of Payments for the account. One or both of a) the account's
--   most recent payment; and b) the account's upcoming payment.
payItems :: Lens' Payments [Payment]


-- | List all ad clients in the specified account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.adclients.list</tt>.
module Network.Google.Resource.AdSense.Accounts.AdClients.List

-- | A resource alias for <tt>adsense.accounts.adclients.list</tt> method
--   which the <a>AccountsAdClientsList</a> request conforms to.
type AccountsAdClientsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdClients)))))))

-- | Creates a value of <a>AccountsAdClientsList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aaclAccountId</a></li>
--   <li><a>aaclPageToken</a></li>
--   <li><a>aaclMaxResults</a></li>
--   </ul>
accountsAdClientsList :: Text -> AccountsAdClientsList

-- | List all ad clients in the specified account.
--   
--   <i>See:</i> <a>accountsAdClientsList</a> smart constructor.
data AccountsAdClientsList

-- | Account for which to list ad clients.
aaclAccountId :: Lens' AccountsAdClientsList Text

-- | A continuation token, used to page through ad clients. To retrieve the
--   next page, set this parameter to the value of "nextPageToken" from the
--   previous response.
aaclPageToken :: Lens' AccountsAdClientsList (Maybe Text)

-- | The maximum number of ad clients to include in the response, used for
--   paging.
aaclMaxResults :: Lens' AccountsAdClientsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.AdClients.List.AccountsAdClientsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.AdClients.List.AccountsAdClientsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.AdClients.List.AccountsAdClientsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.AdClients.List.AccountsAdClientsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.AdClients.List.AccountsAdClientsList


-- | List all custom channels which the specified ad unit belongs to.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.adunits.customchannels.list</tt>.
module Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List

-- | A resource alias for
--   <tt>adsense.accounts.adunits.customchannels.list</tt> method which the
--   <a>AccountsAdUnitsCustomChannelsList</a> request conforms to.
type AccountsAdUnitsCustomChannelsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannels)))))))))))

-- | Creates a value of <a>AccountsAdUnitsCustomChannelsList</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aaucclAdUnitId</a></li>
--   <li><a>aaucclAdClientId</a></li>
--   <li><a>aaucclAccountId</a></li>
--   <li><a>aaucclPageToken</a></li>
--   <li><a>aaucclMaxResults</a></li>
--   </ul>
accountsAdUnitsCustomChannelsList :: Text -> Text -> Text -> AccountsAdUnitsCustomChannelsList

-- | List all custom channels which the specified ad unit belongs to.
--   
--   <i>See:</i> <a>accountsAdUnitsCustomChannelsList</a> smart
--   constructor.
data AccountsAdUnitsCustomChannelsList

-- | Ad unit for which to list custom channels.
aaucclAdUnitId :: Lens' AccountsAdUnitsCustomChannelsList Text

-- | Ad client which contains the ad unit.
aaucclAdClientId :: Lens' AccountsAdUnitsCustomChannelsList Text

-- | Account to which the ad client belongs.
aaucclAccountId :: Lens' AccountsAdUnitsCustomChannelsList Text

-- | A continuation token, used to page through custom channels. To
--   retrieve the next page, set this parameter to the value of
--   "nextPageToken" from the previous response.
aaucclPageToken :: Lens' AccountsAdUnitsCustomChannelsList (Maybe Text)

-- | The maximum number of custom channels to include in the response, used
--   for paging.
aaucclMaxResults :: Lens' AccountsAdUnitsCustomChannelsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List.AccountsAdUnitsCustomChannelsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List.AccountsAdUnitsCustomChannelsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List.AccountsAdUnitsCustomChannelsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List.AccountsAdUnitsCustomChannelsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List.AccountsAdUnitsCustomChannelsList


-- | Gets the specified ad unit in the specified ad client for the
--   specified account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.adunits.get</tt>.
module Network.Google.Resource.AdSense.Accounts.AdUnits.Get

-- | A resource alias for <tt>adsense.accounts.adunits.get</tt> method
--   which the <a>AccountsAdUnitsGet</a> request conforms to.
type AccountsAdUnitsGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnit))))))))

-- | Creates a value of <a>AccountsAdUnitsGet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aaugAdUnitId</a></li>
--   <li><a>aaugAdClientId</a></li>
--   <li><a>aaugAccountId</a></li>
--   </ul>
accountsAdUnitsGet :: Text -> Text -> Text -> AccountsAdUnitsGet

-- | Gets the specified ad unit in the specified ad client for the
--   specified account.
--   
--   <i>See:</i> <a>accountsAdUnitsGet</a> smart constructor.
data AccountsAdUnitsGet

-- | Ad unit to retrieve.
aaugAdUnitId :: Lens' AccountsAdUnitsGet Text

-- | Ad client for which to get the ad unit.
aaugAdClientId :: Lens' AccountsAdUnitsGet Text

-- | Account to which the ad client belongs.
aaugAccountId :: Lens' AccountsAdUnitsGet Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.AdUnits.Get.AccountsAdUnitsGet
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.AdUnits.Get.AccountsAdUnitsGet
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.AdUnits.Get.AccountsAdUnitsGet
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.AdUnits.Get.AccountsAdUnitsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.AdUnits.Get.AccountsAdUnitsGet


-- | Get ad code for the specified ad unit.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.adunits.getAdCode</tt>.
module Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode

-- | A resource alias for <tt>adsense.accounts.adunits.getAdCode</tt>
--   method which the <a>AccountsAdUnitsGetAdCode</a> request conforms to.
type AccountsAdUnitsGetAdCodeResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("adcode" :> (QueryParam "alt" AltJSON :> Get '[JSON] AdCode)))))))))

-- | Creates a value of <a>AccountsAdUnitsGetAdCode</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aaugacAdUnitId</a></li>
--   <li><a>aaugacAdClientId</a></li>
--   <li><a>aaugacAccountId</a></li>
--   </ul>
accountsAdUnitsGetAdCode :: Text -> Text -> Text -> AccountsAdUnitsGetAdCode

-- | Get ad code for the specified ad unit.
--   
--   <i>See:</i> <a>accountsAdUnitsGetAdCode</a> smart constructor.
data AccountsAdUnitsGetAdCode

-- | Ad unit to get the code for.
aaugacAdUnitId :: Lens' AccountsAdUnitsGetAdCode Text

-- | Ad client with contains the ad unit.
aaugacAdClientId :: Lens' AccountsAdUnitsGetAdCode Text

-- | Account which contains the ad client.
aaugacAccountId :: Lens' AccountsAdUnitsGetAdCode Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode.AccountsAdUnitsGetAdCode
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode.AccountsAdUnitsGetAdCode
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode.AccountsAdUnitsGetAdCode
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode.AccountsAdUnitsGetAdCode
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode.AccountsAdUnitsGetAdCode


-- | List all ad units in the specified ad client for the specified
--   account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.adunits.list</tt>.
module Network.Google.Resource.AdSense.Accounts.AdUnits.List

-- | A resource alias for <tt>adsense.accounts.adunits.list</tt> method
--   which the <a>AccountsAdUnitsList</a> request conforms to.
type AccountsAdUnitsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (QueryParam "includeInactive" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnits))))))))))

-- | Creates a value of <a>AccountsAdUnitsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aaulIncludeInactive</a></li>
--   <li><a>aaulAdClientId</a></li>
--   <li><a>aaulAccountId</a></li>
--   <li><a>aaulPageToken</a></li>
--   <li><a>aaulMaxResults</a></li>
--   </ul>
accountsAdUnitsList :: Text -> Text -> AccountsAdUnitsList

-- | List all ad units in the specified ad client for the specified
--   account.
--   
--   <i>See:</i> <a>accountsAdUnitsList</a> smart constructor.
data AccountsAdUnitsList

-- | Whether to include inactive ad units. Default: true.
aaulIncludeInactive :: Lens' AccountsAdUnitsList (Maybe Bool)

-- | Ad client for which to list ad units.
aaulAdClientId :: Lens' AccountsAdUnitsList Text

-- | Account to which the ad client belongs.
aaulAccountId :: Lens' AccountsAdUnitsList Text

-- | A continuation token, used to page through ad units. To retrieve the
--   next page, set this parameter to the value of "nextPageToken" from the
--   previous response.
aaulPageToken :: Lens' AccountsAdUnitsList (Maybe Text)

-- | The maximum number of ad units to include in the response, used for
--   paging.
aaulMaxResults :: Lens' AccountsAdUnitsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.AdUnits.List.AccountsAdUnitsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.AdUnits.List.AccountsAdUnitsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.AdUnits.List.AccountsAdUnitsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.AdUnits.List.AccountsAdUnitsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.AdUnits.List.AccountsAdUnitsList


-- | Dismiss (delete) the specified alert from the specified publisher
--   AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.alerts.delete</tt>.
module Network.Google.Resource.AdSense.Accounts.Alerts.Delete

-- | A resource alias for <tt>adsense.accounts.alerts.delete</tt> method
--   which the <a>AccountsAlertsDelete</a> request conforms to.
type AccountsAlertsDeleteResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("alerts" :> (Capture "alertId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))

-- | Creates a value of <a>AccountsAlertsDelete</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aadAlertId</a></li>
--   <li><a>aadAccountId</a></li>
--   </ul>
accountsAlertsDelete :: Text -> Text -> AccountsAlertsDelete

-- | Dismiss (delete) the specified alert from the specified publisher
--   AdSense account.
--   
--   <i>See:</i> <a>accountsAlertsDelete</a> smart constructor.
data AccountsAlertsDelete

-- | Alert to delete.
aadAlertId :: Lens' AccountsAlertsDelete Text

-- | Account which contains the ad unit.
aadAccountId :: Lens' AccountsAlertsDelete Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Alerts.Delete.AccountsAlertsDelete
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Alerts.Delete.AccountsAlertsDelete
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Alerts.Delete.AccountsAlertsDelete
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Alerts.Delete.AccountsAlertsDelete
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Alerts.Delete.AccountsAlertsDelete


-- | List the alerts for the specified AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.alerts.list</tt>.
module Network.Google.Resource.AdSense.Accounts.Alerts.List

-- | A resource alias for <tt>adsense.accounts.alerts.list</tt> method
--   which the <a>AccountsAlertsList</a> request conforms to.
type AccountsAlertsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("alerts" :> (QueryParam "locale" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Alerts))))))

-- | Creates a value of <a>AccountsAlertsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aalLocale</a></li>
--   <li><a>aalAccountId</a></li>
--   </ul>
accountsAlertsList :: Text -> AccountsAlertsList

-- | List the alerts for the specified AdSense account.
--   
--   <i>See:</i> <a>accountsAlertsList</a> smart constructor.
data AccountsAlertsList

-- | The locale to use for translating alert messages. The account locale
--   will be used if this is not supplied. The AdSense default (English)
--   will be used if the supplied locale is invalid or unsupported.
aalLocale :: Lens' AccountsAlertsList (Maybe Text)

-- | Account for which to retrieve the alerts.
aalAccountId :: Lens' AccountsAlertsList Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Alerts.List.AccountsAlertsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Alerts.List.AccountsAlertsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Alerts.List.AccountsAlertsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Alerts.List.AccountsAlertsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Alerts.List.AccountsAlertsList


-- | List all ad units in the specified custom channel.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.customchannels.adunits.list</tt>.
module Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List

-- | A resource alias for
--   <tt>adsense.accounts.customchannels.adunits.list</tt> method which the
--   <a>AccountsCustomChannelsAdUnitsList</a> request conforms to.
type AccountsCustomChannelsAdUnitsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> ("adunits" :> (QueryParam "includeInactive" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnits))))))))))))

-- | Creates a value of <a>AccountsCustomChannelsAdUnitsList</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>accaulIncludeInactive</a></li>
--   <li><a>accaulCustomChannelId</a></li>
--   <li><a>accaulAdClientId</a></li>
--   <li><a>accaulAccountId</a></li>
--   <li><a>accaulPageToken</a></li>
--   <li><a>accaulMaxResults</a></li>
--   </ul>
accountsCustomChannelsAdUnitsList :: Text -> Text -> Text -> AccountsCustomChannelsAdUnitsList

-- | List all ad units in the specified custom channel.
--   
--   <i>See:</i> <a>accountsCustomChannelsAdUnitsList</a> smart
--   constructor.
data AccountsCustomChannelsAdUnitsList

-- | Whether to include inactive ad units. Default: true.
accaulIncludeInactive :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Bool)

-- | Custom channel for which to list ad units.
accaulCustomChannelId :: Lens' AccountsCustomChannelsAdUnitsList Text

-- | Ad client which contains the custom channel.
accaulAdClientId :: Lens' AccountsCustomChannelsAdUnitsList Text

-- | Account to which the ad client belongs.
accaulAccountId :: Lens' AccountsCustomChannelsAdUnitsList Text

-- | A continuation token, used to page through ad units. To retrieve the
--   next page, set this parameter to the value of "nextPageToken" from the
--   previous response.
accaulPageToken :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Text)

-- | The maximum number of ad units to include in the response, used for
--   paging.
accaulMaxResults :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List.AccountsCustomChannelsAdUnitsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List.AccountsCustomChannelsAdUnitsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List.AccountsCustomChannelsAdUnitsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List.AccountsCustomChannelsAdUnitsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List.AccountsCustomChannelsAdUnitsList


-- | Get the specified custom channel from the specified ad client for the
--   specified account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.customchannels.get</tt>.
module Network.Google.Resource.AdSense.Accounts.CustomChannels.Get

-- | A resource alias for <tt>adsense.accounts.customchannels.get</tt>
--   method which the <a>AccountsCustomChannelsGet</a> request conforms to.
type AccountsCustomChannelsGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel))))))))

-- | Creates a value of <a>AccountsCustomChannelsGet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>accgCustomChannelId</a></li>
--   <li><a>accgAdClientId</a></li>
--   <li><a>accgAccountId</a></li>
--   </ul>
accountsCustomChannelsGet :: Text -> Text -> Text -> AccountsCustomChannelsGet

-- | Get the specified custom channel from the specified ad client for the
--   specified account.
--   
--   <i>See:</i> <a>accountsCustomChannelsGet</a> smart constructor.
data AccountsCustomChannelsGet

-- | Custom channel to retrieve.
accgCustomChannelId :: Lens' AccountsCustomChannelsGet Text

-- | Ad client which contains the custom channel.
accgAdClientId :: Lens' AccountsCustomChannelsGet Text

-- | Account to which the ad client belongs.
accgAccountId :: Lens' AccountsCustomChannelsGet Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.CustomChannels.Get.AccountsCustomChannelsGet
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.CustomChannels.Get.AccountsCustomChannelsGet
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.CustomChannels.Get.AccountsCustomChannelsGet
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.CustomChannels.Get.AccountsCustomChannelsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.CustomChannels.Get.AccountsCustomChannelsGet


-- | List all custom channels in the specified ad client for the specified
--   account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.customchannels.list</tt>.
module Network.Google.Resource.AdSense.Accounts.CustomChannels.List

-- | A resource alias for <tt>adsense.accounts.customchannels.list</tt>
--   method which the <a>AccountsCustomChannelsList</a> request conforms
--   to.
type AccountsCustomChannelsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannels)))))))))

-- | Creates a value of <a>AccountsCustomChannelsList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acclAdClientId</a></li>
--   <li><a>acclAccountId</a></li>
--   <li><a>acclPageToken</a></li>
--   <li><a>acclMaxResults</a></li>
--   </ul>
accountsCustomChannelsList :: Text -> Text -> AccountsCustomChannelsList

-- | List all custom channels in the specified ad client for the specified
--   account.
--   
--   <i>See:</i> <a>accountsCustomChannelsList</a> smart constructor.
data AccountsCustomChannelsList

-- | Ad client for which to list custom channels.
acclAdClientId :: Lens' AccountsCustomChannelsList Text

-- | Account to which the ad client belongs.
acclAccountId :: Lens' AccountsCustomChannelsList Text

-- | A continuation token, used to page through custom channels. To
--   retrieve the next page, set this parameter to the value of
--   "nextPageToken" from the previous response.
acclPageToken :: Lens' AccountsCustomChannelsList (Maybe Text)

-- | The maximum number of custom channels to include in the response, used
--   for paging.
acclMaxResults :: Lens' AccountsCustomChannelsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.CustomChannels.List.AccountsCustomChannelsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.CustomChannels.List.AccountsCustomChannelsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.CustomChannels.List.AccountsCustomChannelsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.CustomChannels.List.AccountsCustomChannelsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.CustomChannels.List.AccountsCustomChannelsList


-- | Get information about the selected AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.get</tt>.
module Network.Google.Resource.AdSense.Accounts.Get

-- | A resource alias for <tt>adsense.accounts.get</tt> method which the
--   <a>AccountsGet</a> request conforms to.
type AccountsGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "tree" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] Account)))))

-- | Creates a value of <a>AccountsGet</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>agTree</a></li>
--   <li><a>agAccountId</a></li>
--   </ul>
accountsGet :: Text -> AccountsGet

-- | Get information about the selected AdSense account.
--   
--   <i>See:</i> <a>accountsGet</a> smart constructor.
data AccountsGet

-- | Whether the tree of sub accounts should be returned.
agTree :: Lens' AccountsGet (Maybe Bool)

-- | Account to get information about.
agAccountId :: Lens' AccountsGet Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Get.AccountsGet
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Get.AccountsGet
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Get.AccountsGet
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Get.AccountsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Get.AccountsGet


-- | List all accounts available to this AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.list</tt>.
module Network.Google.Resource.AdSense.Accounts.List

-- | A resource alias for <tt>adsense.accounts.list</tt> method which the
--   <a>AccountsList</a> request conforms to.
type AccountsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts)))))

-- | Creates a value of <a>AccountsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>alPageToken</a></li>
--   <li><a>alMaxResults</a></li>
--   </ul>
accountsList :: AccountsList

-- | List all accounts available to this AdSense account.
--   
--   <i>See:</i> <a>accountsList</a> smart constructor.
data AccountsList

-- | A continuation token, used to page through accounts. To retrieve the
--   next page, set this parameter to the value of "nextPageToken" from the
--   previous response.
alPageToken :: Lens' AccountsList (Maybe Text)

-- | The maximum number of accounts to include in the response, used for
--   paging.
alMaxResults :: Lens' AccountsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.List.AccountsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.List.AccountsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.List.AccountsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.List.AccountsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.List.AccountsList


-- | List the payments for the specified AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.payments.list</tt>.
module Network.Google.Resource.AdSense.Accounts.Payments.List

-- | A resource alias for <tt>adsense.accounts.payments.list</tt> method
--   which the <a>AccountsPaymentsList</a> request conforms to.
type AccountsPaymentsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("payments" :> (QueryParam "alt" AltJSON :> Get '[JSON] Payments)))))

-- | Creates a value of <a>AccountsPaymentsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aplAccountId</a></li>
--   </ul>
accountsPaymentsList :: Text -> AccountsPaymentsList

-- | List the payments for the specified AdSense account.
--   
--   <i>See:</i> <a>accountsPaymentsList</a> smart constructor.
data AccountsPaymentsList

-- | Account for which to retrieve the payments.
aplAccountId :: Lens' AccountsPaymentsList Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Payments.List.AccountsPaymentsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Payments.List.AccountsPaymentsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Payments.List.AccountsPaymentsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Payments.List.AccountsPaymentsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Payments.List.AccountsPaymentsList


-- | Generate an AdSense report based on the report request sent in the
--   query parameters. Returns the result as JSON; to retrieve output in
--   CSV format specify "alt=csv" as a query parameter.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.reports.generate</tt>.
module Network.Google.Resource.AdSense.Accounts.Reports.Generate

-- | A resource alias for <tt>adsense.accounts.reports.generate</tt> method
--   which the <a>AccountsReportsGenerate</a> request conforms to.
type AccountsReportsGenerateResource = ("adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> (QueryParam "startDate" Text :> (QueryParam "endDate" Text :> (QueryParams "dimension" Text :> (QueryParam "locale" Text :> (QueryParams "metric" Text :> (QueryParam "currency" Text :> (QueryParams "sort" Text :> (QueryParams "filter" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "useTimezoneReporting" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdsenseReportsGenerateResponse))))))))))))))))) :<|> ("adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> (QueryParam "startDate" Text :> (QueryParam "endDate" Text :> (QueryParams "dimension" Text :> (QueryParam "locale" Text :> (QueryParams "metric" Text :> (QueryParam "currency" Text :> (QueryParams "sort" Text :> (QueryParams "filter" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "useTimezoneReporting" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream)))))))))))))))))

-- | Creates a value of <a>AccountsReportsGenerate</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>argDimension</a></li>
--   <li><a>argLocale</a></li>
--   <li><a>argEndDate</a></li>
--   <li><a>argStartDate</a></li>
--   <li><a>argAccountId</a></li>
--   <li><a>argMetric</a></li>
--   <li><a>argCurrency</a></li>
--   <li><a>argSort</a></li>
--   <li><a>argFilter</a></li>
--   <li><a>argStartIndex</a></li>
--   <li><a>argUseTimezoneReporting</a></li>
--   <li><a>argMaxResults</a></li>
--   </ul>
accountsReportsGenerate :: Text -> Text -> Text -> AccountsReportsGenerate

-- | Generate an AdSense report based on the report request sent in the
--   query parameters. Returns the result as JSON; to retrieve output in
--   CSV format specify "alt=csv" as a query parameter.
--   
--   <i>See:</i> <a>accountsReportsGenerate</a> smart constructor.
data AccountsReportsGenerate

-- | Dimensions to base the report on.
argDimension :: Lens' AccountsReportsGenerate [Text]

-- | Optional locale to use for translating report output to a local
--   language. Defaults to "en_US" if not specified.
argLocale :: Lens' AccountsReportsGenerate (Maybe Text)

-- | End of the date range to report on in "YYYY-MM-DD" format, inclusive.
argEndDate :: Lens' AccountsReportsGenerate Text

-- | Start of the date range to report on in "YYYY-MM-DD" format,
--   inclusive.
argStartDate :: Lens' AccountsReportsGenerate Text

-- | Account upon which to report.
argAccountId :: Lens' AccountsReportsGenerate Text

-- | Numeric columns to include in the report.
argMetric :: Lens' AccountsReportsGenerate [Text]

-- | Optional currency to use when reporting on monetary metrics. Defaults
--   to the account's currency if not set.
argCurrency :: Lens' AccountsReportsGenerate (Maybe Text)

-- | The name of a dimension or metric to sort the resulting report on,
--   optionally prefixed with "+" to sort ascending or "-" to sort
--   descending. If no prefix is specified, the column is sorted ascending.
argSort :: Lens' AccountsReportsGenerate [Text]

-- | Filters to be run on the report.
argFilter :: Lens' AccountsReportsGenerate [Text]

-- | Index of the first row of report data to return.
argStartIndex :: Lens' AccountsReportsGenerate (Maybe Int32)

-- | Whether the report should be generated in the AdSense account's local
--   timezone. If false default PST/PDT timezone will be used.
argUseTimezoneReporting :: Lens' AccountsReportsGenerate (Maybe Bool)

-- | The maximum number of rows of report data to return.
argMaxResults :: Lens' AccountsReportsGenerate (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Reports.Generate.AccountsReportsGenerate
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Reports.Generate.AccountsReportsGenerate
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Reports.Generate.AccountsReportsGenerate
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Reports.Generate.AccountsReportsGenerate
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Reports.Generate.AccountsReportsGenerate
instance Network.Google.Types.GoogleRequest (Network.Google.Types.MediaDownload Network.Google.Resource.AdSense.Accounts.Reports.Generate.AccountsReportsGenerate)


-- | Generate an AdSense report based on the saved report ID sent in the
--   query parameters.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.reports.saved.generate</tt>.
module Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate

-- | A resource alias for <tt>adsense.accounts.reports.saved.generate</tt>
--   method which the <a>AccountsReportsSavedGenerate</a> request conforms
--   to.
type AccountsReportsSavedGenerateResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> (Capture "savedReportId" Text :> (QueryParam "locale" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdsenseReportsGenerateResponse)))))))))

-- | Creates a value of <a>AccountsReportsSavedGenerate</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>arsgLocale</a></li>
--   <li><a>arsgSavedReportId</a></li>
--   <li><a>arsgAccountId</a></li>
--   <li><a>arsgStartIndex</a></li>
--   <li><a>arsgMaxResults</a></li>
--   </ul>
accountsReportsSavedGenerate :: Text -> Text -> AccountsReportsSavedGenerate

-- | Generate an AdSense report based on the saved report ID sent in the
--   query parameters.
--   
--   <i>See:</i> <a>accountsReportsSavedGenerate</a> smart constructor.
data AccountsReportsSavedGenerate

-- | Optional locale to use for translating report output to a local
--   language. Defaults to "en_US" if not specified.
arsgLocale :: Lens' AccountsReportsSavedGenerate (Maybe Text)

-- | The saved report to retrieve.
arsgSavedReportId :: Lens' AccountsReportsSavedGenerate Text

-- | Account to which the saved reports belong.
arsgAccountId :: Lens' AccountsReportsSavedGenerate Text

-- | Index of the first row of report data to return.
arsgStartIndex :: Lens' AccountsReportsSavedGenerate (Maybe Int32)

-- | The maximum number of rows of report data to return.
arsgMaxResults :: Lens' AccountsReportsSavedGenerate (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate.AccountsReportsSavedGenerate
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate.AccountsReportsSavedGenerate
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate.AccountsReportsSavedGenerate
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate.AccountsReportsSavedGenerate
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate.AccountsReportsSavedGenerate


-- | List all saved reports in the specified AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.reports.saved.list</tt>.
module Network.Google.Resource.AdSense.Accounts.Reports.Saved.List

-- | A resource alias for <tt>adsense.accounts.reports.saved.list</tt>
--   method which the <a>AccountsReportsSavedList</a> request conforms to.
type AccountsReportsSavedListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> ("saved" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedReports))))))))

-- | Creates a value of <a>AccountsReportsSavedList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>arslAccountId</a></li>
--   <li><a>arslPageToken</a></li>
--   <li><a>arslMaxResults</a></li>
--   </ul>
accountsReportsSavedList :: Text -> AccountsReportsSavedList

-- | List all saved reports in the specified AdSense account.
--   
--   <i>See:</i> <a>accountsReportsSavedList</a> smart constructor.
data AccountsReportsSavedList

-- | Account to which the saved reports belong.
arslAccountId :: Lens' AccountsReportsSavedList Text

-- | A continuation token, used to page through saved reports. To retrieve
--   the next page, set this parameter to the value of "nextPageToken" from
--   the previous response.
arslPageToken :: Lens' AccountsReportsSavedList (Maybe Text)

-- | The maximum number of saved reports to include in the response, used
--   for paging.
arslMaxResults :: Lens' AccountsReportsSavedList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Reports.Saved.List.AccountsReportsSavedList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Reports.Saved.List.AccountsReportsSavedList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Reports.Saved.List.AccountsReportsSavedList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Reports.Saved.List.AccountsReportsSavedList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Reports.Saved.List.AccountsReportsSavedList


-- | List a specific saved ad style for the specified account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.savedadstyles.get</tt>.
module Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get

-- | A resource alias for <tt>adsense.accounts.savedadstyles.get</tt>
--   method which the <a>AccountsSavedadstylesGet</a> request conforms to.
type AccountsSavedadstylesGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("savedadstyles" :> (Capture "savedAdStyleId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyle))))))

-- | Creates a value of <a>AccountsSavedadstylesGet</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asgSavedAdStyleId</a></li>
--   <li><a>asgAccountId</a></li>
--   </ul>
accountsSavedadstylesGet :: Text -> Text -> AccountsSavedadstylesGet

-- | List a specific saved ad style for the specified account.
--   
--   <i>See:</i> <a>accountsSavedadstylesGet</a> smart constructor.
data AccountsSavedadstylesGet

-- | Saved ad style to retrieve.
asgSavedAdStyleId :: Lens' AccountsSavedadstylesGet Text

-- | Account for which to get the saved ad style.
asgAccountId :: Lens' AccountsSavedadstylesGet Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get.AccountsSavedadstylesGet
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get.AccountsSavedadstylesGet
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get.AccountsSavedadstylesGet
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get.AccountsSavedadstylesGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get.AccountsSavedadstylesGet


-- | List all saved ad styles in the specified account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.savedadstyles.list</tt>.
module Network.Google.Resource.AdSense.Accounts.Savedadstyles.List

-- | A resource alias for <tt>adsense.accounts.savedadstyles.list</tt>
--   method which the <a>AccountsSavedadstylesList</a> request conforms to.
type AccountsSavedadstylesListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("savedadstyles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyles)))))))

-- | Creates a value of <a>AccountsSavedadstylesList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aslAccountId</a></li>
--   <li><a>aslPageToken</a></li>
--   <li><a>aslMaxResults</a></li>
--   </ul>
accountsSavedadstylesList :: Text -> AccountsSavedadstylesList

-- | List all saved ad styles in the specified account.
--   
--   <i>See:</i> <a>accountsSavedadstylesList</a> smart constructor.
data AccountsSavedadstylesList

-- | Account for which to list saved ad styles.
aslAccountId :: Lens' AccountsSavedadstylesList Text

-- | A continuation token, used to page through saved ad styles. To
--   retrieve the next page, set this parameter to the value of
--   "nextPageToken" from the previous response.
aslPageToken :: Lens' AccountsSavedadstylesList (Maybe Text)

-- | The maximum number of saved ad styles to include in the response, used
--   for paging.
aslMaxResults :: Lens' AccountsSavedadstylesList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.Savedadstyles.List.AccountsSavedadstylesList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.Savedadstyles.List.AccountsSavedadstylesList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.Savedadstyles.List.AccountsSavedadstylesList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.Savedadstyles.List.AccountsSavedadstylesList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.Savedadstyles.List.AccountsSavedadstylesList


-- | List all URL channels in the specified ad client for the specified
--   account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.accounts.urlchannels.list</tt>.
module Network.Google.Resource.AdSense.Accounts.URLChannels.List

-- | A resource alias for <tt>adsense.accounts.urlchannels.list</tt> method
--   which the <a>AccountsURLChannelsList</a> request conforms to.
type AccountsURLChannelsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("urlchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] URLChannels)))))))))

-- | Creates a value of <a>AccountsURLChannelsList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>auclAdClientId</a></li>
--   <li><a>auclAccountId</a></li>
--   <li><a>auclPageToken</a></li>
--   <li><a>auclMaxResults</a></li>
--   </ul>
accountsURLChannelsList :: Text -> Text -> AccountsURLChannelsList

-- | List all URL channels in the specified ad client for the specified
--   account.
--   
--   <i>See:</i> <a>accountsURLChannelsList</a> smart constructor.
data AccountsURLChannelsList

-- | Ad client for which to list URL channels.
auclAdClientId :: Lens' AccountsURLChannelsList Text

-- | Account to which the ad client belongs.
auclAccountId :: Lens' AccountsURLChannelsList Text

-- | A continuation token, used to page through URL channels. To retrieve
--   the next page, set this parameter to the value of "nextPageToken" from
--   the previous response.
auclPageToken :: Lens' AccountsURLChannelsList (Maybe Text)

-- | The maximum number of URL channels to include in the response, used
--   for paging.
auclMaxResults :: Lens' AccountsURLChannelsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Accounts.URLChannels.List.AccountsURLChannelsList
instance Data.Data.Data Network.Google.Resource.AdSense.Accounts.URLChannels.List.AccountsURLChannelsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Accounts.URLChannels.List.AccountsURLChannelsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Accounts.URLChannels.List.AccountsURLChannelsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Accounts.URLChannels.List.AccountsURLChannelsList


-- | List all ad clients in this AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.adclients.list</tt>.
module Network.Google.Resource.AdSense.AdClients.List

-- | A resource alias for <tt>adsense.adclients.list</tt> method which the
--   <a>AdClientsList</a> request conforms to.
type AdClientsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdClients)))))

-- | Creates a value of <a>AdClientsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aclPageToken</a></li>
--   <li><a>aclMaxResults</a></li>
--   </ul>
adClientsList :: AdClientsList

-- | List all ad clients in this AdSense account.
--   
--   <i>See:</i> <a>adClientsList</a> smart constructor.
data AdClientsList

-- | A continuation token, used to page through ad clients. To retrieve the
--   next page, set this parameter to the value of "nextPageToken" from the
--   previous response.
aclPageToken :: Lens' AdClientsList (Maybe Text)

-- | The maximum number of ad clients to include in the response, used for
--   paging.
aclMaxResults :: Lens' AdClientsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.AdClients.List.AdClientsList
instance Data.Data.Data Network.Google.Resource.AdSense.AdClients.List.AdClientsList
instance GHC.Show.Show Network.Google.Resource.AdSense.AdClients.List.AdClientsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.AdClients.List.AdClientsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.AdClients.List.AdClientsList


-- | List all custom channels which the specified ad unit belongs to.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.adunits.customchannels.list</tt>.
module Network.Google.Resource.AdSense.AdUnits.CustomChannels.List

-- | A resource alias for <tt>adsense.adunits.customchannels.list</tt>
--   method which the <a>AdUnitsCustomChannelsList</a> request conforms to.
type AdUnitsCustomChannelsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannels)))))))))

-- | Creates a value of <a>AdUnitsCustomChannelsList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aucclAdUnitId</a></li>
--   <li><a>aucclAdClientId</a></li>
--   <li><a>aucclPageToken</a></li>
--   <li><a>aucclMaxResults</a></li>
--   </ul>
adUnitsCustomChannelsList :: Text -> Text -> AdUnitsCustomChannelsList

-- | List all custom channels which the specified ad unit belongs to.
--   
--   <i>See:</i> <a>adUnitsCustomChannelsList</a> smart constructor.
data AdUnitsCustomChannelsList

-- | Ad unit for which to list custom channels.
aucclAdUnitId :: Lens' AdUnitsCustomChannelsList Text

-- | Ad client which contains the ad unit.
aucclAdClientId :: Lens' AdUnitsCustomChannelsList Text

-- | A continuation token, used to page through custom channels. To
--   retrieve the next page, set this parameter to the value of
--   "nextPageToken" from the previous response.
aucclPageToken :: Lens' AdUnitsCustomChannelsList (Maybe Text)

-- | The maximum number of custom channels to include in the response, used
--   for paging.
aucclMaxResults :: Lens' AdUnitsCustomChannelsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.AdUnits.CustomChannels.List.AdUnitsCustomChannelsList
instance Data.Data.Data Network.Google.Resource.AdSense.AdUnits.CustomChannels.List.AdUnitsCustomChannelsList
instance GHC.Show.Show Network.Google.Resource.AdSense.AdUnits.CustomChannels.List.AdUnitsCustomChannelsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.AdUnits.CustomChannels.List.AdUnitsCustomChannelsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.AdUnits.CustomChannels.List.AdUnitsCustomChannelsList


-- | Gets the specified ad unit in the specified ad client.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.adunits.get</tt>.
module Network.Google.Resource.AdSense.AdUnits.Get

-- | A resource alias for <tt>adsense.adunits.get</tt> method which the
--   <a>AdUnitsGet</a> request conforms to.
type AdUnitsGetResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnit))))))

-- | Creates a value of <a>AdUnitsGet</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>augAdUnitId</a></li>
--   <li><a>augAdClientId</a></li>
--   </ul>
adUnitsGet :: Text -> Text -> AdUnitsGet

-- | Gets the specified ad unit in the specified ad client.
--   
--   <i>See:</i> <a>adUnitsGet</a> smart constructor.
data AdUnitsGet

-- | Ad unit to retrieve.
augAdUnitId :: Lens' AdUnitsGet Text

-- | Ad client for which to get the ad unit.
augAdClientId :: Lens' AdUnitsGet Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.AdUnits.Get.AdUnitsGet
instance Data.Data.Data Network.Google.Resource.AdSense.AdUnits.Get.AdUnitsGet
instance GHC.Show.Show Network.Google.Resource.AdSense.AdUnits.Get.AdUnitsGet
instance GHC.Classes.Eq Network.Google.Resource.AdSense.AdUnits.Get.AdUnitsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.AdUnits.Get.AdUnitsGet


-- | Get ad code for the specified ad unit.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.adunits.getAdCode</tt>.
module Network.Google.Resource.AdSense.AdUnits.GetAdCode

-- | A resource alias for <tt>adsense.adunits.getAdCode</tt> method which
--   the <a>AdUnitsGetAdCode</a> request conforms to.
type AdUnitsGetAdCodeResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("adcode" :> (QueryParam "alt" AltJSON :> Get '[JSON] AdCode)))))))

-- | Creates a value of <a>AdUnitsGetAdCode</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>augacAdUnitId</a></li>
--   <li><a>augacAdClientId</a></li>
--   </ul>
adUnitsGetAdCode :: Text -> Text -> AdUnitsGetAdCode

-- | Get ad code for the specified ad unit.
--   
--   <i>See:</i> <a>adUnitsGetAdCode</a> smart constructor.
data AdUnitsGetAdCode

-- | Ad unit to get the code for.
augacAdUnitId :: Lens' AdUnitsGetAdCode Text

-- | Ad client with contains the ad unit.
augacAdClientId :: Lens' AdUnitsGetAdCode Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.AdUnits.GetAdCode.AdUnitsGetAdCode
instance Data.Data.Data Network.Google.Resource.AdSense.AdUnits.GetAdCode.AdUnitsGetAdCode
instance GHC.Show.Show Network.Google.Resource.AdSense.AdUnits.GetAdCode.AdUnitsGetAdCode
instance GHC.Classes.Eq Network.Google.Resource.AdSense.AdUnits.GetAdCode.AdUnitsGetAdCode
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.AdUnits.GetAdCode.AdUnitsGetAdCode


-- | List all ad units in the specified ad client for this AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.adunits.list</tt>.
module Network.Google.Resource.AdSense.AdUnits.List

-- | A resource alias for <tt>adsense.adunits.list</tt> method which the
--   <a>AdUnitsList</a> request conforms to.
type AdUnitsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (QueryParam "includeInactive" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnits))))))))

-- | Creates a value of <a>AdUnitsList</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aulIncludeInactive</a></li>
--   <li><a>aulAdClientId</a></li>
--   <li><a>aulPageToken</a></li>
--   <li><a>aulMaxResults</a></li>
--   </ul>
adUnitsList :: Text -> AdUnitsList

-- | List all ad units in the specified ad client for this AdSense account.
--   
--   <i>See:</i> <a>adUnitsList</a> smart constructor.
data AdUnitsList

-- | Whether to include inactive ad units. Default: true.
aulIncludeInactive :: Lens' AdUnitsList (Maybe Bool)

-- | Ad client for which to list ad units.
aulAdClientId :: Lens' AdUnitsList Text

-- | A continuation token, used to page through ad units. To retrieve the
--   next page, set this parameter to the value of "nextPageToken" from the
--   previous response.
aulPageToken :: Lens' AdUnitsList (Maybe Text)

-- | The maximum number of ad units to include in the response, used for
--   paging.
aulMaxResults :: Lens' AdUnitsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.AdUnits.List.AdUnitsList
instance Data.Data.Data Network.Google.Resource.AdSense.AdUnits.List.AdUnitsList
instance GHC.Show.Show Network.Google.Resource.AdSense.AdUnits.List.AdUnitsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.AdUnits.List.AdUnitsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.AdUnits.List.AdUnitsList


-- | Dismiss (delete) the specified alert from the publisher's AdSense
--   account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.alerts.delete</tt>.
module Network.Google.Resource.AdSense.Alerts.Delete

-- | A resource alias for <tt>adsense.alerts.delete</tt> method which the
--   <a>AlertsDelete</a> request conforms to.
type AlertsDeleteResource = "adsense" :> ("v1.4" :> ("alerts" :> (Capture "alertId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))

-- | Creates a value of <a>AlertsDelete</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>adAlertId</a></li>
--   </ul>
alertsDelete :: Text -> AlertsDelete

-- | Dismiss (delete) the specified alert from the publisher's AdSense
--   account.
--   
--   <i>See:</i> <a>alertsDelete</a> smart constructor.
data AlertsDelete

-- | Alert to delete.
adAlertId :: Lens' AlertsDelete Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Alerts.Delete.AlertsDelete
instance Data.Data.Data Network.Google.Resource.AdSense.Alerts.Delete.AlertsDelete
instance GHC.Show.Show Network.Google.Resource.AdSense.Alerts.Delete.AlertsDelete
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Alerts.Delete.AlertsDelete
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Alerts.Delete.AlertsDelete


-- | List the alerts for this AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.alerts.list</tt>.
module Network.Google.Resource.AdSense.Alerts.List

-- | A resource alias for <tt>adsense.alerts.list</tt> method which the
--   <a>AlertsList</a> request conforms to.
type AlertsListResource = "adsense" :> ("v1.4" :> ("alerts" :> (QueryParam "locale" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Alerts))))

-- | Creates a value of <a>AlertsList</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>alLocale</a></li>
--   </ul>
alertsList :: AlertsList

-- | List the alerts for this AdSense account.
--   
--   <i>See:</i> <a>alertsList</a> smart constructor.
data AlertsList

-- | The locale to use for translating alert messages. The account locale
--   will be used if this is not supplied. The AdSense default (English)
--   will be used if the supplied locale is invalid or unsupported.
alLocale :: Lens' AlertsList (Maybe Text)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Alerts.List.AlertsList
instance Data.Data.Data Network.Google.Resource.AdSense.Alerts.List.AlertsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Alerts.List.AlertsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Alerts.List.AlertsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Alerts.List.AlertsList


-- | List all ad units in the specified custom channel.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.customchannels.adunits.list</tt>.
module Network.Google.Resource.AdSense.CustomChannels.AdUnits.List

-- | A resource alias for <tt>adsense.customchannels.adunits.list</tt>
--   method which the <a>CustomChannelsAdUnitsList</a> request conforms to.
type CustomChannelsAdUnitsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> ("adunits" :> (QueryParam "includeInactive" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnits))))))))))

-- | Creates a value of <a>CustomChannelsAdUnitsList</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccaulIncludeInactive</a></li>
--   <li><a>ccaulCustomChannelId</a></li>
--   <li><a>ccaulAdClientId</a></li>
--   <li><a>ccaulPageToken</a></li>
--   <li><a>ccaulMaxResults</a></li>
--   </ul>
customChannelsAdUnitsList :: Text -> Text -> CustomChannelsAdUnitsList

-- | List all ad units in the specified custom channel.
--   
--   <i>See:</i> <a>customChannelsAdUnitsList</a> smart constructor.
data CustomChannelsAdUnitsList

-- | Whether to include inactive ad units. Default: true.
ccaulIncludeInactive :: Lens' CustomChannelsAdUnitsList (Maybe Bool)

-- | Custom channel for which to list ad units.
ccaulCustomChannelId :: Lens' CustomChannelsAdUnitsList Text

-- | Ad client which contains the custom channel.
ccaulAdClientId :: Lens' CustomChannelsAdUnitsList Text

-- | A continuation token, used to page through ad units. To retrieve the
--   next page, set this parameter to the value of "nextPageToken" from the
--   previous response.
ccaulPageToken :: Lens' CustomChannelsAdUnitsList (Maybe Text)

-- | The maximum number of ad units to include in the response, used for
--   paging.
ccaulMaxResults :: Lens' CustomChannelsAdUnitsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.CustomChannels.AdUnits.List.CustomChannelsAdUnitsList
instance Data.Data.Data Network.Google.Resource.AdSense.CustomChannels.AdUnits.List.CustomChannelsAdUnitsList
instance GHC.Show.Show Network.Google.Resource.AdSense.CustomChannels.AdUnits.List.CustomChannelsAdUnitsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.CustomChannels.AdUnits.List.CustomChannelsAdUnitsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.CustomChannels.AdUnits.List.CustomChannelsAdUnitsList


-- | Get the specified custom channel from the specified ad client.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.customchannels.get</tt>.
module Network.Google.Resource.AdSense.CustomChannels.Get

-- | A resource alias for <tt>adsense.customchannels.get</tt> method which
--   the <a>CustomChannelsGet</a> request conforms to.
type CustomChannelsGetResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel))))))

-- | Creates a value of <a>CustomChannelsGet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccgCustomChannelId</a></li>
--   <li><a>ccgAdClientId</a></li>
--   </ul>
customChannelsGet :: Text -> Text -> CustomChannelsGet

-- | Get the specified custom channel from the specified ad client.
--   
--   <i>See:</i> <a>customChannelsGet</a> smart constructor.
data CustomChannelsGet

-- | Custom channel to retrieve.
ccgCustomChannelId :: Lens' CustomChannelsGet Text

-- | Ad client which contains the custom channel.
ccgAdClientId :: Lens' CustomChannelsGet Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.CustomChannels.Get.CustomChannelsGet
instance Data.Data.Data Network.Google.Resource.AdSense.CustomChannels.Get.CustomChannelsGet
instance GHC.Show.Show Network.Google.Resource.AdSense.CustomChannels.Get.CustomChannelsGet
instance GHC.Classes.Eq Network.Google.Resource.AdSense.CustomChannels.Get.CustomChannelsGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.CustomChannels.Get.CustomChannelsGet


-- | List all custom channels in the specified ad client for this AdSense
--   account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.customchannels.list</tt>.
module Network.Google.Resource.AdSense.CustomChannels.List

-- | A resource alias for <tt>adsense.customchannels.list</tt> method which
--   the <a>CustomChannelsList</a> request conforms to.
type CustomChannelsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannels)))))))

-- | Creates a value of <a>CustomChannelsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cclAdClientId</a></li>
--   <li><a>cclPageToken</a></li>
--   <li><a>cclMaxResults</a></li>
--   </ul>
customChannelsList :: Text -> CustomChannelsList

-- | List all custom channels in the specified ad client for this AdSense
--   account.
--   
--   <i>See:</i> <a>customChannelsList</a> smart constructor.
data CustomChannelsList

-- | Ad client for which to list custom channels.
cclAdClientId :: Lens' CustomChannelsList Text

-- | A continuation token, used to page through custom channels. To
--   retrieve the next page, set this parameter to the value of
--   "nextPageToken" from the previous response.
cclPageToken :: Lens' CustomChannelsList (Maybe Text)

-- | The maximum number of custom channels to include in the response, used
--   for paging.
cclMaxResults :: Lens' CustomChannelsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.CustomChannels.List.CustomChannelsList
instance Data.Data.Data Network.Google.Resource.AdSense.CustomChannels.List.CustomChannelsList
instance GHC.Show.Show Network.Google.Resource.AdSense.CustomChannels.List.CustomChannelsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.CustomChannels.List.CustomChannelsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.CustomChannels.List.CustomChannelsList


-- | List the metadata for the dimensions available to this AdSense
--   account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.metadata.dimensions.list</tt>.
module Network.Google.Resource.AdSense.Metadata.Dimensions.List

-- | A resource alias for <tt>adsense.metadata.dimensions.list</tt> method
--   which the <a>MetadataDimensionsList</a> request conforms to.
type MetadataDimensionsListResource = "adsense" :> ("v1.4" :> ("metadata" :> ("dimensions" :> (QueryParam "alt" AltJSON :> Get '[JSON] Metadata))))

-- | Creates a value of <a>MetadataDimensionsList</a> with the minimum
--   fields required to make a request.
metadataDimensionsList :: MetadataDimensionsList

-- | List the metadata for the dimensions available to this AdSense
--   account.
--   
--   <i>See:</i> <a>metadataDimensionsList</a> smart constructor.
data MetadataDimensionsList
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Metadata.Dimensions.List.MetadataDimensionsList
instance Data.Data.Data Network.Google.Resource.AdSense.Metadata.Dimensions.List.MetadataDimensionsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Metadata.Dimensions.List.MetadataDimensionsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Metadata.Dimensions.List.MetadataDimensionsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Metadata.Dimensions.List.MetadataDimensionsList


-- | List the metadata for the metrics available to this AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.metadata.metrics.list</tt>.
module Network.Google.Resource.AdSense.Metadata.Metrics.List

-- | A resource alias for <tt>adsense.metadata.metrics.list</tt> method
--   which the <a>MetadataMetricsList</a> request conforms to.
type MetadataMetricsListResource = "adsense" :> ("v1.4" :> ("metadata" :> ("metrics" :> (QueryParam "alt" AltJSON :> Get '[JSON] Metadata))))

-- | Creates a value of <a>MetadataMetricsList</a> with the minimum fields
--   required to make a request.
metadataMetricsList :: MetadataMetricsList

-- | List the metadata for the metrics available to this AdSense account.
--   
--   <i>See:</i> <a>metadataMetricsList</a> smart constructor.
data MetadataMetricsList
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Metadata.Metrics.List.MetadataMetricsList
instance Data.Data.Data Network.Google.Resource.AdSense.Metadata.Metrics.List.MetadataMetricsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Metadata.Metrics.List.MetadataMetricsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Metadata.Metrics.List.MetadataMetricsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Metadata.Metrics.List.MetadataMetricsList


-- | List the payments for this AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.payments.list</tt>.
module Network.Google.Resource.AdSense.Payments.List

-- | A resource alias for <tt>adsense.payments.list</tt> method which the
--   <a>PaymentsList</a> request conforms to.
type PaymentsListResource = "adsense" :> ("v1.4" :> ("payments" :> (QueryParam "alt" AltJSON :> Get '[JSON] Payments)))

-- | Creates a value of <a>PaymentsList</a> with the minimum fields
--   required to make a request.
paymentsList :: PaymentsList

-- | List the payments for this AdSense account.
--   
--   <i>See:</i> <a>paymentsList</a> smart constructor.
data PaymentsList
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Payments.List.PaymentsList
instance Data.Data.Data Network.Google.Resource.AdSense.Payments.List.PaymentsList
instance GHC.Show.Show Network.Google.Resource.AdSense.Payments.List.PaymentsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Payments.List.PaymentsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Payments.List.PaymentsList


-- | Generate an AdSense report based on the report request sent in the
--   query parameters. Returns the result as JSON; to retrieve output in
--   CSV format specify "alt=csv" as a query parameter.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.reports.generate</tt>.
module Network.Google.Resource.AdSense.Reports.Generate

-- | A resource alias for <tt>adsense.reports.generate</tt> method which
--   the <a>ReportsGenerate</a> request conforms to.
type ReportsGenerateResource = ("adsense" :> ("v1.4" :> ("reports" :> (QueryParam "startDate" Text :> (QueryParam "endDate" Text :> (QueryParams "dimension" Text :> (QueryParam "locale" Text :> (QueryParams "accountId" Text :> (QueryParams "metric" Text :> (QueryParam "currency" Text :> (QueryParams "sort" Text :> (QueryParams "filter" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "useTimezoneReporting" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdsenseReportsGenerateResponse)))))))))))))))) :<|> ("adsense" :> ("v1.4" :> ("reports" :> (QueryParam "startDate" Text :> (QueryParam "endDate" Text :> (QueryParams "dimension" Text :> (QueryParam "locale" Text :> (QueryParams "accountId" Text :> (QueryParams "metric" Text :> (QueryParam "currency" Text :> (QueryParams "sort" Text :> (QueryParams "filter" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "useTimezoneReporting" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream))))))))))))))))

-- | Creates a value of <a>ReportsGenerate</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rgDimension</a></li>
--   <li><a>rgLocale</a></li>
--   <li><a>rgEndDate</a></li>
--   <li><a>rgStartDate</a></li>
--   <li><a>rgAccountId</a></li>
--   <li><a>rgMetric</a></li>
--   <li><a>rgCurrency</a></li>
--   <li><a>rgSort</a></li>
--   <li><a>rgFilter</a></li>
--   <li><a>rgStartIndex</a></li>
--   <li><a>rgUseTimezoneReporting</a></li>
--   <li><a>rgMaxResults</a></li>
--   </ul>
reportsGenerate :: Text -> Text -> ReportsGenerate

-- | Generate an AdSense report based on the report request sent in the
--   query parameters. Returns the result as JSON; to retrieve output in
--   CSV format specify "alt=csv" as a query parameter.
--   
--   <i>See:</i> <a>reportsGenerate</a> smart constructor.
data ReportsGenerate

-- | Dimensions to base the report on.
rgDimension :: Lens' ReportsGenerate [Text]

-- | Optional locale to use for translating report output to a local
--   language. Defaults to "en_US" if not specified.
rgLocale :: Lens' ReportsGenerate (Maybe Text)

-- | End of the date range to report on in "YYYY-MM-DD" format, inclusive.
rgEndDate :: Lens' ReportsGenerate Text

-- | Start of the date range to report on in "YYYY-MM-DD" format,
--   inclusive.
rgStartDate :: Lens' ReportsGenerate Text

-- | Accounts upon which to report.
rgAccountId :: Lens' ReportsGenerate [Text]

-- | Numeric columns to include in the report.
rgMetric :: Lens' ReportsGenerate [Text]

-- | Optional currency to use when reporting on monetary metrics. Defaults
--   to the account's currency if not set.
rgCurrency :: Lens' ReportsGenerate (Maybe Text)

-- | The name of a dimension or metric to sort the resulting report on,
--   optionally prefixed with "+" to sort ascending or "-" to sort
--   descending. If no prefix is specified, the column is sorted ascending.
rgSort :: Lens' ReportsGenerate [Text]

-- | Filters to be run on the report.
rgFilter :: Lens' ReportsGenerate [Text]

-- | Index of the first row of report data to return.
rgStartIndex :: Lens' ReportsGenerate (Maybe Int32)

-- | Whether the report should be generated in the AdSense account's local
--   timezone. If false default PST/PDT timezone will be used.
rgUseTimezoneReporting :: Lens' ReportsGenerate (Maybe Bool)

-- | The maximum number of rows of report data to return.
rgMaxResults :: Lens' ReportsGenerate (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Reports.Generate.ReportsGenerate
instance Data.Data.Data Network.Google.Resource.AdSense.Reports.Generate.ReportsGenerate
instance GHC.Show.Show Network.Google.Resource.AdSense.Reports.Generate.ReportsGenerate
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Reports.Generate.ReportsGenerate
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Reports.Generate.ReportsGenerate
instance Network.Google.Types.GoogleRequest (Network.Google.Types.MediaDownload Network.Google.Resource.AdSense.Reports.Generate.ReportsGenerate)


-- | Generate an AdSense report based on the saved report ID sent in the
--   query parameters.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.reports.saved.generate</tt>.
module Network.Google.Resource.AdSense.Reports.Saved.Generate

-- | A resource alias for <tt>adsense.reports.saved.generate</tt> method
--   which the <a>ReportsSavedGenerate</a> request conforms to.
type ReportsSavedGenerateResource = "adsense" :> ("v1.4" :> ("reports" :> (Capture "savedReportId" Text :> (QueryParam "locale" Text :> (QueryParam "startIndex" (Textual Int32) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdsenseReportsGenerateResponse)))))))

-- | Creates a value of <a>ReportsSavedGenerate</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rsgLocale</a></li>
--   <li><a>rsgSavedReportId</a></li>
--   <li><a>rsgStartIndex</a></li>
--   <li><a>rsgMaxResults</a></li>
--   </ul>
reportsSavedGenerate :: Text -> ReportsSavedGenerate

-- | Generate an AdSense report based on the saved report ID sent in the
--   query parameters.
--   
--   <i>See:</i> <a>reportsSavedGenerate</a> smart constructor.
data ReportsSavedGenerate

-- | Optional locale to use for translating report output to a local
--   language. Defaults to "en_US" if not specified.
rsgLocale :: Lens' ReportsSavedGenerate (Maybe Text)

-- | The saved report to retrieve.
rsgSavedReportId :: Lens' ReportsSavedGenerate Text

-- | Index of the first row of report data to return.
rsgStartIndex :: Lens' ReportsSavedGenerate (Maybe Int32)

-- | The maximum number of rows of report data to return.
rsgMaxResults :: Lens' ReportsSavedGenerate (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Reports.Saved.Generate.ReportsSavedGenerate
instance Data.Data.Data Network.Google.Resource.AdSense.Reports.Saved.Generate.ReportsSavedGenerate
instance GHC.Show.Show Network.Google.Resource.AdSense.Reports.Saved.Generate.ReportsSavedGenerate
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Reports.Saved.Generate.ReportsSavedGenerate
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Reports.Saved.Generate.ReportsSavedGenerate


-- | List all saved reports in this AdSense account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.reports.saved.list</tt>.
module Network.Google.Resource.AdSense.Reports.Saved.List

-- | A resource alias for <tt>adsense.reports.saved.list</tt> method which
--   the <a>ReportsSavedList</a> request conforms to.
type ReportsSavedListResource = "adsense" :> ("v1.4" :> ("reports" :> ("saved" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedReports))))))

-- | Creates a value of <a>ReportsSavedList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rslPageToken</a></li>
--   <li><a>rslMaxResults</a></li>
--   </ul>
reportsSavedList :: ReportsSavedList

-- | List all saved reports in this AdSense account.
--   
--   <i>See:</i> <a>reportsSavedList</a> smart constructor.
data ReportsSavedList

-- | A continuation token, used to page through saved reports. To retrieve
--   the next page, set this parameter to the value of "nextPageToken" from
--   the previous response.
rslPageToken :: Lens' ReportsSavedList (Maybe Text)

-- | The maximum number of saved reports to include in the response, used
--   for paging.
rslMaxResults :: Lens' ReportsSavedList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Reports.Saved.List.ReportsSavedList
instance Data.Data.Data Network.Google.Resource.AdSense.Reports.Saved.List.ReportsSavedList
instance GHC.Show.Show Network.Google.Resource.AdSense.Reports.Saved.List.ReportsSavedList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Reports.Saved.List.ReportsSavedList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Reports.Saved.List.ReportsSavedList


-- | Get a specific saved ad style from the user's account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.savedadstyles.get</tt>.
module Network.Google.Resource.AdSense.Savedadstyles.Get

-- | A resource alias for <tt>adsense.savedadstyles.get</tt> method which
--   the <a>SavedadstylesGet</a> request conforms to.
type SavedadstylesGetResource = "adsense" :> ("v1.4" :> ("savedadstyles" :> (Capture "savedAdStyleId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyle))))

-- | Creates a value of <a>SavedadstylesGet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sgSavedAdStyleId</a></li>
--   </ul>
savedadstylesGet :: Text -> SavedadstylesGet

-- | Get a specific saved ad style from the user's account.
--   
--   <i>See:</i> <a>savedadstylesGet</a> smart constructor.
data SavedadstylesGet

-- | Saved ad style to retrieve.
sgSavedAdStyleId :: Lens' SavedadstylesGet Text
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Savedadstyles.Get.SavedadstylesGet
instance Data.Data.Data Network.Google.Resource.AdSense.Savedadstyles.Get.SavedadstylesGet
instance GHC.Show.Show Network.Google.Resource.AdSense.Savedadstyles.Get.SavedadstylesGet
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Savedadstyles.Get.SavedadstylesGet
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Savedadstyles.Get.SavedadstylesGet


-- | List all saved ad styles in the user's account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.savedadstyles.list</tt>.
module Network.Google.Resource.AdSense.Savedadstyles.List

-- | A resource alias for <tt>adsense.savedadstyles.list</tt> method which
--   the <a>SavedadstylesList</a> request conforms to.
type SavedadstylesListResource = "adsense" :> ("v1.4" :> ("savedadstyles" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyles)))))

-- | Creates a value of <a>SavedadstylesList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>slPageToken</a></li>
--   <li><a>slMaxResults</a></li>
--   </ul>
savedadstylesList :: SavedadstylesList

-- | List all saved ad styles in the user's account.
--   
--   <i>See:</i> <a>savedadstylesList</a> smart constructor.
data SavedadstylesList

-- | A continuation token, used to page through saved ad styles. To
--   retrieve the next page, set this parameter to the value of
--   "nextPageToken" from the previous response.
slPageToken :: Lens' SavedadstylesList (Maybe Text)

-- | The maximum number of saved ad styles to include in the response, used
--   for paging.
slMaxResults :: Lens' SavedadstylesList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.Savedadstyles.List.SavedadstylesList
instance Data.Data.Data Network.Google.Resource.AdSense.Savedadstyles.List.SavedadstylesList
instance GHC.Show.Show Network.Google.Resource.AdSense.Savedadstyles.List.SavedadstylesList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.Savedadstyles.List.SavedadstylesList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.Savedadstyles.List.SavedadstylesList


-- | List all URL channels in the specified ad client for this AdSense
--   account.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a> for
--   <tt>adsense.urlchannels.list</tt>.
module Network.Google.Resource.AdSense.URLChannels.List

-- | A resource alias for <tt>adsense.urlchannels.list</tt> method which
--   the <a>URLChannelsList</a> request conforms to.
type URLChannelsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("urlchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] URLChannels)))))))

-- | Creates a value of <a>URLChannelsList</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>uclAdClientId</a></li>
--   <li><a>uclPageToken</a></li>
--   <li><a>uclMaxResults</a></li>
--   </ul>
urlChannelsList :: Text -> URLChannelsList

-- | List all URL channels in the specified ad client for this AdSense
--   account.
--   
--   <i>See:</i> <a>urlChannelsList</a> smart constructor.
data URLChannelsList

-- | Ad client for which to list URL channels.
uclAdClientId :: Lens' URLChannelsList Text

-- | A continuation token, used to page through URL channels. To retrieve
--   the next page, set this parameter to the value of "nextPageToken" from
--   the previous response.
uclPageToken :: Lens' URLChannelsList (Maybe Text)

-- | The maximum number of URL channels to include in the response, used
--   for paging.
uclMaxResults :: Lens' URLChannelsList (Maybe Int32)
instance GHC.Generics.Generic Network.Google.Resource.AdSense.URLChannels.List.URLChannelsList
instance Data.Data.Data Network.Google.Resource.AdSense.URLChannels.List.URLChannelsList
instance GHC.Show.Show Network.Google.Resource.AdSense.URLChannels.List.URLChannelsList
instance GHC.Classes.Eq Network.Google.Resource.AdSense.URLChannels.List.URLChannelsList
instance Network.Google.Types.GoogleRequest Network.Google.Resource.AdSense.URLChannels.List.URLChannelsList


-- | Accesses AdSense publishers' inventory and generates performance
--   reports.
--   
--   <i>See:</i> <a>AdSense Management API Reference</a>
module Network.Google.AdSense

-- | 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.
adSenseService :: ServiceConfig

-- | View your AdSense data
adSenseReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/adsense.readonly"]

-- | View and manage your AdSense data
adSenseScope :: Proxy '["https://www.googleapis.com/auth/adsense"]

-- | Represents the entirety of the methods and resources available for the
--   AdSense Management API 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))))))))))))))))))))))))))))))))))))
data AdClients

-- | Creates a value of <a>AdClients</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>acEtag</a></li>
--   <li><a>acNextPageToken</a></li>
--   <li><a>acKind</a></li>
--   <li><a>acItems</a></li>
--   </ul>
adClients :: AdClients

-- | ETag of this response for caching purposes.
acEtag :: Lens' AdClients (Maybe Text)

-- | Continuation token used to page through ad clients. To retrieve the
--   next page of results, set the next request's "pageToken" value to
--   this.
acNextPageToken :: Lens' AdClients (Maybe Text)

-- | Kind of list this is, in this case adsense#adClients.
acKind :: Lens' AdClients Text

-- | The ad clients returned in this list response.
acItems :: Lens' AdClients [AdClient]
data ReportingMetadataEntry

-- | Creates a value of <a>ReportingMetadataEntry</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rmeKind</a></li>
--   <li><a>rmeRequiredMetrics</a></li>
--   <li><a>rmeCompatibleMetrics</a></li>
--   <li><a>rmeRequiredDimensions</a></li>
--   <li><a>rmeId</a></li>
--   <li><a>rmeCompatibleDimensions</a></li>
--   <li><a>rmeSupportedProducts</a></li>
--   </ul>
reportingMetadataEntry :: ReportingMetadataEntry

-- | Kind of resource this is, in this case adsense#reportingMetadataEntry.
rmeKind :: Lens' ReportingMetadataEntry Text

-- | 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.
rmeRequiredMetrics :: Lens' ReportingMetadataEntry [Text]

-- | The names of the metrics the dimension or metric this reporting
--   metadata entry describes is compatible with.
rmeCompatibleMetrics :: Lens' ReportingMetadataEntry [Text]

-- | 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.
rmeRequiredDimensions :: Lens' ReportingMetadataEntry [Text]

-- | Unique identifier of this reporting metadata entry, corresponding to
--   the name of the appropriate dimension or metric.
rmeId :: Lens' ReportingMetadataEntry (Maybe Text)

-- | 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.
rmeCompatibleDimensions :: Lens' ReportingMetadataEntry [Text]

-- | The codes of the projects supported by the dimension or metric this
--   reporting metadata entry describes.
rmeSupportedProducts :: Lens' ReportingMetadataEntry [Text]
data AdsenseReportsGenerateResponseHeadersItem

-- | Creates a value of <a>AdsenseReportsGenerateResponseHeadersItem</a>
--   with the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>argrhiName</a></li>
--   <li><a>argrhiCurrency</a></li>
--   <li><a>argrhiType</a></li>
--   </ul>
adsenseReportsGenerateResponseHeadersItem :: AdsenseReportsGenerateResponseHeadersItem

-- | The name of the header.
argrhiName :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)

-- | The currency of this column. Only present if the header type is
--   METRIC_CURRENCY.
argrhiCurrency :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)

-- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO,
--   or METRIC_CURRENCY.
argrhiType :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)
data Payment

-- | Creates a value of <a>Payment</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pPaymentAmountCurrencyCode</a></li>
--   <li><a>pKind</a></li>
--   <li><a>pPaymentDate</a></li>
--   <li><a>pId</a></li>
--   <li><a>pPaymentAmount</a></li>
--   </ul>
payment :: Payment

-- | The currency code for the amount to be paid.
pPaymentAmountCurrencyCode :: Lens' Payment (Maybe Text)

-- | Kind of resource this is, in this case adsense#payment.
pKind :: Lens' Payment Text

-- | The date this payment was/will be credited to the user, or none if the
--   payment threshold has not been met.
pPaymentDate :: Lens' Payment (Maybe Text)

-- | Unique identifier of this Payment.
pId :: Lens' Payment (Maybe Text)

-- | The amount to be paid.
pPaymentAmount :: Lens' Payment (Maybe Text)
data Accounts

-- | Creates a value of <a>Accounts</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aEtag</a></li>
--   <li><a>aNextPageToken</a></li>
--   <li><a>aKind</a></li>
--   <li><a>aItems</a></li>
--   </ul>
accounts :: Accounts

-- | ETag of this response for caching purposes.
aEtag :: Lens' Accounts (Maybe Text)

-- | Continuation token used to page through accounts. To retrieve the next
--   page of results, set the next request's "pageToken" value to this.
aNextPageToken :: Lens' Accounts (Maybe Text)

-- | Kind of list this is, in this case adsense#accounts.
aKind :: Lens' Accounts Text

-- | The accounts returned in this list response.
aItems :: Lens' Accounts [Account]
data Alerts

-- | Creates a value of <a>Alerts</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aleKind</a></li>
--   <li><a>aleItems</a></li>
--   </ul>
alerts :: Alerts

-- | Kind of list this is, in this case adsense#alerts.
aleKind :: Lens' Alerts Text

-- | The alerts returned in this list response.
aleItems :: Lens' Alerts [Alert]
data SavedReports

-- | Creates a value of <a>SavedReports</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srEtag</a></li>
--   <li><a>srNextPageToken</a></li>
--   <li><a>srKind</a></li>
--   <li><a>srItems</a></li>
--   </ul>
savedReports :: SavedReports

-- | ETag of this response for caching purposes.
srEtag :: Lens' SavedReports (Maybe Text)

-- | Continuation token used to page through saved reports. To retrieve the
--   next page of results, set the next request's "pageToken" value to
--   this.
srNextPageToken :: Lens' SavedReports (Maybe Text)

-- | Kind of list this is, in this case adsense#savedReports.
srKind :: Lens' SavedReports Text

-- | The saved reports returned in this list response.
srItems :: Lens' SavedReports [SavedReport]
data AdUnits

-- | Creates a value of <a>AdUnits</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>auEtag</a></li>
--   <li><a>auNextPageToken</a></li>
--   <li><a>auKind</a></li>
--   <li><a>auItems</a></li>
--   </ul>
adUnits :: AdUnits

-- | ETag of this response for caching purposes.
auEtag :: Lens' AdUnits (Maybe Text)

-- | Continuation token used to page through ad units. To retrieve the next
--   page of results, set the next request's "pageToken" value to this.
auNextPageToken :: Lens' AdUnits (Maybe Text)

-- | Kind of list this is, in this case adsense#adUnits.
auKind :: Lens' AdUnits Text

-- | The ad units returned in this list response.
auItems :: Lens' AdUnits [AdUnit]
data SavedReport

-- | Creates a value of <a>SavedReport</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sKind</a></li>
--   <li><a>sName</a></li>
--   <li><a>sId</a></li>
--   </ul>
savedReport :: SavedReport

-- | Kind of resource this is, in this case adsense#savedReport.
sKind :: Lens' SavedReport Text

-- | This saved report's name.
sName :: Lens' SavedReport (Maybe Text)

-- | Unique identifier of this saved report.
sId :: Lens' SavedReport (Maybe Text)
data URLChannels

-- | Creates a value of <a>URLChannels</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ucEtag</a></li>
--   <li><a>ucNextPageToken</a></li>
--   <li><a>ucKind</a></li>
--   <li><a>ucItems</a></li>
--   </ul>
urlChannels :: URLChannels

-- | ETag of this response for caching purposes.
ucEtag :: Lens' URLChannels (Maybe Text)

-- | Continuation token used to page through URL channels. To retrieve the
--   next page of results, set the next request's "pageToken" value to
--   this.
ucNextPageToken :: Lens' URLChannels (Maybe Text)

-- | Kind of list this is, in this case adsense#urlChannels.
ucKind :: Lens' URLChannels Text

-- | The URL channels returned in this list response.
ucItems :: Lens' URLChannels [URLChannel]
data CustomChannels

-- | Creates a value of <a>CustomChannels</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccEtag</a></li>
--   <li><a>ccNextPageToken</a></li>
--   <li><a>ccKind</a></li>
--   <li><a>ccItems</a></li>
--   </ul>
customChannels :: CustomChannels

-- | ETag of this response for caching purposes.
ccEtag :: Lens' CustomChannels (Maybe Text)

-- | Continuation token used to page through custom channels. To retrieve
--   the next page of results, set the next request's "pageToken" value to
--   this.
ccNextPageToken :: Lens' CustomChannels (Maybe Text)

-- | Kind of list this is, in this case adsense#customChannels.
ccKind :: Lens' CustomChannels Text

-- | The custom channels returned in this list response.
ccItems :: Lens' CustomChannels [CustomChannel]
data AdUnit

-- | Creates a value of <a>AdUnit</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>auuStatus</a></li>
--   <li><a>auuMobileContentAdsSettings</a></li>
--   <li><a>auuKind</a></li>
--   <li><a>auuFeedAdsSettings</a></li>
--   <li><a>auuCustomStyle</a></li>
--   <li><a>auuSavedStyleId</a></li>
--   <li><a>auuName</a></li>
--   <li><a>auuContentAdsSettings</a></li>
--   <li><a>auuCode</a></li>
--   <li><a>auuId</a></li>
--   </ul>
adUnit :: AdUnit

-- | 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.
auuStatus :: Lens' AdUnit (Maybe Text)

-- | Settings specific to WAP mobile content ads (AFMC) - deprecated.
auuMobileContentAdsSettings :: Lens' AdUnit (Maybe AdUnitMobileContentAdsSettings)

-- | Kind of resource this is, in this case adsense#adUnit.
auuKind :: Lens' AdUnit Text

-- | Settings specific to feed ads (AFF) - deprecated.
auuFeedAdsSettings :: Lens' AdUnit (Maybe AdUnitFeedAdsSettings)

-- | Custom style information specific to this ad unit.
auuCustomStyle :: Lens' AdUnit (Maybe AdStyle)

-- | ID of the saved ad style which holds this ad unit's style information.
auuSavedStyleId :: Lens' AdUnit (Maybe Text)

-- | Name of this ad unit.
auuName :: Lens' AdUnit (Maybe Text)

-- | Settings specific to content ads (AFC) and highend mobile content ads
--   (AFMC - deprecated).
auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings)

-- | Identity code of this ad unit, not necessarily unique across ad
--   clients.
auuCode :: Lens' AdUnit (Maybe Text)

-- | 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.
auuId :: Lens' AdUnit (Maybe Text)
data Alert

-- | Creates a value of <a>Alert</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aaIsDismissible</a></li>
--   <li><a>aaKind</a></li>
--   <li><a>aaSeverity</a></li>
--   <li><a>aaId</a></li>
--   <li><a>aaType</a></li>
--   <li><a>aaMessage</a></li>
--   </ul>
alert :: Alert

-- | Whether this alert can be dismissed.
aaIsDismissible :: Lens' Alert (Maybe Bool)

-- | Kind of resource this is, in this case adsense#alert.
aaKind :: Lens' Alert Text

-- | Severity of this alert. Possible values: INFO, WARNING, SEVERE.
aaSeverity :: Lens' Alert (Maybe Text)

-- | 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.
aaId :: Lens' Alert (Maybe Text)

-- | Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3,
--   ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY,
--   GRAYLISTED_PUBLISHER, API_HOLD.
aaType :: Lens' Alert (Maybe Text)

-- | The localized alert message.
aaMessage :: Lens' Alert (Maybe Text)

-- | The font which is included in the style.
--   
--   <i>See:</i> <a>adStyleFont</a> smart constructor.
data AdStyleFont

-- | Creates a value of <a>AdStyleFont</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asfSize</a></li>
--   <li><a>asfFamily</a></li>
--   </ul>
adStyleFont :: AdStyleFont

-- | The size of the font.
asfSize :: Lens' AdStyleFont (Maybe Text)

-- | The family of the font.
asfFamily :: Lens' AdStyleFont (Maybe Text)
data Account

-- | Creates a value of <a>Account</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>accKind</a></li>
--   <li><a>accCreationTime</a></li>
--   <li><a>accPremium</a></li>
--   <li><a>accName</a></li>
--   <li><a>accId</a></li>
--   <li><a>accTimezone</a></li>
--   <li><a>accSubAccounts</a></li>
--   </ul>
account :: Account

-- | Kind of resource this is, in this case adsense#account.
accKind :: Lens' Account Text
accCreationTime :: Lens' Account (Maybe Int64)

-- | Whether this account is premium.
accPremium :: Lens' Account (Maybe Bool)

-- | Name of this account.
accName :: Lens' Account (Maybe Text)

-- | Unique identifier of this account.
accId :: Lens' Account (Maybe Text)

-- | AdSense timezone of this account.
accTimezone :: Lens' Account (Maybe Text)

-- | Sub accounts of the this account.
accSubAccounts :: Lens' Account [Account]

-- | Settings specific to WAP mobile content ads (AFMC) - deprecated.
--   
--   <i>See:</i> <a>adUnitMobileContentAdsSettings</a> smart constructor.
data AdUnitMobileContentAdsSettings

-- | Creates a value of <a>AdUnitMobileContentAdsSettings</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aumcasSize</a></li>
--   <li><a>aumcasScriptingLanguage</a></li>
--   <li><a>aumcasMarkupLanguage</a></li>
--   <li><a>aumcasType</a></li>
--   </ul>
adUnitMobileContentAdsSettings :: AdUnitMobileContentAdsSettings

-- | Size of this ad unit.
aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)

-- | The scripting language to use for this ad unit.
aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)

-- | The markup language to use for this ad unit.
aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)

-- | Type of this ad unit.
aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)
data SavedAdStyles

-- | Creates a value of <a>SavedAdStyles</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sasEtag</a></li>
--   <li><a>sasNextPageToken</a></li>
--   <li><a>sasKind</a></li>
--   <li><a>sasItems</a></li>
--   </ul>
savedAdStyles :: SavedAdStyles

-- | ETag of this response for caching purposes.
sasEtag :: Lens' SavedAdStyles (Maybe Text)

-- | Continuation token used to page through ad units. To retrieve the next
--   page of results, set the next request's "pageToken" value to this.
sasNextPageToken :: Lens' SavedAdStyles (Maybe Text)

-- | Kind of list this is, in this case adsense#savedAdStyles.
sasKind :: Lens' SavedAdStyles Text

-- | The saved ad styles returned in this list response.
sasItems :: Lens' SavedAdStyles [SavedAdStyle]

-- | 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.
--   
--   <i>See:</i> <a>adStyleColors</a> smart constructor.
data AdStyleColors

-- | Creates a value of <a>AdStyleColors</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ascText</a></li>
--   <li><a>ascURL</a></li>
--   <li><a>ascBOrder</a></li>
--   <li><a>ascTitle</a></li>
--   <li><a>ascBackgRound</a></li>
--   </ul>
adStyleColors :: AdStyleColors

-- | The color of the ad text.
ascText :: Lens' AdStyleColors (Maybe Text)

-- | The color of the ad url.
ascURL :: Lens' AdStyleColors (Maybe Text)

-- | The color of the ad border.
ascBOrder :: Lens' AdStyleColors (Maybe Text)

-- | The color of the ad title.
ascTitle :: Lens' AdStyleColors (Maybe Text)

-- | The color of the ad background.
ascBackgRound :: Lens' AdStyleColors (Maybe Text)

-- | The backup option to be used in instances where no ad is available.
--   
--   <i>See:</i> <a>adUnitContentAdsSettingsBackupOption</a> smart
--   constructor.
data AdUnitContentAdsSettingsBackupOption

-- | Creates a value of <a>AdUnitContentAdsSettingsBackupOption</a> with
--   the minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aucasboColor</a></li>
--   <li><a>aucasboURL</a></li>
--   <li><a>aucasboType</a></li>
--   </ul>
adUnitContentAdsSettingsBackupOption :: AdUnitContentAdsSettingsBackupOption

-- | Color to use when type is set to COLOR.
aucasboColor :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)

-- | URL to use when type is set to URL.
aucasboURL :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)

-- | Type of the backup option. Possible values are BLANK, COLOR and URL.
aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)
data AdClient

-- | Creates a value of <a>AdClient</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>adKind</a></li>
--   <li><a>adArcOptIn</a></li>
--   <li><a>adSupportsReporting</a></li>
--   <li><a>adId</a></li>
--   <li><a>adProductCode</a></li>
--   </ul>
adClient :: AdClient

-- | Kind of resource this is, in this case adsense#adClient.
adKind :: Lens' AdClient Text

-- | Whether this ad client is opted in to ARC.
adArcOptIn :: Lens' AdClient (Maybe Bool)

-- | Whether this ad client supports being reported on.
adSupportsReporting :: Lens' AdClient (Maybe Bool)

-- | Unique identifier of this ad client.
adId :: Lens' AdClient (Maybe Text)

-- | This ad client's product code, which corresponds to the PRODUCT_CODE
--   report dimension.
adProductCode :: Lens' AdClient (Maybe Text)
data SavedAdStyle

-- | Creates a value of <a>SavedAdStyle</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>savKind</a></li>
--   <li><a>savName</a></li>
--   <li><a>savAdStyle</a></li>
--   <li><a>savId</a></li>
--   </ul>
savedAdStyle :: SavedAdStyle

-- | Kind of resource this is, in this case adsense#savedAdStyle.
savKind :: Lens' SavedAdStyle Text

-- | The user selected name of this SavedAdStyle.
savName :: Lens' SavedAdStyle (Maybe Text)

-- | The AdStyle itself.
savAdStyle :: Lens' SavedAdStyle (Maybe AdStyle)

-- | 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.
savId :: Lens' SavedAdStyle (Maybe Text)

-- | The targeting information of this custom channel, if activated.
--   
--   <i>See:</i> <a>customChannelTargetingInfo</a> smart constructor.
data CustomChannelTargetingInfo

-- | Creates a value of <a>CustomChannelTargetingInfo</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cctiLocation</a></li>
--   <li><a>cctiSiteLanguage</a></li>
--   <li><a>cctiAdsAppearOn</a></li>
--   <li><a>cctiDescription</a></li>
--   </ul>
customChannelTargetingInfo :: CustomChannelTargetingInfo

-- | 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.
cctiLocation :: Lens' CustomChannelTargetingInfo (Maybe Text)

-- | The language of the sites ads will be displayed on.
cctiSiteLanguage :: Lens' CustomChannelTargetingInfo (Maybe Text)

-- | The name used to describe this channel externally.
cctiAdsAppearOn :: Lens' CustomChannelTargetingInfo (Maybe Text)

-- | The external description of the channel.
cctiDescription :: Lens' CustomChannelTargetingInfo (Maybe Text)
data AdStyle

-- | Creates a value of <a>AdStyle</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>asCorners</a></li>
--   <li><a>asKind</a></li>
--   <li><a>asFont</a></li>
--   <li><a>asColors</a></li>
--   </ul>
adStyle :: AdStyle

-- | The style of the corners in the ad (deprecated: never populated,
--   ignored).
asCorners :: Lens' AdStyle (Maybe Text)

-- | Kind this is, in this case adsense#adStyle.
asKind :: Lens' AdStyle Text

-- | The font which is included in the style.
asFont :: Lens' AdStyle (Maybe AdStyleFont)

-- | 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.
asColors :: Lens' AdStyle (Maybe AdStyleColors)

-- | Settings specific to feed ads (AFF) - deprecated.
--   
--   <i>See:</i> <a>adUnitFeedAdsSettings</a> smart constructor.
data AdUnitFeedAdsSettings

-- | Creates a value of <a>AdUnitFeedAdsSettings</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aufasFrequency</a></li>
--   <li><a>aufasAdPosition</a></li>
--   <li><a>aufasType</a></li>
--   <li><a>aufasMinimumWordCount</a></li>
--   </ul>
adUnitFeedAdsSettings :: AdUnitFeedAdsSettings

-- | The frequency at which ads should appear in the feed (i.e. every N
--   entries).
aufasFrequency :: Lens' AdUnitFeedAdsSettings (Maybe Int32)

-- | The position of the ads relative to the feed entries.
aufasAdPosition :: Lens' AdUnitFeedAdsSettings (Maybe Text)

-- | The type of ads which should appear.
aufasType :: Lens' AdUnitFeedAdsSettings (Maybe Text)

-- | The minimum length an entry should be in order to have attached ads.
aufasMinimumWordCount :: Lens' AdUnitFeedAdsSettings (Maybe Int32)
data Metadata

-- | Creates a value of <a>Metadata</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>mKind</a></li>
--   <li><a>mItems</a></li>
--   </ul>
metadata :: Metadata

-- | Kind of list this is, in this case adsense#metadata.
mKind :: Lens' Metadata Text
mItems :: Lens' Metadata [ReportingMetadataEntry]
data CustomChannel

-- | Creates a value of <a>CustomChannel</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cTargetingInfo</a></li>
--   <li><a>cKind</a></li>
--   <li><a>cName</a></li>
--   <li><a>cCode</a></li>
--   <li><a>cId</a></li>
--   </ul>
customChannel :: CustomChannel

-- | The targeting information of this custom channel, if activated.
cTargetingInfo :: Lens' CustomChannel (Maybe CustomChannelTargetingInfo)

-- | Kind of resource this is, in this case adsense#customChannel.
cKind :: Lens' CustomChannel Text

-- | Name of this custom channel.
cName :: Lens' CustomChannel (Maybe Text)

-- | Code of this custom channel, not necessarily unique across ad clients.
cCode :: Lens' CustomChannel (Maybe Text)

-- | 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.
cId :: Lens' CustomChannel (Maybe Text)
data URLChannel

-- | Creates a value of <a>URLChannel</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>urlcKind</a></li>
--   <li><a>urlcId</a></li>
--   <li><a>urlcURLPattern</a></li>
--   </ul>
urlChannel :: URLChannel

-- | Kind of resource this is, in this case adsense#urlChannel.
urlcKind :: Lens' URLChannel Text

-- | 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.
urlcId :: Lens' URLChannel (Maybe Text)

-- | URL Pattern of this URL channel. Does not include "http://" or
--   "https://". Example: www.example.com/home
urlcURLPattern :: Lens' URLChannel (Maybe Text)
data AdCode

-- | Creates a value of <a>AdCode</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>addKind</a></li>
--   <li><a>addAdCode</a></li>
--   </ul>
adCode :: AdCode

-- | Kind this is, in this case adsense#adCode.
addKind :: Lens' AdCode Text

-- | The ad code snippet.
addAdCode :: Lens' AdCode (Maybe Text)
data AdsenseReportsGenerateResponse

-- | Creates a value of <a>AdsenseReportsGenerateResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>argrKind</a></li>
--   <li><a>argrAverages</a></li>
--   <li><a>argrEndDate</a></li>
--   <li><a>argrWarnings</a></li>
--   <li><a>argrRows</a></li>
--   <li><a>argrTotals</a></li>
--   <li><a>argrStartDate</a></li>
--   <li><a>argrHeaders</a></li>
--   <li><a>argrTotalMatchedRows</a></li>
--   </ul>
adsenseReportsGenerateResponse :: AdsenseReportsGenerateResponse

-- | Kind this is, in this case adsense#report.
argrKind :: Lens' AdsenseReportsGenerateResponse Text

-- | The averages of the report. This is the same length as any other row
--   in the report; cells corresponding to dimension columns are empty.
argrAverages :: Lens' AdsenseReportsGenerateResponse [Text]

-- | The requested end date in yyyy-mm-dd format.
argrEndDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text)

-- | Any warnings associated with generation of the report.
argrWarnings :: Lens' AdsenseReportsGenerateResponse [Text]

-- | 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.
argrRows :: Lens' AdsenseReportsGenerateResponse [[Text]]

-- | The totals of the report. This is the same length as any other row in
--   the report; cells corresponding to dimension columns are empty.
argrTotals :: Lens' AdsenseReportsGenerateResponse [Text]

-- | The requested start date in yyyy-mm-dd format.
argrStartDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text)

-- | 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.
argrHeaders :: Lens' AdsenseReportsGenerateResponse [AdsenseReportsGenerateResponseHeadersItem]

-- | 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.
argrTotalMatchedRows :: Lens' AdsenseReportsGenerateResponse (Maybe Int64)

-- | Settings specific to content ads (AFC) and highend mobile content ads
--   (AFMC - deprecated).
--   
--   <i>See:</i> <a>adUnitContentAdsSettings</a> smart constructor.
data AdUnitContentAdsSettings

-- | Creates a value of <a>AdUnitContentAdsSettings</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>aucasBackupOption</a></li>
--   <li><a>aucasSize</a></li>
--   <li><a>aucasType</a></li>
--   </ul>
adUnitContentAdsSettings :: AdUnitContentAdsSettings

-- | The backup option to be used in instances where no ad is available.
aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitContentAdsSettingsBackupOption)

-- | Size of this ad unit.
aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text)

-- | Type of this ad unit.
aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text)
data Payments

-- | Creates a value of <a>Payments</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>payKind</a></li>
--   <li><a>payItems</a></li>
--   </ul>
payments :: Payments

-- | Kind of list this is, in this case adsense#payments.
payKind :: Lens' Payments Text

-- | The list of Payments for the account. One or both of a) the account's
--   most recent payment; and b) the account's upcoming payment.
payItems :: Lens' Payments [Payment]
