packages feed

gogol-adsense 0.5.0 → 1.0.0

raw patch · 83 files changed

+8749/−8178 lines, 83 filesdep −basedep ~gogol-coresetup-changed

Dependencies removed: base

Dependency ranges changed: gogol-core

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`0.5.0`+`1.0.0`   ## Description
Setup.hs view
@@ -1,2 +1,3 @@-import           Distribution.Simple+import Distribution.Simple+ main = defaultMain
+ gen/Gogol/AdSense.hs view
@@ -0,0 +1,459 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference>+module Gogol.AdSense+  ( -- * Configuration+    adSenseService,++    -- * OAuth Scopes+    Adsense'FullControl,+    Adsense'Readonly,++    -- * Resources++    -- ** adsense.accounts.adclients.adunits.create+    AdSenseAccountsAdclientsAdunitsCreateResource,+    AdSenseAccountsAdclientsAdunitsCreate (..),+    newAdSenseAccountsAdclientsAdunitsCreate,++    -- ** adsense.accounts.adclients.adunits.get+    AdSenseAccountsAdclientsAdunitsGetResource,+    AdSenseAccountsAdclientsAdunitsGet (..),+    newAdSenseAccountsAdclientsAdunitsGet,++    -- ** adsense.accounts.adclients.adunits.getAdcode+    AdSenseAccountsAdclientsAdunitsGetAdcodeResource,+    AdSenseAccountsAdclientsAdunitsGetAdcode (..),+    newAdSenseAccountsAdclientsAdunitsGetAdcode,++    -- ** adsense.accounts.adclients.adunits.list+    AdSenseAccountsAdclientsAdunitsListResource,+    AdSenseAccountsAdclientsAdunitsList (..),+    newAdSenseAccountsAdclientsAdunitsList,++    -- ** adsense.accounts.adclients.adunits.listLinkedCustomChannels+    AdSenseAccountsAdclientsAdunitsListLinkedCustomChannelsResource,+    AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels (..),+    newAdSenseAccountsAdclientsAdunitsListLinkedCustomChannels,++    -- ** adsense.accounts.adclients.adunits.patch+    AdSenseAccountsAdclientsAdunitsPatchResource,+    AdSenseAccountsAdclientsAdunitsPatch (..),+    newAdSenseAccountsAdclientsAdunitsPatch,++    -- ** adsense.accounts.adclients.customchannels.create+    AdSenseAccountsAdclientsCustomchannelsCreateResource,+    AdSenseAccountsAdclientsCustomchannelsCreate (..),+    newAdSenseAccountsAdclientsCustomchannelsCreate,++    -- ** adsense.accounts.adclients.customchannels.delete+    AdSenseAccountsAdclientsCustomchannelsDeleteResource,+    AdSenseAccountsAdclientsCustomchannelsDelete (..),+    newAdSenseAccountsAdclientsCustomchannelsDelete,++    -- ** adsense.accounts.adclients.customchannels.get+    AdSenseAccountsAdclientsCustomchannelsGetResource,+    AdSenseAccountsAdclientsCustomchannelsGet (..),+    newAdSenseAccountsAdclientsCustomchannelsGet,++    -- ** adsense.accounts.adclients.customchannels.list+    AdSenseAccountsAdclientsCustomchannelsListResource,+    AdSenseAccountsAdclientsCustomchannelsList (..),+    newAdSenseAccountsAdclientsCustomchannelsList,++    -- ** adsense.accounts.adclients.customchannels.listLinkedAdUnits+    AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnitsResource,+    AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits (..),+    newAdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits,++    -- ** adsense.accounts.adclients.customchannels.patch+    AdSenseAccountsAdclientsCustomchannelsPatchResource,+    AdSenseAccountsAdclientsCustomchannelsPatch (..),+    newAdSenseAccountsAdclientsCustomchannelsPatch,++    -- ** adsense.accounts.adclients.get+    AdSenseAccountsAdclientsGetResource,+    AdSenseAccountsAdclientsGet (..),+    newAdSenseAccountsAdclientsGet,++    -- ** adsense.accounts.adclients.getAdcode+    AdSenseAccountsAdclientsGetAdcodeResource,+    AdSenseAccountsAdclientsGetAdcode (..),+    newAdSenseAccountsAdclientsGetAdcode,++    -- ** adsense.accounts.adclients.list+    AdSenseAccountsAdclientsListResource,+    AdSenseAccountsAdclientsList (..),+    newAdSenseAccountsAdclientsList,++    -- ** adsense.accounts.adclients.urlchannels.get+    AdSenseAccountsAdclientsUrlchannelsGetResource,+    AdSenseAccountsAdclientsUrlchannelsGet (..),+    newAdSenseAccountsAdclientsUrlchannelsGet,++    -- ** adsense.accounts.adclients.urlchannels.list+    AdSenseAccountsAdclientsUrlchannelsListResource,+    AdSenseAccountsAdclientsUrlchannelsList (..),+    newAdSenseAccountsAdclientsUrlchannelsList,++    -- ** adsense.accounts.alerts.list+    AdSenseAccountsAlertsListResource,+    AdSenseAccountsAlertsList (..),+    newAdSenseAccountsAlertsList,++    -- ** adsense.accounts.get+    AdSenseAccountsGetResource,+    AdSenseAccountsGet (..),+    newAdSenseAccountsGet,++    -- ** adsense.accounts.getAdBlockingRecoveryTag+    AdSenseAccountsGetAdBlockingRecoveryTagResource,+    AdSenseAccountsGetAdBlockingRecoveryTag (..),+    newAdSenseAccountsGetAdBlockingRecoveryTag,++    -- ** adsense.accounts.list+    AdSenseAccountsListResource,+    AdSenseAccountsList (..),+    newAdSenseAccountsList,++    -- ** adsense.accounts.listChildAccounts+    AdSenseAccountsListChildAccountsResource,+    AdSenseAccountsListChildAccounts (..),+    newAdSenseAccountsListChildAccounts,++    -- ** adsense.accounts.payments.list+    AdSenseAccountsPaymentsListResource,+    AdSenseAccountsPaymentsList (..),+    newAdSenseAccountsPaymentsList,++    -- ** adsense.accounts.policyIssues.get+    AdSenseAccountsPolicyIssuesGetResource,+    AdSenseAccountsPolicyIssuesGet (..),+    newAdSenseAccountsPolicyIssuesGet,++    -- ** adsense.accounts.policyIssues.list+    AdSenseAccountsPolicyIssuesListResource,+    AdSenseAccountsPolicyIssuesList (..),+    newAdSenseAccountsPolicyIssuesList,++    -- ** adsense.accounts.reports.generate+    AdSenseAccountsReportsGenerateResource,+    AdSenseAccountsReportsGenerate (..),+    newAdSenseAccountsReportsGenerate,++    -- ** adsense.accounts.reports.generateCsv+    AdSenseAccountsReportsGenerateCsvResource,+    AdSenseAccountsReportsGenerateCsv (..),+    newAdSenseAccountsReportsGenerateCsv,++    -- ** adsense.accounts.reports.getSaved+    AdSenseAccountsReportsGetSavedResource,+    AdSenseAccountsReportsGetSaved (..),+    newAdSenseAccountsReportsGetSaved,++    -- ** adsense.accounts.reports.saved.generate+    AdSenseAccountsReportsSavedGenerateResource,+    AdSenseAccountsReportsSavedGenerate (..),+    newAdSenseAccountsReportsSavedGenerate,++    -- ** adsense.accounts.reports.saved.generateCsv+    AdSenseAccountsReportsSavedGenerateCsvResource,+    AdSenseAccountsReportsSavedGenerateCsv (..),+    newAdSenseAccountsReportsSavedGenerateCsv,++    -- ** adsense.accounts.reports.saved.list+    AdSenseAccountsReportsSavedListResource,+    AdSenseAccountsReportsSavedList (..),+    newAdSenseAccountsReportsSavedList,++    -- ** adsense.accounts.sites.get+    AdSenseAccountsSitesGetResource,+    AdSenseAccountsSitesGet (..),+    newAdSenseAccountsSitesGet,++    -- ** adsense.accounts.sites.list+    AdSenseAccountsSitesListResource,+    AdSenseAccountsSitesList (..),+    newAdSenseAccountsSitesList,++    -- * Types++    -- ** Xgafv+    Xgafv (..),++    -- ** Account+    Account (..),+    newAccount,++    -- ** Account_State+    Account_State (..),++    -- ** AdBlockingRecoveryTag+    AdBlockingRecoveryTag (..),+    newAdBlockingRecoveryTag,++    -- ** AdClient+    AdClient (..),+    newAdClient,++    -- ** AdClient_State+    AdClient_State (..),++    -- ** AdClientAdCode+    AdClientAdCode (..),+    newAdClientAdCode,++    -- ** AdUnit+    AdUnit (..),+    newAdUnit,++    -- ** AdUnit_State+    AdUnit_State (..),++    -- ** AdUnitAdCode+    AdUnitAdCode (..),+    newAdUnitAdCode,++    -- ** Alert+    Alert (..),+    newAlert,++    -- ** Alert_Severity+    Alert_Severity (..),++    -- ** Cell+    Cell (..),+    newCell,++    -- ** ContentAdsSettings+    ContentAdsSettings (..),+    newContentAdsSettings,++    -- ** ContentAdsSettings_Type+    ContentAdsSettings_Type (..),++    -- ** CustomChannel+    CustomChannel (..),+    newCustomChannel,++    -- ** Date+    Date (..),+    newDate,++    -- ** Empty+    Empty (..),+    newEmpty,++    -- ** Header+    Header (..),+    newHeader,++    -- ** Header_Type+    Header_Type (..),++    -- ** HttpBody+    HttpBody (..),+    newHttpBody,++    -- ** HttpBody_ExtensionsItem+    HttpBody_ExtensionsItem (..),+    newHttpBody_ExtensionsItem,++    -- ** ListAccountsResponse+    ListAccountsResponse (..),+    newListAccountsResponse,++    -- ** ListAdClientsResponse+    ListAdClientsResponse (..),+    newListAdClientsResponse,++    -- ** ListAdUnitsResponse+    ListAdUnitsResponse (..),+    newListAdUnitsResponse,++    -- ** ListAlertsResponse+    ListAlertsResponse (..),+    newListAlertsResponse,++    -- ** ListChildAccountsResponse+    ListChildAccountsResponse (..),+    newListChildAccountsResponse,++    -- ** ListCustomChannelsResponse+    ListCustomChannelsResponse (..),+    newListCustomChannelsResponse,++    -- ** ListLinkedAdUnitsResponse+    ListLinkedAdUnitsResponse (..),+    newListLinkedAdUnitsResponse,++    -- ** ListLinkedCustomChannelsResponse+    ListLinkedCustomChannelsResponse (..),+    newListLinkedCustomChannelsResponse,++    -- ** ListPaymentsResponse+    ListPaymentsResponse (..),+    newListPaymentsResponse,++    -- ** ListPolicyIssuesResponse+    ListPolicyIssuesResponse (..),+    newListPolicyIssuesResponse,++    -- ** ListSavedReportsResponse+    ListSavedReportsResponse (..),+    newListSavedReportsResponse,++    -- ** ListSitesResponse+    ListSitesResponse (..),+    newListSitesResponse,++    -- ** ListUrlChannelsResponse+    ListUrlChannelsResponse (..),+    newListUrlChannelsResponse,++    -- ** Payment+    Payment (..),+    newPayment,++    -- ** PolicyIssue+    PolicyIssue (..),+    newPolicyIssue,++    -- ** PolicyIssue_Action+    PolicyIssue_Action (..),++    -- ** PolicyIssue_EntityType+    PolicyIssue_EntityType (..),++    -- ** PolicyTopic+    PolicyTopic (..),+    newPolicyTopic,++    -- ** PolicyTopic_Type+    PolicyTopic_Type (..),++    -- ** ReportResult+    ReportResult (..),+    newReportResult,++    -- ** Row+    Row (..),+    newRow,++    -- ** SavedReport+    SavedReport (..),+    newSavedReport,++    -- ** Site+    Site (..),+    newSite,++    -- ** Site_State+    Site_State (..),++    -- ** TimeZone+    TimeZone (..),+    newTimeZone,++    -- ** UrlChannel+    UrlChannel (..),+    newUrlChannel,++    -- ** AccountsReportsGenerateDateRange+    AccountsReportsGenerateDateRange (..),++    -- ** AccountsReportsGenerateDimensions+    AccountsReportsGenerateDimensions (..),++    -- ** AccountsReportsGenerateMetrics+    AccountsReportsGenerateMetrics (..),++    -- ** AccountsReportsGenerateReportingTimeZone+    AccountsReportsGenerateReportingTimeZone (..),++    -- ** AccountsReportsGenerateCsvDateRange+    AccountsReportsGenerateCsvDateRange (..),++    -- ** AccountsReportsGenerateCsvDimensions+    AccountsReportsGenerateCsvDimensions (..),++    -- ** AccountsReportsGenerateCsvMetrics+    AccountsReportsGenerateCsvMetrics (..),++    -- ** AccountsReportsGenerateCsvReportingTimeZone+    AccountsReportsGenerateCsvReportingTimeZone (..),++    -- ** AccountsReportsSavedGenerateDateRange+    AccountsReportsSavedGenerateDateRange (..),++    -- ** AccountsReportsSavedGenerateReportingTimeZone+    AccountsReportsSavedGenerateReportingTimeZone (..),++    -- ** AccountsReportsSavedGenerateCsvDateRange+    AccountsReportsSavedGenerateCsvDateRange (..),++    -- ** AccountsReportsSavedGenerateCsvReportingTimeZone+    AccountsReportsSavedGenerateCsvReportingTimeZone (..),+  )+where++import Gogol.AdSense.Accounts.Adclients.Adunits.Create+import Gogol.AdSense.Accounts.Adclients.Adunits.Get+import Gogol.AdSense.Accounts.Adclients.Adunits.GetAdcode+import Gogol.AdSense.Accounts.Adclients.Adunits.List+import Gogol.AdSense.Accounts.Adclients.Adunits.ListLinkedCustomChannels+import Gogol.AdSense.Accounts.Adclients.Adunits.Patch+import Gogol.AdSense.Accounts.Adclients.Customchannels.Create+import Gogol.AdSense.Accounts.Adclients.Customchannels.Delete+import Gogol.AdSense.Accounts.Adclients.Customchannels.Get+import Gogol.AdSense.Accounts.Adclients.Customchannels.List+import Gogol.AdSense.Accounts.Adclients.Customchannels.ListLinkedAdUnits+import Gogol.AdSense.Accounts.Adclients.Customchannels.Patch+import Gogol.AdSense.Accounts.Adclients.Get+import Gogol.AdSense.Accounts.Adclients.GetAdcode+import Gogol.AdSense.Accounts.Adclients.List+import Gogol.AdSense.Accounts.Adclients.Urlchannels.Get+import Gogol.AdSense.Accounts.Adclients.Urlchannels.List+import Gogol.AdSense.Accounts.Alerts.List+import Gogol.AdSense.Accounts.Get+import Gogol.AdSense.Accounts.GetAdBlockingRecoveryTag+import Gogol.AdSense.Accounts.List+import Gogol.AdSense.Accounts.ListChildAccounts+import Gogol.AdSense.Accounts.Payments.List+import Gogol.AdSense.Accounts.PolicyIssues.Get+import Gogol.AdSense.Accounts.PolicyIssues.List+import Gogol.AdSense.Accounts.Reports.Generate+import Gogol.AdSense.Accounts.Reports.GenerateCsv+import Gogol.AdSense.Accounts.Reports.GetSaved+import Gogol.AdSense.Accounts.Reports.Saved.Generate+import Gogol.AdSense.Accounts.Reports.Saved.GenerateCsv+import Gogol.AdSense.Accounts.Reports.Saved.List+import Gogol.AdSense.Accounts.Sites.Get+import Gogol.AdSense.Accounts.Sites.List+import Gogol.AdSense.Types
+ gen/Gogol/AdSense/Accounts/Adclients/Adunits/Create.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Adunits.Create+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method. Note that ad units can only be created for ad clients with an \"AFC\" product code. For more info see the </adsense/management/reference/rest/v2/accounts.adclients AdClient resource>. For now, this method can only be used to create @DISPLAY@ ad units. See: https:\/\/support.google.com\/adsense\/answer\/9183566+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.adunits.create@.+module Gogol.AdSense.Accounts.Adclients.Adunits.Create+  ( -- * Resource+    AdSenseAccountsAdclientsAdunitsCreateResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsAdunitsCreate (..),+    newAdSenseAccountsAdclientsAdunitsCreate,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.adunits.create@ method which the+-- 'AdSenseAccountsAdclientsAdunitsCreate' request conforms to.+type AdSenseAccountsAdclientsAdunitsCreateResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "adunits"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] AdUnit+    Core.:> Core.Post '[Core.JSON] AdUnit++-- | Creates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method. Note that ad units can only be created for ad clients with an \"AFC\" product code. For more info see the </adsense/management/reference/rest/v2/accounts.adclients AdClient resource>. For now, this method can only be used to create @DISPLAY@ ad units. See: https:\/\/support.google.com\/adsense\/answer\/9183566+--+-- /See:/ 'newAdSenseAccountsAdclientsAdunitsCreate' smart constructor.+data AdSenseAccountsAdclientsAdunitsCreate = AdSenseAccountsAdclientsAdunitsCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Ad client to create an ad unit under. Format: accounts\/{account}\/adclients\/{adclient}+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: AdUnit,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsAdunitsCreate' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsAdunitsCreate ::+  -- |  Required. Ad client to create an ad unit under. Format: accounts\/{account}\/adclients\/{adclient} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  AdUnit ->+  AdSenseAccountsAdclientsAdunitsCreate+newAdSenseAccountsAdclientsAdunitsCreate parent payload =+  AdSenseAccountsAdclientsAdunitsCreate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsAdunitsCreate where+  type Rs AdSenseAccountsAdclientsAdunitsCreate = AdUnit+  type+    Scopes AdSenseAccountsAdclientsAdunitsCreate =+      '[Adsense'FullControl]+  requestClient AdSenseAccountsAdclientsAdunitsCreate {..} =+    go+      parent+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsAdunitsCreateResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Adunits/Get.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Adunits.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets an ad unit from a specified account and ad client.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.adunits.get@.+module Gogol.AdSense.Accounts.Adclients.Adunits.Get+  ( -- * Resource+    AdSenseAccountsAdclientsAdunitsGetResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsAdunitsGet (..),+    newAdSenseAccountsAdclientsAdunitsGet,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.adunits.get@ method which the+-- 'AdSenseAccountsAdclientsAdunitsGet' request conforms to.+type AdSenseAccountsAdclientsAdunitsGetResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] AdUnit++-- | Gets an ad unit from a specified account and ad client.+--+-- /See:/ 'newAdSenseAccountsAdclientsAdunitsGet' smart constructor.+data AdSenseAccountsAdclientsAdunitsGet = AdSenseAccountsAdclientsAdunitsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. AdUnit to get information about. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsAdunitsGet' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsAdunitsGet ::+  -- |  Required. AdUnit to get information about. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit} See 'name'.+  Core.Text ->+  AdSenseAccountsAdclientsAdunitsGet+newAdSenseAccountsAdclientsAdunitsGet name =+  AdSenseAccountsAdclientsAdunitsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsAdunitsGet where+  type Rs AdSenseAccountsAdclientsAdunitsGet = AdUnit+  type+    Scopes AdSenseAccountsAdclientsAdunitsGet =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsAdunitsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsAdunitsGetResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Adunits/GetAdcode.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Adunits.GetAdcode+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the ad unit code for a given ad unit. For more information, see <https://support.google.com/adsense/answer/9274634 About the AdSense code> and <https://support.google.com/adsense/answer/9190028 Where to place the ad code in your HTML>.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.adunits.getAdcode@.+module Gogol.AdSense.Accounts.Adclients.Adunits.GetAdcode+  ( -- * Resource+    AdSenseAccountsAdclientsAdunitsGetAdcodeResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsAdunitsGetAdcode (..),+    newAdSenseAccountsAdclientsAdunitsGetAdcode,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.adunits.getAdcode@ method which the+-- 'AdSenseAccountsAdclientsAdunitsGetAdcode' request conforms to.+type AdSenseAccountsAdclientsAdunitsGetAdcodeResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> "adcode"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] AdUnitAdCode++-- | Gets the ad unit code for a given ad unit. For more information, see <https://support.google.com/adsense/answer/9274634 About the AdSense code> and <https://support.google.com/adsense/answer/9190028 Where to place the ad code in your HTML>.+--+-- /See:/ 'newAdSenseAccountsAdclientsAdunitsGetAdcode' smart constructor.+data AdSenseAccountsAdclientsAdunitsGetAdcode = AdSenseAccountsAdclientsAdunitsGetAdcode+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Name of the adunit for which to get the adcode. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsAdunitsGetAdcode' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsAdunitsGetAdcode ::+  -- |  Required. Name of the adunit for which to get the adcode. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit} See 'name'.+  Core.Text ->+  AdSenseAccountsAdclientsAdunitsGetAdcode+newAdSenseAccountsAdclientsAdunitsGetAdcode name =+  AdSenseAccountsAdclientsAdunitsGetAdcode+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    AdSenseAccountsAdclientsAdunitsGetAdcode+  where+  type Rs AdSenseAccountsAdclientsAdunitsGetAdcode = AdUnitAdCode+  type+    Scopes AdSenseAccountsAdclientsAdunitsGetAdcode =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsAdunitsGetAdcode {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsAdunitsGetAdcodeResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Adunits/List.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Adunits.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all ad units under a specified account and ad client.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.adunits.list@.+module Gogol.AdSense.Accounts.Adclients.Adunits.List+  ( -- * Resource+    AdSenseAccountsAdclientsAdunitsListResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsAdunitsList (..),+    newAdSenseAccountsAdclientsAdunitsList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.adunits.list@ method which the+-- 'AdSenseAccountsAdclientsAdunitsList' request conforms to.+type AdSenseAccountsAdclientsAdunitsListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "adunits"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListAdUnitsResponse++-- | Lists all ad units under a specified account and ad client.+--+-- /See:/ 'newAdSenseAccountsAdclientsAdunitsList' smart constructor.+data AdSenseAccountsAdclientsAdunitsList = AdSenseAccountsAdclientsAdunitsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of ad units to include in the response, used for paging. If unspecified, at most 10000 ad units will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListAdUnits@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListAdUnits@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The ad client which owns the collection of ad units. Format: accounts\/{account}\/adclients\/{adclient}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsAdunitsList' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsAdunitsList ::+  -- |  Required. The ad client which owns the collection of ad units. Format: accounts\/{account}\/adclients\/{adclient} See 'parent'.+  Core.Text ->+  AdSenseAccountsAdclientsAdunitsList+newAdSenseAccountsAdclientsAdunitsList parent =+  AdSenseAccountsAdclientsAdunitsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsAdunitsList where+  type Rs AdSenseAccountsAdclientsAdunitsList = ListAdUnitsResponse+  type+    Scopes AdSenseAccountsAdclientsAdunitsList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsAdunitsList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsAdunitsListResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Adunits/ListLinkedCustomChannels.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Adunits.ListLinkedCustomChannels+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the custom channels available for an ad unit.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.adunits.listLinkedCustomChannels@.+module Gogol.AdSense.Accounts.Adclients.Adunits.ListLinkedCustomChannels+  ( -- * Resource+    AdSenseAccountsAdclientsAdunitsListLinkedCustomChannelsResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels (..),+    newAdSenseAccountsAdclientsAdunitsListLinkedCustomChannels,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.adunits.listLinkedCustomChannels@ method which the+-- 'AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels' request conforms to.+type AdSenseAccountsAdclientsAdunitsListLinkedCustomChannelsResource =+  "v2"+    Core.:> Core.CaptureMode "parent" "listLinkedCustomChannels" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListLinkedCustomChannelsResponse++-- | Lists all the custom channels available for an ad unit.+--+-- /See:/ 'newAdSenseAccountsAdclientsAdunitsListLinkedCustomChannels' smart constructor.+data AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels = AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of custom channels to include in the response, used for paging. If unspecified, at most 10000 custom channels will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListLinkedCustomChannels@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListLinkedCustomChannels@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The ad unit which owns the collection of custom channels. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsAdunitsListLinkedCustomChannels ::+  -- |  Required. The ad unit which owns the collection of custom channels. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit} See 'parent'.+  Core.Text ->+  AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels+newAdSenseAccountsAdclientsAdunitsListLinkedCustomChannels parent =+  AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels+  where+  type+    Rs AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels =+      ListLinkedCustomChannelsResponse+  type+    Scopes AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient+    AdSenseAccountsAdclientsAdunitsListLinkedCustomChannels {..} =+      go+        parent+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        adSenseService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  AdSenseAccountsAdclientsAdunitsListLinkedCustomChannelsResource+            )+            Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Adunits/Patch.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Adunits.Patch+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method. For now, this method can only be used to update @DISPLAY@ ad units. See: https:\/\/support.google.com\/adsense\/answer\/9183566+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.adunits.patch@.+module Gogol.AdSense.Accounts.Adclients.Adunits.Patch+  ( -- * Resource+    AdSenseAccountsAdclientsAdunitsPatchResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsAdunitsPatch (..),+    newAdSenseAccountsAdclientsAdunitsPatch,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.adunits.patch@ method which the+-- 'AdSenseAccountsAdclientsAdunitsPatch' request conforms to.+type AdSenseAccountsAdclientsAdunitsPatchResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "updateMask" Core.FieldMask+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] AdUnit+    Core.:> Core.Patch '[Core.JSON] AdUnit++-- | Updates an ad unit. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method. For now, this method can only be used to update @DISPLAY@ ad units. See: https:\/\/support.google.com\/adsense\/answer\/9183566+--+-- /See:/ 'newAdSenseAccountsAdclientsAdunitsPatch' smart constructor.+data AdSenseAccountsAdclientsAdunitsPatch = AdSenseAccountsAdclientsAdunitsPatch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Output only. Resource name of the ad unit. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: AdUnit,+    -- | The list of fields to update. If empty, a full update is performed.+    updateMask :: (Core.Maybe Core.FieldMask),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsAdunitsPatch' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsAdunitsPatch ::+  -- |  Output only. Resource name of the ad unit. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  AdUnit ->+  AdSenseAccountsAdclientsAdunitsPatch+newAdSenseAccountsAdclientsAdunitsPatch name payload =+  AdSenseAccountsAdclientsAdunitsPatch+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      updateMask = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsAdunitsPatch where+  type Rs AdSenseAccountsAdclientsAdunitsPatch = AdUnit+  type+    Scopes AdSenseAccountsAdclientsAdunitsPatch =+      '[Adsense'FullControl]+  requestClient AdSenseAccountsAdclientsAdunitsPatch {..} =+    go+      name+      xgafv+      accessToken+      callback+      updateMask+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsAdunitsPatchResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Customchannels/Create.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Customchannels.Create+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.customchannels.create@.+module Gogol.AdSense.Accounts.Adclients.Customchannels.Create+  ( -- * Resource+    AdSenseAccountsAdclientsCustomchannelsCreateResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsCustomchannelsCreate (..),+    newAdSenseAccountsAdclientsCustomchannelsCreate,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.customchannels.create@ method which the+-- 'AdSenseAccountsAdclientsCustomchannelsCreate' request conforms to.+type AdSenseAccountsAdclientsCustomchannelsCreateResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "customchannels"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] CustomChannel+    Core.:> Core.Post '[Core.JSON] CustomChannel++-- | Creates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method.+--+-- /See:/ 'newAdSenseAccountsAdclientsCustomchannelsCreate' smart constructor.+data AdSenseAccountsAdclientsCustomchannelsCreate = AdSenseAccountsAdclientsCustomchannelsCreate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The ad client to create a custom channel under. Format: accounts\/{account}\/adclients\/{adclient}+    parent :: Core.Text,+    -- | Multipart request metadata.+    payload :: CustomChannel,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsCustomchannelsCreate' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsCustomchannelsCreate ::+  -- |  Required. The ad client to create a custom channel under. Format: accounts\/{account}\/adclients\/{adclient} See 'parent'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  CustomChannel ->+  AdSenseAccountsAdclientsCustomchannelsCreate+newAdSenseAccountsAdclientsCustomchannelsCreate parent payload =+  AdSenseAccountsAdclientsCustomchannelsCreate+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      payload = payload,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    AdSenseAccountsAdclientsCustomchannelsCreate+  where+  type+    Rs AdSenseAccountsAdclientsCustomchannelsCreate =+      CustomChannel+  type+    Scopes AdSenseAccountsAdclientsCustomchannelsCreate =+      '[Adsense'FullControl]+  requestClient AdSenseAccountsAdclientsCustomchannelsCreate {..} =+    go+      parent+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsCustomchannelsCreateResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Customchannels/Delete.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Customchannels.Delete+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a custom channel. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.customchannels.delete@.+module Gogol.AdSense.Accounts.Adclients.Customchannels.Delete+  ( -- * Resource+    AdSenseAccountsAdclientsCustomchannelsDeleteResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsCustomchannelsDelete (..),+    newAdSenseAccountsAdclientsCustomchannelsDelete,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.customchannels.delete@ method which the+-- 'AdSenseAccountsAdclientsCustomchannelsDelete' request conforms to.+type AdSenseAccountsAdclientsCustomchannelsDeleteResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Delete '[Core.JSON] Empty++-- | Deletes a custom channel. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method.+--+-- /See:/ 'newAdSenseAccountsAdclientsCustomchannelsDelete' smart constructor.+data AdSenseAccountsAdclientsCustomchannelsDelete = AdSenseAccountsAdclientsCustomchannelsDelete+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Name of the custom channel to delete. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsCustomchannelsDelete' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsCustomchannelsDelete ::+  -- |  Required. Name of the custom channel to delete. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel} See 'name'.+  Core.Text ->+  AdSenseAccountsAdclientsCustomchannelsDelete+newAdSenseAccountsAdclientsCustomchannelsDelete name =+  AdSenseAccountsAdclientsCustomchannelsDelete+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    AdSenseAccountsAdclientsCustomchannelsDelete+  where+  type Rs AdSenseAccountsAdclientsCustomchannelsDelete = Empty+  type+    Scopes AdSenseAccountsAdclientsCustomchannelsDelete =+      '[Adsense'FullControl]+  requestClient AdSenseAccountsAdclientsCustomchannelsDelete {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsCustomchannelsDeleteResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Customchannels/Get.hs view
@@ -0,0 +1,114 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Customchannels.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about the selected custom channel.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.customchannels.get@.+module Gogol.AdSense.Accounts.Adclients.Customchannels.Get+  ( -- * Resource+    AdSenseAccountsAdclientsCustomchannelsGetResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsCustomchannelsGet (..),+    newAdSenseAccountsAdclientsCustomchannelsGet,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.customchannels.get@ method which the+-- 'AdSenseAccountsAdclientsCustomchannelsGet' request conforms to.+type AdSenseAccountsAdclientsCustomchannelsGetResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] CustomChannel++-- | Gets information about the selected custom channel.+--+-- /See:/ 'newAdSenseAccountsAdclientsCustomchannelsGet' smart constructor.+data AdSenseAccountsAdclientsCustomchannelsGet = AdSenseAccountsAdclientsCustomchannelsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Name of the custom channel. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsCustomchannelsGet' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsCustomchannelsGet ::+  -- |  Required. Name of the custom channel. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel} See 'name'.+  Core.Text ->+  AdSenseAccountsAdclientsCustomchannelsGet+newAdSenseAccountsAdclientsCustomchannelsGet name =+  AdSenseAccountsAdclientsCustomchannelsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    AdSenseAccountsAdclientsCustomchannelsGet+  where+  type Rs AdSenseAccountsAdclientsCustomchannelsGet = CustomChannel+  type+    Scopes AdSenseAccountsAdclientsCustomchannelsGet =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsCustomchannelsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsCustomchannelsGetResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Customchannels/List.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Customchannels.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the custom channels available in an ad client.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.customchannels.list@.+module Gogol.AdSense.Accounts.Adclients.Customchannels.List+  ( -- * Resource+    AdSenseAccountsAdclientsCustomchannelsListResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsCustomchannelsList (..),+    newAdSenseAccountsAdclientsCustomchannelsList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.customchannels.list@ method which the+-- 'AdSenseAccountsAdclientsCustomchannelsList' request conforms to.+type AdSenseAccountsAdclientsCustomchannelsListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "customchannels"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListCustomChannelsResponse++-- | Lists all the custom channels available in an ad client.+--+-- /See:/ 'newAdSenseAccountsAdclientsCustomchannelsList' smart constructor.+data AdSenseAccountsAdclientsCustomchannelsList = AdSenseAccountsAdclientsCustomchannelsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of custom channels to include in the response, used for paging. If unspecified, at most 10000 custom channels will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListCustomChannels@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListCustomChannels@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The ad client which owns the collection of custom channels. Format: accounts\/{account}\/adclients\/{adclient}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsCustomchannelsList' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsCustomchannelsList ::+  -- |  Required. The ad client which owns the collection of custom channels. Format: accounts\/{account}\/adclients\/{adclient} See 'parent'.+  Core.Text ->+  AdSenseAccountsAdclientsCustomchannelsList+newAdSenseAccountsAdclientsCustomchannelsList parent =+  AdSenseAccountsAdclientsCustomchannelsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    AdSenseAccountsAdclientsCustomchannelsList+  where+  type+    Rs AdSenseAccountsAdclientsCustomchannelsList =+      ListCustomChannelsResponse+  type+    Scopes AdSenseAccountsAdclientsCustomchannelsList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsCustomchannelsList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsCustomchannelsListResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Customchannels/ListLinkedAdUnits.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Customchannels.ListLinkedAdUnits+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the ad units available for a custom channel.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.customchannels.listLinkedAdUnits@.+module Gogol.AdSense.Accounts.Adclients.Customchannels.ListLinkedAdUnits+  ( -- * Resource+    AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnitsResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits (..),+    newAdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.customchannels.listLinkedAdUnits@ method which the+-- 'AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits' request conforms to.+type AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnitsResource =+  "v2"+    Core.:> Core.CaptureMode "parent" "listLinkedAdUnits" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListLinkedAdUnitsResponse++-- | Lists all the ad units available for a custom channel.+--+-- /See:/ 'newAdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits' smart constructor.+data AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits = AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of ad units to include in the response, used for paging. If unspecified, at most 10000 ad units will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListLinkedAdUnits@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListLinkedAdUnits@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The custom channel which owns the collection of ad units. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits ::+  -- |  Required. The custom channel which owns the collection of ad units. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel} See 'parent'.+  Core.Text ->+  AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits+newAdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits parent =+  AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits+    { xgafv =+        Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits+  where+  type+    Rs AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits =+      ListLinkedAdUnitsResponse+  type+    Scopes AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient+    AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnits {..} =+      go+        parent+        xgafv+        accessToken+        callback+        pageSize+        pageToken+        uploadType+        uploadProtocol+        (Core.Just Core.AltJSON)+        adSenseService+      where+        go =+          Core.buildClient+            ( Core.Proxy ::+                Core.Proxy+                  AdSenseAccountsAdclientsCustomchannelsListLinkedAdUnitsResource+            )+            Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Customchannels/Patch.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Customchannels.Patch+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.customchannels.patch@.+module Gogol.AdSense.Accounts.Adclients.Customchannels.Patch+  ( -- * Resource+    AdSenseAccountsAdclientsCustomchannelsPatchResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsCustomchannelsPatch (..),+    newAdSenseAccountsAdclientsCustomchannelsPatch,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.customchannels.patch@ method which the+-- 'AdSenseAccountsAdclientsCustomchannelsPatch' request conforms to.+type AdSenseAccountsAdclientsCustomchannelsPatchResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "updateMask" Core.FieldMask+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.ReqBody '[Core.JSON] CustomChannel+    Core.:> Core.Patch '[Core.JSON] CustomChannel++-- | Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by <https://developers.google.com/adsense/platforms/ AdSense for Platforms> publishers. Contact your account manager if you need to use this method.+--+-- /See:/ 'newAdSenseAccountsAdclientsCustomchannelsPatch' smart constructor.+data AdSenseAccountsAdclientsCustomchannelsPatch = AdSenseAccountsAdclientsCustomchannelsPatch+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Output only. Resource name of the custom channel. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel}+    name :: Core.Text,+    -- | Multipart request metadata.+    payload :: CustomChannel,+    -- | The list of fields to update. If empty, a full update is performed.+    updateMask :: (Core.Maybe Core.FieldMask),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsCustomchannelsPatch' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsCustomchannelsPatch ::+  -- |  Output only. Resource name of the custom channel. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel} See 'name'.+  Core.Text ->+  -- |  Multipart request metadata. See 'payload'.+  CustomChannel ->+  AdSenseAccountsAdclientsCustomchannelsPatch+newAdSenseAccountsAdclientsCustomchannelsPatch name payload =+  AdSenseAccountsAdclientsCustomchannelsPatch+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      payload = payload,+      updateMask = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance+  Core.GoogleRequest+    AdSenseAccountsAdclientsCustomchannelsPatch+  where+  type Rs AdSenseAccountsAdclientsCustomchannelsPatch = CustomChannel+  type+    Scopes AdSenseAccountsAdclientsCustomchannelsPatch =+      '[Adsense'FullControl]+  requestClient AdSenseAccountsAdclientsCustomchannelsPatch {..} =+    go+      name+      xgafv+      accessToken+      callback+      updateMask+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      payload+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsCustomchannelsPatchResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Get.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the ad client from the given resource name.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.get@.+module Gogol.AdSense.Accounts.Adclients.Get+  ( -- * Resource+    AdSenseAccountsAdclientsGetResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsGet (..),+    newAdSenseAccountsAdclientsGet,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.get@ method which the+-- 'AdSenseAccountsAdclientsGet' request conforms to.+type AdSenseAccountsAdclientsGetResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] AdClient++-- | Gets the ad client from the given resource name.+--+-- /See:/ 'newAdSenseAccountsAdclientsGet' smart constructor.+data AdSenseAccountsAdclientsGet = AdSenseAccountsAdclientsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the ad client to retrieve. Format: accounts\/{account}\/adclients\/{adclient}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsGet' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsGet ::+  -- |  Required. The name of the ad client to retrieve. Format: accounts\/{account}\/adclients\/{adclient} See 'name'.+  Core.Text ->+  AdSenseAccountsAdclientsGet+newAdSenseAccountsAdclientsGet name =+  AdSenseAccountsAdclientsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsGet where+  type Rs AdSenseAccountsAdclientsGet = AdClient+  type+    Scopes AdSenseAccountsAdclientsGet =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsAdclientsGetResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/GetAdcode.hs view
@@ -0,0 +1,112 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.GetAdcode+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the AdSense code for a given ad client. This returns what was previously known as the \'auto ad code\'. This is only supported for ad clients with a product_code of AFC. For more information, see <https://support.google.com/adsense/answer/9274634 About the AdSense code>.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.getAdcode@.+module Gogol.AdSense.Accounts.Adclients.GetAdcode+  ( -- * Resource+    AdSenseAccountsAdclientsGetAdcodeResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsGetAdcode (..),+    newAdSenseAccountsAdclientsGetAdcode,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.getAdcode@ method which the+-- 'AdSenseAccountsAdclientsGetAdcode' request conforms to.+type AdSenseAccountsAdclientsGetAdcodeResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> "adcode"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] AdClientAdCode++-- | Gets the AdSense code for a given ad client. This returns what was previously known as the \'auto ad code\'. This is only supported for ad clients with a product_code of AFC. For more information, see <https://support.google.com/adsense/answer/9274634 About the AdSense code>.+--+-- /See:/ 'newAdSenseAccountsAdclientsGetAdcode' smart constructor.+data AdSenseAccountsAdclientsGetAdcode = AdSenseAccountsAdclientsGetAdcode+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Name of the ad client for which to get the adcode. Format: accounts\/{account}\/adclients\/{adclient}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsGetAdcode' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsGetAdcode ::+  -- |  Required. Name of the ad client for which to get the adcode. Format: accounts\/{account}\/adclients\/{adclient} See 'name'.+  Core.Text ->+  AdSenseAccountsAdclientsGetAdcode+newAdSenseAccountsAdclientsGetAdcode name =+  AdSenseAccountsAdclientsGetAdcode+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsGetAdcode where+  type Rs AdSenseAccountsAdclientsGetAdcode = AdClientAdCode+  type+    Scopes AdSenseAccountsAdclientsGetAdcode =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsGetAdcode {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsGetAdcodeResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/List.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the ad clients available in an account.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.list@.+module Gogol.AdSense.Accounts.Adclients.List+  ( -- * Resource+    AdSenseAccountsAdclientsListResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsList (..),+    newAdSenseAccountsAdclientsList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.list@ method which the+-- 'AdSenseAccountsAdclientsList' request conforms to.+type AdSenseAccountsAdclientsListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "adclients"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListAdClientsResponse++-- | Lists all the ad clients available in an account.+--+-- /See:/ 'newAdSenseAccountsAdclientsList' smart constructor.+data AdSenseAccountsAdclientsList = AdSenseAccountsAdclientsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of ad clients to include in the response, used for paging. If unspecified, at most 10000 ad clients will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListAdClients@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListAdClients@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The account which owns the collection of ad clients. Format: accounts\/{account}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsList' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsList ::+  -- |  Required. The account which owns the collection of ad clients. Format: accounts\/{account} See 'parent'.+  Core.Text ->+  AdSenseAccountsAdclientsList+newAdSenseAccountsAdclientsList parent =+  AdSenseAccountsAdclientsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsList where+  type Rs AdSenseAccountsAdclientsList = ListAdClientsResponse+  type+    Scopes AdSenseAccountsAdclientsList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsAdclientsListResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Urlchannels/Get.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Urlchannels.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about the selected url channel.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.urlchannels.get@.+module Gogol.AdSense.Accounts.Adclients.Urlchannels.Get+  ( -- * Resource+    AdSenseAccountsAdclientsUrlchannelsGetResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsUrlchannelsGet (..),+    newAdSenseAccountsAdclientsUrlchannelsGet,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.urlchannels.get@ method which the+-- 'AdSenseAccountsAdclientsUrlchannelsGet' request conforms to.+type AdSenseAccountsAdclientsUrlchannelsGetResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] UrlChannel++-- | Gets information about the selected url channel.+--+-- /See:/ 'newAdSenseAccountsAdclientsUrlchannelsGet' smart constructor.+data AdSenseAccountsAdclientsUrlchannelsGet = AdSenseAccountsAdclientsUrlchannelsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the url channel to retrieve. Format: accounts\/{account}\/adclients\/{adclient}\/urlchannels\/{urlchannel}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsUrlchannelsGet' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsUrlchannelsGet ::+  -- |  Required. The name of the url channel to retrieve. Format: accounts\/{account}\/adclients\/{adclient}\/urlchannels\/{urlchannel} See 'name'.+  Core.Text ->+  AdSenseAccountsAdclientsUrlchannelsGet+newAdSenseAccountsAdclientsUrlchannelsGet name =+  AdSenseAccountsAdclientsUrlchannelsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsUrlchannelsGet where+  type Rs AdSenseAccountsAdclientsUrlchannelsGet = UrlChannel+  type+    Scopes AdSenseAccountsAdclientsUrlchannelsGet =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsUrlchannelsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsUrlchannelsGetResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Adclients/Urlchannels/List.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Adclients.Urlchannels.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists active url channels.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.urlchannels.list@.+module Gogol.AdSense.Accounts.Adclients.Urlchannels.List+  ( -- * Resource+    AdSenseAccountsAdclientsUrlchannelsListResource,++    -- ** Constructing a Request+    AdSenseAccountsAdclientsUrlchannelsList (..),+    newAdSenseAccountsAdclientsUrlchannelsList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.adclients.urlchannels.list@ method which the+-- 'AdSenseAccountsAdclientsUrlchannelsList' request conforms to.+type AdSenseAccountsAdclientsUrlchannelsListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "urlchannels"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListUrlChannelsResponse++-- | Lists active url channels.+--+-- /See:/ 'newAdSenseAccountsAdclientsUrlchannelsList' smart constructor.+data AdSenseAccountsAdclientsUrlchannelsList = AdSenseAccountsAdclientsUrlchannelsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of url channels to include in the response, used for paging. If unspecified, at most 10000 url channels will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListUrlChannels@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListUrlChannels@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The ad client which owns the collection of url channels. Format: accounts\/{account}\/adclients\/{adclient}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAdclientsUrlchannelsList' with the minimum fields required to make a request.+newAdSenseAccountsAdclientsUrlchannelsList ::+  -- |  Required. The ad client which owns the collection of url channels. Format: accounts\/{account}\/adclients\/{adclient} See 'parent'.+  Core.Text ->+  AdSenseAccountsAdclientsUrlchannelsList+newAdSenseAccountsAdclientsUrlchannelsList parent =+  AdSenseAccountsAdclientsUrlchannelsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAdclientsUrlchannelsList where+  type+    Rs AdSenseAccountsAdclientsUrlchannelsList =+      ListUrlChannelsResponse+  type+    Scopes AdSenseAccountsAdclientsUrlchannelsList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAdclientsUrlchannelsList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsAdclientsUrlchannelsListResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Alerts/List.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Alerts.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the alerts available in an account.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.alerts.list@.+module Gogol.AdSense.Accounts.Alerts.List+  ( -- * Resource+    AdSenseAccountsAlertsListResource,++    -- ** Constructing a Request+    AdSenseAccountsAlertsList (..),+    newAdSenseAccountsAlertsList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.alerts.list@ method which the+-- 'AdSenseAccountsAlertsList' request conforms to.+type AdSenseAccountsAlertsListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "alerts"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "languageCode" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListAlertsResponse++-- | Lists all the alerts available in an account.+--+-- /See:/ 'newAdSenseAccountsAlertsList' smart constructor.+data AdSenseAccountsAlertsList = AdSenseAccountsAlertsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The language to use for translating alert messages. If unspecified, this defaults to the user\'s display language. If the given language is not supported, alerts will be returned in English. The language is specified as an <https://en.wikipedia.org/wiki/IETF_language_tag IETF BCP-47 language code>.+    languageCode :: (Core.Maybe Core.Text),+    -- | Required. The account which owns the collection of alerts. Format: accounts\/{account}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsAlertsList' with the minimum fields required to make a request.+newAdSenseAccountsAlertsList ::+  -- |  Required. The account which owns the collection of alerts. Format: accounts\/{account} See 'parent'.+  Core.Text ->+  AdSenseAccountsAlertsList+newAdSenseAccountsAlertsList parent =+  AdSenseAccountsAlertsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      languageCode = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsAlertsList where+  type Rs AdSenseAccountsAlertsList = ListAlertsResponse+  type+    Scopes AdSenseAccountsAlertsList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsAlertsList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      languageCode+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsAlertsListResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Get.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about the selected AdSense account.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.get@.+module Gogol.AdSense.Accounts.Get+  ( -- * Resource+    AdSenseAccountsGetResource,++    -- ** Constructing a Request+    AdSenseAccountsGet (..),+    newAdSenseAccountsGet,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.get@ method which the+-- 'AdSenseAccountsGet' request conforms to.+type AdSenseAccountsGetResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] Account++-- | Gets information about the selected AdSense account.+--+-- /See:/ 'newAdSenseAccountsGet' smart constructor.+data AdSenseAccountsGet = AdSenseAccountsGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Account to get information about. Format: accounts\/{account}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsGet' with the minimum fields required to make a request.+newAdSenseAccountsGet ::+  -- |  Required. Account to get information about. Format: accounts\/{account} See 'name'.+  Core.Text ->+  AdSenseAccountsGet+newAdSenseAccountsGet name =+  AdSenseAccountsGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsGet where+  type Rs AdSenseAccountsGet = Account+  type+    Scopes AdSenseAccountsGet =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsGetResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/GetAdBlockingRecoveryTag.hs view
@@ -0,0 +1,114 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.GetAdBlockingRecoveryTag+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the ad blocking recovery tag of an account.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.getAdBlockingRecoveryTag@.+module Gogol.AdSense.Accounts.GetAdBlockingRecoveryTag+  ( -- * Resource+    AdSenseAccountsGetAdBlockingRecoveryTagResource,++    -- ** Constructing a Request+    AdSenseAccountsGetAdBlockingRecoveryTag (..),+    newAdSenseAccountsGetAdBlockingRecoveryTag,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.getAdBlockingRecoveryTag@ method which the+-- 'AdSenseAccountsGetAdBlockingRecoveryTag' request conforms to.+type AdSenseAccountsGetAdBlockingRecoveryTagResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> "adBlockingRecoveryTag"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] AdBlockingRecoveryTag++-- | Gets the ad blocking recovery tag of an account.+--+-- /See:/ 'newAdSenseAccountsGetAdBlockingRecoveryTag' smart constructor.+data AdSenseAccountsGetAdBlockingRecoveryTag = AdSenseAccountsGetAdBlockingRecoveryTag+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the account to get the tag for. Format: accounts\/{account}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsGetAdBlockingRecoveryTag' with the minimum fields required to make a request.+newAdSenseAccountsGetAdBlockingRecoveryTag ::+  -- |  Required. The name of the account to get the tag for. Format: accounts\/{account} See 'name'.+  Core.Text ->+  AdSenseAccountsGetAdBlockingRecoveryTag+newAdSenseAccountsGetAdBlockingRecoveryTag name =+  AdSenseAccountsGetAdBlockingRecoveryTag+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsGetAdBlockingRecoveryTag where+  type+    Rs AdSenseAccountsGetAdBlockingRecoveryTag =+      AdBlockingRecoveryTag+  type+    Scopes AdSenseAccountsGetAdBlockingRecoveryTag =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsGetAdBlockingRecoveryTag {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsGetAdBlockingRecoveryTagResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/List.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all accounts available to this user.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.list@.+module Gogol.AdSense.Accounts.List+  ( -- * Resource+    AdSenseAccountsListResource,++    -- ** Constructing a Request+    AdSenseAccountsList (..),+    newAdSenseAccountsList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.list@ method which the+-- 'AdSenseAccountsList' request conforms to.+type AdSenseAccountsListResource =+  "v2"+    Core.:> "accounts"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListAccountsResponse++-- | Lists all accounts available to this user.+--+-- /See:/ 'newAdSenseAccountsList' smart constructor.+data AdSenseAccountsList = AdSenseAccountsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListAccounts@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListAccounts@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsList' with the minimum fields required to make a request.+newAdSenseAccountsList ::+  AdSenseAccountsList+newAdSenseAccountsList =+  AdSenseAccountsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsList where+  type Rs AdSenseAccountsList = ListAccountsResponse+  type+    Scopes AdSenseAccountsList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsList {..} =+    go+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsListResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/ListChildAccounts.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.ListChildAccounts+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all accounts directly managed by the given AdSense account.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.listChildAccounts@.+module Gogol.AdSense.Accounts.ListChildAccounts+  ( -- * Resource+    AdSenseAccountsListChildAccountsResource,++    -- ** Constructing a Request+    AdSenseAccountsListChildAccounts (..),+    newAdSenseAccountsListChildAccounts,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.listChildAccounts@ method which the+-- 'AdSenseAccountsListChildAccounts' request conforms to.+type AdSenseAccountsListChildAccountsResource =+  "v2"+    Core.:> Core.CaptureMode "parent" "listChildAccounts" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListChildAccountsResponse++-- | Lists all accounts directly managed by the given AdSense account.+--+-- /See:/ 'newAdSenseAccountsListChildAccounts' smart constructor.+data AdSenseAccountsListChildAccounts = AdSenseAccountsListChildAccounts+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListChildAccounts@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListChildAccounts@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The parent account, which owns the child accounts. Format: accounts\/{account}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsListChildAccounts' with the minimum fields required to make a request.+newAdSenseAccountsListChildAccounts ::+  -- |  Required. The parent account, which owns the child accounts. Format: accounts\/{account} See 'parent'.+  Core.Text ->+  AdSenseAccountsListChildAccounts+newAdSenseAccountsListChildAccounts parent =+  AdSenseAccountsListChildAccounts+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsListChildAccounts where+  type+    Rs AdSenseAccountsListChildAccounts =+      ListChildAccountsResponse+  type+    Scopes AdSenseAccountsListChildAccounts =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsListChildAccounts {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsListChildAccountsResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Payments/List.hs view
@@ -0,0 +1,110 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Payments.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the payments available for an account.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.payments.list@.+module Gogol.AdSense.Accounts.Payments.List+  ( -- * Resource+    AdSenseAccountsPaymentsListResource,++    -- ** Constructing a Request+    AdSenseAccountsPaymentsList (..),+    newAdSenseAccountsPaymentsList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.payments.list@ method which the+-- 'AdSenseAccountsPaymentsList' request conforms to.+type AdSenseAccountsPaymentsListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "payments"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListPaymentsResponse++-- | Lists all the payments available for an account.+--+-- /See:/ 'newAdSenseAccountsPaymentsList' smart constructor.+data AdSenseAccountsPaymentsList = AdSenseAccountsPaymentsList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The account which owns the collection of payments. Format: accounts\/{account}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsPaymentsList' with the minimum fields required to make a request.+newAdSenseAccountsPaymentsList ::+  -- |  Required. The account which owns the collection of payments. Format: accounts\/{account} See 'parent'.+  Core.Text ->+  AdSenseAccountsPaymentsList+newAdSenseAccountsPaymentsList parent =+  AdSenseAccountsPaymentsList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsPaymentsList where+  type Rs AdSenseAccountsPaymentsList = ListPaymentsResponse+  type+    Scopes AdSenseAccountsPaymentsList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsPaymentsList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsPaymentsListResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/PolicyIssues/Get.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.PolicyIssues.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about the selected policy issue.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.policyIssues.get@.+module Gogol.AdSense.Accounts.PolicyIssues.Get+  ( -- * Resource+    AdSenseAccountsPolicyIssuesGetResource,++    -- ** Constructing a Request+    AdSenseAccountsPolicyIssuesGet (..),+    newAdSenseAccountsPolicyIssuesGet,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.policyIssues.get@ method which the+-- 'AdSenseAccountsPolicyIssuesGet' request conforms to.+type AdSenseAccountsPolicyIssuesGetResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] PolicyIssue++-- | Gets information about the selected policy issue.+--+-- /See:/ 'newAdSenseAccountsPolicyIssuesGet' smart constructor.+data AdSenseAccountsPolicyIssuesGet = AdSenseAccountsPolicyIssuesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Name of the policy issue. Format: accounts\/{account}\/policyIssues\/{policy_issue}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsPolicyIssuesGet' with the minimum fields required to make a request.+newAdSenseAccountsPolicyIssuesGet ::+  -- |  Required. Name of the policy issue. Format: accounts\/{account}\/policyIssues\/{policy_issue} See 'name'.+  Core.Text ->+  AdSenseAccountsPolicyIssuesGet+newAdSenseAccountsPolicyIssuesGet name =+  AdSenseAccountsPolicyIssuesGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsPolicyIssuesGet where+  type Rs AdSenseAccountsPolicyIssuesGet = PolicyIssue+  type+    Scopes AdSenseAccountsPolicyIssuesGet =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsPolicyIssuesGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsPolicyIssuesGetResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/PolicyIssues/List.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.PolicyIssues.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the policy issues where the specified account is involved, both directly and through any AFP child accounts.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.policyIssues.list@.+module Gogol.AdSense.Accounts.PolicyIssues.List+  ( -- * Resource+    AdSenseAccountsPolicyIssuesListResource,++    -- ** Constructing a Request+    AdSenseAccountsPolicyIssuesList (..),+    newAdSenseAccountsPolicyIssuesList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.policyIssues.list@ method which the+-- 'AdSenseAccountsPolicyIssuesList' request conforms to.+type AdSenseAccountsPolicyIssuesListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "policyIssues"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListPolicyIssuesResponse++-- | Lists all the policy issues where the specified account is involved, both directly and through any AFP child accounts.+--+-- /See:/ 'newAdSenseAccountsPolicyIssuesList' smart constructor.+data AdSenseAccountsPolicyIssuesList = AdSenseAccountsPolicyIssuesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of policy issues to include in the response, used for paging. If unspecified, at most 10000 policy issues will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListPolicyIssues@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListPolicyIssues@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The account for which policy issues are being retrieved. Format: accounts\/{account}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsPolicyIssuesList' with the minimum fields required to make a request.+newAdSenseAccountsPolicyIssuesList ::+  -- |  Required. The account for which policy issues are being retrieved. Format: accounts\/{account} See 'parent'.+  Core.Text ->+  AdSenseAccountsPolicyIssuesList+newAdSenseAccountsPolicyIssuesList parent =+  AdSenseAccountsPolicyIssuesList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsPolicyIssuesList where+  type Rs AdSenseAccountsPolicyIssuesList = ListPolicyIssuesResponse+  type+    Scopes AdSenseAccountsPolicyIssuesList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsPolicyIssuesList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsPolicyIssuesListResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Reports/Generate.hs view
@@ -0,0 +1,187 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Reports.Generate+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates an ad hoc report.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.generate@.+module Gogol.AdSense.Accounts.Reports.Generate+  ( -- * Resource+    AdSenseAccountsReportsGenerateResource,++    -- ** Constructing a Request+    AdSenseAccountsReportsGenerate (..),+    newAdSenseAccountsReportsGenerate,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.reports.generate@ method which the+-- 'AdSenseAccountsReportsGenerate' request conforms to.+type AdSenseAccountsReportsGenerateResource =+  "v2"+    Core.:> Core.Capture "account" Core.Text+    Core.:> "reports:generate"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "currencyCode" Core.Text+    Core.:> Core.QueryParam "dateRange" AccountsReportsGenerateDateRange+    Core.:> Core.QueryParams "dimensions" AccountsReportsGenerateDimensions+    Core.:> Core.QueryParam "endDate.day" Core.Int32+    Core.:> Core.QueryParam "endDate.month" Core.Int32+    Core.:> Core.QueryParam "endDate.year" Core.Int32+    Core.:> Core.QueryParams "filters" Core.Text+    Core.:> Core.QueryParam "languageCode" Core.Text+    Core.:> Core.QueryParam "limit" Core.Int32+    Core.:> Core.QueryParams "metrics" AccountsReportsGenerateMetrics+    Core.:> Core.QueryParams "orderBy" Core.Text+    Core.:> Core.QueryParam+              "reportingTimeZone"+              AccountsReportsGenerateReportingTimeZone+    Core.:> Core.QueryParam "startDate.day" Core.Int32+    Core.:> Core.QueryParam "startDate.month" Core.Int32+    Core.:> Core.QueryParam "startDate.year" Core.Int32+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ReportResult++-- | Generates an ad hoc report.+--+-- /See:/ 'newAdSenseAccountsReportsGenerate' smart constructor.+data AdSenseAccountsReportsGenerate = AdSenseAccountsReportsGenerate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Required. The account which owns the collection of reports. Format: accounts\/{account}+    account :: Core.Text,+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The <https://en.wikipedia.org/wiki/ISO_4217 ISO-4217 currency code> to use when reporting on monetary metrics. Defaults to the account\'s currency if not set.+    currencyCode :: (Core.Maybe Core.Text),+    -- | Date range of the report, if unset the range will be considered CUSTOM.+    dateRange :: (Core.Maybe AccountsReportsGenerateDateRange),+    -- | Dimensions to base the report on.+    dimensions :: (Core.Maybe [AccountsReportsGenerateDimensions]),+    -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    endDateDay :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    endDateMonth :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    endDateYear :: (Core.Maybe Core.Int32),+    -- | A list of </adsense/management/reporting/filtering filters> to apply to the report. All provided filters must match in order for the data to be included in the report.+    filters :: (Core.Maybe [Core.Text]),+    -- | The language to use for translating report output. If unspecified, this defaults to English (\"en\"). If the given language is not supported, report output will be returned in English. The language is specified as an <https://en.wikipedia.org/wiki/IETF_language_tag IETF BCP-47 language code>.+    languageCode :: (Core.Maybe Core.Text),+    -- | The maximum number of rows of report data to return. Reports producing more rows than the requested limit will be truncated. If unset, this defaults to 100,000 rows for @Reports.GenerateReport@ and 1,000,000 rows for @Reports.GenerateCsvReport@, which are also the maximum values permitted here. Report truncation can be identified (for @Reports.GenerateReport@ only) by comparing the number of rows returned to the value returned in @total_matched_rows@.+    limit :: (Core.Maybe Core.Int32),+    -- | Required. Reporting metrics.+    metrics :: (Core.Maybe [AccountsReportsGenerateMetrics]),+    -- | The name of a dimension or metric to sort the resulting report on, can be prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.+    orderBy :: (Core.Maybe [Core.Text]),+    -- | Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+    reportingTimeZone :: (Core.Maybe AccountsReportsGenerateReportingTimeZone),+    -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    startDateDay :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    startDateMonth :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    startDateYear :: (Core.Maybe Core.Int32),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsReportsGenerate' with the minimum fields required to make a request.+newAdSenseAccountsReportsGenerate ::+  -- |  Required. The account which owns the collection of reports. Format: accounts\/{account} See 'account'.+  Core.Text ->+  AdSenseAccountsReportsGenerate+newAdSenseAccountsReportsGenerate account =+  AdSenseAccountsReportsGenerate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      account = account,+      callback = Core.Nothing,+      currencyCode = Core.Nothing,+      dateRange = Core.Nothing,+      dimensions = Core.Nothing,+      endDateDay = Core.Nothing,+      endDateMonth = Core.Nothing,+      endDateYear = Core.Nothing,+      filters = Core.Nothing,+      languageCode = Core.Nothing,+      limit = Core.Nothing,+      metrics = Core.Nothing,+      orderBy = Core.Nothing,+      reportingTimeZone = Core.Nothing,+      startDateDay = Core.Nothing,+      startDateMonth = Core.Nothing,+      startDateYear = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsReportsGenerate where+  type Rs AdSenseAccountsReportsGenerate = ReportResult+  type+    Scopes AdSenseAccountsReportsGenerate =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsReportsGenerate {..} =+    go+      account+      xgafv+      accessToken+      callback+      currencyCode+      dateRange+      (dimensions Core.^. Core._Default)+      endDateDay+      endDateMonth+      endDateYear+      (filters Core.^. Core._Default)+      languageCode+      limit+      (metrics Core.^. Core._Default)+      (orderBy Core.^. Core._Default)+      reportingTimeZone+      startDateDay+      startDateMonth+      startDateYear+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsReportsGenerateResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Reports/GenerateCsv.hs view
@@ -0,0 +1,189 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Reports.GenerateCsv+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates a csv formatted ad hoc report.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.generateCsv@.+module Gogol.AdSense.Accounts.Reports.GenerateCsv+  ( -- * Resource+    AdSenseAccountsReportsGenerateCsvResource,++    -- ** Constructing a Request+    AdSenseAccountsReportsGenerateCsv (..),+    newAdSenseAccountsReportsGenerateCsv,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.reports.generateCsv@ method which the+-- 'AdSenseAccountsReportsGenerateCsv' request conforms to.+type AdSenseAccountsReportsGenerateCsvResource =+  "v2"+    Core.:> Core.Capture "account" Core.Text+    Core.:> "reports:generateCsv"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "currencyCode" Core.Text+    Core.:> Core.QueryParam "dateRange" AccountsReportsGenerateCsvDateRange+    Core.:> Core.QueryParams "dimensions" AccountsReportsGenerateCsvDimensions+    Core.:> Core.QueryParam "endDate.day" Core.Int32+    Core.:> Core.QueryParam "endDate.month" Core.Int32+    Core.:> Core.QueryParam "endDate.year" Core.Int32+    Core.:> Core.QueryParams "filters" Core.Text+    Core.:> Core.QueryParam "languageCode" Core.Text+    Core.:> Core.QueryParam "limit" Core.Int32+    Core.:> Core.QueryParams "metrics" AccountsReportsGenerateCsvMetrics+    Core.:> Core.QueryParams "orderBy" Core.Text+    Core.:> Core.QueryParam+              "reportingTimeZone"+              AccountsReportsGenerateCsvReportingTimeZone+    Core.:> Core.QueryParam "startDate.day" Core.Int32+    Core.:> Core.QueryParam "startDate.month" Core.Int32+    Core.:> Core.QueryParam "startDate.year" Core.Int32+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] HttpBody++-- | Generates a csv formatted ad hoc report.+--+-- /See:/ 'newAdSenseAccountsReportsGenerateCsv' smart constructor.+data AdSenseAccountsReportsGenerateCsv = AdSenseAccountsReportsGenerateCsv+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | Required. The account which owns the collection of reports. Format: accounts\/{account}+    account :: Core.Text,+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The <https://en.wikipedia.org/wiki/ISO_4217 ISO-4217 currency code> to use when reporting on monetary metrics. Defaults to the account\'s currency if not set.+    currencyCode :: (Core.Maybe Core.Text),+    -- | Date range of the report, if unset the range will be considered CUSTOM.+    dateRange :: (Core.Maybe AccountsReportsGenerateCsvDateRange),+    -- | Dimensions to base the report on.+    dimensions :: (Core.Maybe [AccountsReportsGenerateCsvDimensions]),+    -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    endDateDay :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    endDateMonth :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    endDateYear :: (Core.Maybe Core.Int32),+    -- | A list of </adsense/management/reporting/filtering filters> to apply to the report. All provided filters must match in order for the data to be included in the report.+    filters :: (Core.Maybe [Core.Text]),+    -- | The language to use for translating report output. If unspecified, this defaults to English (\"en\"). If the given language is not supported, report output will be returned in English. The language is specified as an <https://en.wikipedia.org/wiki/IETF_language_tag IETF BCP-47 language code>.+    languageCode :: (Core.Maybe Core.Text),+    -- | The maximum number of rows of report data to return. Reports producing more rows than the requested limit will be truncated. If unset, this defaults to 100,000 rows for @Reports.GenerateReport@ and 1,000,000 rows for @Reports.GenerateCsvReport@, which are also the maximum values permitted here. Report truncation can be identified (for @Reports.GenerateReport@ only) by comparing the number of rows returned to the value returned in @total_matched_rows@.+    limit :: (Core.Maybe Core.Int32),+    -- | Required. Reporting metrics.+    metrics :: (Core.Maybe [AccountsReportsGenerateCsvMetrics]),+    -- | The name of a dimension or metric to sort the resulting report on, can be prefixed with \"+\" to sort ascending or \"-\" to sort descending. If no prefix is specified, the column is sorted ascending.+    orderBy :: (Core.Maybe [Core.Text]),+    -- | Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+    reportingTimeZone :: (Core.Maybe AccountsReportsGenerateCsvReportingTimeZone),+    -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    startDateDay :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    startDateMonth :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    startDateYear :: (Core.Maybe Core.Int32),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsReportsGenerateCsv' with the minimum fields required to make a request.+newAdSenseAccountsReportsGenerateCsv ::+  -- |  Required. The account which owns the collection of reports. Format: accounts\/{account} See 'account'.+  Core.Text ->+  AdSenseAccountsReportsGenerateCsv+newAdSenseAccountsReportsGenerateCsv account =+  AdSenseAccountsReportsGenerateCsv+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      account = account,+      callback = Core.Nothing,+      currencyCode = Core.Nothing,+      dateRange = Core.Nothing,+      dimensions = Core.Nothing,+      endDateDay = Core.Nothing,+      endDateMonth = Core.Nothing,+      endDateYear = Core.Nothing,+      filters = Core.Nothing,+      languageCode = Core.Nothing,+      limit = Core.Nothing,+      metrics = Core.Nothing,+      orderBy = Core.Nothing,+      reportingTimeZone = Core.Nothing,+      startDateDay = Core.Nothing,+      startDateMonth = Core.Nothing,+      startDateYear = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsReportsGenerateCsv where+  type Rs AdSenseAccountsReportsGenerateCsv = HttpBody+  type+    Scopes AdSenseAccountsReportsGenerateCsv =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsReportsGenerateCsv {..} =+    go+      account+      xgafv+      accessToken+      callback+      currencyCode+      dateRange+      (dimensions Core.^. Core._Default)+      endDateDay+      endDateMonth+      endDateYear+      (filters Core.^. Core._Default)+      languageCode+      limit+      (metrics Core.^. Core._Default)+      (orderBy Core.^. Core._Default)+      reportingTimeZone+      startDateDay+      startDateMonth+      startDateYear+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsReportsGenerateCsvResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Reports/GetSaved.hs view
@@ -0,0 +1,110 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Reports.GetSaved+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the saved report from the given resource name.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.getSaved@.+module Gogol.AdSense.Accounts.Reports.GetSaved+  ( -- * Resource+    AdSenseAccountsReportsGetSavedResource,++    -- ** Constructing a Request+    AdSenseAccountsReportsGetSaved (..),+    newAdSenseAccountsReportsGetSaved,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.reports.getSaved@ method which the+-- 'AdSenseAccountsReportsGetSaved' request conforms to.+type AdSenseAccountsReportsGetSavedResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> "saved"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] SavedReport++-- | Gets the saved report from the given resource name.+--+-- /See:/ 'newAdSenseAccountsReportsGetSaved' smart constructor.+data AdSenseAccountsReportsGetSaved = AdSenseAccountsReportsGetSaved+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. The name of the saved report to retrieve. Format: accounts\/{account}\/reports\/{report}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsReportsGetSaved' with the minimum fields required to make a request.+newAdSenseAccountsReportsGetSaved ::+  -- |  Required. The name of the saved report to retrieve. Format: accounts\/{account}\/reports\/{report} See 'name'.+  Core.Text ->+  AdSenseAccountsReportsGetSaved+newAdSenseAccountsReportsGetSaved name =+  AdSenseAccountsReportsGetSaved+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsReportsGetSaved where+  type Rs AdSenseAccountsReportsGetSaved = SavedReport+  type+    Scopes AdSenseAccountsReportsGetSaved =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsReportsGetSaved {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsReportsGetSavedResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Reports/Saved/Generate.hs view
@@ -0,0 +1,164 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Reports.Saved.Generate+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates a saved report.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.saved.generate@.+module Gogol.AdSense.Accounts.Reports.Saved.Generate+  ( -- * Resource+    AdSenseAccountsReportsSavedGenerateResource,++    -- ** Constructing a Request+    AdSenseAccountsReportsSavedGenerate (..),+    newAdSenseAccountsReportsSavedGenerate,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.reports.saved.generate@ method which the+-- 'AdSenseAccountsReportsSavedGenerate' request conforms to.+type AdSenseAccountsReportsSavedGenerateResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> "saved:generate"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "currencyCode" Core.Text+    Core.:> Core.QueryParam "dateRange" AccountsReportsSavedGenerateDateRange+    Core.:> Core.QueryParam "endDate.day" Core.Int32+    Core.:> Core.QueryParam "endDate.month" Core.Int32+    Core.:> Core.QueryParam "endDate.year" Core.Int32+    Core.:> Core.QueryParam "languageCode" Core.Text+    Core.:> Core.QueryParam+              "reportingTimeZone"+              AccountsReportsSavedGenerateReportingTimeZone+    Core.:> Core.QueryParam "startDate.day" Core.Int32+    Core.:> Core.QueryParam "startDate.month" Core.Int32+    Core.:> Core.QueryParam "startDate.year" Core.Int32+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ReportResult++-- | Generates a saved report.+--+-- /See:/ 'newAdSenseAccountsReportsSavedGenerate' smart constructor.+data AdSenseAccountsReportsSavedGenerate = AdSenseAccountsReportsSavedGenerate+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The <https://en.wikipedia.org/wiki/ISO_4217 ISO-4217 currency code> to use when reporting on monetary metrics. Defaults to the account\'s currency if not set.+    currencyCode :: (Core.Maybe Core.Text),+    -- | Date range of the report, if unset the range will be considered CUSTOM.+    dateRange :: (Core.Maybe AccountsReportsSavedGenerateDateRange),+    -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    endDateDay :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    endDateMonth :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    endDateYear :: (Core.Maybe Core.Int32),+    -- | The language to use for translating report output. If unspecified, this defaults to English (\"en\"). If the given language is not supported, report output will be returned in English. The language is specified as an <https://en.wikipedia.org/wiki/IETF_language_tag IETF BCP-47 language code>.+    languageCode :: (Core.Maybe Core.Text),+    -- | Required. Name of the saved report. Format: accounts\/{account}\/reports\/{report}+    name :: Core.Text,+    -- | Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+    reportingTimeZone :: (Core.Maybe AccountsReportsSavedGenerateReportingTimeZone),+    -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    startDateDay :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    startDateMonth :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    startDateYear :: (Core.Maybe Core.Int32),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsReportsSavedGenerate' with the minimum fields required to make a request.+newAdSenseAccountsReportsSavedGenerate ::+  -- |  Required. Name of the saved report. Format: accounts\/{account}\/reports\/{report} See 'name'.+  Core.Text ->+  AdSenseAccountsReportsSavedGenerate+newAdSenseAccountsReportsSavedGenerate name =+  AdSenseAccountsReportsSavedGenerate+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      currencyCode = Core.Nothing,+      dateRange = Core.Nothing,+      endDateDay = Core.Nothing,+      endDateMonth = Core.Nothing,+      endDateYear = Core.Nothing,+      languageCode = Core.Nothing,+      name = name,+      reportingTimeZone = Core.Nothing,+      startDateDay = Core.Nothing,+      startDateMonth = Core.Nothing,+      startDateYear = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsReportsSavedGenerate where+  type Rs AdSenseAccountsReportsSavedGenerate = ReportResult+  type+    Scopes AdSenseAccountsReportsSavedGenerate =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsReportsSavedGenerate {..} =+    go+      name+      xgafv+      accessToken+      callback+      currencyCode+      dateRange+      endDateDay+      endDateMonth+      endDateYear+      languageCode+      reportingTimeZone+      startDateDay+      startDateMonth+      startDateYear+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsReportsSavedGenerateResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Reports/Saved/GenerateCsv.hs view
@@ -0,0 +1,166 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Reports.Saved.GenerateCsv+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Generates a csv formatted saved report.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.saved.generateCsv@.+module Gogol.AdSense.Accounts.Reports.Saved.GenerateCsv+  ( -- * Resource+    AdSenseAccountsReportsSavedGenerateCsvResource,++    -- ** Constructing a Request+    AdSenseAccountsReportsSavedGenerateCsv (..),+    newAdSenseAccountsReportsSavedGenerateCsv,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.reports.saved.generateCsv@ method which the+-- 'AdSenseAccountsReportsSavedGenerateCsv' request conforms to.+type AdSenseAccountsReportsSavedGenerateCsvResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> "saved:generateCsv"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "currencyCode" Core.Text+    Core.:> Core.QueryParam+              "dateRange"+              AccountsReportsSavedGenerateCsvDateRange+    Core.:> Core.QueryParam "endDate.day" Core.Int32+    Core.:> Core.QueryParam "endDate.month" Core.Int32+    Core.:> Core.QueryParam "endDate.year" Core.Int32+    Core.:> Core.QueryParam "languageCode" Core.Text+    Core.:> Core.QueryParam+              "reportingTimeZone"+              AccountsReportsSavedGenerateCsvReportingTimeZone+    Core.:> Core.QueryParam "startDate.day" Core.Int32+    Core.:> Core.QueryParam "startDate.month" Core.Int32+    Core.:> Core.QueryParam "startDate.year" Core.Int32+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] HttpBody++-- | Generates a csv formatted saved report.+--+-- /See:/ 'newAdSenseAccountsReportsSavedGenerateCsv' smart constructor.+data AdSenseAccountsReportsSavedGenerateCsv = AdSenseAccountsReportsSavedGenerateCsv+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The <https://en.wikipedia.org/wiki/ISO_4217 ISO-4217 currency code> to use when reporting on monetary metrics. Defaults to the account\'s currency if not set.+    currencyCode :: (Core.Maybe Core.Text),+    -- | Date range of the report, if unset the range will be considered CUSTOM.+    dateRange :: (Core.Maybe AccountsReportsSavedGenerateCsvDateRange),+    -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    endDateDay :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    endDateMonth :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    endDateYear :: (Core.Maybe Core.Int32),+    -- | The language to use for translating report output. If unspecified, this defaults to English (\"en\"). If the given language is not supported, report output will be returned in English. The language is specified as an <https://en.wikipedia.org/wiki/IETF_language_tag IETF BCP-47 language code>.+    languageCode :: (Core.Maybe Core.Text),+    -- | Required. Name of the saved report. Format: accounts\/{account}\/reports\/{report}+    name :: Core.Text,+    -- | Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+    reportingTimeZone :: (Core.Maybe AccountsReportsSavedGenerateCsvReportingTimeZone),+    -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    startDateDay :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    startDateMonth :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    startDateYear :: (Core.Maybe Core.Int32),+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsReportsSavedGenerateCsv' with the minimum fields required to make a request.+newAdSenseAccountsReportsSavedGenerateCsv ::+  -- |  Required. Name of the saved report. Format: accounts\/{account}\/reports\/{report} See 'name'.+  Core.Text ->+  AdSenseAccountsReportsSavedGenerateCsv+newAdSenseAccountsReportsSavedGenerateCsv name =+  AdSenseAccountsReportsSavedGenerateCsv+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      currencyCode = Core.Nothing,+      dateRange = Core.Nothing,+      endDateDay = Core.Nothing,+      endDateMonth = Core.Nothing,+      endDateYear = Core.Nothing,+      languageCode = Core.Nothing,+      name = name,+      reportingTimeZone = Core.Nothing,+      startDateDay = Core.Nothing,+      startDateMonth = Core.Nothing,+      startDateYear = Core.Nothing,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsReportsSavedGenerateCsv where+  type Rs AdSenseAccountsReportsSavedGenerateCsv = HttpBody+  type+    Scopes AdSenseAccountsReportsSavedGenerateCsv =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsReportsSavedGenerateCsv {..} =+    go+      name+      xgafv+      accessToken+      callback+      currencyCode+      dateRange+      endDateDay+      endDateMonth+      endDateYear+      languageCode+      reportingTimeZone+      startDateDay+      startDateMonth+      startDateYear+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          ( Core.Proxy ::+              Core.Proxy AdSenseAccountsReportsSavedGenerateCsvResource+          )+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Reports/Saved/List.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Reports.Saved.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists saved reports.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.saved.list@.+module Gogol.AdSense.Accounts.Reports.Saved.List+  ( -- * Resource+    AdSenseAccountsReportsSavedListResource,++    -- ** Constructing a Request+    AdSenseAccountsReportsSavedList (..),+    newAdSenseAccountsReportsSavedList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.reports.saved.list@ method which the+-- 'AdSenseAccountsReportsSavedList' request conforms to.+type AdSenseAccountsReportsSavedListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "reports"+    Core.:> "saved"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListSavedReportsResponse++-- | Lists saved reports.+--+-- /See:/ 'newAdSenseAccountsReportsSavedList' smart constructor.+data AdSenseAccountsReportsSavedList = AdSenseAccountsReportsSavedList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of reports to include in the response, used for paging. If unspecified, at most 10000 reports will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListSavedReports@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListSavedReports@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The account which owns the collection of reports. Format: accounts\/{account}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsReportsSavedList' with the minimum fields required to make a request.+newAdSenseAccountsReportsSavedList ::+  -- |  Required. The account which owns the collection of reports. Format: accounts\/{account} See 'parent'.+  Core.Text ->+  AdSenseAccountsReportsSavedList+newAdSenseAccountsReportsSavedList parent =+  AdSenseAccountsReportsSavedList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsReportsSavedList where+  type Rs AdSenseAccountsReportsSavedList = ListSavedReportsResponse+  type+    Scopes AdSenseAccountsReportsSavedList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsReportsSavedList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsReportsSavedListResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Sites/Get.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Sites.Get+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets information about the selected site.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.sites.get@.+module Gogol.AdSense.Accounts.Sites.Get+  ( -- * Resource+    AdSenseAccountsSitesGetResource,++    -- ** Constructing a Request+    AdSenseAccountsSitesGet (..),+    newAdSenseAccountsSitesGet,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.sites.get@ method which the+-- 'AdSenseAccountsSitesGet' request conforms to.+type AdSenseAccountsSitesGetResource =+  "v2"+    Core.:> Core.Capture "name" Core.Text+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] Site++-- | Gets information about the selected site.+--+-- /See:/ 'newAdSenseAccountsSitesGet' smart constructor.+data AdSenseAccountsSitesGet = AdSenseAccountsSitesGet+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | Required. Name of the site. Format: accounts\/{account}\/sites\/{site}+    name :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsSitesGet' with the minimum fields required to make a request.+newAdSenseAccountsSitesGet ::+  -- |  Required. Name of the site. Format: accounts\/{account}\/sites\/{site} See 'name'.+  Core.Text ->+  AdSenseAccountsSitesGet+newAdSenseAccountsSitesGet name =+  AdSenseAccountsSitesGet+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      name = name,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsSitesGet where+  type Rs AdSenseAccountsSitesGet = Site+  type+    Scopes AdSenseAccountsSitesGet =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsSitesGet {..} =+    go+      name+      xgafv+      accessToken+      callback+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsSitesGetResource)+          Core.mempty
+ gen/Gogol/AdSense/Accounts/Sites/List.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Accounts.Sites.List+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all the sites available in an account.+--+-- /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.sites.list@.+module Gogol.AdSense.Accounts.Sites.List+  ( -- * Resource+    AdSenseAccountsSitesListResource,++    -- ** Constructing a Request+    AdSenseAccountsSitesList (..),+    newAdSenseAccountsSitesList,+  )+where++import Gogol.AdSense.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @adsense.accounts.sites.list@ method which the+-- 'AdSenseAccountsSitesList' request conforms to.+type AdSenseAccountsSitesListResource =+  "v2"+    Core.:> Core.Capture "parent" Core.Text+    Core.:> "sites"+    Core.:> Core.QueryParam "$.xgafv" Xgafv+    Core.:> Core.QueryParam "access_token" Core.Text+    Core.:> Core.QueryParam "callback" Core.Text+    Core.:> Core.QueryParam "pageSize" Core.Int32+    Core.:> Core.QueryParam "pageToken" Core.Text+    Core.:> Core.QueryParam "uploadType" Core.Text+    Core.:> Core.QueryParam "upload_protocol" Core.Text+    Core.:> Core.QueryParam "alt" Core.AltJSON+    Core.:> Core.Get '[Core.JSON] ListSitesResponse++-- | Lists all the sites available in an account.+--+-- /See:/ 'newAdSenseAccountsSitesList' smart constructor.+data AdSenseAccountsSitesList = AdSenseAccountsSitesList+  { -- | V1 error format.+    xgafv :: (Core.Maybe Xgafv),+    -- | OAuth access token.+    accessToken :: (Core.Maybe Core.Text),+    -- | JSONP+    callback :: (Core.Maybe Core.Text),+    -- | The maximum number of sites to include in the response, used for paging. If unspecified, at most 10000 sites will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.+    pageSize :: (Core.Maybe Core.Int32),+    -- | A page token, received from a previous @ListSites@ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to @ListSites@ must match the call that provided the page token.+    pageToken :: (Core.Maybe Core.Text),+    -- | Required. The account which owns the collection of sites. Format: accounts\/{account}+    parent :: Core.Text,+    -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+    uploadType :: (Core.Maybe Core.Text),+    -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+    uploadProtocol :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdSenseAccountsSitesList' with the minimum fields required to make a request.+newAdSenseAccountsSitesList ::+  -- |  Required. The account which owns the collection of sites. Format: accounts\/{account} See 'parent'.+  Core.Text ->+  AdSenseAccountsSitesList+newAdSenseAccountsSitesList parent =+  AdSenseAccountsSitesList+    { xgafv = Core.Nothing,+      accessToken = Core.Nothing,+      callback = Core.Nothing,+      pageSize = Core.Nothing,+      pageToken = Core.Nothing,+      parent = parent,+      uploadType = Core.Nothing,+      uploadProtocol = Core.Nothing+    }++instance Core.GoogleRequest AdSenseAccountsSitesList where+  type Rs AdSenseAccountsSitesList = ListSitesResponse+  type+    Scopes AdSenseAccountsSitesList =+      '[Adsense'FullControl, Adsense'Readonly]+  requestClient AdSenseAccountsSitesList {..} =+    go+      parent+      xgafv+      accessToken+      callback+      pageSize+      pageToken+      uploadType+      uploadProtocol+      (Core.Just Core.AltJSON)+      adSenseService+    where+      go =+        Core.buildClient+          (Core.Proxy :: Core.Proxy AdSenseAccountsSitesListResource)+          Core.mempty
+ gen/Gogol/AdSense/Internal/Product.hs view
@@ -0,0 +1,1699 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Internal.Product+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.AdSense.Internal.Product+  ( -- * Account+    Account (..),+    newAccount,++    -- * AdBlockingRecoveryTag+    AdBlockingRecoveryTag (..),+    newAdBlockingRecoveryTag,++    -- * AdClient+    AdClient (..),+    newAdClient,++    -- * AdClientAdCode+    AdClientAdCode (..),+    newAdClientAdCode,++    -- * AdUnit+    AdUnit (..),+    newAdUnit,++    -- * AdUnitAdCode+    AdUnitAdCode (..),+    newAdUnitAdCode,++    -- * Alert+    Alert (..),+    newAlert,++    -- * Cell+    Cell (..),+    newCell,++    -- * ContentAdsSettings+    ContentAdsSettings (..),+    newContentAdsSettings,++    -- * CustomChannel+    CustomChannel (..),+    newCustomChannel,++    -- * Date+    Date (..),+    newDate,++    -- * Empty+    Empty (..),+    newEmpty,++    -- * Header+    Header (..),+    newHeader,++    -- * HttpBody+    HttpBody (..),+    newHttpBody,++    -- * HttpBody_ExtensionsItem+    HttpBody_ExtensionsItem (..),+    newHttpBody_ExtensionsItem,++    -- * ListAccountsResponse+    ListAccountsResponse (..),+    newListAccountsResponse,++    -- * ListAdClientsResponse+    ListAdClientsResponse (..),+    newListAdClientsResponse,++    -- * ListAdUnitsResponse+    ListAdUnitsResponse (..),+    newListAdUnitsResponse,++    -- * ListAlertsResponse+    ListAlertsResponse (..),+    newListAlertsResponse,++    -- * ListChildAccountsResponse+    ListChildAccountsResponse (..),+    newListChildAccountsResponse,++    -- * ListCustomChannelsResponse+    ListCustomChannelsResponse (..),+    newListCustomChannelsResponse,++    -- * ListLinkedAdUnitsResponse+    ListLinkedAdUnitsResponse (..),+    newListLinkedAdUnitsResponse,++    -- * ListLinkedCustomChannelsResponse+    ListLinkedCustomChannelsResponse (..),+    newListLinkedCustomChannelsResponse,++    -- * ListPaymentsResponse+    ListPaymentsResponse (..),+    newListPaymentsResponse,++    -- * ListPolicyIssuesResponse+    ListPolicyIssuesResponse (..),+    newListPolicyIssuesResponse,++    -- * ListSavedReportsResponse+    ListSavedReportsResponse (..),+    newListSavedReportsResponse,++    -- * ListSitesResponse+    ListSitesResponse (..),+    newListSitesResponse,++    -- * ListUrlChannelsResponse+    ListUrlChannelsResponse (..),+    newListUrlChannelsResponse,++    -- * Payment+    Payment (..),+    newPayment,++    -- * PolicyIssue+    PolicyIssue (..),+    newPolicyIssue,++    -- * PolicyTopic+    PolicyTopic (..),+    newPolicyTopic,++    -- * ReportResult+    ReportResult (..),+    newReportResult,++    -- * Row+    Row (..),+    newRow,++    -- * SavedReport+    SavedReport (..),+    newSavedReport,++    -- * Site+    Site (..),+    newSite,++    -- * TimeZone+    TimeZone (..),+    newTimeZone,++    -- * UrlChannel+    UrlChannel (..),+    newUrlChannel,+  )+where++import Gogol.AdSense.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Representation of an account.+--+-- /See:/ 'newAccount' smart constructor.+data Account = Account+  { -- | Output only. Creation time of the account.+    createTime :: (Core.Maybe Core.DateTime),+    -- | Output only. Display name of this account.+    displayName :: (Core.Maybe Core.Text),+    -- | Output only. Resource name of the account. Format: accounts\/pub-[0-9]++    name :: (Core.Maybe Core.Text),+    -- | Output only. Outstanding tasks that need to be completed as part of the sign-up process for a new account. e.g. \"billing-profile-creation\", \"phone-pin-verification\".+    pendingTasks :: (Core.Maybe [Core.Text]),+    -- | Output only. Whether this account is premium.+    premium :: (Core.Maybe Core.Bool),+    -- | Output only. State of the account.+    state :: (Core.Maybe Account_State),+    -- | The account time zone, as used by reporting. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+    timeZone :: (Core.Maybe TimeZone)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Account' with the minimum fields required to make a request.+newAccount ::+  Account+newAccount =+  Account+    { createTime = Core.Nothing,+      displayName = Core.Nothing,+      name = Core.Nothing,+      pendingTasks = Core.Nothing,+      premium = Core.Nothing,+      state = Core.Nothing,+      timeZone = Core.Nothing+    }++instance Core.FromJSON Account where+  parseJSON =+    Core.withObject+      "Account"+      ( \o ->+          Account+            Core.<$> (o Core..:? "createTime")+            Core.<*> (o Core..:? "displayName")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "pendingTasks")+            Core.<*> (o Core..:? "premium")+            Core.<*> (o Core..:? "state")+            Core.<*> (o Core..:? "timeZone")+      )++instance Core.ToJSON Account where+  toJSON Account {..} =+    Core.object+      ( Core.catMaybes+          [ ("createTime" Core..=) Core.<$> createTime,+            ("displayName" Core..=) Core.<$> displayName,+            ("name" Core..=) Core.<$> name,+            ("pendingTasks" Core..=) Core.<$> pendingTasks,+            ("premium" Core..=) Core.<$> premium,+            ("state" Core..=) Core.<$> state,+            ("timeZone" Core..=) Core.<$> timeZone+          ]+      )++-- | Representation of an ad blocking recovery tag. See https:\/\/support.google.com\/adsense\/answer\/11575177.+--+-- /See:/ 'newAdBlockingRecoveryTag' smart constructor.+data AdBlockingRecoveryTag = AdBlockingRecoveryTag+  { -- | Error protection code that can be used in conjunction with the tag. It\'ll display a message to users if an <https://support.google.com/adsense/answer/11575480 ad blocking extension blocks their access to your site>.+    errorProtectionCode :: (Core.Maybe Core.Text),+    -- | The ad blocking recovery tag. Note that the message generated by the tag can be blocked by an ad blocking extension. If this is not your desired outcome, then you\'ll need to use it in conjunction with the error protection code.+    tag :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdBlockingRecoveryTag' with the minimum fields required to make a request.+newAdBlockingRecoveryTag ::+  AdBlockingRecoveryTag+newAdBlockingRecoveryTag =+  AdBlockingRecoveryTag+    { errorProtectionCode = Core.Nothing,+      tag = Core.Nothing+    }++instance Core.FromJSON AdBlockingRecoveryTag where+  parseJSON =+    Core.withObject+      "AdBlockingRecoveryTag"+      ( \o ->+          AdBlockingRecoveryTag+            Core.<$> (o Core..:? "errorProtectionCode")+            Core.<*> (o Core..:? "tag")+      )++instance Core.ToJSON AdBlockingRecoveryTag where+  toJSON AdBlockingRecoveryTag {..} =+    Core.object+      ( Core.catMaybes+          [ ("errorProtectionCode" Core..=) Core.<$> errorProtectionCode,+            ("tag" Core..=) Core.<$> tag+          ]+      )++-- | Representation of an ad client. An ad client represents a user\'s subscription with a specific AdSense product.+--+-- /See:/ 'newAdClient' smart constructor.+data AdClient = AdClient+  { -- | Output only. Resource name of the ad client. Format: accounts\/{account}\/adclients\/{adclient}+    name :: (Core.Maybe Core.Text),+    -- | Output only. Reporting product code of the ad client. For example, \"AFC\" for AdSense for Content. Corresponds to the @PRODUCT_CODE@ dimension, and present only if the ad client supports reporting.+    productCode :: (Core.Maybe Core.Text),+    -- | Output only. Unique ID of the ad client as used in the @AD_CLIENT_ID@ reporting dimension. Present only if the ad client supports reporting.+    reportingDimensionId :: (Core.Maybe Core.Text),+    -- | Output only. State of the ad client.+    state :: (Core.Maybe AdClient_State)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdClient' with the minimum fields required to make a request.+newAdClient ::+  AdClient+newAdClient =+  AdClient+    { name = Core.Nothing,+      productCode = Core.Nothing,+      reportingDimensionId = Core.Nothing,+      state = Core.Nothing+    }++instance Core.FromJSON AdClient where+  parseJSON =+    Core.withObject+      "AdClient"+      ( \o ->+          AdClient+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "productCode")+            Core.<*> (o Core..:? "reportingDimensionId")+            Core.<*> (o Core..:? "state")+      )++instance Core.ToJSON AdClient where+  toJSON AdClient {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("productCode" Core..=) Core.<$> productCode,+            ("reportingDimensionId" Core..=) Core.<$> reportingDimensionId,+            ("state" Core..=) Core.<$> state+          ]+      )++-- | Representation of the AdSense code for a given ad client. For more information, see <https://support.google.com/adsense/answer/9274634 About the AdSense code>.+--+-- /See:/ 'newAdClientAdCode' smart constructor.+data AdClientAdCode = AdClientAdCode+  { -- | Output only. The AdSense code snippet to add to the head of an HTML page.+    adCode :: (Core.Maybe Core.Text),+    -- | Output only. The AdSense code snippet to add to the body of an AMP page.+    ampBody :: (Core.Maybe Core.Text),+    -- | Output only. The AdSense code snippet to add to the head of an AMP page.+    ampHead :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdClientAdCode' with the minimum fields required to make a request.+newAdClientAdCode ::+  AdClientAdCode+newAdClientAdCode =+  AdClientAdCode+    { adCode = Core.Nothing,+      ampBody = Core.Nothing,+      ampHead = Core.Nothing+    }++instance Core.FromJSON AdClientAdCode where+  parseJSON =+    Core.withObject+      "AdClientAdCode"+      ( \o ->+          AdClientAdCode+            Core.<$> (o Core..:? "adCode")+            Core.<*> (o Core..:? "ampBody")+            Core.<*> (o Core..:? "ampHead")+      )++instance Core.ToJSON AdClientAdCode where+  toJSON AdClientAdCode {..} =+    Core.object+      ( Core.catMaybes+          [ ("adCode" Core..=) Core.<$> adCode,+            ("ampBody" Core..=) Core.<$> ampBody,+            ("ampHead" Core..=) Core.<$> ampHead+          ]+      )++-- | Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.+--+-- /See:/ 'newAdUnit' smart constructor.+data AdUnit = AdUnit+  { -- | Required. Settings specific to content ads (AFC).+    contentAdsSettings :: (Core.Maybe ContentAdsSettings),+    -- | Required. Display name of the ad unit, as provided when the ad unit was created.+    displayName :: (Core.Maybe Core.Text),+    -- | Output only. Resource name of the ad unit. Format: accounts\/{account}\/adclients\/{adclient}\/adunits\/{adunit}+    name :: (Core.Maybe Core.Text),+    -- | Output only. Unique ID of the ad unit as used in the @AD_UNIT_ID@ reporting dimension.+    reportingDimensionId :: (Core.Maybe Core.Text),+    -- | Required. State of the ad unit.+    state :: (Core.Maybe AdUnit_State)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdUnit' with the minimum fields required to make a request.+newAdUnit ::+  AdUnit+newAdUnit =+  AdUnit+    { contentAdsSettings = Core.Nothing,+      displayName = Core.Nothing,+      name = Core.Nothing,+      reportingDimensionId = Core.Nothing,+      state = Core.Nothing+    }++instance Core.FromJSON AdUnit where+  parseJSON =+    Core.withObject+      "AdUnit"+      ( \o ->+          AdUnit+            Core.<$> (o Core..:? "contentAdsSettings")+            Core.<*> (o Core..:? "displayName")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "reportingDimensionId")+            Core.<*> (o Core..:? "state")+      )++instance Core.ToJSON AdUnit where+  toJSON AdUnit {..} =+    Core.object+      ( Core.catMaybes+          [ ("contentAdsSettings" Core..=) Core.<$> contentAdsSettings,+            ("displayName" Core..=) Core.<$> displayName,+            ("name" Core..=) Core.<$> name,+            ("reportingDimensionId" Core..=) Core.<$> reportingDimensionId,+            ("state" Core..=) Core.<$> state+          ]+      )++-- | Representation of the ad unit code for a given ad unit. For more information, see <https://support.google.com/adsense/answer/9274634 About the AdSense code> and <https://support.google.com/adsense/answer/9190028 Where to place the ad code in your HTML>.+--+-- /See:/ 'newAdUnitAdCode' smart constructor.+newtype AdUnitAdCode = AdUnitAdCode+  { -- | Output only. The code snippet to add to the body of an HTML page.+    adCode :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'AdUnitAdCode' with the minimum fields required to make a request.+newAdUnitAdCode ::+  AdUnitAdCode+newAdUnitAdCode = AdUnitAdCode {adCode = Core.Nothing}++instance Core.FromJSON AdUnitAdCode where+  parseJSON =+    Core.withObject+      "AdUnitAdCode"+      (\o -> AdUnitAdCode Core.<$> (o Core..:? "adCode"))++instance Core.ToJSON AdUnitAdCode where+  toJSON AdUnitAdCode {..} =+    Core.object (Core.catMaybes [("adCode" Core..=) Core.<$> adCode])++-- | Representation of an alert.+--+-- /See:/ 'newAlert' smart constructor.+data Alert = Alert+  { -- | Output only. The localized alert message. This may contain HTML markup, such as phrase elements or links.+    message :: (Core.Maybe Core.Text),+    -- | Output only. Resource name of the alert. Format: accounts\/{account}\/alerts\/{alert}+    name :: (Core.Maybe Core.Text),+    -- | Output only. Severity of this alert.+    severity :: (Core.Maybe Alert_Severity),+    -- | Output only. Type of alert. This identifies the broad type of this alert, and provides a stable machine-readable identifier that will not be translated. For example, \"payment-hold\".+    type' :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Alert' with the minimum fields required to make a request.+newAlert ::+  Alert+newAlert =+  Alert+    { message = Core.Nothing,+      name = Core.Nothing,+      severity = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON Alert where+  parseJSON =+    Core.withObject+      "Alert"+      ( \o ->+          Alert+            Core.<$> (o Core..:? "message")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "severity")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON Alert where+  toJSON Alert {..} =+    Core.object+      ( Core.catMaybes+          [ ("message" Core..=) Core.<$> message,+            ("name" Core..=) Core.<$> name,+            ("severity" Core..=) Core.<$> severity,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | Cell representation.+--+-- /See:/ 'newCell' smart constructor.+newtype Cell = Cell+  { -- | Value in the cell. The dimension cells contain strings, and the metric cells contain numbers.+    value :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Cell' with the minimum fields required to make a request.+newCell ::+  Cell+newCell = Cell {value = Core.Nothing}++instance Core.FromJSON Cell where+  parseJSON =+    Core.withObject+      "Cell"+      (\o -> Cell Core.<$> (o Core..:? "value"))++instance Core.ToJSON Cell where+  toJSON Cell {..} =+    Core.object (Core.catMaybes [("value" Core..=) Core.<$> value])++-- | Settings specific to content ads (AFC).+--+-- /See:/ 'newContentAdsSettings' smart constructor.+data ContentAdsSettings = ContentAdsSettings+  { -- | Required. Size of the ad unit. e.g. \"728x90\", \"1x3\" (for responsive ad units).+    size :: (Core.Maybe Core.Text),+    -- | Required. Type of the ad unit.+    type' :: (Core.Maybe ContentAdsSettings_Type)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ContentAdsSettings' with the minimum fields required to make a request.+newContentAdsSettings ::+  ContentAdsSettings+newContentAdsSettings =+  ContentAdsSettings {size = Core.Nothing, type' = Core.Nothing}++instance Core.FromJSON ContentAdsSettings where+  parseJSON =+    Core.withObject+      "ContentAdsSettings"+      ( \o ->+          ContentAdsSettings+            Core.<$> (o Core..:? "size")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON ContentAdsSettings where+  toJSON ContentAdsSettings {..} =+    Core.object+      ( Core.catMaybes+          [("size" Core..=) Core.<$> size, ("type" Core..=) Core.<$> type']+      )++-- | Representation of a custom channel.+--+-- /See:/ 'newCustomChannel' smart constructor.+data CustomChannel = CustomChannel+  { -- | Whether the custom channel is active and collecting data. See https:\/\/support.google.com\/adsense\/answer\/10077192.+    active :: (Core.Maybe Core.Bool),+    -- | Required. Display name of the custom channel.+    displayName :: (Core.Maybe Core.Text),+    -- | Output only. Resource name of the custom channel. Format: accounts\/{account}\/adclients\/{adclient}\/customchannels\/{customchannel}+    name :: (Core.Maybe Core.Text),+    -- | Output only. Unique ID of the custom channel as used in the @CUSTOM_CHANNEL_ID@ reporting dimension.+    reportingDimensionId :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'CustomChannel' with the minimum fields required to make a request.+newCustomChannel ::+  CustomChannel+newCustomChannel =+  CustomChannel+    { active = Core.Nothing,+      displayName = Core.Nothing,+      name = Core.Nothing,+      reportingDimensionId = Core.Nothing+    }++instance Core.FromJSON CustomChannel where+  parseJSON =+    Core.withObject+      "CustomChannel"+      ( \o ->+          CustomChannel+            Core.<$> (o Core..:? "active")+            Core.<*> (o Core..:? "displayName")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "reportingDimensionId")+      )++instance Core.ToJSON CustomChannel where+  toJSON CustomChannel {..} =+    Core.object+      ( Core.catMaybes+          [ ("active" Core..=) Core.<$> active,+            ("displayName" Core..=) Core.<$> displayName,+            ("name" Core..=) Core.<$> name,+            ("reportingDimensionId" Core..=) Core.<$> reportingDimensionId+          ]+      )++-- | Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp+--+-- /See:/ 'newDate' smart constructor.+data Date = Date+  { -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+    day :: (Core.Maybe Core.Int32),+    -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+    month :: (Core.Maybe Core.Int32),+    -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+    year :: (Core.Maybe Core.Int32)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Date' with the minimum fields required to make a request.+newDate ::+  Date+newDate =+  Date+    { day = Core.Nothing,+      month = Core.Nothing,+      year = Core.Nothing+    }++instance Core.FromJSON Date where+  parseJSON =+    Core.withObject+      "Date"+      ( \o ->+          Date+            Core.<$> (o Core..:? "day")+            Core.<*> (o Core..:? "month")+            Core.<*> (o Core..:? "year")+      )++instance Core.ToJSON Date where+  toJSON Date {..} =+    Core.object+      ( Core.catMaybes+          [ ("day" Core..=) Core.<$> day,+            ("month" Core..=) Core.<$> month,+            ("year" Core..=) Core.<$> year+          ]+      )++-- | A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }+--+-- /See:/ 'newEmpty' smart constructor.+data Empty = Empty+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Empty' with the minimum fields required to make a request.+newEmpty ::+  Empty+newEmpty = Empty++instance Core.FromJSON Empty where+  parseJSON = Core.withObject "Empty" (\o -> Core.pure Empty)++instance Core.ToJSON Empty where+  toJSON = Core.const Core.emptyObject++-- | The header information of the columns requested in the report.+--+-- /See:/ 'newHeader' smart constructor.+data Header = Header+  { -- | The <https://en.wikipedia.org/wiki/ISO_4217 ISO-4217 currency code> of this column. Only present if the header type is METRIC_CURRENCY.+    currencyCode :: (Core.Maybe Core.Text),+    -- | Required. Name of the header.+    name :: (Core.Maybe Core.Text),+    -- | Required. Type of the header.+    type' :: (Core.Maybe Header_Type)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Header' with the minimum fields required to make a request.+newHeader ::+  Header+newHeader =+  Header+    { currencyCode = Core.Nothing,+      name = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON Header where+  parseJSON =+    Core.withObject+      "Header"+      ( \o ->+          Header+            Core.<$> (o Core..:? "currencyCode")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON Header where+  toJSON Header {..} =+    Core.object+      ( Core.catMaybes+          [ ("currencyCode" Core..=) Core.<$> currencyCode,+            ("name" Core..=) Core.<$> name,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | Message that represents an arbitrary HTTP body. It should only be used for payload formats that can\'t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { \/\/ A unique request id. string request/id = 1; \/\/ The raw HTTP body is bound to this field. google.api.HttpBody http/body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream+-- google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.+--+-- /See:/ 'newHttpBody' smart constructor.+data HttpBody = HttpBody+  { -- | The HTTP Content-Type header value specifying the content type of the body.+    contentType :: (Core.Maybe Core.Text),+    -- | The HTTP request\/response body as raw binary.+    data' :: (Core.Maybe Core.Base64),+    -- | Application specific response metadata. Must be set in the first response for streaming APIs.+    extensions :: (Core.Maybe [HttpBody_ExtensionsItem])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HttpBody' with the minimum fields required to make a request.+newHttpBody ::+  HttpBody+newHttpBody =+  HttpBody+    { contentType = Core.Nothing,+      data' = Core.Nothing,+      extensions = Core.Nothing+    }++instance Core.FromJSON HttpBody where+  parseJSON =+    Core.withObject+      "HttpBody"+      ( \o ->+          HttpBody+            Core.<$> (o Core..:? "contentType")+            Core.<*> (o Core..:? "data")+            Core.<*> (o Core..:? "extensions")+      )++instance Core.ToJSON HttpBody where+  toJSON HttpBody {..} =+    Core.object+      ( Core.catMaybes+          [ ("contentType" Core..=) Core.<$> contentType,+            ("data" Core..=) Core.<$> data',+            ("extensions" Core..=) Core.<$> extensions+          ]+      )++--+-- /See:/ 'newHttpBody_ExtensionsItem' smart constructor.+newtype HttpBody_ExtensionsItem = HttpBody_ExtensionsItem+  { -- | Properties of the object. Contains field \@type with type URL.+    additional :: (Core.HashMap Core.Text Core.Value)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'HttpBody_ExtensionsItem' with the minimum fields required to make a request.+newHttpBody_ExtensionsItem ::+  -- |  Properties of the object. Contains field \@type with type URL. See 'additional'.+  Core.HashMap Core.Text Core.Value ->+  HttpBody_ExtensionsItem+newHttpBody_ExtensionsItem additional =+  HttpBody_ExtensionsItem {additional = additional}++instance Core.FromJSON HttpBody_ExtensionsItem where+  parseJSON =+    Core.withObject+      "HttpBody_ExtensionsItem"+      (\o -> HttpBody_ExtensionsItem Core.<$> (Core.parseJSONObject o))++instance Core.ToJSON HttpBody_ExtensionsItem where+  toJSON HttpBody_ExtensionsItem {..} = Core.toJSON additional++-- | Response definition for the account list rpc.+--+-- /See:/ 'newListAccountsResponse' smart constructor.+data ListAccountsResponse = ListAccountsResponse+  { -- | The accounts returned in this list response.+    accounts :: (Core.Maybe [Account]),+    -- | Continuation token used to page through accounts. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListAccountsResponse' with the minimum fields required to make a request.+newListAccountsResponse ::+  ListAccountsResponse+newListAccountsResponse =+  ListAccountsResponse+    { accounts = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListAccountsResponse where+  parseJSON =+    Core.withObject+      "ListAccountsResponse"+      ( \o ->+          ListAccountsResponse+            Core.<$> (o Core..:? "accounts")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListAccountsResponse where+  toJSON ListAccountsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("accounts" Core..=) Core.<$> accounts,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | Response definition for the ad client list rpc.+--+-- /See:/ 'newListAdClientsResponse' smart constructor.+data ListAdClientsResponse = ListAdClientsResponse+  { -- | The ad clients returned in this list response.+    adClients :: (Core.Maybe [AdClient]),+    -- | Continuation token used to page through ad clients. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListAdClientsResponse' with the minimum fields required to make a request.+newListAdClientsResponse ::+  ListAdClientsResponse+newListAdClientsResponse =+  ListAdClientsResponse+    { adClients = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListAdClientsResponse where+  parseJSON =+    Core.withObject+      "ListAdClientsResponse"+      ( \o ->+          ListAdClientsResponse+            Core.<$> (o Core..:? "adClients")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListAdClientsResponse where+  toJSON ListAdClientsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("adClients" Core..=) Core.<$> adClients,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | Response definition for the adunit list rpc.+--+-- /See:/ 'newListAdUnitsResponse' smart constructor.+data ListAdUnitsResponse = ListAdUnitsResponse+  { -- | The ad units returned in the list response.+    adUnits :: (Core.Maybe [AdUnit]),+    -- | Continuation token used to page through ad units. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListAdUnitsResponse' with the minimum fields required to make a request.+newListAdUnitsResponse ::+  ListAdUnitsResponse+newListAdUnitsResponse =+  ListAdUnitsResponse+    { adUnits = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListAdUnitsResponse where+  parseJSON =+    Core.withObject+      "ListAdUnitsResponse"+      ( \o ->+          ListAdUnitsResponse+            Core.<$> (o Core..:? "adUnits")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListAdUnitsResponse where+  toJSON ListAdUnitsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("adUnits" Core..=) Core.<$> adUnits,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | Response definition for the alerts list rpc.+--+-- /See:/ 'newListAlertsResponse' smart constructor.+newtype ListAlertsResponse = ListAlertsResponse+  { -- | The alerts returned in this list response.+    alerts :: (Core.Maybe [Alert])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListAlertsResponse' with the minimum fields required to make a request.+newListAlertsResponse ::+  ListAlertsResponse+newListAlertsResponse = ListAlertsResponse {alerts = Core.Nothing}++instance Core.FromJSON ListAlertsResponse where+  parseJSON =+    Core.withObject+      "ListAlertsResponse"+      (\o -> ListAlertsResponse Core.<$> (o Core..:? "alerts"))++instance Core.ToJSON ListAlertsResponse where+  toJSON ListAlertsResponse {..} =+    Core.object (Core.catMaybes [("alerts" Core..=) Core.<$> alerts])++-- | Response definition for the child account list rpc.+--+-- /See:/ 'newListChildAccountsResponse' smart constructor.+data ListChildAccountsResponse = ListChildAccountsResponse+  { -- | The accounts returned in this list response.+    accounts :: (Core.Maybe [Account]),+    -- | Continuation token used to page through accounts. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListChildAccountsResponse' with the minimum fields required to make a request.+newListChildAccountsResponse ::+  ListChildAccountsResponse+newListChildAccountsResponse =+  ListChildAccountsResponse+    { accounts = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListChildAccountsResponse where+  parseJSON =+    Core.withObject+      "ListChildAccountsResponse"+      ( \o ->+          ListChildAccountsResponse+            Core.<$> (o Core..:? "accounts")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListChildAccountsResponse where+  toJSON ListChildAccountsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("accounts" Core..=) Core.<$> accounts,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | Response definition for the custom channel list rpc.+--+-- /See:/ 'newListCustomChannelsResponse' smart constructor.+data ListCustomChannelsResponse = ListCustomChannelsResponse+  { -- | The custom channels returned in this list response.+    customChannels :: (Core.Maybe [CustomChannel]),+    -- | Continuation token used to page through alerts. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListCustomChannelsResponse' with the minimum fields required to make a request.+newListCustomChannelsResponse ::+  ListCustomChannelsResponse+newListCustomChannelsResponse =+  ListCustomChannelsResponse+    { customChannels = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListCustomChannelsResponse where+  parseJSON =+    Core.withObject+      "ListCustomChannelsResponse"+      ( \o ->+          ListCustomChannelsResponse+            Core.<$> (o Core..:? "customChannels")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListCustomChannelsResponse where+  toJSON ListCustomChannelsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("customChannels" Core..=) Core.<$> customChannels,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | Response definition for the ad units linked to a custom channel list rpc.+--+-- /See:/ 'newListLinkedAdUnitsResponse' smart constructor.+data ListLinkedAdUnitsResponse = ListLinkedAdUnitsResponse+  { -- | The ad units returned in the list response.+    adUnits :: (Core.Maybe [AdUnit]),+    -- | Continuation token used to page through ad units. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListLinkedAdUnitsResponse' with the minimum fields required to make a request.+newListLinkedAdUnitsResponse ::+  ListLinkedAdUnitsResponse+newListLinkedAdUnitsResponse =+  ListLinkedAdUnitsResponse+    { adUnits = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListLinkedAdUnitsResponse where+  parseJSON =+    Core.withObject+      "ListLinkedAdUnitsResponse"+      ( \o ->+          ListLinkedAdUnitsResponse+            Core.<$> (o Core..:? "adUnits")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListLinkedAdUnitsResponse where+  toJSON ListLinkedAdUnitsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("adUnits" Core..=) Core.<$> adUnits,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | Response definition for the custom channels linked to an adunit list rpc.+--+-- /See:/ 'newListLinkedCustomChannelsResponse' smart constructor.+data ListLinkedCustomChannelsResponse = ListLinkedCustomChannelsResponse+  { -- | The custom channels returned in this list response.+    customChannels :: (Core.Maybe [CustomChannel]),+    -- | Continuation token used to page through alerts. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListLinkedCustomChannelsResponse' with the minimum fields required to make a request.+newListLinkedCustomChannelsResponse ::+  ListLinkedCustomChannelsResponse+newListLinkedCustomChannelsResponse =+  ListLinkedCustomChannelsResponse+    { customChannels = Core.Nothing,+      nextPageToken = Core.Nothing+    }++instance Core.FromJSON ListLinkedCustomChannelsResponse where+  parseJSON =+    Core.withObject+      "ListLinkedCustomChannelsResponse"+      ( \o ->+          ListLinkedCustomChannelsResponse+            Core.<$> (o Core..:? "customChannels")+            Core.<*> (o Core..:? "nextPageToken")+      )++instance Core.ToJSON ListLinkedCustomChannelsResponse where+  toJSON ListLinkedCustomChannelsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("customChannels" Core..=) Core.<$> customChannels,+            ("nextPageToken" Core..=) Core.<$> nextPageToken+          ]+      )++-- | Response definition for the payments list rpc.+--+-- /See:/ 'newListPaymentsResponse' smart constructor.+newtype ListPaymentsResponse = ListPaymentsResponse+  { -- | The payments returned in this list response.+    payments :: (Core.Maybe [Payment])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListPaymentsResponse' with the minimum fields required to make a request.+newListPaymentsResponse ::+  ListPaymentsResponse+newListPaymentsResponse =+  ListPaymentsResponse {payments = Core.Nothing}++instance Core.FromJSON ListPaymentsResponse where+  parseJSON =+    Core.withObject+      "ListPaymentsResponse"+      (\o -> ListPaymentsResponse Core.<$> (o Core..:? "payments"))++instance Core.ToJSON ListPaymentsResponse where+  toJSON ListPaymentsResponse {..} =+    Core.object+      (Core.catMaybes [("payments" Core..=) Core.<$> payments])++-- | Response definition for the policy issues list rpc. Policy issues are reported only if the publisher has at least one AFC ad client in READY or GETTING_READY state. If the publisher has no such AFC ad client, the response will be an empty list.+--+-- /See:/ 'newListPolicyIssuesResponse' smart constructor.+data ListPolicyIssuesResponse = ListPolicyIssuesResponse+  { -- | Continuation token used to page through policy issues. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | The policy issues returned in the list response.+    policyIssues :: (Core.Maybe [PolicyIssue])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListPolicyIssuesResponse' with the minimum fields required to make a request.+newListPolicyIssuesResponse ::+  ListPolicyIssuesResponse+newListPolicyIssuesResponse =+  ListPolicyIssuesResponse+    { nextPageToken = Core.Nothing,+      policyIssues = Core.Nothing+    }++instance Core.FromJSON ListPolicyIssuesResponse where+  parseJSON =+    Core.withObject+      "ListPolicyIssuesResponse"+      ( \o ->+          ListPolicyIssuesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "policyIssues")+      )++instance Core.ToJSON ListPolicyIssuesResponse where+  toJSON ListPolicyIssuesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("policyIssues" Core..=) Core.<$> policyIssues+          ]+      )++-- | Response definition for the saved reports list rpc.+--+-- /See:/ 'newListSavedReportsResponse' smart constructor.+data ListSavedReportsResponse = ListSavedReportsResponse+  { -- | Continuation token used to page through reports. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | The reports returned in this list response.+    savedReports :: (Core.Maybe [SavedReport])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListSavedReportsResponse' with the minimum fields required to make a request.+newListSavedReportsResponse ::+  ListSavedReportsResponse+newListSavedReportsResponse =+  ListSavedReportsResponse+    { nextPageToken = Core.Nothing,+      savedReports = Core.Nothing+    }++instance Core.FromJSON ListSavedReportsResponse where+  parseJSON =+    Core.withObject+      "ListSavedReportsResponse"+      ( \o ->+          ListSavedReportsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "savedReports")+      )++instance Core.ToJSON ListSavedReportsResponse where+  toJSON ListSavedReportsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("savedReports" Core..=) Core.<$> savedReports+          ]+      )++-- | Response definition for the sites list rpc.+--+-- /See:/ 'newListSitesResponse' smart constructor.+data ListSitesResponse = ListSitesResponse+  { -- | Continuation token used to page through sites. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | The sites returned in this list response.+    sites :: (Core.Maybe [Site])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListSitesResponse' with the minimum fields required to make a request.+newListSitesResponse ::+  ListSitesResponse+newListSitesResponse =+  ListSitesResponse+    { nextPageToken = Core.Nothing,+      sites = Core.Nothing+    }++instance Core.FromJSON ListSitesResponse where+  parseJSON =+    Core.withObject+      "ListSitesResponse"+      ( \o ->+          ListSitesResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "sites")+      )++instance Core.ToJSON ListSitesResponse where+  toJSON ListSitesResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("sites" Core..=) Core.<$> sites+          ]+      )++-- | Response definition for the url channels list rpc.+--+-- /See:/ 'newListUrlChannelsResponse' smart constructor.+data ListUrlChannelsResponse = ListUrlChannelsResponse+  { -- | Continuation token used to page through url channels. To retrieve the next page of the results, set the next request\'s \"page_token\" value to this.+    nextPageToken :: (Core.Maybe Core.Text),+    -- | The url channels returned in this list response.+    urlChannels :: (Core.Maybe [UrlChannel])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ListUrlChannelsResponse' with the minimum fields required to make a request.+newListUrlChannelsResponse ::+  ListUrlChannelsResponse+newListUrlChannelsResponse =+  ListUrlChannelsResponse+    { nextPageToken = Core.Nothing,+      urlChannels = Core.Nothing+    }++instance Core.FromJSON ListUrlChannelsResponse where+  parseJSON =+    Core.withObject+      "ListUrlChannelsResponse"+      ( \o ->+          ListUrlChannelsResponse+            Core.<$> (o Core..:? "nextPageToken")+            Core.<*> (o Core..:? "urlChannels")+      )++instance Core.ToJSON ListUrlChannelsResponse where+  toJSON ListUrlChannelsResponse {..} =+    Core.object+      ( Core.catMaybes+          [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+            ("urlChannels" Core..=) Core.<$> urlChannels+          ]+      )++-- | Representation of an unpaid or paid payment. See <https://support.google.com/adsense/answer/7164703 Payment timelines for AdSense> for more information about payments and the <https://support.google.com/adsense/answer/11622510 YouTube homepage and payments account> article for information about dedicated payments accounts for YouTube.+--+-- /See:/ 'newPayment' smart constructor.+data Payment = Payment+  { -- | Output only. The amount of unpaid or paid earnings, as a formatted string, including the currency. E.g. \"¥1,235 JPY\", \"$1,234.57\", \"£87.65\".+    amount :: (Core.Maybe Core.Text),+    -- | Output only. For paid earnings, the date that the payment was credited. For unpaid earnings, this field is empty. Payment dates are always returned in the billing timezone (America\/Los_Angeles).+    date :: (Core.Maybe Date),+    -- | Output only. Resource name of the payment. Format: - accounts\/{account}\/payments\/unpaid for unpaid (current) AdSense earnings. - accounts\/{account}\/payments\/youtube-unpaid for unpaid (current) YouTube earnings. - accounts\/{account}\/payments\/yyyy-MM-dd for paid AdSense earnings. - accounts\/{account}\/payments\/youtube-yyyy-MM-dd for paid YouTube earnings.+    name :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Payment' with the minimum fields required to make a request.+newPayment ::+  Payment+newPayment =+  Payment+    { amount = Core.Nothing,+      date = Core.Nothing,+      name = Core.Nothing+    }++instance Core.FromJSON Payment where+  parseJSON =+    Core.withObject+      "Payment"+      ( \o ->+          Payment+            Core.<$> (o Core..:? "amount")+            Core.<*> (o Core..:? "date")+            Core.<*> (o Core..:? "name")+      )++instance Core.ToJSON Payment where+  toJSON Payment {..} =+    Core.object+      ( Core.catMaybes+          [ ("amount" Core..=) Core.<$> amount,+            ("date" Core..=) Core.<$> date,+            ("name" Core..=) Core.<$> name+          ]+      )++-- | Representation of a policy issue for a single entity (site, site-section, or page). All issues for a single entity are represented by a single PolicyIssue resource, though that PolicyIssue can have multiple causes (or \"topics\") that can change over time. Policy issues are removed if there are no issues detected recently or if there\'s a recent successful appeal for the entity.+--+-- /See:/ 'newPolicyIssue' smart constructor.+data PolicyIssue = PolicyIssue+  { -- | Required. The most severe action taken on the entity over the past seven days.+    action :: (Core.Maybe PolicyIssue_Action),+    -- | Optional. List of ad clients associated with the policy issue (either as the primary ad client or an associated host\/secondary ad client). In the latter case, this will be an ad client that is not owned by the current account.+    adClients :: (Core.Maybe [Core.Text]),+    -- | Required. Total number of ad requests affected by the policy violations over the past seven days.+    adRequestCount :: (Core.Maybe Core.Int64),+    -- | Required. Type of the entity indicating if the entity is a site, site-section, or page.+    entityType :: (Core.Maybe PolicyIssue_EntityType),+    -- | Required. The date (in the America\/Los_Angeles timezone) when policy violations were first detected on the entity.+    firstDetectedDate :: (Core.Maybe Date),+    -- | Required. The date (in the America\/Los_Angeles timezone) when policy violations were last detected on the entity.+    lastDetectedDate :: (Core.Maybe Date),+    -- | Required. Resource name of the entity with policy issues. Format: accounts\/{account}\/policyIssues\/{policy_issue}+    name :: (Core.Maybe Core.Text),+    -- | Required. Unordered list. The policy topics that this entity was found to violate over the past seven days.+    policyTopics :: (Core.Maybe [PolicyTopic]),+    -- | Required. Hostname\/domain of the entity (for example \"foo.com\" or \"www.foo.com\"). This /should/ be a bare domain\/host name without any protocol. This will be present for all policy issues.+    site :: (Core.Maybe Core.Text),+    -- | Optional. Prefix of the site-section having policy issues (For example \"foo.com\/bar-section\"). This will be present if the @entity_type@ is @SITE_SECTION@ and will be absent for other entity types.+    siteSection :: (Core.Maybe Core.Text),+    -- | Optional. URI of the page having policy violations (for example \"foo.com\/bar\" or \"www.foo.com\/bar\"). This will be present if the @entity_type@ is @PAGE@ and will be absent for other entity types.+    uri :: (Core.Maybe Core.Text),+    -- | Optional. The date (in the America\/Los_Angeles timezone) when the entity will have ad serving demand restricted or ad serving disabled. This is present only for issues with a @WARNED@ enforcement action. See https:\/\/support.google.com\/adsense\/answer\/11066888.+    warningEscalationDate :: (Core.Maybe Date)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PolicyIssue' with the minimum fields required to make a request.+newPolicyIssue ::+  PolicyIssue+newPolicyIssue =+  PolicyIssue+    { action = Core.Nothing,+      adClients = Core.Nothing,+      adRequestCount = Core.Nothing,+      entityType = Core.Nothing,+      firstDetectedDate = Core.Nothing,+      lastDetectedDate = Core.Nothing,+      name = Core.Nothing,+      policyTopics = Core.Nothing,+      site = Core.Nothing,+      siteSection = Core.Nothing,+      uri = Core.Nothing,+      warningEscalationDate = Core.Nothing+    }++instance Core.FromJSON PolicyIssue where+  parseJSON =+    Core.withObject+      "PolicyIssue"+      ( \o ->+          PolicyIssue+            Core.<$> (o Core..:? "action")+            Core.<*> (o Core..:? "adClients")+            Core.<*> (o Core..:? "adRequestCount" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "entityType")+            Core.<*> (o Core..:? "firstDetectedDate")+            Core.<*> (o Core..:? "lastDetectedDate")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "policyTopics")+            Core.<*> (o Core..:? "site")+            Core.<*> (o Core..:? "siteSection")+            Core.<*> (o Core..:? "uri")+            Core.<*> (o Core..:? "warningEscalationDate")+      )++instance Core.ToJSON PolicyIssue where+  toJSON PolicyIssue {..} =+    Core.object+      ( Core.catMaybes+          [ ("action" Core..=) Core.<$> action,+            ("adClients" Core..=) Core.<$> adClients,+            ("adRequestCount" Core..=)+              Core.. Core.AsText+              Core.<$> adRequestCount,+            ("entityType" Core..=) Core.<$> entityType,+            ("firstDetectedDate" Core..=) Core.<$> firstDetectedDate,+            ("lastDetectedDate" Core..=) Core.<$> lastDetectedDate,+            ("name" Core..=) Core.<$> name,+            ("policyTopics" Core..=) Core.<$> policyTopics,+            ("site" Core..=) Core.<$> site,+            ("siteSection" Core..=) Core.<$> siteSection,+            ("uri" Core..=) Core.<$> uri,+            ("warningEscalationDate" Core..=) Core.<$> warningEscalationDate+          ]+      )++-- | Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity.+--+-- /See:/ 'newPolicyTopic' smart constructor.+data PolicyTopic = PolicyTopic+  { -- | Required. Deprecated. Policy topics no longer have a \"must-fix\" classification.+    mustFix :: (Core.Maybe Core.Bool),+    -- | Required. The policy topic. For example, \"sexual-content\" or \"ads-obscuring-content\".\"+    topic :: (Core.Maybe Core.Text),+    -- | Optional. The type of policy topic. For example, \"POLICY\" represents all the policy topics that are related to the Google Publisher Policy (GPP). See https:\/\/support.google.com\/adsense\/answer\/15689616.+    type' :: (Core.Maybe PolicyTopic_Type)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'PolicyTopic' with the minimum fields required to make a request.+newPolicyTopic ::+  PolicyTopic+newPolicyTopic =+  PolicyTopic+    { mustFix = Core.Nothing,+      topic = Core.Nothing,+      type' = Core.Nothing+    }++instance Core.FromJSON PolicyTopic where+  parseJSON =+    Core.withObject+      "PolicyTopic"+      ( \o ->+          PolicyTopic+            Core.<$> (o Core..:? "mustFix")+            Core.<*> (o Core..:? "topic")+            Core.<*> (o Core..:? "type")+      )++instance Core.ToJSON PolicyTopic where+  toJSON PolicyTopic {..} =+    Core.object+      ( Core.catMaybes+          [ ("mustFix" Core..=) Core.<$> mustFix,+            ("topic" Core..=) Core.<$> topic,+            ("type" Core..=) Core.<$> type'+          ]+      )++-- | Result of a generated report.+--+-- /See:/ 'newReportResult' smart constructor.+data ReportResult = ReportResult+  { -- | The averages of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.+    averages :: (Core.Maybe Row),+    -- | Required. End date of the range (inclusive).+    endDate :: (Core.Maybe Date),+    -- | The header information; one for each dimension in the request, followed by one for each metric in the request.+    headers :: (Core.Maybe [Header]),+    -- | 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.+    rows :: (Core.Maybe [Row]),+    -- | Required. Start date of the range (inclusive).+    startDate :: (Core.Maybe Date),+    -- | The total number of rows matched by the report request.+    totalMatchedRows :: (Core.Maybe Core.Int64),+    -- | The totals of the report. This is the same length as any other row in the report; cells corresponding to dimension columns are empty.+    totals :: (Core.Maybe Row),+    -- | Any warnings associated with generation of the report. These warnings are always returned in English.+    warnings :: (Core.Maybe [Core.Text])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'ReportResult' with the minimum fields required to make a request.+newReportResult ::+  ReportResult+newReportResult =+  ReportResult+    { averages = Core.Nothing,+      endDate = Core.Nothing,+      headers = Core.Nothing,+      rows = Core.Nothing,+      startDate = Core.Nothing,+      totalMatchedRows = Core.Nothing,+      totals = Core.Nothing,+      warnings = Core.Nothing+    }++instance Core.FromJSON ReportResult where+  parseJSON =+    Core.withObject+      "ReportResult"+      ( \o ->+          ReportResult+            Core.<$> (o Core..:? "averages")+            Core.<*> (o Core..:? "endDate")+            Core.<*> (o Core..:? "headers")+            Core.<*> (o Core..:? "rows")+            Core.<*> (o Core..:? "startDate")+            Core.<*> (o Core..:? "totalMatchedRows" Core.<&> Core.fmap Core.fromAsText)+            Core.<*> (o Core..:? "totals")+            Core.<*> (o Core..:? "warnings")+      )++instance Core.ToJSON ReportResult where+  toJSON ReportResult {..} =+    Core.object+      ( Core.catMaybes+          [ ("averages" Core..=) Core.<$> averages,+            ("endDate" Core..=) Core.<$> endDate,+            ("headers" Core..=) Core.<$> headers,+            ("rows" Core..=) Core.<$> rows,+            ("startDate" Core..=) Core.<$> startDate,+            ("totalMatchedRows" Core..=)+              Core.. Core.AsText+              Core.<$> totalMatchedRows,+            ("totals" Core..=) Core.<$> totals,+            ("warnings" Core..=) Core.<$> warnings+          ]+      )++-- | Row representation.+--+-- /See:/ 'newRow' smart constructor.+newtype Row = Row+  { -- | Cells in the row.+    cells :: (Core.Maybe [Cell])+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Row' with the minimum fields required to make a request.+newRow ::+  Row+newRow = Row {cells = Core.Nothing}++instance Core.FromJSON Row where+  parseJSON =+    Core.withObject "Row" (\o -> Row Core.<$> (o Core..:? "cells"))++instance Core.ToJSON Row where+  toJSON Row {..} =+    Core.object (Core.catMaybes [("cells" Core..=) Core.<$> cells])++-- | Representation of a saved report.+--+-- /See:/ 'newSavedReport' smart constructor.+data SavedReport = SavedReport+  { -- | Output only. Resource name of the report. Format: accounts\/{account}\/reports\/{report}+    name :: (Core.Maybe Core.Text),+    -- | Report title as specified by publisher.+    title :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'SavedReport' with the minimum fields required to make a request.+newSavedReport ::+  SavedReport+newSavedReport =+  SavedReport {name = Core.Nothing, title = Core.Nothing}++instance Core.FromJSON SavedReport where+  parseJSON =+    Core.withObject+      "SavedReport"+      ( \o ->+          SavedReport+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "title")+      )++instance Core.ToJSON SavedReport where+  toJSON SavedReport {..} =+    Core.object+      ( Core.catMaybes+          [("name" Core..=) Core.<$> name, ("title" Core..=) Core.<$> title]+      )++-- | Representation of a Site.+--+-- /See:/ 'newSite' smart constructor.+data Site = Site+  { -- | Whether auto ads is turned on for the site.+    autoAdsEnabled :: (Core.Maybe Core.Bool),+    -- | Domain (or subdomain) of the site, e.g. \"example.com\" or \"www.example.com\". This is used in the @OWNED_SITE_DOMAIN_NAME@ reporting dimension.+    domain :: (Core.Maybe Core.Text),+    -- | Output only. Resource name of a site. Format: accounts\/{account}\/sites\/{site}+    name :: (Core.Maybe Core.Text),+    -- | Output only. Unique ID of the site as used in the @OWNED_SITE_ID@ reporting dimension.+    reportingDimensionId :: (Core.Maybe Core.Text),+    -- | Output only. State of a site.+    state :: (Core.Maybe Site_State)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'Site' with the minimum fields required to make a request.+newSite ::+  Site+newSite =+  Site+    { autoAdsEnabled = Core.Nothing,+      domain = Core.Nothing,+      name = Core.Nothing,+      reportingDimensionId = Core.Nothing,+      state = Core.Nothing+    }++instance Core.FromJSON Site where+  parseJSON =+    Core.withObject+      "Site"+      ( \o ->+          Site+            Core.<$> (o Core..:? "autoAdsEnabled")+            Core.<*> (o Core..:? "domain")+            Core.<*> (o Core..:? "name")+            Core.<*> (o Core..:? "reportingDimensionId")+            Core.<*> (o Core..:? "state")+      )++instance Core.ToJSON Site where+  toJSON Site {..} =+    Core.object+      ( Core.catMaybes+          [ ("autoAdsEnabled" Core..=) Core.<$> autoAdsEnabled,+            ("domain" Core..=) Core.<$> domain,+            ("name" Core..=) Core.<$> name,+            ("reportingDimensionId" Core..=) Core.<$> reportingDimensionId,+            ("state" Core..=) Core.<$> state+          ]+      )++-- | Represents a time zone from the <https://www.iana.org/time-zones IANA Time Zone Database>.+--+-- /See:/ 'newTimeZone' smart constructor.+data TimeZone = TimeZone+  { -- | IANA Time Zone Database time zone. For example \"America\/New_York\".+    id :: (Core.Maybe Core.Text),+    -- | Optional. IANA Time Zone Database version number. For example \"2019a\".+    version :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'TimeZone' with the minimum fields required to make a request.+newTimeZone ::+  TimeZone+newTimeZone = TimeZone {id = Core.Nothing, version = Core.Nothing}++instance Core.FromJSON TimeZone where+  parseJSON =+    Core.withObject+      "TimeZone"+      ( \o ->+          TimeZone+            Core.<$> (o Core..:? "id")+            Core.<*> (o Core..:? "version")+      )++instance Core.ToJSON TimeZone where+  toJSON TimeZone {..} =+    Core.object+      ( Core.catMaybes+          [("id" Core..=) Core.<$> id, ("version" Core..=) Core.<$> version]+      )++-- | Representation of a URL channel. URL channels allow you to track the performance of particular pages in your site; see <https://support.google.com/adsense/answer/2923836 URL channels> for more information.+--+-- /See:/ 'newUrlChannel' smart constructor.+data UrlChannel = UrlChannel+  { -- | Output only. Resource name of the URL channel. Format: accounts\/{account}\/adclients\/{adclient}\/urlchannels\/{urlchannel}+    name :: (Core.Maybe Core.Text),+    -- | Output only. Unique ID of the custom channel as used in the @URL_CHANNEL_ID@ reporting dimension.+    reportingDimensionId :: (Core.Maybe Core.Text),+    -- | URI pattern of the channel. Does not include \"http:\/\/\" or \"https:\/\/\". Example: www.example.com\/home+    uriPattern :: (Core.Maybe Core.Text)+  }+  deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'UrlChannel' with the minimum fields required to make a request.+newUrlChannel ::+  UrlChannel+newUrlChannel =+  UrlChannel+    { name = Core.Nothing,+      reportingDimensionId = Core.Nothing,+      uriPattern = Core.Nothing+    }++instance Core.FromJSON UrlChannel where+  parseJSON =+    Core.withObject+      "UrlChannel"+      ( \o ->+          UrlChannel+            Core.<$> (o Core..:? "name")+            Core.<*> (o Core..:? "reportingDimensionId")+            Core.<*> (o Core..:? "uriPattern")+      )++instance Core.ToJSON UrlChannel where+  toJSON UrlChannel {..} =+    Core.object+      ( Core.catMaybes+          [ ("name" Core..=) Core.<$> name,+            ("reportingDimensionId" Core..=) Core.<$> reportingDimensionId,+            ("uriPattern" Core..=) Core.<$> uriPattern+          ]+      )
+ gen/Gogol/AdSense/Internal/Sum.hs view
@@ -0,0 +1,2125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Internal.Sum+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.AdSense.Internal.Sum+  ( -- * Xgafv+    Xgafv+      ( Xgafv_1,+        Xgafv_2,+        ..+      ),++    -- * Account_State+    Account_State+      ( Account_State_STATEUNSPECIFIED,+        Account_State_Ready,+        Account_State_NEEDSATTENTION,+        Account_State_Closed,+        ..+      ),++    -- * AdClient_State+    AdClient_State+      ( AdClient_State_STATEUNSPECIFIED,+        AdClient_State_Ready,+        AdClient_State_GETTINGREADY,+        AdClient_State_REQUIRESREVIEW,+        ..+      ),++    -- * AdUnit_State+    AdUnit_State+      ( AdUnit_State_STATEUNSPECIFIED,+        AdUnit_State_Active,+        AdUnit_State_Archived,+        ..+      ),++    -- * Alert_Severity+    Alert_Severity+      ( Alert_Severity_SEVERITYUNSPECIFIED,+        Alert_Severity_Info,+        Alert_Severity_Warning,+        Alert_Severity_Severe,+        ..+      ),++    -- * ContentAdsSettings_Type+    ContentAdsSettings_Type+      ( ContentAdsSettings_Type_TYPEUNSPECIFIED,+        ContentAdsSettings_Type_Display,+        ContentAdsSettings_Type_Feed,+        ContentAdsSettings_Type_Article,+        ContentAdsSettings_Type_MATCHEDCONTENT,+        ContentAdsSettings_Type_Link,+        ..+      ),++    -- * Header_Type+    Header_Type+      ( Header_Type_HEADERTYPEUNSPECIFIED,+        Header_Type_Dimension,+        Header_Type_METRICTALLY,+        Header_Type_METRICRATIO,+        Header_Type_METRICCURRENCY,+        Header_Type_METRICMILLISECONDS,+        Header_Type_METRICDECIMAL,+        ..+      ),++    -- * PolicyIssue_Action+    PolicyIssue_Action+      ( PolicyIssue_Action_ENFORCEMENTACTIONUNSPECIFIED,+        PolicyIssue_Action_Warned,+        PolicyIssue_Action_ADSERVINGRESTRICTED,+        PolicyIssue_Action_ADSERVINGDISABLED,+        PolicyIssue_Action_ADSERVEDWITHCLICKCONFIRMATION,+        PolicyIssue_Action_ADPERSONALIZATIONRESTRICTED,+        ..+      ),++    -- * PolicyIssue_EntityType+    PolicyIssue_EntityType+      ( PolicyIssue_EntityType_ENTITYTYPEUNSPECIFIED,+        PolicyIssue_EntityType_Site,+        PolicyIssue_EntityType_SITESECTION,+        PolicyIssue_EntityType_Page,+        ..+      ),++    -- * PolicyTopic_Type+    PolicyTopic_Type+      ( PolicyTopic_Type_POLICYTOPICTYPEUNSPECIFIED,+        PolicyTopic_Type_Policy,+        PolicyTopic_Type_ADVERTISERPREFERENCE,+        PolicyTopic_Type_Regulatory,+        ..+      ),++    -- * Site_State+    Site_State+      ( Site_State_STATEUNSPECIFIED,+        Site_State_REQUIRESREVIEW,+        Site_State_GETTINGREADY,+        Site_State_Ready,+        Site_State_NEEDSATTENTION,+        ..+      ),++    -- * AccountsReportsGenerateDateRange+    AccountsReportsGenerateDateRange+      ( AccountsReportsGenerateDateRange_REPORTINGDATERANGEUNSPECIFIED,+        AccountsReportsGenerateDateRange_Custom,+        AccountsReportsGenerateDateRange_Today,+        AccountsReportsGenerateDateRange_Yesterday,+        AccountsReportsGenerateDateRange_MONTHTODATE,+        AccountsReportsGenerateDateRange_YEARTODATE,+        AccountsReportsGenerateDateRange_LAST7DAYS,+        AccountsReportsGenerateDateRange_LAST30DAYS,+        ..+      ),++    -- * AccountsReportsGenerateDimensions+    AccountsReportsGenerateDimensions+      ( AccountsReportsGenerateDimensions_DIMENSIONUNSPECIFIED,+        AccountsReportsGenerateDimensions_Date,+        AccountsReportsGenerateDimensions_Week,+        AccountsReportsGenerateDimensions_Month,+        AccountsReportsGenerateDimensions_ACCOUNTNAME,+        AccountsReportsGenerateDimensions_ADCLIENTID,+        AccountsReportsGenerateDimensions_HOSTEDADCLIENTID,+        AccountsReportsGenerateDimensions_PRODUCTNAME,+        AccountsReportsGenerateDimensions_PRODUCTCODE,+        AccountsReportsGenerateDimensions_ADUNITNAME,+        AccountsReportsGenerateDimensions_ADUNITID,+        AccountsReportsGenerateDimensions_ADUNITSIZENAME,+        AccountsReportsGenerateDimensions_ADUNITSIZECODE,+        AccountsReportsGenerateDimensions_CUSTOMCHANNELNAME,+        AccountsReportsGenerateDimensions_CUSTOMCHANNELID,+        AccountsReportsGenerateDimensions_HOSTEDCUSTOMCHANNELID,+        AccountsReportsGenerateDimensions_OWNEDSITEDOMAINNAME,+        AccountsReportsGenerateDimensions_OWNEDSITEID,+        AccountsReportsGenerateDimensions_PAGEURL,+        AccountsReportsGenerateDimensions_URLCHANNELNAME,+        AccountsReportsGenerateDimensions_URLCHANNELID,+        AccountsReportsGenerateDimensions_BUYERNETWORKNAME,+        AccountsReportsGenerateDimensions_BUYERNETWORKID,+        AccountsReportsGenerateDimensions_BIDTYPENAME,+        AccountsReportsGenerateDimensions_BIDTYPECODE,+        AccountsReportsGenerateDimensions_CREATIVESIZENAME,+        AccountsReportsGenerateDimensions_CREATIVESIZECODE,+        AccountsReportsGenerateDimensions_DOMAINNAME,+        AccountsReportsGenerateDimensions_DOMAINCODE,+        AccountsReportsGenerateDimensions_COUNTRYNAME,+        AccountsReportsGenerateDimensions_COUNTRYCODE,+        AccountsReportsGenerateDimensions_PLATFORMTYPENAME,+        AccountsReportsGenerateDimensions_PLATFORMTYPECODE,+        AccountsReportsGenerateDimensions_TARGETINGTYPENAME,+        AccountsReportsGenerateDimensions_TARGETINGTYPECODE,+        AccountsReportsGenerateDimensions_CONTENTPLATFORMNAME,+        AccountsReportsGenerateDimensions_CONTENTPLATFORMCODE,+        AccountsReportsGenerateDimensions_ADPLACEMENTNAME,+        AccountsReportsGenerateDimensions_ADPLACEMENTCODE,+        AccountsReportsGenerateDimensions_REQUESTEDADTYPENAME,+        AccountsReportsGenerateDimensions_REQUESTEDADTYPECODE,+        AccountsReportsGenerateDimensions_SERVEDADTYPENAME,+        AccountsReportsGenerateDimensions_SERVEDADTYPECODE,+        AccountsReportsGenerateDimensions_ADFORMATNAME,+        AccountsReportsGenerateDimensions_ADFORMATCODE,+        AccountsReportsGenerateDimensions_CUSTOMSEARCHSTYLENAME,+        AccountsReportsGenerateDimensions_CUSTOMSEARCHSTYLEID,+        AccountsReportsGenerateDimensions_DOMAINREGISTRANT,+        AccountsReportsGenerateDimensions_WEBSEARCHQUERYSTRING,+        ..+      ),++    -- * AccountsReportsGenerateMetrics+    AccountsReportsGenerateMetrics+      ( AccountsReportsGenerateMetrics_METRICUNSPECIFIED,+        AccountsReportsGenerateMetrics_PAGEVIEWS,+        AccountsReportsGenerateMetrics_ADREQUESTS,+        AccountsReportsGenerateMetrics_MATCHEDADREQUESTS,+        AccountsReportsGenerateMetrics_TOTALIMPRESSIONS,+        AccountsReportsGenerateMetrics_Impressions,+        AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONS,+        AccountsReportsGenerateMetrics_Clicks,+        AccountsReportsGenerateMetrics_PAGEVIEWSSPAMRATIO,+        AccountsReportsGenerateMetrics_ADREQUESTSSPAMRATIO,+        AccountsReportsGenerateMetrics_MATCHEDADREQUESTSSPAMRATIO,+        AccountsReportsGenerateMetrics_IMPRESSIONSSPAMRATIO,+        AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSSPAMRATIO,+        AccountsReportsGenerateMetrics_CLICKSSPAMRATIO,+        AccountsReportsGenerateMetrics_ADREQUESTSCOVERAGE,+        AccountsReportsGenerateMetrics_PAGEVIEWSCTR,+        AccountsReportsGenerateMetrics_ADREQUESTSCTR,+        AccountsReportsGenerateMetrics_MATCHEDADREQUESTSCTR,+        AccountsReportsGenerateMetrics_IMPRESSIONSCTR,+        AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSCTR,+        AccountsReportsGenerateMetrics_ACTIVEVIEWMEASURABILITY,+        AccountsReportsGenerateMetrics_ACTIVEVIEWVIEWABILITY,+        AccountsReportsGenerateMetrics_ACTIVEVIEWTIME,+        AccountsReportsGenerateMetrics_ESTIMATEDEARNINGS,+        AccountsReportsGenerateMetrics_PAGEVIEWSRPM,+        AccountsReportsGenerateMetrics_ADREQUESTSRPM,+        AccountsReportsGenerateMetrics_MATCHEDADREQUESTSRPM,+        AccountsReportsGenerateMetrics_IMPRESSIONSRPM,+        AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSRPM,+        AccountsReportsGenerateMetrics_COSTPERCLICK,+        AccountsReportsGenerateMetrics_ADSPERIMPRESSION,+        AccountsReportsGenerateMetrics_TOTALEARNINGS,+        AccountsReportsGenerateMetrics_WEBSEARCHRESULTPAGES,+        AccountsReportsGenerateMetrics_FUNNELREQUESTS,+        AccountsReportsGenerateMetrics_FUNNELIMPRESSIONS,+        AccountsReportsGenerateMetrics_FUNNELCLICKS,+        AccountsReportsGenerateMetrics_FUNNELRPM,+        ..+      ),++    -- * AccountsReportsGenerateReportingTimeZone+    AccountsReportsGenerateReportingTimeZone+      ( AccountsReportsGenerateReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED,+        AccountsReportsGenerateReportingTimeZone_ACCOUNTTIMEZONE,+        AccountsReportsGenerateReportingTimeZone_GOOGLETIMEZONE,+        ..+      ),++    -- * AccountsReportsGenerateCsvDateRange+    AccountsReportsGenerateCsvDateRange+      ( AccountsReportsGenerateCsvDateRange_REPORTINGDATERANGEUNSPECIFIED,+        AccountsReportsGenerateCsvDateRange_Custom,+        AccountsReportsGenerateCsvDateRange_Today,+        AccountsReportsGenerateCsvDateRange_Yesterday,+        AccountsReportsGenerateCsvDateRange_MONTHTODATE,+        AccountsReportsGenerateCsvDateRange_YEARTODATE,+        AccountsReportsGenerateCsvDateRange_LAST7DAYS,+        AccountsReportsGenerateCsvDateRange_LAST30DAYS,+        ..+      ),++    -- * AccountsReportsGenerateCsvDimensions+    AccountsReportsGenerateCsvDimensions+      ( AccountsReportsGenerateCsvDimensions_DIMENSIONUNSPECIFIED,+        AccountsReportsGenerateCsvDimensions_Date,+        AccountsReportsGenerateCsvDimensions_Week,+        AccountsReportsGenerateCsvDimensions_Month,+        AccountsReportsGenerateCsvDimensions_ACCOUNTNAME,+        AccountsReportsGenerateCsvDimensions_ADCLIENTID,+        AccountsReportsGenerateCsvDimensions_HOSTEDADCLIENTID,+        AccountsReportsGenerateCsvDimensions_PRODUCTNAME,+        AccountsReportsGenerateCsvDimensions_PRODUCTCODE,+        AccountsReportsGenerateCsvDimensions_ADUNITNAME,+        AccountsReportsGenerateCsvDimensions_ADUNITID,+        AccountsReportsGenerateCsvDimensions_ADUNITSIZENAME,+        AccountsReportsGenerateCsvDimensions_ADUNITSIZECODE,+        AccountsReportsGenerateCsvDimensions_CUSTOMCHANNELNAME,+        AccountsReportsGenerateCsvDimensions_CUSTOMCHANNELID,+        AccountsReportsGenerateCsvDimensions_HOSTEDCUSTOMCHANNELID,+        AccountsReportsGenerateCsvDimensions_OWNEDSITEDOMAINNAME,+        AccountsReportsGenerateCsvDimensions_OWNEDSITEID,+        AccountsReportsGenerateCsvDimensions_PAGEURL,+        AccountsReportsGenerateCsvDimensions_URLCHANNELNAME,+        AccountsReportsGenerateCsvDimensions_URLCHANNELID,+        AccountsReportsGenerateCsvDimensions_BUYERNETWORKNAME,+        AccountsReportsGenerateCsvDimensions_BUYERNETWORKID,+        AccountsReportsGenerateCsvDimensions_BIDTYPENAME,+        AccountsReportsGenerateCsvDimensions_BIDTYPECODE,+        AccountsReportsGenerateCsvDimensions_CREATIVESIZENAME,+        AccountsReportsGenerateCsvDimensions_CREATIVESIZECODE,+        AccountsReportsGenerateCsvDimensions_DOMAINNAME,+        AccountsReportsGenerateCsvDimensions_DOMAINCODE,+        AccountsReportsGenerateCsvDimensions_COUNTRYNAME,+        AccountsReportsGenerateCsvDimensions_COUNTRYCODE,+        AccountsReportsGenerateCsvDimensions_PLATFORMTYPENAME,+        AccountsReportsGenerateCsvDimensions_PLATFORMTYPECODE,+        AccountsReportsGenerateCsvDimensions_TARGETINGTYPENAME,+        AccountsReportsGenerateCsvDimensions_TARGETINGTYPECODE,+        AccountsReportsGenerateCsvDimensions_CONTENTPLATFORMNAME,+        AccountsReportsGenerateCsvDimensions_CONTENTPLATFORMCODE,+        AccountsReportsGenerateCsvDimensions_ADPLACEMENTNAME,+        AccountsReportsGenerateCsvDimensions_ADPLACEMENTCODE,+        AccountsReportsGenerateCsvDimensions_REQUESTEDADTYPENAME,+        AccountsReportsGenerateCsvDimensions_REQUESTEDADTYPECODE,+        AccountsReportsGenerateCsvDimensions_SERVEDADTYPENAME,+        AccountsReportsGenerateCsvDimensions_SERVEDADTYPECODE,+        AccountsReportsGenerateCsvDimensions_ADFORMATNAME,+        AccountsReportsGenerateCsvDimensions_ADFORMATCODE,+        AccountsReportsGenerateCsvDimensions_CUSTOMSEARCHSTYLENAME,+        AccountsReportsGenerateCsvDimensions_CUSTOMSEARCHSTYLEID,+        AccountsReportsGenerateCsvDimensions_DOMAINREGISTRANT,+        AccountsReportsGenerateCsvDimensions_WEBSEARCHQUERYSTRING,+        ..+      ),++    -- * AccountsReportsGenerateCsvMetrics+    AccountsReportsGenerateCsvMetrics+      ( AccountsReportsGenerateCsvMetrics_METRICUNSPECIFIED,+        AccountsReportsGenerateCsvMetrics_PAGEVIEWS,+        AccountsReportsGenerateCsvMetrics_ADREQUESTS,+        AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTS,+        AccountsReportsGenerateCsvMetrics_TOTALIMPRESSIONS,+        AccountsReportsGenerateCsvMetrics_Impressions,+        AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONS,+        AccountsReportsGenerateCsvMetrics_Clicks,+        AccountsReportsGenerateCsvMetrics_PAGEVIEWSSPAMRATIO,+        AccountsReportsGenerateCsvMetrics_ADREQUESTSSPAMRATIO,+        AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSSPAMRATIO,+        AccountsReportsGenerateCsvMetrics_IMPRESSIONSSPAMRATIO,+        AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSSPAMRATIO,+        AccountsReportsGenerateCsvMetrics_CLICKSSPAMRATIO,+        AccountsReportsGenerateCsvMetrics_ADREQUESTSCOVERAGE,+        AccountsReportsGenerateCsvMetrics_PAGEVIEWSCTR,+        AccountsReportsGenerateCsvMetrics_ADREQUESTSCTR,+        AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSCTR,+        AccountsReportsGenerateCsvMetrics_IMPRESSIONSCTR,+        AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSCTR,+        AccountsReportsGenerateCsvMetrics_ACTIVEVIEWMEASURABILITY,+        AccountsReportsGenerateCsvMetrics_ACTIVEVIEWVIEWABILITY,+        AccountsReportsGenerateCsvMetrics_ACTIVEVIEWTIME,+        AccountsReportsGenerateCsvMetrics_ESTIMATEDEARNINGS,+        AccountsReportsGenerateCsvMetrics_PAGEVIEWSRPM,+        AccountsReportsGenerateCsvMetrics_ADREQUESTSRPM,+        AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSRPM,+        AccountsReportsGenerateCsvMetrics_IMPRESSIONSRPM,+        AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSRPM,+        AccountsReportsGenerateCsvMetrics_COSTPERCLICK,+        AccountsReportsGenerateCsvMetrics_ADSPERIMPRESSION,+        AccountsReportsGenerateCsvMetrics_TOTALEARNINGS,+        AccountsReportsGenerateCsvMetrics_WEBSEARCHRESULTPAGES,+        AccountsReportsGenerateCsvMetrics_FUNNELREQUESTS,+        AccountsReportsGenerateCsvMetrics_FUNNELIMPRESSIONS,+        AccountsReportsGenerateCsvMetrics_FUNNELCLICKS,+        AccountsReportsGenerateCsvMetrics_FUNNELRPM,+        ..+      ),++    -- * AccountsReportsGenerateCsvReportingTimeZone+    AccountsReportsGenerateCsvReportingTimeZone+      ( AccountsReportsGenerateCsvReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED,+        AccountsReportsGenerateCsvReportingTimeZone_ACCOUNTTIMEZONE,+        AccountsReportsGenerateCsvReportingTimeZone_GOOGLETIMEZONE,+        ..+      ),++    -- * AccountsReportsSavedGenerateDateRange+    AccountsReportsSavedGenerateDateRange+      ( AccountsReportsSavedGenerateDateRange_REPORTINGDATERANGEUNSPECIFIED,+        AccountsReportsSavedGenerateDateRange_Custom,+        AccountsReportsSavedGenerateDateRange_Today,+        AccountsReportsSavedGenerateDateRange_Yesterday,+        AccountsReportsSavedGenerateDateRange_MONTHTODATE,+        AccountsReportsSavedGenerateDateRange_YEARTODATE,+        AccountsReportsSavedGenerateDateRange_LAST7DAYS,+        AccountsReportsSavedGenerateDateRange_LAST30DAYS,+        ..+      ),++    -- * AccountsReportsSavedGenerateReportingTimeZone+    AccountsReportsSavedGenerateReportingTimeZone+      ( AccountsReportsSavedGenerateReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED,+        AccountsReportsSavedGenerateReportingTimeZone_ACCOUNTTIMEZONE,+        AccountsReportsSavedGenerateReportingTimeZone_GOOGLETIMEZONE,+        ..+      ),++    -- * AccountsReportsSavedGenerateCsvDateRange+    AccountsReportsSavedGenerateCsvDateRange+      ( AccountsReportsSavedGenerateCsvDateRange_REPORTINGDATERANGEUNSPECIFIED,+        AccountsReportsSavedGenerateCsvDateRange_Custom,+        AccountsReportsSavedGenerateCsvDateRange_Today,+        AccountsReportsSavedGenerateCsvDateRange_Yesterday,+        AccountsReportsSavedGenerateCsvDateRange_MONTHTODATE,+        AccountsReportsSavedGenerateCsvDateRange_YEARTODATE,+        AccountsReportsSavedGenerateCsvDateRange_LAST7DAYS,+        AccountsReportsSavedGenerateCsvDateRange_LAST30DAYS,+        ..+      ),++    -- * AccountsReportsSavedGenerateCsvReportingTimeZone+    AccountsReportsSavedGenerateCsvReportingTimeZone+      ( AccountsReportsSavedGenerateCsvReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED,+        AccountsReportsSavedGenerateCsvReportingTimeZone_ACCOUNTTIMEZONE,+        AccountsReportsSavedGenerateCsvReportingTimeZone_GOOGLETIMEZONE,+        ..+      ),+  )+where++import Gogol.Prelude qualified as Core++-- | V1 error format.+newtype Xgafv = Xgafv {fromXgafv :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | v1 error format+pattern Xgafv_1 :: Xgafv+pattern Xgafv_1 = Xgafv "1"++-- | v2 error format+pattern Xgafv_2 :: Xgafv+pattern Xgafv_2 = Xgafv "2"++{-# COMPLETE+  Xgafv_1,+  Xgafv_2,+  Xgafv+  #-}++-- | Output only. State of the account.+newtype Account_State = Account_State {fromAccount_State :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | State unspecified.+pattern Account_State_STATEUNSPECIFIED :: Account_State+pattern Account_State_STATEUNSPECIFIED = Account_State "STATE_UNSPECIFIED"++-- | The account is open and ready to serve ads.+pattern Account_State_Ready :: Account_State+pattern Account_State_Ready = Account_State "READY"++-- | There are some issues with this account. Publishers should visit AdSense in order to fix the account.+pattern Account_State_NEEDSATTENTION :: Account_State+pattern Account_State_NEEDSATTENTION = Account_State "NEEDS_ATTENTION"++-- | The account is closed and can\'t serve ads.+pattern Account_State_Closed :: Account_State+pattern Account_State_Closed = Account_State "CLOSED"++{-# COMPLETE+  Account_State_STATEUNSPECIFIED,+  Account_State_Ready,+  Account_State_NEEDSATTENTION,+  Account_State_Closed,+  Account_State+  #-}++-- | Output only. State of the ad client.+newtype AdClient_State = AdClient_State {fromAdClient_State :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | State unspecified.+pattern AdClient_State_STATEUNSPECIFIED :: AdClient_State+pattern AdClient_State_STATEUNSPECIFIED = AdClient_State "STATE_UNSPECIFIED"++-- | The ad client is ready to show ads.+pattern AdClient_State_Ready :: AdClient_State+pattern AdClient_State_Ready = AdClient_State "READY"++-- | Running some checks on the ad client before it is ready to serve ads.+pattern AdClient_State_GETTINGREADY :: AdClient_State+pattern AdClient_State_GETTINGREADY = AdClient_State "GETTING_READY"++-- | The ad client hasn\'t been checked yet. There are tasks pending before AdSense will start the review.+pattern AdClient_State_REQUIRESREVIEW :: AdClient_State+pattern AdClient_State_REQUIRESREVIEW = AdClient_State "REQUIRES_REVIEW"++{-# COMPLETE+  AdClient_State_STATEUNSPECIFIED,+  AdClient_State_Ready,+  AdClient_State_GETTINGREADY,+  AdClient_State_REQUIRESREVIEW,+  AdClient_State+  #-}++-- | Required. State of the ad unit.+newtype AdUnit_State = AdUnit_State {fromAdUnit_State :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | State unspecified.+pattern AdUnit_State_STATEUNSPECIFIED :: AdUnit_State+pattern AdUnit_State_STATEUNSPECIFIED = AdUnit_State "STATE_UNSPECIFIED"++-- | Ad unit has been activated by the user.+pattern AdUnit_State_Active :: AdUnit_State+pattern AdUnit_State_Active = AdUnit_State "ACTIVE"++-- | Ad unit has been archived by the user. Note that archived ad units are only removed from the default view in the UI. Archived ad units can still serve ads.+pattern AdUnit_State_Archived :: AdUnit_State+pattern AdUnit_State_Archived = AdUnit_State "ARCHIVED"++{-# COMPLETE+  AdUnit_State_STATEUNSPECIFIED,+  AdUnit_State_Active,+  AdUnit_State_Archived,+  AdUnit_State+  #-}++-- | Output only. Severity of this alert.+newtype Alert_Severity = Alert_Severity {fromAlert_Severity :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified severity.+pattern Alert_Severity_SEVERITYUNSPECIFIED :: Alert_Severity+pattern Alert_Severity_SEVERITYUNSPECIFIED = Alert_Severity "SEVERITY_UNSPECIFIED"++-- | Info.+pattern Alert_Severity_Info :: Alert_Severity+pattern Alert_Severity_Info = Alert_Severity "INFO"++-- | Warning.+pattern Alert_Severity_Warning :: Alert_Severity+pattern Alert_Severity_Warning = Alert_Severity "WARNING"++-- | Severe.+pattern Alert_Severity_Severe :: Alert_Severity+pattern Alert_Severity_Severe = Alert_Severity "SEVERE"++{-# COMPLETE+  Alert_Severity_SEVERITYUNSPECIFIED,+  Alert_Severity_Info,+  Alert_Severity_Warning,+  Alert_Severity_Severe,+  Alert_Severity+  #-}++-- | Required. Type of the ad unit.+newtype ContentAdsSettings_Type = ContentAdsSettings_Type {fromContentAdsSettings_Type :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified ad unit type.+pattern ContentAdsSettings_Type_TYPEUNSPECIFIED :: ContentAdsSettings_Type+pattern ContentAdsSettings_Type_TYPEUNSPECIFIED = ContentAdsSettings_Type "TYPE_UNSPECIFIED"++-- | Display ad unit.+pattern ContentAdsSettings_Type_Display :: ContentAdsSettings_Type+pattern ContentAdsSettings_Type_Display = ContentAdsSettings_Type "DISPLAY"++-- | In-feed ad unit.+pattern ContentAdsSettings_Type_Feed :: ContentAdsSettings_Type+pattern ContentAdsSettings_Type_Feed = ContentAdsSettings_Type "FEED"++-- | In-article ad unit.+pattern ContentAdsSettings_Type_Article :: ContentAdsSettings_Type+pattern ContentAdsSettings_Type_Article = ContentAdsSettings_Type "ARTICLE"++-- | Matched content unit.+pattern ContentAdsSettings_Type_MATCHEDCONTENT :: ContentAdsSettings_Type+pattern ContentAdsSettings_Type_MATCHEDCONTENT = ContentAdsSettings_Type "MATCHED_CONTENT"++-- | Link ad unit. Note that link ad units have now been retired, see https:\/\/support.google.com\/adsense\/answer\/9987221.+pattern ContentAdsSettings_Type_Link :: ContentAdsSettings_Type+pattern ContentAdsSettings_Type_Link = ContentAdsSettings_Type "LINK"++{-# COMPLETE+  ContentAdsSettings_Type_TYPEUNSPECIFIED,+  ContentAdsSettings_Type_Display,+  ContentAdsSettings_Type_Feed,+  ContentAdsSettings_Type_Article,+  ContentAdsSettings_Type_MATCHEDCONTENT,+  ContentAdsSettings_Type_Link,+  ContentAdsSettings_Type+  #-}++-- | Required. Type of the header.+newtype Header_Type = Header_Type {fromHeader_Type :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified header.+pattern Header_Type_HEADERTYPEUNSPECIFIED :: Header_Type+pattern Header_Type_HEADERTYPEUNSPECIFIED = Header_Type "HEADER_TYPE_UNSPECIFIED"++-- | Dimension header type.+pattern Header_Type_Dimension :: Header_Type+pattern Header_Type_Dimension = Header_Type "DIMENSION"++-- | Tally header type.+pattern Header_Type_METRICTALLY :: Header_Type+pattern Header_Type_METRICTALLY = Header_Type "METRIC_TALLY"++-- | Ratio header type.+pattern Header_Type_METRICRATIO :: Header_Type+pattern Header_Type_METRICRATIO = Header_Type "METRIC_RATIO"++-- | Currency header type.+pattern Header_Type_METRICCURRENCY :: Header_Type+pattern Header_Type_METRICCURRENCY = Header_Type "METRIC_CURRENCY"++-- | Milliseconds header type.+pattern Header_Type_METRICMILLISECONDS :: Header_Type+pattern Header_Type_METRICMILLISECONDS = Header_Type "METRIC_MILLISECONDS"++-- | Decimal header type.+pattern Header_Type_METRICDECIMAL :: Header_Type+pattern Header_Type_METRICDECIMAL = Header_Type "METRIC_DECIMAL"++{-# COMPLETE+  Header_Type_HEADERTYPEUNSPECIFIED,+  Header_Type_Dimension,+  Header_Type_METRICTALLY,+  Header_Type_METRICRATIO,+  Header_Type_METRICCURRENCY,+  Header_Type_METRICMILLISECONDS,+  Header_Type_METRICDECIMAL,+  Header_Type+  #-}++-- | Required. The most severe action taken on the entity over the past seven days.+newtype PolicyIssue_Action = PolicyIssue_Action {fromPolicyIssue_Action :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The action is unspecified.+pattern PolicyIssue_Action_ENFORCEMENTACTIONUNSPECIFIED :: PolicyIssue_Action+pattern PolicyIssue_Action_ENFORCEMENTACTIONUNSPECIFIED = PolicyIssue_Action "ENFORCEMENT_ACTION_UNSPECIFIED"++-- | No ad serving enforcement is currently present, but enforcement will start on the @warning_escalation_date@ if the issue is not resolved.+pattern PolicyIssue_Action_Warned :: PolicyIssue_Action+pattern PolicyIssue_Action_Warned = PolicyIssue_Action "WARNED"++-- | Ad serving demand has been restricted on the entity.+pattern PolicyIssue_Action_ADSERVINGRESTRICTED :: PolicyIssue_Action+pattern PolicyIssue_Action_ADSERVINGRESTRICTED = PolicyIssue_Action "AD_SERVING_RESTRICTED"++-- | Ad serving has been disabled on the entity.+pattern PolicyIssue_Action_ADSERVINGDISABLED :: PolicyIssue_Action+pattern PolicyIssue_Action_ADSERVINGDISABLED = PolicyIssue_Action "AD_SERVING_DISABLED"++-- | Ads are being served for the entity but Confirmed Click is being applied to the ads. See https:\/\/support.google.com\/adsense\/answer\/10025624.+pattern PolicyIssue_Action_ADSERVEDWITHCLICKCONFIRMATION :: PolicyIssue_Action+pattern PolicyIssue_Action_ADSERVEDWITHCLICKCONFIRMATION = PolicyIssue_Action "AD_SERVED_WITH_CLICK_CONFIRMATION"++-- | Ad personalization is restricted because the ad requests coming from the EEA and UK do not have a TCF string or the Consent Management Platform (CMP) indicated by the TCF string is not Google certified. As a result, basic\/limited ads will be served. See https:\/\/support.google.com\/adsense\/answer\/13554116+pattern PolicyIssue_Action_ADPERSONALIZATIONRESTRICTED :: PolicyIssue_Action+pattern PolicyIssue_Action_ADPERSONALIZATIONRESTRICTED = PolicyIssue_Action "AD_PERSONALIZATION_RESTRICTED"++{-# COMPLETE+  PolicyIssue_Action_ENFORCEMENTACTIONUNSPECIFIED,+  PolicyIssue_Action_Warned,+  PolicyIssue_Action_ADSERVINGRESTRICTED,+  PolicyIssue_Action_ADSERVINGDISABLED,+  PolicyIssue_Action_ADSERVEDWITHCLICKCONFIRMATION,+  PolicyIssue_Action_ADPERSONALIZATIONRESTRICTED,+  PolicyIssue_Action+  #-}++-- | Required. Type of the entity indicating if the entity is a site, site-section, or page.+newtype PolicyIssue_EntityType = PolicyIssue_EntityType {fromPolicyIssue_EntityType :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The entity type is unspecified.+pattern PolicyIssue_EntityType_ENTITYTYPEUNSPECIFIED :: PolicyIssue_EntityType+pattern PolicyIssue_EntityType_ENTITYTYPEUNSPECIFIED = PolicyIssue_EntityType "ENTITY_TYPE_UNSPECIFIED"++-- | The enforced entity is an entire website.+pattern PolicyIssue_EntityType_Site :: PolicyIssue_EntityType+pattern PolicyIssue_EntityType_Site = PolicyIssue_EntityType "SITE"++-- | The enforced entity is a particular section of a website. All the pages with this prefix are enforced.+pattern PolicyIssue_EntityType_SITESECTION :: PolicyIssue_EntityType+pattern PolicyIssue_EntityType_SITESECTION = PolicyIssue_EntityType "SITE_SECTION"++-- | The enforced entity is a single web page.+pattern PolicyIssue_EntityType_Page :: PolicyIssue_EntityType+pattern PolicyIssue_EntityType_Page = PolicyIssue_EntityType "PAGE"++{-# COMPLETE+  PolicyIssue_EntityType_ENTITYTYPEUNSPECIFIED,+  PolicyIssue_EntityType_Site,+  PolicyIssue_EntityType_SITESECTION,+  PolicyIssue_EntityType_Page,+  PolicyIssue_EntityType+  #-}++-- | Optional. The type of policy topic. For example, \"POLICY\" represents all the policy topics that are related to the Google Publisher Policy (GPP). See https:\/\/support.google.com\/adsense\/answer\/15689616.+newtype PolicyTopic_Type = PolicyTopic_Type {fromPolicyTopic_Type :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | The type is unspecified.+pattern PolicyTopic_Type_POLICYTOPICTYPEUNSPECIFIED :: PolicyTopic_Type+pattern PolicyTopic_Type_POLICYTOPICTYPEUNSPECIFIED = PolicyTopic_Type "POLICY_TOPIC_TYPE_UNSPECIFIED"++-- | Topics that are primarily related to the Google Publisher Policy (GPP) https:\/\/support.google.com\/publisherpolicies\/answer\/10502938 or the Google Publisher Restrictions (GPR) policies https:\/\/support.google.com\/publisherpolicies\/answer\/10437795.+pattern PolicyTopic_Type_Policy :: PolicyTopic_Type+pattern PolicyTopic_Type_Policy = PolicyTopic_Type "POLICY"++-- | Topics that are related to advertiser preferences. Certain advertisers may choose not to bid on content that are labeled with certain policies.+pattern PolicyTopic_Type_ADVERTISERPREFERENCE :: PolicyTopic_Type+pattern PolicyTopic_Type_ADVERTISERPREFERENCE = PolicyTopic_Type "ADVERTISER_PREFERENCE"++-- | Any topics that are a result of a country or regional regulatory requirement body.+pattern PolicyTopic_Type_Regulatory :: PolicyTopic_Type+pattern PolicyTopic_Type_Regulatory = PolicyTopic_Type "REGULATORY"++{-# COMPLETE+  PolicyTopic_Type_POLICYTOPICTYPEUNSPECIFIED,+  PolicyTopic_Type_Policy,+  PolicyTopic_Type_ADVERTISERPREFERENCE,+  PolicyTopic_Type_Regulatory,+  PolicyTopic_Type+  #-}++-- | Output only. State of a site.+newtype Site_State = Site_State {fromSite_State :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | State unspecified.+pattern Site_State_STATEUNSPECIFIED :: Site_State+pattern Site_State_STATEUNSPECIFIED = Site_State "STATE_UNSPECIFIED"++-- | Either: * The site hasn\'t been checked yet. * The site is inactive and needs another review before it can show ads again. Learn how to <https://support.google.com/adsense/answer/9393996 request a review for an inactive site>.+pattern Site_State_REQUIRESREVIEW :: Site_State+pattern Site_State_REQUIRESREVIEW = Site_State "REQUIRES_REVIEW"++-- | Google is running some checks on the site. This usually takes a few days, but in some cases it can take two to four weeks.+pattern Site_State_GETTINGREADY :: Site_State+pattern Site_State_GETTINGREADY = Site_State "GETTING_READY"++-- | The site is ready to show ads. Learn how to <https://support.google.com/adsense/answer/7037624 set up ads on the site>.+pattern Site_State_Ready :: Site_State+pattern Site_State_Ready = Site_State "READY"++-- | Publisher needs to fix some issues before the site is ready to show ads. Learn what to do <https://support.google.com/adsense/answer/9061852 if a new site isn\'t ready>.+pattern Site_State_NEEDSATTENTION :: Site_State+pattern Site_State_NEEDSATTENTION = Site_State "NEEDS_ATTENTION"++{-# COMPLETE+  Site_State_STATEUNSPECIFIED,+  Site_State_REQUIRESREVIEW,+  Site_State_GETTINGREADY,+  Site_State_Ready,+  Site_State_NEEDSATTENTION,+  Site_State+  #-}++-- | Date range of the report, if unset the range will be considered CUSTOM.+newtype AccountsReportsGenerateDateRange = AccountsReportsGenerateDateRange {fromAccountsReportsGenerateDateRange :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified date range.+pattern AccountsReportsGenerateDateRange_REPORTINGDATERANGEUNSPECIFIED :: AccountsReportsGenerateDateRange+pattern AccountsReportsGenerateDateRange_REPORTINGDATERANGEUNSPECIFIED = AccountsReportsGenerateDateRange "REPORTING_DATE_RANGE_UNSPECIFIED"++-- | A custom date range specified using the @start_date@ and @end_date@ fields. This is the default if no ReportingDateRange is provided.+pattern AccountsReportsGenerateDateRange_Custom :: AccountsReportsGenerateDateRange+pattern AccountsReportsGenerateDateRange_Custom = AccountsReportsGenerateDateRange "CUSTOM"++-- | Current day.+pattern AccountsReportsGenerateDateRange_Today :: AccountsReportsGenerateDateRange+pattern AccountsReportsGenerateDateRange_Today = AccountsReportsGenerateDateRange "TODAY"++-- | Yesterday.+pattern AccountsReportsGenerateDateRange_Yesterday :: AccountsReportsGenerateDateRange+pattern AccountsReportsGenerateDateRange_Yesterday = AccountsReportsGenerateDateRange "YESTERDAY"++-- | From the start of the current month to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-03-01, 2020-03-12].+pattern AccountsReportsGenerateDateRange_MONTHTODATE :: AccountsReportsGenerateDateRange+pattern AccountsReportsGenerateDateRange_MONTHTODATE = AccountsReportsGenerateDateRange "MONTH_TO_DATE"++-- | From the start of the current year to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-01-01, 2020-03-12].+pattern AccountsReportsGenerateDateRange_YEARTODATE :: AccountsReportsGenerateDateRange+pattern AccountsReportsGenerateDateRange_YEARTODATE = AccountsReportsGenerateDateRange "YEAR_TO_DATE"++-- | Last 7 days, excluding current day.+pattern AccountsReportsGenerateDateRange_LAST7DAYS :: AccountsReportsGenerateDateRange+pattern AccountsReportsGenerateDateRange_LAST7DAYS = AccountsReportsGenerateDateRange "LAST_7_DAYS"++-- | Last 30 days, excluding current day.+pattern AccountsReportsGenerateDateRange_LAST30DAYS :: AccountsReportsGenerateDateRange+pattern AccountsReportsGenerateDateRange_LAST30DAYS = AccountsReportsGenerateDateRange "LAST_30_DAYS"++{-# COMPLETE+  AccountsReportsGenerateDateRange_REPORTINGDATERANGEUNSPECIFIED,+  AccountsReportsGenerateDateRange_Custom,+  AccountsReportsGenerateDateRange_Today,+  AccountsReportsGenerateDateRange_Yesterday,+  AccountsReportsGenerateDateRange_MONTHTODATE,+  AccountsReportsGenerateDateRange_YEARTODATE,+  AccountsReportsGenerateDateRange_LAST7DAYS,+  AccountsReportsGenerateDateRange_LAST30DAYS,+  AccountsReportsGenerateDateRange+  #-}++-- | Dimensions to base the report on.+newtype AccountsReportsGenerateDimensions = AccountsReportsGenerateDimensions {fromAccountsReportsGenerateDimensions :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified dimension.+pattern AccountsReportsGenerateDimensions_DIMENSIONUNSPECIFIED :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_DIMENSIONUNSPECIFIED = AccountsReportsGenerateDimensions "DIMENSION_UNSPECIFIED"++-- | Date dimension in YYYY-MM-DD format (e.g. \"2010-02-10\").+pattern AccountsReportsGenerateDimensions_Date :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_Date = AccountsReportsGenerateDimensions "DATE"++-- | Week dimension in YYYY-MM-DD format, representing the first day of each week (e.g. \"2010-02-08\"). The first day of the week is determined by the language_code specified in a report generation request (so e.g. this would be a Monday for \"en-GB\" or \"es\", but a Sunday for \"en\" or \"fr-CA\").+pattern AccountsReportsGenerateDimensions_Week :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_Week = AccountsReportsGenerateDimensions "WEEK"++-- | Month dimension in YYYY-MM format (e.g. \"2010-02\").+pattern AccountsReportsGenerateDimensions_Month :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_Month = AccountsReportsGenerateDimensions "MONTH"++-- | Account name. The members of this dimension match the values from Account.display_name.+pattern AccountsReportsGenerateDimensions_ACCOUNTNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ACCOUNTNAME = AccountsReportsGenerateDimensions "ACCOUNT_NAME"++-- | Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting/dimension/id.+pattern AccountsReportsGenerateDimensions_ADCLIENTID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADCLIENTID = AccountsReportsGenerateDimensions "AD_CLIENT_ID"++-- | Unique ID of a sub-account\'s ad client. The members of this dimension match the values from AdClient.reporting/dimension/id (for the sub-account).+pattern AccountsReportsGenerateDimensions_HOSTEDADCLIENTID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_HOSTEDADCLIENTID = AccountsReportsGenerateDimensions "HOSTED_AD_CLIENT_ID"++-- | Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").+pattern AccountsReportsGenerateDimensions_PRODUCTNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_PRODUCTNAME = AccountsReportsGenerateDimensions "PRODUCT_NAME"++-- | Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.+pattern AccountsReportsGenerateDimensions_PRODUCTCODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_PRODUCTCODE = AccountsReportsGenerateDimensions "PRODUCT_CODE"++-- | Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.+pattern AccountsReportsGenerateDimensions_ADUNITNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADUNITNAME = AccountsReportsGenerateDimensions "AD_UNIT_NAME"++-- | Unique ID of an ad unit (within which an ad was served). The members of this dimension match the values from AdUnit.reporting/dimension/id.+pattern AccountsReportsGenerateDimensions_ADUNITID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADUNITID = AccountsReportsGenerateDimensions "AD_UNIT_ID"++-- | Localized size of an ad unit (e.g. \"728x90\", \"Responsive\").+pattern AccountsReportsGenerateDimensions_ADUNITSIZENAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADUNITSIZENAME = AccountsReportsGenerateDimensions "AD_UNIT_SIZE_NAME"++-- | The size code of an ad unit (e.g. \"728x90\", \"responsive\").+pattern AccountsReportsGenerateDimensions_ADUNITSIZECODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADUNITSIZECODE = AccountsReportsGenerateDimensions "AD_UNIT_SIZE_CODE"++-- | Custom channel name. The members of this dimension match the values from CustomChannel.display_name.+pattern AccountsReportsGenerateDimensions_CUSTOMCHANNELNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_CUSTOMCHANNELNAME = AccountsReportsGenerateDimensions "CUSTOM_CHANNEL_NAME"++-- | Unique ID of a custom channel. The members of this dimension match the values from CustomChannel.reporting/dimension/id.+pattern AccountsReportsGenerateDimensions_CUSTOMCHANNELID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_CUSTOMCHANNELID = AccountsReportsGenerateDimensions "CUSTOM_CHANNEL_ID"++-- | Not supported.+pattern AccountsReportsGenerateDimensions_HOSTEDCUSTOMCHANNELID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_HOSTEDCUSTOMCHANNELID = AccountsReportsGenerateDimensions "HOSTED_CUSTOM_CHANNEL_ID"++-- | Domain name of a verified site (e.g. \"example.com\"). The members of this dimension match the values from Site.domain.+pattern AccountsReportsGenerateDimensions_OWNEDSITEDOMAINNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_OWNEDSITEDOMAINNAME = AccountsReportsGenerateDimensions "OWNED_SITE_DOMAIN_NAME"++-- | Unique ID of a verified site. The members of this dimension match the values from Site.reporting/dimension/id.+pattern AccountsReportsGenerateDimensions_OWNEDSITEID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_OWNEDSITEID = AccountsReportsGenerateDimensions "OWNED_SITE_ID"++-- | URL of the page upon which the ad was served. This is a complete URL including scheme and query parameters. Note that the URL that appears in this dimension may be a canonicalized version of the one that was used in the original request, and so may not exactly match the URL that a user might have seen. Note that there are also some caveats to be aware of when using this dimension. For more information, see <https://support.google.com/adsense/answer/11988478 Page URL breakdown>.+pattern AccountsReportsGenerateDimensions_PAGEURL :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_PAGEURL = AccountsReportsGenerateDimensions "PAGE_URL"++-- | Name of a URL channel. The members of this dimension match the values from UrlChannel.uri_pattern.+pattern AccountsReportsGenerateDimensions_URLCHANNELNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_URLCHANNELNAME = AccountsReportsGenerateDimensions "URL_CHANNEL_NAME"++-- | Unique ID of a URL channel. The members of this dimension match the values from UrlChannel.reporting/dimension/id.+pattern AccountsReportsGenerateDimensions_URLCHANNELID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_URLCHANNELID = AccountsReportsGenerateDimensions "URL_CHANNEL_ID"++-- | Name of an ad network that returned the winning ads for an ad request (e.g. \"Google AdWords\"). Note that unlike other \"NAME\" dimensions, the members of this dimensions are not localized.+pattern AccountsReportsGenerateDimensions_BUYERNETWORKNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_BUYERNETWORKNAME = AccountsReportsGenerateDimensions "BUYER_NETWORK_NAME"++-- | Unique (opaque) ID of an ad network that returned the winning ads for an ad request.+pattern AccountsReportsGenerateDimensions_BUYERNETWORKID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_BUYERNETWORKID = AccountsReportsGenerateDimensions "BUYER_NETWORK_ID"++-- | Localized bid type name (e.g. \"CPC bids\", \"CPM bids\") for a served ad.+pattern AccountsReportsGenerateDimensions_BIDTYPENAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_BIDTYPENAME = AccountsReportsGenerateDimensions "BID_TYPE_NAME"++-- | Type of a bid (e.g. \"cpc\", \"cpm\") for a served ad.+pattern AccountsReportsGenerateDimensions_BIDTYPECODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_BIDTYPECODE = AccountsReportsGenerateDimensions "BID_TYPE_CODE"++-- | Localized creative size name (e.g. \"728x90\", \"Dynamic\") of a served ad.+pattern AccountsReportsGenerateDimensions_CREATIVESIZENAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_CREATIVESIZENAME = AccountsReportsGenerateDimensions "CREATIVE_SIZE_NAME"++-- | Creative size code (e.g. \"728x90\", \"dynamic\") of a served ad.+pattern AccountsReportsGenerateDimensions_CREATIVESIZECODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_CREATIVESIZECODE = AccountsReportsGenerateDimensions "CREATIVE_SIZE_CODE"++-- | Localized name of a host on which an ad was served, after IDNA decoding (e.g. \"www.google.com\", \"Web caches and other\", \"bücher.example\").+pattern AccountsReportsGenerateDimensions_DOMAINNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_DOMAINNAME = AccountsReportsGenerateDimensions "DOMAIN_NAME"++-- | Name of a host on which an ad was served (e.g. \"www.google.com\", \"webcaches\", \"xn--bcher-kva.example\").+pattern AccountsReportsGenerateDimensions_DOMAINCODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_DOMAINCODE = AccountsReportsGenerateDimensions "DOMAIN_CODE"++-- | Localized region name of a user viewing an ad (e.g. \"United States\", \"France\").+pattern AccountsReportsGenerateDimensions_COUNTRYNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_COUNTRYNAME = AccountsReportsGenerateDimensions "COUNTRY_NAME"++-- | CLDR region code of a user viewing an ad (e.g. \"US\", \"FR\").+pattern AccountsReportsGenerateDimensions_COUNTRYCODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_COUNTRYCODE = AccountsReportsGenerateDimensions "COUNTRY_CODE"++-- | Localized platform type name (e.g. \"High-end mobile devices\", \"Desktop\").+pattern AccountsReportsGenerateDimensions_PLATFORMTYPENAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_PLATFORMTYPENAME = AccountsReportsGenerateDimensions "PLATFORM_TYPE_NAME"++-- | Platform type code (e.g. \"HighEndMobile\", \"Desktop\").+pattern AccountsReportsGenerateDimensions_PLATFORMTYPECODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_PLATFORMTYPECODE = AccountsReportsGenerateDimensions "PLATFORM_TYPE_CODE"++-- | Localized targeting type name (e.g. \"Contextual\", \"Personalized\", \"Run of Network\").+pattern AccountsReportsGenerateDimensions_TARGETINGTYPENAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_TARGETINGTYPENAME = AccountsReportsGenerateDimensions "TARGETING_TYPE_NAME"++-- | Targeting type code (e.g. \"Keyword\", \"UserInterest\", \"RunOfNetwork\").+pattern AccountsReportsGenerateDimensions_TARGETINGTYPECODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_TARGETINGTYPECODE = AccountsReportsGenerateDimensions "TARGETING_TYPE_CODE"++-- | Localized content platform name an ad request was made from (e.g. \"AMP\", \"Web\").+pattern AccountsReportsGenerateDimensions_CONTENTPLATFORMNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_CONTENTPLATFORMNAME = AccountsReportsGenerateDimensions "CONTENT_PLATFORM_NAME"++-- | Content platform code an ad request was made from (e.g. \"AMP\", \"HTML\").+pattern AccountsReportsGenerateDimensions_CONTENTPLATFORMCODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_CONTENTPLATFORMCODE = AccountsReportsGenerateDimensions "CONTENT_PLATFORM_CODE"++-- | Localized ad placement name (e.g. \"Ad unit\", \"Global settings\", \"Manual\").+pattern AccountsReportsGenerateDimensions_ADPLACEMENTNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADPLACEMENTNAME = AccountsReportsGenerateDimensions "AD_PLACEMENT_NAME"++-- | Ad placement code (e.g. \"AD_UNIT\", \"ca-pub-123456:78910\", \"OTHER\").+pattern AccountsReportsGenerateDimensions_ADPLACEMENTCODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADPLACEMENTCODE = AccountsReportsGenerateDimensions "AD_PLACEMENT_CODE"++-- | Localized requested ad type name (e.g. \"Display\", \"Link unit\", \"Other\").+pattern AccountsReportsGenerateDimensions_REQUESTEDADTYPENAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_REQUESTEDADTYPENAME = AccountsReportsGenerateDimensions "REQUESTED_AD_TYPE_NAME"++-- | Requested ad type code (e.g. \"IMAGE\", \"RADLINK\", \"OTHER\").+pattern AccountsReportsGenerateDimensions_REQUESTEDADTYPECODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_REQUESTEDADTYPECODE = AccountsReportsGenerateDimensions "REQUESTED_AD_TYPE_CODE"++-- | Localized served ad type name (e.g. \"Display\", \"Link unit\", \"Other\").+pattern AccountsReportsGenerateDimensions_SERVEDADTYPENAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_SERVEDADTYPENAME = AccountsReportsGenerateDimensions "SERVED_AD_TYPE_NAME"++-- | Served ad type code (e.g. \"IMAGE\", \"RADLINK\", \"OTHER\").+pattern AccountsReportsGenerateDimensions_SERVEDADTYPECODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_SERVEDADTYPECODE = AccountsReportsGenerateDimensions "SERVED_AD_TYPE_CODE"++-- | Localized ad format name indicating the way an ad is shown to the users on your site (e.g. \"In-page\", \"Anchor\", \"Vignette\").+pattern AccountsReportsGenerateDimensions_ADFORMATNAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADFORMATNAME = AccountsReportsGenerateDimensions "AD_FORMAT_NAME"++-- | Ad format code indicating the way an ad is shown to the users on your site (e.g. \"ON_PAGE\", \"ANCHOR\", \"INTERSTITIAL\").+pattern AccountsReportsGenerateDimensions_ADFORMATCODE :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_ADFORMATCODE = AccountsReportsGenerateDimensions "AD_FORMAT_CODE"++-- | Custom search style name.+pattern AccountsReportsGenerateDimensions_CUSTOMSEARCHSTYLENAME :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_CUSTOMSEARCHSTYLENAME = AccountsReportsGenerateDimensions "CUSTOM_SEARCH_STYLE_NAME"++-- | Custom search style id.+pattern AccountsReportsGenerateDimensions_CUSTOMSEARCHSTYLEID :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_CUSTOMSEARCHSTYLEID = AccountsReportsGenerateDimensions "CUSTOM_SEARCH_STYLE_ID"++-- | Domain registrants.+pattern AccountsReportsGenerateDimensions_DOMAINREGISTRANT :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_DOMAINREGISTRANT = AccountsReportsGenerateDimensions "DOMAIN_REGISTRANT"++-- | Query strings for web searches.+pattern AccountsReportsGenerateDimensions_WEBSEARCHQUERYSTRING :: AccountsReportsGenerateDimensions+pattern AccountsReportsGenerateDimensions_WEBSEARCHQUERYSTRING = AccountsReportsGenerateDimensions "WEBSEARCH_QUERY_STRING"++{-# COMPLETE+  AccountsReportsGenerateDimensions_DIMENSIONUNSPECIFIED,+  AccountsReportsGenerateDimensions_Date,+  AccountsReportsGenerateDimensions_Week,+  AccountsReportsGenerateDimensions_Month,+  AccountsReportsGenerateDimensions_ACCOUNTNAME,+  AccountsReportsGenerateDimensions_ADCLIENTID,+  AccountsReportsGenerateDimensions_HOSTEDADCLIENTID,+  AccountsReportsGenerateDimensions_PRODUCTNAME,+  AccountsReportsGenerateDimensions_PRODUCTCODE,+  AccountsReportsGenerateDimensions_ADUNITNAME,+  AccountsReportsGenerateDimensions_ADUNITID,+  AccountsReportsGenerateDimensions_ADUNITSIZENAME,+  AccountsReportsGenerateDimensions_ADUNITSIZECODE,+  AccountsReportsGenerateDimensions_CUSTOMCHANNELNAME,+  AccountsReportsGenerateDimensions_CUSTOMCHANNELID,+  AccountsReportsGenerateDimensions_HOSTEDCUSTOMCHANNELID,+  AccountsReportsGenerateDimensions_OWNEDSITEDOMAINNAME,+  AccountsReportsGenerateDimensions_OWNEDSITEID,+  AccountsReportsGenerateDimensions_PAGEURL,+  AccountsReportsGenerateDimensions_URLCHANNELNAME,+  AccountsReportsGenerateDimensions_URLCHANNELID,+  AccountsReportsGenerateDimensions_BUYERNETWORKNAME,+  AccountsReportsGenerateDimensions_BUYERNETWORKID,+  AccountsReportsGenerateDimensions_BIDTYPENAME,+  AccountsReportsGenerateDimensions_BIDTYPECODE,+  AccountsReportsGenerateDimensions_CREATIVESIZENAME,+  AccountsReportsGenerateDimensions_CREATIVESIZECODE,+  AccountsReportsGenerateDimensions_DOMAINNAME,+  AccountsReportsGenerateDimensions_DOMAINCODE,+  AccountsReportsGenerateDimensions_COUNTRYNAME,+  AccountsReportsGenerateDimensions_COUNTRYCODE,+  AccountsReportsGenerateDimensions_PLATFORMTYPENAME,+  AccountsReportsGenerateDimensions_PLATFORMTYPECODE,+  AccountsReportsGenerateDimensions_TARGETINGTYPENAME,+  AccountsReportsGenerateDimensions_TARGETINGTYPECODE,+  AccountsReportsGenerateDimensions_CONTENTPLATFORMNAME,+  AccountsReportsGenerateDimensions_CONTENTPLATFORMCODE,+  AccountsReportsGenerateDimensions_ADPLACEMENTNAME,+  AccountsReportsGenerateDimensions_ADPLACEMENTCODE,+  AccountsReportsGenerateDimensions_REQUESTEDADTYPENAME,+  AccountsReportsGenerateDimensions_REQUESTEDADTYPECODE,+  AccountsReportsGenerateDimensions_SERVEDADTYPENAME,+  AccountsReportsGenerateDimensions_SERVEDADTYPECODE,+  AccountsReportsGenerateDimensions_ADFORMATNAME,+  AccountsReportsGenerateDimensions_ADFORMATCODE,+  AccountsReportsGenerateDimensions_CUSTOMSEARCHSTYLENAME,+  AccountsReportsGenerateDimensions_CUSTOMSEARCHSTYLEID,+  AccountsReportsGenerateDimensions_DOMAINREGISTRANT,+  AccountsReportsGenerateDimensions_WEBSEARCHQUERYSTRING,+  AccountsReportsGenerateDimensions+  #-}++-- | Required. Reporting metrics.+newtype AccountsReportsGenerateMetrics = AccountsReportsGenerateMetrics {fromAccountsReportsGenerateMetrics :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified metric.+pattern AccountsReportsGenerateMetrics_METRICUNSPECIFIED :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_METRICUNSPECIFIED = AccountsReportsGenerateMetrics "METRIC_UNSPECIFIED"++-- | Number of page views.+pattern AccountsReportsGenerateMetrics_PAGEVIEWS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_PAGEVIEWS = AccountsReportsGenerateMetrics "PAGE_VIEWS"++-- | Number of ad units that requested ads (for content ads) or search queries (for search ads). An ad request may result in zero, one, or multiple individual ad impressions depending on the size of the ad unit and whether any ads were available.+pattern AccountsReportsGenerateMetrics_ADREQUESTS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ADREQUESTS = AccountsReportsGenerateMetrics "AD_REQUESTS"++-- | Requests that returned at least one ad.+pattern AccountsReportsGenerateMetrics_MATCHEDADREQUESTS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_MATCHEDADREQUESTS = AccountsReportsGenerateMetrics "MATCHED_AD_REQUESTS"++-- | Impressions. An impression is counted for each ad request where at least one ad has been downloaded to the user’s device and has begun to load. It is the number of ad units (for content ads) or search queries (for search ads) that showed ads.+pattern AccountsReportsGenerateMetrics_TOTALIMPRESSIONS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_TOTALIMPRESSIONS = AccountsReportsGenerateMetrics "TOTAL_IMPRESSIONS"++-- | Impressions. An impression is counted for each ad request where at least one ad has been downloaded to the user’s device and has begun to load. It is the number of ad units (for content ads) or search queries (for search ads) that showed ads.+pattern AccountsReportsGenerateMetrics_Impressions :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_Impressions = AccountsReportsGenerateMetrics "IMPRESSIONS"++-- | Ads shown. Different ad formats will display varying numbers of ads. For example, a vertical banner may consist of 2 or more ads. Also, the number of ads in an ad unit may vary depending on whether the ad unit is displaying standard text ads, expanded text ads or image ads.+pattern AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONS = AccountsReportsGenerateMetrics "INDIVIDUAL_AD_IMPRESSIONS"++-- | Number of times a user clicked on a standard content ad.+pattern AccountsReportsGenerateMetrics_Clicks :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_Clicks = AccountsReportsGenerateMetrics "CLICKS"++-- | Fraction of page views considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateMetrics_PAGEVIEWSSPAMRATIO :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_PAGEVIEWSSPAMRATIO = AccountsReportsGenerateMetrics "PAGE_VIEWS_SPAM_RATIO"++-- | Fraction of ad requests considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateMetrics_ADREQUESTSSPAMRATIO :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ADREQUESTSSPAMRATIO = AccountsReportsGenerateMetrics "AD_REQUESTS_SPAM_RATIO"++-- | Fraction of ad requests that returned ads considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateMetrics_MATCHEDADREQUESTSSPAMRATIO :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_MATCHEDADREQUESTSSPAMRATIO = AccountsReportsGenerateMetrics "MATCHED_AD_REQUESTS_SPAM_RATIO"++-- | Fraction of impressions considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateMetrics_IMPRESSIONSSPAMRATIO :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_IMPRESSIONSSPAMRATIO = AccountsReportsGenerateMetrics "IMPRESSIONS_SPAM_RATIO"++-- | Fraction of ad impressions considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSSPAMRATIO :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSSPAMRATIO = AccountsReportsGenerateMetrics "INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO"++-- | Fraction of clicks considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateMetrics_CLICKSSPAMRATIO :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_CLICKSSPAMRATIO = AccountsReportsGenerateMetrics "CLICKS_SPAM_RATIO"++-- | Ratio of requested ad units or queries to the number returned to the site.+pattern AccountsReportsGenerateMetrics_ADREQUESTSCOVERAGE :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ADREQUESTSCOVERAGE = AccountsReportsGenerateMetrics "AD_REQUESTS_COVERAGE"++-- | Ratio of individual page views that resulted in a click.+pattern AccountsReportsGenerateMetrics_PAGEVIEWSCTR :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_PAGEVIEWSCTR = AccountsReportsGenerateMetrics "PAGE_VIEWS_CTR"++-- | Ratio of ad requests that resulted in a click.+pattern AccountsReportsGenerateMetrics_ADREQUESTSCTR :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ADREQUESTSCTR = AccountsReportsGenerateMetrics "AD_REQUESTS_CTR"++-- | Ratio of clicks to matched requests.+pattern AccountsReportsGenerateMetrics_MATCHEDADREQUESTSCTR :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_MATCHEDADREQUESTSCTR = AccountsReportsGenerateMetrics "MATCHED_AD_REQUESTS_CTR"++-- | Ratio of IMPRESSIONS that resulted in a click.+pattern AccountsReportsGenerateMetrics_IMPRESSIONSCTR :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_IMPRESSIONSCTR = AccountsReportsGenerateMetrics "IMPRESSIONS_CTR"++-- | Ratio of individual ad impressions that resulted in a click.+pattern AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSCTR :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSCTR = AccountsReportsGenerateMetrics "INDIVIDUAL_AD_IMPRESSIONS_CTR"++-- | Ratio of requests that were measurable for viewability.+pattern AccountsReportsGenerateMetrics_ACTIVEVIEWMEASURABILITY :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ACTIVEVIEWMEASURABILITY = AccountsReportsGenerateMetrics "ACTIVE_VIEW_MEASURABILITY"++-- | Ratio of requests that were viewable.+pattern AccountsReportsGenerateMetrics_ACTIVEVIEWVIEWABILITY :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ACTIVEVIEWVIEWABILITY = AccountsReportsGenerateMetrics "ACTIVE_VIEW_VIEWABILITY"++-- | Mean time an ad was displayed on screen.+pattern AccountsReportsGenerateMetrics_ACTIVEVIEWTIME :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ACTIVEVIEWTIME = AccountsReportsGenerateMetrics "ACTIVE_VIEW_TIME"++-- | Estimated earnings of the publisher. Note that earnings up to yesterday are accurate, more recent earnings are estimated due to the possibility of spam, or exchange rate fluctuations.+pattern AccountsReportsGenerateMetrics_ESTIMATEDEARNINGS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ESTIMATEDEARNINGS = AccountsReportsGenerateMetrics "ESTIMATED_EARNINGS"++-- | Revenue per thousand page views. This is calculated by dividing the estimated revenue by the number of page views multiplied by 1000.+pattern AccountsReportsGenerateMetrics_PAGEVIEWSRPM :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_PAGEVIEWSRPM = AccountsReportsGenerateMetrics "PAGE_VIEWS_RPM"++-- | Revenue per thousand ad requests. This is calculated by dividing estimated revenue by the number of ad requests multiplied by 1000.+pattern AccountsReportsGenerateMetrics_ADREQUESTSRPM :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ADREQUESTSRPM = AccountsReportsGenerateMetrics "AD_REQUESTS_RPM"++-- | Revenue per thousand matched ad requests. This is calculated by dividing estimated revenue by the number of matched ad requests multiplied by 1000.+pattern AccountsReportsGenerateMetrics_MATCHEDADREQUESTSRPM :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_MATCHEDADREQUESTSRPM = AccountsReportsGenerateMetrics "MATCHED_AD_REQUESTS_RPM"++-- | Revenue per thousand ad impressions. This is calculated by dividing estimated revenue by the number of ad impressions multiplied by 1000.+pattern AccountsReportsGenerateMetrics_IMPRESSIONSRPM :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_IMPRESSIONSRPM = AccountsReportsGenerateMetrics "IMPRESSIONS_RPM"++-- | Revenue per thousand individual ad impressions. This is calculated by dividing estimated revenue by the number of individual ad impressions multiplied by 1000.+pattern AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSRPM :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSRPM = AccountsReportsGenerateMetrics "INDIVIDUAL_AD_IMPRESSIONS_RPM"++-- | Amount the publisher earns each time a user clicks on an ad. CPC is calculated by dividing the estimated revenue by the number of clicks received.+pattern AccountsReportsGenerateMetrics_COSTPERCLICK :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_COSTPERCLICK = AccountsReportsGenerateMetrics "COST_PER_CLICK"++-- | Number of ad views per impression.+pattern AccountsReportsGenerateMetrics_ADSPERIMPRESSION :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_ADSPERIMPRESSION = AccountsReportsGenerateMetrics "ADS_PER_IMPRESSION"++-- | Total earnings are the gross estimated earnings from revenue shared traffic before any parent and child account revenue share is applied.+pattern AccountsReportsGenerateMetrics_TOTALEARNINGS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_TOTALEARNINGS = AccountsReportsGenerateMetrics "TOTAL_EARNINGS"++-- | Number of results pages.+pattern AccountsReportsGenerateMetrics_WEBSEARCHRESULTPAGES :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_WEBSEARCHRESULTPAGES = AccountsReportsGenerateMetrics "WEBSEARCH_RESULT_PAGES"++-- | Number of requests for non-ad units (for example a related search unit). For more information, see <https://support.google.com/adsense/answer/11586959 Funnel requests>.+pattern AccountsReportsGenerateMetrics_FUNNELREQUESTS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_FUNNELREQUESTS = AccountsReportsGenerateMetrics "FUNNEL_REQUESTS"++-- | Number of requests for non-ad units ads that returned content that was shown to the user. For more information, see <https://support.google.com/adsense/answer/11585767 Funnel impressions>.+pattern AccountsReportsGenerateMetrics_FUNNELIMPRESSIONS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_FUNNELIMPRESSIONS = AccountsReportsGenerateMetrics "FUNNEL_IMPRESSIONS"++-- | Number of times a user clicked on a non-ad unit, triggering further ad requests. For more information, see <https://support.google.com/adsense/answer/11586382 Funnel clicks>.+pattern AccountsReportsGenerateMetrics_FUNNELCLICKS :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_FUNNELCLICKS = AccountsReportsGenerateMetrics "FUNNEL_CLICKS"++-- | Revenue per thousand funnel impressions. This is calculated by dividing estimated revenue by the number of funnel impressions multiplied by 1000. For more information, see <https://support.google.com/adsense/answer/11585979 Funnel RPM>.+pattern AccountsReportsGenerateMetrics_FUNNELRPM :: AccountsReportsGenerateMetrics+pattern AccountsReportsGenerateMetrics_FUNNELRPM = AccountsReportsGenerateMetrics "FUNNEL_RPM"++{-# COMPLETE+  AccountsReportsGenerateMetrics_METRICUNSPECIFIED,+  AccountsReportsGenerateMetrics_PAGEVIEWS,+  AccountsReportsGenerateMetrics_ADREQUESTS,+  AccountsReportsGenerateMetrics_MATCHEDADREQUESTS,+  AccountsReportsGenerateMetrics_TOTALIMPRESSIONS,+  AccountsReportsGenerateMetrics_Impressions,+  AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONS,+  AccountsReportsGenerateMetrics_Clicks,+  AccountsReportsGenerateMetrics_PAGEVIEWSSPAMRATIO,+  AccountsReportsGenerateMetrics_ADREQUESTSSPAMRATIO,+  AccountsReportsGenerateMetrics_MATCHEDADREQUESTSSPAMRATIO,+  AccountsReportsGenerateMetrics_IMPRESSIONSSPAMRATIO,+  AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSSPAMRATIO,+  AccountsReportsGenerateMetrics_CLICKSSPAMRATIO,+  AccountsReportsGenerateMetrics_ADREQUESTSCOVERAGE,+  AccountsReportsGenerateMetrics_PAGEVIEWSCTR,+  AccountsReportsGenerateMetrics_ADREQUESTSCTR,+  AccountsReportsGenerateMetrics_MATCHEDADREQUESTSCTR,+  AccountsReportsGenerateMetrics_IMPRESSIONSCTR,+  AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSCTR,+  AccountsReportsGenerateMetrics_ACTIVEVIEWMEASURABILITY,+  AccountsReportsGenerateMetrics_ACTIVEVIEWVIEWABILITY,+  AccountsReportsGenerateMetrics_ACTIVEVIEWTIME,+  AccountsReportsGenerateMetrics_ESTIMATEDEARNINGS,+  AccountsReportsGenerateMetrics_PAGEVIEWSRPM,+  AccountsReportsGenerateMetrics_ADREQUESTSRPM,+  AccountsReportsGenerateMetrics_MATCHEDADREQUESTSRPM,+  AccountsReportsGenerateMetrics_IMPRESSIONSRPM,+  AccountsReportsGenerateMetrics_INDIVIDUALADIMPRESSIONSRPM,+  AccountsReportsGenerateMetrics_COSTPERCLICK,+  AccountsReportsGenerateMetrics_ADSPERIMPRESSION,+  AccountsReportsGenerateMetrics_TOTALEARNINGS,+  AccountsReportsGenerateMetrics_WEBSEARCHRESULTPAGES,+  AccountsReportsGenerateMetrics_FUNNELREQUESTS,+  AccountsReportsGenerateMetrics_FUNNELIMPRESSIONS,+  AccountsReportsGenerateMetrics_FUNNELCLICKS,+  AccountsReportsGenerateMetrics_FUNNELRPM,+  AccountsReportsGenerateMetrics+  #-}++-- | Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+newtype AccountsReportsGenerateReportingTimeZone = AccountsReportsGenerateReportingTimeZone {fromAccountsReportsGenerateReportingTimeZone :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified timezone.+pattern AccountsReportsGenerateReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED :: AccountsReportsGenerateReportingTimeZone+pattern AccountsReportsGenerateReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED = AccountsReportsGenerateReportingTimeZone "REPORTING_TIME_ZONE_UNSPECIFIED"++-- | Use the account timezone in the report.+pattern AccountsReportsGenerateReportingTimeZone_ACCOUNTTIMEZONE :: AccountsReportsGenerateReportingTimeZone+pattern AccountsReportsGenerateReportingTimeZone_ACCOUNTTIMEZONE = AccountsReportsGenerateReportingTimeZone "ACCOUNT_TIME_ZONE"++-- | Use the Google timezone in the report (America\/Los_Angeles).+pattern AccountsReportsGenerateReportingTimeZone_GOOGLETIMEZONE :: AccountsReportsGenerateReportingTimeZone+pattern AccountsReportsGenerateReportingTimeZone_GOOGLETIMEZONE = AccountsReportsGenerateReportingTimeZone "GOOGLE_TIME_ZONE"++{-# COMPLETE+  AccountsReportsGenerateReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED,+  AccountsReportsGenerateReportingTimeZone_ACCOUNTTIMEZONE,+  AccountsReportsGenerateReportingTimeZone_GOOGLETIMEZONE,+  AccountsReportsGenerateReportingTimeZone+  #-}++-- | Date range of the report, if unset the range will be considered CUSTOM.+newtype AccountsReportsGenerateCsvDateRange = AccountsReportsGenerateCsvDateRange {fromAccountsReportsGenerateCsvDateRange :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified date range.+pattern AccountsReportsGenerateCsvDateRange_REPORTINGDATERANGEUNSPECIFIED :: AccountsReportsGenerateCsvDateRange+pattern AccountsReportsGenerateCsvDateRange_REPORTINGDATERANGEUNSPECIFIED = AccountsReportsGenerateCsvDateRange "REPORTING_DATE_RANGE_UNSPECIFIED"++-- | A custom date range specified using the @start_date@ and @end_date@ fields. This is the default if no ReportingDateRange is provided.+pattern AccountsReportsGenerateCsvDateRange_Custom :: AccountsReportsGenerateCsvDateRange+pattern AccountsReportsGenerateCsvDateRange_Custom = AccountsReportsGenerateCsvDateRange "CUSTOM"++-- | Current day.+pattern AccountsReportsGenerateCsvDateRange_Today :: AccountsReportsGenerateCsvDateRange+pattern AccountsReportsGenerateCsvDateRange_Today = AccountsReportsGenerateCsvDateRange "TODAY"++-- | Yesterday.+pattern AccountsReportsGenerateCsvDateRange_Yesterday :: AccountsReportsGenerateCsvDateRange+pattern AccountsReportsGenerateCsvDateRange_Yesterday = AccountsReportsGenerateCsvDateRange "YESTERDAY"++-- | From the start of the current month to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-03-01, 2020-03-12].+pattern AccountsReportsGenerateCsvDateRange_MONTHTODATE :: AccountsReportsGenerateCsvDateRange+pattern AccountsReportsGenerateCsvDateRange_MONTHTODATE = AccountsReportsGenerateCsvDateRange "MONTH_TO_DATE"++-- | From the start of the current year to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-01-01, 2020-03-12].+pattern AccountsReportsGenerateCsvDateRange_YEARTODATE :: AccountsReportsGenerateCsvDateRange+pattern AccountsReportsGenerateCsvDateRange_YEARTODATE = AccountsReportsGenerateCsvDateRange "YEAR_TO_DATE"++-- | Last 7 days, excluding current day.+pattern AccountsReportsGenerateCsvDateRange_LAST7DAYS :: AccountsReportsGenerateCsvDateRange+pattern AccountsReportsGenerateCsvDateRange_LAST7DAYS = AccountsReportsGenerateCsvDateRange "LAST_7_DAYS"++-- | Last 30 days, excluding current day.+pattern AccountsReportsGenerateCsvDateRange_LAST30DAYS :: AccountsReportsGenerateCsvDateRange+pattern AccountsReportsGenerateCsvDateRange_LAST30DAYS = AccountsReportsGenerateCsvDateRange "LAST_30_DAYS"++{-# COMPLETE+  AccountsReportsGenerateCsvDateRange_REPORTINGDATERANGEUNSPECIFIED,+  AccountsReportsGenerateCsvDateRange_Custom,+  AccountsReportsGenerateCsvDateRange_Today,+  AccountsReportsGenerateCsvDateRange_Yesterday,+  AccountsReportsGenerateCsvDateRange_MONTHTODATE,+  AccountsReportsGenerateCsvDateRange_YEARTODATE,+  AccountsReportsGenerateCsvDateRange_LAST7DAYS,+  AccountsReportsGenerateCsvDateRange_LAST30DAYS,+  AccountsReportsGenerateCsvDateRange+  #-}++-- | Dimensions to base the report on.+newtype AccountsReportsGenerateCsvDimensions = AccountsReportsGenerateCsvDimensions {fromAccountsReportsGenerateCsvDimensions :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified dimension.+pattern AccountsReportsGenerateCsvDimensions_DIMENSIONUNSPECIFIED :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_DIMENSIONUNSPECIFIED = AccountsReportsGenerateCsvDimensions "DIMENSION_UNSPECIFIED"++-- | Date dimension in YYYY-MM-DD format (e.g. \"2010-02-10\").+pattern AccountsReportsGenerateCsvDimensions_Date :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_Date = AccountsReportsGenerateCsvDimensions "DATE"++-- | Week dimension in YYYY-MM-DD format, representing the first day of each week (e.g. \"2010-02-08\"). The first day of the week is determined by the language_code specified in a report generation request (so e.g. this would be a Monday for \"en-GB\" or \"es\", but a Sunday for \"en\" or \"fr-CA\").+pattern AccountsReportsGenerateCsvDimensions_Week :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_Week = AccountsReportsGenerateCsvDimensions "WEEK"++-- | Month dimension in YYYY-MM format (e.g. \"2010-02\").+pattern AccountsReportsGenerateCsvDimensions_Month :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_Month = AccountsReportsGenerateCsvDimensions "MONTH"++-- | Account name. The members of this dimension match the values from Account.display_name.+pattern AccountsReportsGenerateCsvDimensions_ACCOUNTNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ACCOUNTNAME = AccountsReportsGenerateCsvDimensions "ACCOUNT_NAME"++-- | Unique ID of an ad client. The members of this dimension match the values from AdClient.reporting/dimension/id.+pattern AccountsReportsGenerateCsvDimensions_ADCLIENTID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADCLIENTID = AccountsReportsGenerateCsvDimensions "AD_CLIENT_ID"++-- | Unique ID of a sub-account\'s ad client. The members of this dimension match the values from AdClient.reporting/dimension/id (for the sub-account).+pattern AccountsReportsGenerateCsvDimensions_HOSTEDADCLIENTID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_HOSTEDADCLIENTID = AccountsReportsGenerateCsvDimensions "HOSTED_AD_CLIENT_ID"++-- | Localized product name (e.g. \"AdSense for Content\", \"AdSense for Search\").+pattern AccountsReportsGenerateCsvDimensions_PRODUCTNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_PRODUCTNAME = AccountsReportsGenerateCsvDimensions "PRODUCT_NAME"++-- | Product code (e.g. \"AFC\", \"AFS\"). The members of this dimension match the values from AdClient.product_code.+pattern AccountsReportsGenerateCsvDimensions_PRODUCTCODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_PRODUCTCODE = AccountsReportsGenerateCsvDimensions "PRODUCT_CODE"++-- | Ad unit name (within which an ad was served). The members of this dimension match the values from AdUnit.display_name.+pattern AccountsReportsGenerateCsvDimensions_ADUNITNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADUNITNAME = AccountsReportsGenerateCsvDimensions "AD_UNIT_NAME"++-- | Unique ID of an ad unit (within which an ad was served). The members of this dimension match the values from AdUnit.reporting/dimension/id.+pattern AccountsReportsGenerateCsvDimensions_ADUNITID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADUNITID = AccountsReportsGenerateCsvDimensions "AD_UNIT_ID"++-- | Localized size of an ad unit (e.g. \"728x90\", \"Responsive\").+pattern AccountsReportsGenerateCsvDimensions_ADUNITSIZENAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADUNITSIZENAME = AccountsReportsGenerateCsvDimensions "AD_UNIT_SIZE_NAME"++-- | The size code of an ad unit (e.g. \"728x90\", \"responsive\").+pattern AccountsReportsGenerateCsvDimensions_ADUNITSIZECODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADUNITSIZECODE = AccountsReportsGenerateCsvDimensions "AD_UNIT_SIZE_CODE"++-- | Custom channel name. The members of this dimension match the values from CustomChannel.display_name.+pattern AccountsReportsGenerateCsvDimensions_CUSTOMCHANNELNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_CUSTOMCHANNELNAME = AccountsReportsGenerateCsvDimensions "CUSTOM_CHANNEL_NAME"++-- | Unique ID of a custom channel. The members of this dimension match the values from CustomChannel.reporting/dimension/id.+pattern AccountsReportsGenerateCsvDimensions_CUSTOMCHANNELID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_CUSTOMCHANNELID = AccountsReportsGenerateCsvDimensions "CUSTOM_CHANNEL_ID"++-- | Not supported.+pattern AccountsReportsGenerateCsvDimensions_HOSTEDCUSTOMCHANNELID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_HOSTEDCUSTOMCHANNELID = AccountsReportsGenerateCsvDimensions "HOSTED_CUSTOM_CHANNEL_ID"++-- | Domain name of a verified site (e.g. \"example.com\"). The members of this dimension match the values from Site.domain.+pattern AccountsReportsGenerateCsvDimensions_OWNEDSITEDOMAINNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_OWNEDSITEDOMAINNAME = AccountsReportsGenerateCsvDimensions "OWNED_SITE_DOMAIN_NAME"++-- | Unique ID of a verified site. The members of this dimension match the values from Site.reporting/dimension/id.+pattern AccountsReportsGenerateCsvDimensions_OWNEDSITEID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_OWNEDSITEID = AccountsReportsGenerateCsvDimensions "OWNED_SITE_ID"++-- | URL of the page upon which the ad was served. This is a complete URL including scheme and query parameters. Note that the URL that appears in this dimension may be a canonicalized version of the one that was used in the original request, and so may not exactly match the URL that a user might have seen. Note that there are also some caveats to be aware of when using this dimension. For more information, see <https://support.google.com/adsense/answer/11988478 Page URL breakdown>.+pattern AccountsReportsGenerateCsvDimensions_PAGEURL :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_PAGEURL = AccountsReportsGenerateCsvDimensions "PAGE_URL"++-- | Name of a URL channel. The members of this dimension match the values from UrlChannel.uri_pattern.+pattern AccountsReportsGenerateCsvDimensions_URLCHANNELNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_URLCHANNELNAME = AccountsReportsGenerateCsvDimensions "URL_CHANNEL_NAME"++-- | Unique ID of a URL channel. The members of this dimension match the values from UrlChannel.reporting/dimension/id.+pattern AccountsReportsGenerateCsvDimensions_URLCHANNELID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_URLCHANNELID = AccountsReportsGenerateCsvDimensions "URL_CHANNEL_ID"++-- | Name of an ad network that returned the winning ads for an ad request (e.g. \"Google AdWords\"). Note that unlike other \"NAME\" dimensions, the members of this dimensions are not localized.+pattern AccountsReportsGenerateCsvDimensions_BUYERNETWORKNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_BUYERNETWORKNAME = AccountsReportsGenerateCsvDimensions "BUYER_NETWORK_NAME"++-- | Unique (opaque) ID of an ad network that returned the winning ads for an ad request.+pattern AccountsReportsGenerateCsvDimensions_BUYERNETWORKID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_BUYERNETWORKID = AccountsReportsGenerateCsvDimensions "BUYER_NETWORK_ID"++-- | Localized bid type name (e.g. \"CPC bids\", \"CPM bids\") for a served ad.+pattern AccountsReportsGenerateCsvDimensions_BIDTYPENAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_BIDTYPENAME = AccountsReportsGenerateCsvDimensions "BID_TYPE_NAME"++-- | Type of a bid (e.g. \"cpc\", \"cpm\") for a served ad.+pattern AccountsReportsGenerateCsvDimensions_BIDTYPECODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_BIDTYPECODE = AccountsReportsGenerateCsvDimensions "BID_TYPE_CODE"++-- | Localized creative size name (e.g. \"728x90\", \"Dynamic\") of a served ad.+pattern AccountsReportsGenerateCsvDimensions_CREATIVESIZENAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_CREATIVESIZENAME = AccountsReportsGenerateCsvDimensions "CREATIVE_SIZE_NAME"++-- | Creative size code (e.g. \"728x90\", \"dynamic\") of a served ad.+pattern AccountsReportsGenerateCsvDimensions_CREATIVESIZECODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_CREATIVESIZECODE = AccountsReportsGenerateCsvDimensions "CREATIVE_SIZE_CODE"++-- | Localized name of a host on which an ad was served, after IDNA decoding (e.g. \"www.google.com\", \"Web caches and other\", \"bücher.example\").+pattern AccountsReportsGenerateCsvDimensions_DOMAINNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_DOMAINNAME = AccountsReportsGenerateCsvDimensions "DOMAIN_NAME"++-- | Name of a host on which an ad was served (e.g. \"www.google.com\", \"webcaches\", \"xn--bcher-kva.example\").+pattern AccountsReportsGenerateCsvDimensions_DOMAINCODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_DOMAINCODE = AccountsReportsGenerateCsvDimensions "DOMAIN_CODE"++-- | Localized region name of a user viewing an ad (e.g. \"United States\", \"France\").+pattern AccountsReportsGenerateCsvDimensions_COUNTRYNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_COUNTRYNAME = AccountsReportsGenerateCsvDimensions "COUNTRY_NAME"++-- | CLDR region code of a user viewing an ad (e.g. \"US\", \"FR\").+pattern AccountsReportsGenerateCsvDimensions_COUNTRYCODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_COUNTRYCODE = AccountsReportsGenerateCsvDimensions "COUNTRY_CODE"++-- | Localized platform type name (e.g. \"High-end mobile devices\", \"Desktop\").+pattern AccountsReportsGenerateCsvDimensions_PLATFORMTYPENAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_PLATFORMTYPENAME = AccountsReportsGenerateCsvDimensions "PLATFORM_TYPE_NAME"++-- | Platform type code (e.g. \"HighEndMobile\", \"Desktop\").+pattern AccountsReportsGenerateCsvDimensions_PLATFORMTYPECODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_PLATFORMTYPECODE = AccountsReportsGenerateCsvDimensions "PLATFORM_TYPE_CODE"++-- | Localized targeting type name (e.g. \"Contextual\", \"Personalized\", \"Run of Network\").+pattern AccountsReportsGenerateCsvDimensions_TARGETINGTYPENAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_TARGETINGTYPENAME = AccountsReportsGenerateCsvDimensions "TARGETING_TYPE_NAME"++-- | Targeting type code (e.g. \"Keyword\", \"UserInterest\", \"RunOfNetwork\").+pattern AccountsReportsGenerateCsvDimensions_TARGETINGTYPECODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_TARGETINGTYPECODE = AccountsReportsGenerateCsvDimensions "TARGETING_TYPE_CODE"++-- | Localized content platform name an ad request was made from (e.g. \"AMP\", \"Web\").+pattern AccountsReportsGenerateCsvDimensions_CONTENTPLATFORMNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_CONTENTPLATFORMNAME = AccountsReportsGenerateCsvDimensions "CONTENT_PLATFORM_NAME"++-- | Content platform code an ad request was made from (e.g. \"AMP\", \"HTML\").+pattern AccountsReportsGenerateCsvDimensions_CONTENTPLATFORMCODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_CONTENTPLATFORMCODE = AccountsReportsGenerateCsvDimensions "CONTENT_PLATFORM_CODE"++-- | Localized ad placement name (e.g. \"Ad unit\", \"Global settings\", \"Manual\").+pattern AccountsReportsGenerateCsvDimensions_ADPLACEMENTNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADPLACEMENTNAME = AccountsReportsGenerateCsvDimensions "AD_PLACEMENT_NAME"++-- | Ad placement code (e.g. \"AD_UNIT\", \"ca-pub-123456:78910\", \"OTHER\").+pattern AccountsReportsGenerateCsvDimensions_ADPLACEMENTCODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADPLACEMENTCODE = AccountsReportsGenerateCsvDimensions "AD_PLACEMENT_CODE"++-- | Localized requested ad type name (e.g. \"Display\", \"Link unit\", \"Other\").+pattern AccountsReportsGenerateCsvDimensions_REQUESTEDADTYPENAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_REQUESTEDADTYPENAME = AccountsReportsGenerateCsvDimensions "REQUESTED_AD_TYPE_NAME"++-- | Requested ad type code (e.g. \"IMAGE\", \"RADLINK\", \"OTHER\").+pattern AccountsReportsGenerateCsvDimensions_REQUESTEDADTYPECODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_REQUESTEDADTYPECODE = AccountsReportsGenerateCsvDimensions "REQUESTED_AD_TYPE_CODE"++-- | Localized served ad type name (e.g. \"Display\", \"Link unit\", \"Other\").+pattern AccountsReportsGenerateCsvDimensions_SERVEDADTYPENAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_SERVEDADTYPENAME = AccountsReportsGenerateCsvDimensions "SERVED_AD_TYPE_NAME"++-- | Served ad type code (e.g. \"IMAGE\", \"RADLINK\", \"OTHER\").+pattern AccountsReportsGenerateCsvDimensions_SERVEDADTYPECODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_SERVEDADTYPECODE = AccountsReportsGenerateCsvDimensions "SERVED_AD_TYPE_CODE"++-- | Localized ad format name indicating the way an ad is shown to the users on your site (e.g. \"In-page\", \"Anchor\", \"Vignette\").+pattern AccountsReportsGenerateCsvDimensions_ADFORMATNAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADFORMATNAME = AccountsReportsGenerateCsvDimensions "AD_FORMAT_NAME"++-- | Ad format code indicating the way an ad is shown to the users on your site (e.g. \"ON_PAGE\", \"ANCHOR\", \"INTERSTITIAL\").+pattern AccountsReportsGenerateCsvDimensions_ADFORMATCODE :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_ADFORMATCODE = AccountsReportsGenerateCsvDimensions "AD_FORMAT_CODE"++-- | Custom search style name.+pattern AccountsReportsGenerateCsvDimensions_CUSTOMSEARCHSTYLENAME :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_CUSTOMSEARCHSTYLENAME = AccountsReportsGenerateCsvDimensions "CUSTOM_SEARCH_STYLE_NAME"++-- | Custom search style id.+pattern AccountsReportsGenerateCsvDimensions_CUSTOMSEARCHSTYLEID :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_CUSTOMSEARCHSTYLEID = AccountsReportsGenerateCsvDimensions "CUSTOM_SEARCH_STYLE_ID"++-- | Domain registrants.+pattern AccountsReportsGenerateCsvDimensions_DOMAINREGISTRANT :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_DOMAINREGISTRANT = AccountsReportsGenerateCsvDimensions "DOMAIN_REGISTRANT"++-- | Query strings for web searches.+pattern AccountsReportsGenerateCsvDimensions_WEBSEARCHQUERYSTRING :: AccountsReportsGenerateCsvDimensions+pattern AccountsReportsGenerateCsvDimensions_WEBSEARCHQUERYSTRING = AccountsReportsGenerateCsvDimensions "WEBSEARCH_QUERY_STRING"++{-# COMPLETE+  AccountsReportsGenerateCsvDimensions_DIMENSIONUNSPECIFIED,+  AccountsReportsGenerateCsvDimensions_Date,+  AccountsReportsGenerateCsvDimensions_Week,+  AccountsReportsGenerateCsvDimensions_Month,+  AccountsReportsGenerateCsvDimensions_ACCOUNTNAME,+  AccountsReportsGenerateCsvDimensions_ADCLIENTID,+  AccountsReportsGenerateCsvDimensions_HOSTEDADCLIENTID,+  AccountsReportsGenerateCsvDimensions_PRODUCTNAME,+  AccountsReportsGenerateCsvDimensions_PRODUCTCODE,+  AccountsReportsGenerateCsvDimensions_ADUNITNAME,+  AccountsReportsGenerateCsvDimensions_ADUNITID,+  AccountsReportsGenerateCsvDimensions_ADUNITSIZENAME,+  AccountsReportsGenerateCsvDimensions_ADUNITSIZECODE,+  AccountsReportsGenerateCsvDimensions_CUSTOMCHANNELNAME,+  AccountsReportsGenerateCsvDimensions_CUSTOMCHANNELID,+  AccountsReportsGenerateCsvDimensions_HOSTEDCUSTOMCHANNELID,+  AccountsReportsGenerateCsvDimensions_OWNEDSITEDOMAINNAME,+  AccountsReportsGenerateCsvDimensions_OWNEDSITEID,+  AccountsReportsGenerateCsvDimensions_PAGEURL,+  AccountsReportsGenerateCsvDimensions_URLCHANNELNAME,+  AccountsReportsGenerateCsvDimensions_URLCHANNELID,+  AccountsReportsGenerateCsvDimensions_BUYERNETWORKNAME,+  AccountsReportsGenerateCsvDimensions_BUYERNETWORKID,+  AccountsReportsGenerateCsvDimensions_BIDTYPENAME,+  AccountsReportsGenerateCsvDimensions_BIDTYPECODE,+  AccountsReportsGenerateCsvDimensions_CREATIVESIZENAME,+  AccountsReportsGenerateCsvDimensions_CREATIVESIZECODE,+  AccountsReportsGenerateCsvDimensions_DOMAINNAME,+  AccountsReportsGenerateCsvDimensions_DOMAINCODE,+  AccountsReportsGenerateCsvDimensions_COUNTRYNAME,+  AccountsReportsGenerateCsvDimensions_COUNTRYCODE,+  AccountsReportsGenerateCsvDimensions_PLATFORMTYPENAME,+  AccountsReportsGenerateCsvDimensions_PLATFORMTYPECODE,+  AccountsReportsGenerateCsvDimensions_TARGETINGTYPENAME,+  AccountsReportsGenerateCsvDimensions_TARGETINGTYPECODE,+  AccountsReportsGenerateCsvDimensions_CONTENTPLATFORMNAME,+  AccountsReportsGenerateCsvDimensions_CONTENTPLATFORMCODE,+  AccountsReportsGenerateCsvDimensions_ADPLACEMENTNAME,+  AccountsReportsGenerateCsvDimensions_ADPLACEMENTCODE,+  AccountsReportsGenerateCsvDimensions_REQUESTEDADTYPENAME,+  AccountsReportsGenerateCsvDimensions_REQUESTEDADTYPECODE,+  AccountsReportsGenerateCsvDimensions_SERVEDADTYPENAME,+  AccountsReportsGenerateCsvDimensions_SERVEDADTYPECODE,+  AccountsReportsGenerateCsvDimensions_ADFORMATNAME,+  AccountsReportsGenerateCsvDimensions_ADFORMATCODE,+  AccountsReportsGenerateCsvDimensions_CUSTOMSEARCHSTYLENAME,+  AccountsReportsGenerateCsvDimensions_CUSTOMSEARCHSTYLEID,+  AccountsReportsGenerateCsvDimensions_DOMAINREGISTRANT,+  AccountsReportsGenerateCsvDimensions_WEBSEARCHQUERYSTRING,+  AccountsReportsGenerateCsvDimensions+  #-}++-- | Required. Reporting metrics.+newtype AccountsReportsGenerateCsvMetrics = AccountsReportsGenerateCsvMetrics {fromAccountsReportsGenerateCsvMetrics :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified metric.+pattern AccountsReportsGenerateCsvMetrics_METRICUNSPECIFIED :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_METRICUNSPECIFIED = AccountsReportsGenerateCsvMetrics "METRIC_UNSPECIFIED"++-- | Number of page views.+pattern AccountsReportsGenerateCsvMetrics_PAGEVIEWS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_PAGEVIEWS = AccountsReportsGenerateCsvMetrics "PAGE_VIEWS"++-- | Number of ad units that requested ads (for content ads) or search queries (for search ads). An ad request may result in zero, one, or multiple individual ad impressions depending on the size of the ad unit and whether any ads were available.+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTS = AccountsReportsGenerateCsvMetrics "AD_REQUESTS"++-- | Requests that returned at least one ad.+pattern AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTS = AccountsReportsGenerateCsvMetrics "MATCHED_AD_REQUESTS"++-- | Impressions. An impression is counted for each ad request where at least one ad has been downloaded to the user’s device and has begun to load. It is the number of ad units (for content ads) or search queries (for search ads) that showed ads.+pattern AccountsReportsGenerateCsvMetrics_TOTALIMPRESSIONS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_TOTALIMPRESSIONS = AccountsReportsGenerateCsvMetrics "TOTAL_IMPRESSIONS"++-- | Impressions. An impression is counted for each ad request where at least one ad has been downloaded to the user’s device and has begun to load. It is the number of ad units (for content ads) or search queries (for search ads) that showed ads.+pattern AccountsReportsGenerateCsvMetrics_Impressions :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_Impressions = AccountsReportsGenerateCsvMetrics "IMPRESSIONS"++-- | Ads shown. Different ad formats will display varying numbers of ads. For example, a vertical banner may consist of 2 or more ads. Also, the number of ads in an ad unit may vary depending on whether the ad unit is displaying standard text ads, expanded text ads or image ads.+pattern AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONS = AccountsReportsGenerateCsvMetrics "INDIVIDUAL_AD_IMPRESSIONS"++-- | Number of times a user clicked on a standard content ad.+pattern AccountsReportsGenerateCsvMetrics_Clicks :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_Clicks = AccountsReportsGenerateCsvMetrics "CLICKS"++-- | Fraction of page views considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateCsvMetrics_PAGEVIEWSSPAMRATIO :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_PAGEVIEWSSPAMRATIO = AccountsReportsGenerateCsvMetrics "PAGE_VIEWS_SPAM_RATIO"++-- | Fraction of ad requests considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTSSPAMRATIO :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTSSPAMRATIO = AccountsReportsGenerateCsvMetrics "AD_REQUESTS_SPAM_RATIO"++-- | Fraction of ad requests that returned ads considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSSPAMRATIO :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSSPAMRATIO = AccountsReportsGenerateCsvMetrics "MATCHED_AD_REQUESTS_SPAM_RATIO"++-- | Fraction of impressions considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateCsvMetrics_IMPRESSIONSSPAMRATIO :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_IMPRESSIONSSPAMRATIO = AccountsReportsGenerateCsvMetrics "IMPRESSIONS_SPAM_RATIO"++-- | Fraction of ad impressions considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSSPAMRATIO :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSSPAMRATIO = AccountsReportsGenerateCsvMetrics "INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO"++-- | Fraction of clicks considered to be spam. Only available to premium accounts.+pattern AccountsReportsGenerateCsvMetrics_CLICKSSPAMRATIO :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_CLICKSSPAMRATIO = AccountsReportsGenerateCsvMetrics "CLICKS_SPAM_RATIO"++-- | Ratio of requested ad units or queries to the number returned to the site.+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTSCOVERAGE :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTSCOVERAGE = AccountsReportsGenerateCsvMetrics "AD_REQUESTS_COVERAGE"++-- | Ratio of individual page views that resulted in a click.+pattern AccountsReportsGenerateCsvMetrics_PAGEVIEWSCTR :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_PAGEVIEWSCTR = AccountsReportsGenerateCsvMetrics "PAGE_VIEWS_CTR"++-- | Ratio of ad requests that resulted in a click.+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTSCTR :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTSCTR = AccountsReportsGenerateCsvMetrics "AD_REQUESTS_CTR"++-- | Ratio of clicks to matched requests.+pattern AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSCTR :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSCTR = AccountsReportsGenerateCsvMetrics "MATCHED_AD_REQUESTS_CTR"++-- | Ratio of IMPRESSIONS that resulted in a click.+pattern AccountsReportsGenerateCsvMetrics_IMPRESSIONSCTR :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_IMPRESSIONSCTR = AccountsReportsGenerateCsvMetrics "IMPRESSIONS_CTR"++-- | Ratio of individual ad impressions that resulted in a click.+pattern AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSCTR :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSCTR = AccountsReportsGenerateCsvMetrics "INDIVIDUAL_AD_IMPRESSIONS_CTR"++-- | Ratio of requests that were measurable for viewability.+pattern AccountsReportsGenerateCsvMetrics_ACTIVEVIEWMEASURABILITY :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ACTIVEVIEWMEASURABILITY = AccountsReportsGenerateCsvMetrics "ACTIVE_VIEW_MEASURABILITY"++-- | Ratio of requests that were viewable.+pattern AccountsReportsGenerateCsvMetrics_ACTIVEVIEWVIEWABILITY :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ACTIVEVIEWVIEWABILITY = AccountsReportsGenerateCsvMetrics "ACTIVE_VIEW_VIEWABILITY"++-- | Mean time an ad was displayed on screen.+pattern AccountsReportsGenerateCsvMetrics_ACTIVEVIEWTIME :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ACTIVEVIEWTIME = AccountsReportsGenerateCsvMetrics "ACTIVE_VIEW_TIME"++-- | Estimated earnings of the publisher. Note that earnings up to yesterday are accurate, more recent earnings are estimated due to the possibility of spam, or exchange rate fluctuations.+pattern AccountsReportsGenerateCsvMetrics_ESTIMATEDEARNINGS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ESTIMATEDEARNINGS = AccountsReportsGenerateCsvMetrics "ESTIMATED_EARNINGS"++-- | Revenue per thousand page views. This is calculated by dividing the estimated revenue by the number of page views multiplied by 1000.+pattern AccountsReportsGenerateCsvMetrics_PAGEVIEWSRPM :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_PAGEVIEWSRPM = AccountsReportsGenerateCsvMetrics "PAGE_VIEWS_RPM"++-- | Revenue per thousand ad requests. This is calculated by dividing estimated revenue by the number of ad requests multiplied by 1000.+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTSRPM :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ADREQUESTSRPM = AccountsReportsGenerateCsvMetrics "AD_REQUESTS_RPM"++-- | Revenue per thousand matched ad requests. This is calculated by dividing estimated revenue by the number of matched ad requests multiplied by 1000.+pattern AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSRPM :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSRPM = AccountsReportsGenerateCsvMetrics "MATCHED_AD_REQUESTS_RPM"++-- | Revenue per thousand ad impressions. This is calculated by dividing estimated revenue by the number of ad impressions multiplied by 1000.+pattern AccountsReportsGenerateCsvMetrics_IMPRESSIONSRPM :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_IMPRESSIONSRPM = AccountsReportsGenerateCsvMetrics "IMPRESSIONS_RPM"++-- | Revenue per thousand individual ad impressions. This is calculated by dividing estimated revenue by the number of individual ad impressions multiplied by 1000.+pattern AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSRPM :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSRPM = AccountsReportsGenerateCsvMetrics "INDIVIDUAL_AD_IMPRESSIONS_RPM"++-- | Amount the publisher earns each time a user clicks on an ad. CPC is calculated by dividing the estimated revenue by the number of clicks received.+pattern AccountsReportsGenerateCsvMetrics_COSTPERCLICK :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_COSTPERCLICK = AccountsReportsGenerateCsvMetrics "COST_PER_CLICK"++-- | Number of ad views per impression.+pattern AccountsReportsGenerateCsvMetrics_ADSPERIMPRESSION :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_ADSPERIMPRESSION = AccountsReportsGenerateCsvMetrics "ADS_PER_IMPRESSION"++-- | Total earnings are the gross estimated earnings from revenue shared traffic before any parent and child account revenue share is applied.+pattern AccountsReportsGenerateCsvMetrics_TOTALEARNINGS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_TOTALEARNINGS = AccountsReportsGenerateCsvMetrics "TOTAL_EARNINGS"++-- | Number of results pages.+pattern AccountsReportsGenerateCsvMetrics_WEBSEARCHRESULTPAGES :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_WEBSEARCHRESULTPAGES = AccountsReportsGenerateCsvMetrics "WEBSEARCH_RESULT_PAGES"++-- | Number of requests for non-ad units (for example a related search unit). For more information, see <https://support.google.com/adsense/answer/11586959 Funnel requests>.+pattern AccountsReportsGenerateCsvMetrics_FUNNELREQUESTS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_FUNNELREQUESTS = AccountsReportsGenerateCsvMetrics "FUNNEL_REQUESTS"++-- | Number of requests for non-ad units ads that returned content that was shown to the user. For more information, see <https://support.google.com/adsense/answer/11585767 Funnel impressions>.+pattern AccountsReportsGenerateCsvMetrics_FUNNELIMPRESSIONS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_FUNNELIMPRESSIONS = AccountsReportsGenerateCsvMetrics "FUNNEL_IMPRESSIONS"++-- | Number of times a user clicked on a non-ad unit, triggering further ad requests. For more information, see <https://support.google.com/adsense/answer/11586382 Funnel clicks>.+pattern AccountsReportsGenerateCsvMetrics_FUNNELCLICKS :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_FUNNELCLICKS = AccountsReportsGenerateCsvMetrics "FUNNEL_CLICKS"++-- | Revenue per thousand funnel impressions. This is calculated by dividing estimated revenue by the number of funnel impressions multiplied by 1000. For more information, see <https://support.google.com/adsense/answer/11585979 Funnel RPM>.+pattern AccountsReportsGenerateCsvMetrics_FUNNELRPM :: AccountsReportsGenerateCsvMetrics+pattern AccountsReportsGenerateCsvMetrics_FUNNELRPM = AccountsReportsGenerateCsvMetrics "FUNNEL_RPM"++{-# COMPLETE+  AccountsReportsGenerateCsvMetrics_METRICUNSPECIFIED,+  AccountsReportsGenerateCsvMetrics_PAGEVIEWS,+  AccountsReportsGenerateCsvMetrics_ADREQUESTS,+  AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTS,+  AccountsReportsGenerateCsvMetrics_TOTALIMPRESSIONS,+  AccountsReportsGenerateCsvMetrics_Impressions,+  AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONS,+  AccountsReportsGenerateCsvMetrics_Clicks,+  AccountsReportsGenerateCsvMetrics_PAGEVIEWSSPAMRATIO,+  AccountsReportsGenerateCsvMetrics_ADREQUESTSSPAMRATIO,+  AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSSPAMRATIO,+  AccountsReportsGenerateCsvMetrics_IMPRESSIONSSPAMRATIO,+  AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSSPAMRATIO,+  AccountsReportsGenerateCsvMetrics_CLICKSSPAMRATIO,+  AccountsReportsGenerateCsvMetrics_ADREQUESTSCOVERAGE,+  AccountsReportsGenerateCsvMetrics_PAGEVIEWSCTR,+  AccountsReportsGenerateCsvMetrics_ADREQUESTSCTR,+  AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSCTR,+  AccountsReportsGenerateCsvMetrics_IMPRESSIONSCTR,+  AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSCTR,+  AccountsReportsGenerateCsvMetrics_ACTIVEVIEWMEASURABILITY,+  AccountsReportsGenerateCsvMetrics_ACTIVEVIEWVIEWABILITY,+  AccountsReportsGenerateCsvMetrics_ACTIVEVIEWTIME,+  AccountsReportsGenerateCsvMetrics_ESTIMATEDEARNINGS,+  AccountsReportsGenerateCsvMetrics_PAGEVIEWSRPM,+  AccountsReportsGenerateCsvMetrics_ADREQUESTSRPM,+  AccountsReportsGenerateCsvMetrics_MATCHEDADREQUESTSRPM,+  AccountsReportsGenerateCsvMetrics_IMPRESSIONSRPM,+  AccountsReportsGenerateCsvMetrics_INDIVIDUALADIMPRESSIONSRPM,+  AccountsReportsGenerateCsvMetrics_COSTPERCLICK,+  AccountsReportsGenerateCsvMetrics_ADSPERIMPRESSION,+  AccountsReportsGenerateCsvMetrics_TOTALEARNINGS,+  AccountsReportsGenerateCsvMetrics_WEBSEARCHRESULTPAGES,+  AccountsReportsGenerateCsvMetrics_FUNNELREQUESTS,+  AccountsReportsGenerateCsvMetrics_FUNNELIMPRESSIONS,+  AccountsReportsGenerateCsvMetrics_FUNNELCLICKS,+  AccountsReportsGenerateCsvMetrics_FUNNELRPM,+  AccountsReportsGenerateCsvMetrics+  #-}++-- | Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+newtype AccountsReportsGenerateCsvReportingTimeZone = AccountsReportsGenerateCsvReportingTimeZone {fromAccountsReportsGenerateCsvReportingTimeZone :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified timezone.+pattern AccountsReportsGenerateCsvReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED :: AccountsReportsGenerateCsvReportingTimeZone+pattern AccountsReportsGenerateCsvReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED = AccountsReportsGenerateCsvReportingTimeZone "REPORTING_TIME_ZONE_UNSPECIFIED"++-- | Use the account timezone in the report.+pattern AccountsReportsGenerateCsvReportingTimeZone_ACCOUNTTIMEZONE :: AccountsReportsGenerateCsvReportingTimeZone+pattern AccountsReportsGenerateCsvReportingTimeZone_ACCOUNTTIMEZONE = AccountsReportsGenerateCsvReportingTimeZone "ACCOUNT_TIME_ZONE"++-- | Use the Google timezone in the report (America\/Los_Angeles).+pattern AccountsReportsGenerateCsvReportingTimeZone_GOOGLETIMEZONE :: AccountsReportsGenerateCsvReportingTimeZone+pattern AccountsReportsGenerateCsvReportingTimeZone_GOOGLETIMEZONE = AccountsReportsGenerateCsvReportingTimeZone "GOOGLE_TIME_ZONE"++{-# COMPLETE+  AccountsReportsGenerateCsvReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED,+  AccountsReportsGenerateCsvReportingTimeZone_ACCOUNTTIMEZONE,+  AccountsReportsGenerateCsvReportingTimeZone_GOOGLETIMEZONE,+  AccountsReportsGenerateCsvReportingTimeZone+  #-}++-- | Date range of the report, if unset the range will be considered CUSTOM.+newtype AccountsReportsSavedGenerateDateRange = AccountsReportsSavedGenerateDateRange {fromAccountsReportsSavedGenerateDateRange :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified date range.+pattern AccountsReportsSavedGenerateDateRange_REPORTINGDATERANGEUNSPECIFIED :: AccountsReportsSavedGenerateDateRange+pattern AccountsReportsSavedGenerateDateRange_REPORTINGDATERANGEUNSPECIFIED = AccountsReportsSavedGenerateDateRange "REPORTING_DATE_RANGE_UNSPECIFIED"++-- | A custom date range specified using the @start_date@ and @end_date@ fields. This is the default if no ReportingDateRange is provided.+pattern AccountsReportsSavedGenerateDateRange_Custom :: AccountsReportsSavedGenerateDateRange+pattern AccountsReportsSavedGenerateDateRange_Custom = AccountsReportsSavedGenerateDateRange "CUSTOM"++-- | Current day.+pattern AccountsReportsSavedGenerateDateRange_Today :: AccountsReportsSavedGenerateDateRange+pattern AccountsReportsSavedGenerateDateRange_Today = AccountsReportsSavedGenerateDateRange "TODAY"++-- | Yesterday.+pattern AccountsReportsSavedGenerateDateRange_Yesterday :: AccountsReportsSavedGenerateDateRange+pattern AccountsReportsSavedGenerateDateRange_Yesterday = AccountsReportsSavedGenerateDateRange "YESTERDAY"++-- | From the start of the current month to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-03-01, 2020-03-12].+pattern AccountsReportsSavedGenerateDateRange_MONTHTODATE :: AccountsReportsSavedGenerateDateRange+pattern AccountsReportsSavedGenerateDateRange_MONTHTODATE = AccountsReportsSavedGenerateDateRange "MONTH_TO_DATE"++-- | From the start of the current year to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-01-01, 2020-03-12].+pattern AccountsReportsSavedGenerateDateRange_YEARTODATE :: AccountsReportsSavedGenerateDateRange+pattern AccountsReportsSavedGenerateDateRange_YEARTODATE = AccountsReportsSavedGenerateDateRange "YEAR_TO_DATE"++-- | Last 7 days, excluding current day.+pattern AccountsReportsSavedGenerateDateRange_LAST7DAYS :: AccountsReportsSavedGenerateDateRange+pattern AccountsReportsSavedGenerateDateRange_LAST7DAYS = AccountsReportsSavedGenerateDateRange "LAST_7_DAYS"++-- | Last 30 days, excluding current day.+pattern AccountsReportsSavedGenerateDateRange_LAST30DAYS :: AccountsReportsSavedGenerateDateRange+pattern AccountsReportsSavedGenerateDateRange_LAST30DAYS = AccountsReportsSavedGenerateDateRange "LAST_30_DAYS"++{-# COMPLETE+  AccountsReportsSavedGenerateDateRange_REPORTINGDATERANGEUNSPECIFIED,+  AccountsReportsSavedGenerateDateRange_Custom,+  AccountsReportsSavedGenerateDateRange_Today,+  AccountsReportsSavedGenerateDateRange_Yesterday,+  AccountsReportsSavedGenerateDateRange_MONTHTODATE,+  AccountsReportsSavedGenerateDateRange_YEARTODATE,+  AccountsReportsSavedGenerateDateRange_LAST7DAYS,+  AccountsReportsSavedGenerateDateRange_LAST30DAYS,+  AccountsReportsSavedGenerateDateRange+  #-}++-- | Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+newtype AccountsReportsSavedGenerateReportingTimeZone = AccountsReportsSavedGenerateReportingTimeZone {fromAccountsReportsSavedGenerateReportingTimeZone :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified timezone.+pattern AccountsReportsSavedGenerateReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED :: AccountsReportsSavedGenerateReportingTimeZone+pattern AccountsReportsSavedGenerateReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED = AccountsReportsSavedGenerateReportingTimeZone "REPORTING_TIME_ZONE_UNSPECIFIED"++-- | Use the account timezone in the report.+pattern AccountsReportsSavedGenerateReportingTimeZone_ACCOUNTTIMEZONE :: AccountsReportsSavedGenerateReportingTimeZone+pattern AccountsReportsSavedGenerateReportingTimeZone_ACCOUNTTIMEZONE = AccountsReportsSavedGenerateReportingTimeZone "ACCOUNT_TIME_ZONE"++-- | Use the Google timezone in the report (America\/Los_Angeles).+pattern AccountsReportsSavedGenerateReportingTimeZone_GOOGLETIMEZONE :: AccountsReportsSavedGenerateReportingTimeZone+pattern AccountsReportsSavedGenerateReportingTimeZone_GOOGLETIMEZONE = AccountsReportsSavedGenerateReportingTimeZone "GOOGLE_TIME_ZONE"++{-# COMPLETE+  AccountsReportsSavedGenerateReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED,+  AccountsReportsSavedGenerateReportingTimeZone_ACCOUNTTIMEZONE,+  AccountsReportsSavedGenerateReportingTimeZone_GOOGLETIMEZONE,+  AccountsReportsSavedGenerateReportingTimeZone+  #-}++-- | Date range of the report, if unset the range will be considered CUSTOM.+newtype AccountsReportsSavedGenerateCsvDateRange = AccountsReportsSavedGenerateCsvDateRange {fromAccountsReportsSavedGenerateCsvDateRange :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified date range.+pattern AccountsReportsSavedGenerateCsvDateRange_REPORTINGDATERANGEUNSPECIFIED :: AccountsReportsSavedGenerateCsvDateRange+pattern AccountsReportsSavedGenerateCsvDateRange_REPORTINGDATERANGEUNSPECIFIED = AccountsReportsSavedGenerateCsvDateRange "REPORTING_DATE_RANGE_UNSPECIFIED"++-- | A custom date range specified using the @start_date@ and @end_date@ fields. This is the default if no ReportingDateRange is provided.+pattern AccountsReportsSavedGenerateCsvDateRange_Custom :: AccountsReportsSavedGenerateCsvDateRange+pattern AccountsReportsSavedGenerateCsvDateRange_Custom = AccountsReportsSavedGenerateCsvDateRange "CUSTOM"++-- | Current day.+pattern AccountsReportsSavedGenerateCsvDateRange_Today :: AccountsReportsSavedGenerateCsvDateRange+pattern AccountsReportsSavedGenerateCsvDateRange_Today = AccountsReportsSavedGenerateCsvDateRange "TODAY"++-- | Yesterday.+pattern AccountsReportsSavedGenerateCsvDateRange_Yesterday :: AccountsReportsSavedGenerateCsvDateRange+pattern AccountsReportsSavedGenerateCsvDateRange_Yesterday = AccountsReportsSavedGenerateCsvDateRange "YESTERDAY"++-- | From the start of the current month to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-03-01, 2020-03-12].+pattern AccountsReportsSavedGenerateCsvDateRange_MONTHTODATE :: AccountsReportsSavedGenerateCsvDateRange+pattern AccountsReportsSavedGenerateCsvDateRange_MONTHTODATE = AccountsReportsSavedGenerateCsvDateRange "MONTH_TO_DATE"++-- | From the start of the current year to the current day. e.g. if the current date is 2020-03-12 then the range will be [2020-01-01, 2020-03-12].+pattern AccountsReportsSavedGenerateCsvDateRange_YEARTODATE :: AccountsReportsSavedGenerateCsvDateRange+pattern AccountsReportsSavedGenerateCsvDateRange_YEARTODATE = AccountsReportsSavedGenerateCsvDateRange "YEAR_TO_DATE"++-- | Last 7 days, excluding current day.+pattern AccountsReportsSavedGenerateCsvDateRange_LAST7DAYS :: AccountsReportsSavedGenerateCsvDateRange+pattern AccountsReportsSavedGenerateCsvDateRange_LAST7DAYS = AccountsReportsSavedGenerateCsvDateRange "LAST_7_DAYS"++-- | Last 30 days, excluding current day.+pattern AccountsReportsSavedGenerateCsvDateRange_LAST30DAYS :: AccountsReportsSavedGenerateCsvDateRange+pattern AccountsReportsSavedGenerateCsvDateRange_LAST30DAYS = AccountsReportsSavedGenerateCsvDateRange "LAST_30_DAYS"++{-# COMPLETE+  AccountsReportsSavedGenerateCsvDateRange_REPORTINGDATERANGEUNSPECIFIED,+  AccountsReportsSavedGenerateCsvDateRange_Custom,+  AccountsReportsSavedGenerateCsvDateRange_Today,+  AccountsReportsSavedGenerateCsvDateRange_Yesterday,+  AccountsReportsSavedGenerateCsvDateRange_MONTHTODATE,+  AccountsReportsSavedGenerateCsvDateRange_YEARTODATE,+  AccountsReportsSavedGenerateCsvDateRange_LAST7DAYS,+  AccountsReportsSavedGenerateCsvDateRange_LAST30DAYS,+  AccountsReportsSavedGenerateCsvDateRange+  #-}++-- | Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see <https://support.google.com/adsense/answer/9830725 changing the time zone of your reports>.+newtype AccountsReportsSavedGenerateCsvReportingTimeZone = AccountsReportsSavedGenerateCsvReportingTimeZone {fromAccountsReportsSavedGenerateCsvReportingTimeZone :: Core.Text}+  deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+  deriving newtype+    ( Core.Hashable,+      Core.ToHttpApiData,+      Core.FromHttpApiData,+      Core.ToJSON,+      Core.ToJSONKey,+      Core.FromJSON,+      Core.FromJSONKey+    )++-- | Unspecified timezone.+pattern AccountsReportsSavedGenerateCsvReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED :: AccountsReportsSavedGenerateCsvReportingTimeZone+pattern AccountsReportsSavedGenerateCsvReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED = AccountsReportsSavedGenerateCsvReportingTimeZone "REPORTING_TIME_ZONE_UNSPECIFIED"++-- | Use the account timezone in the report.+pattern AccountsReportsSavedGenerateCsvReportingTimeZone_ACCOUNTTIMEZONE :: AccountsReportsSavedGenerateCsvReportingTimeZone+pattern AccountsReportsSavedGenerateCsvReportingTimeZone_ACCOUNTTIMEZONE = AccountsReportsSavedGenerateCsvReportingTimeZone "ACCOUNT_TIME_ZONE"++-- | Use the Google timezone in the report (America\/Los_Angeles).+pattern AccountsReportsSavedGenerateCsvReportingTimeZone_GOOGLETIMEZONE :: AccountsReportsSavedGenerateCsvReportingTimeZone+pattern AccountsReportsSavedGenerateCsvReportingTimeZone_GOOGLETIMEZONE = AccountsReportsSavedGenerateCsvReportingTimeZone "GOOGLE_TIME_ZONE"++{-# COMPLETE+  AccountsReportsSavedGenerateCsvReportingTimeZone_REPORTINGTIMEZONEUNSPECIFIED,+  AccountsReportsSavedGenerateCsvReportingTimeZone_ACCOUNTTIMEZONE,+  AccountsReportsSavedGenerateCsvReportingTimeZone_GOOGLETIMEZONE,+  AccountsReportsSavedGenerateCsvReportingTimeZone+  #-}
+ gen/Gogol/AdSense/Types.hs view
@@ -0,0 +1,272 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module      : Gogol.AdSense.Types+-- Copyright   : (c) 2015-2025 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay+gogol@gmail.com>+--               Toni Cebrián <toni@tonicebrian.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.AdSense.Types+  ( -- * Configuration+    adSenseService,++    -- * OAuth Scopes+    Adsense'FullControl,+    Adsense'Readonly,++    -- * Types++    -- ** Xgafv+    Xgafv (..),++    -- ** Account+    Account (..),+    newAccount,++    -- ** Account_State+    Account_State (..),++    -- ** AdBlockingRecoveryTag+    AdBlockingRecoveryTag (..),+    newAdBlockingRecoveryTag,++    -- ** AdClient+    AdClient (..),+    newAdClient,++    -- ** AdClient_State+    AdClient_State (..),++    -- ** AdClientAdCode+    AdClientAdCode (..),+    newAdClientAdCode,++    -- ** AdUnit+    AdUnit (..),+    newAdUnit,++    -- ** AdUnit_State+    AdUnit_State (..),++    -- ** AdUnitAdCode+    AdUnitAdCode (..),+    newAdUnitAdCode,++    -- ** Alert+    Alert (..),+    newAlert,++    -- ** Alert_Severity+    Alert_Severity (..),++    -- ** Cell+    Cell (..),+    newCell,++    -- ** ContentAdsSettings+    ContentAdsSettings (..),+    newContentAdsSettings,++    -- ** ContentAdsSettings_Type+    ContentAdsSettings_Type (..),++    -- ** CustomChannel+    CustomChannel (..),+    newCustomChannel,++    -- ** Date+    Date (..),+    newDate,++    -- ** Empty+    Empty (..),+    newEmpty,++    -- ** Header+    Header (..),+    newHeader,++    -- ** Header_Type+    Header_Type (..),++    -- ** HttpBody+    HttpBody (..),+    newHttpBody,++    -- ** HttpBody_ExtensionsItem+    HttpBody_ExtensionsItem (..),+    newHttpBody_ExtensionsItem,++    -- ** ListAccountsResponse+    ListAccountsResponse (..),+    newListAccountsResponse,++    -- ** ListAdClientsResponse+    ListAdClientsResponse (..),+    newListAdClientsResponse,++    -- ** ListAdUnitsResponse+    ListAdUnitsResponse (..),+    newListAdUnitsResponse,++    -- ** ListAlertsResponse+    ListAlertsResponse (..),+    newListAlertsResponse,++    -- ** ListChildAccountsResponse+    ListChildAccountsResponse (..),+    newListChildAccountsResponse,++    -- ** ListCustomChannelsResponse+    ListCustomChannelsResponse (..),+    newListCustomChannelsResponse,++    -- ** ListLinkedAdUnitsResponse+    ListLinkedAdUnitsResponse (..),+    newListLinkedAdUnitsResponse,++    -- ** ListLinkedCustomChannelsResponse+    ListLinkedCustomChannelsResponse (..),+    newListLinkedCustomChannelsResponse,++    -- ** ListPaymentsResponse+    ListPaymentsResponse (..),+    newListPaymentsResponse,++    -- ** ListPolicyIssuesResponse+    ListPolicyIssuesResponse (..),+    newListPolicyIssuesResponse,++    -- ** ListSavedReportsResponse+    ListSavedReportsResponse (..),+    newListSavedReportsResponse,++    -- ** ListSitesResponse+    ListSitesResponse (..),+    newListSitesResponse,++    -- ** ListUrlChannelsResponse+    ListUrlChannelsResponse (..),+    newListUrlChannelsResponse,++    -- ** Payment+    Payment (..),+    newPayment,++    -- ** PolicyIssue+    PolicyIssue (..),+    newPolicyIssue,++    -- ** PolicyIssue_Action+    PolicyIssue_Action (..),++    -- ** PolicyIssue_EntityType+    PolicyIssue_EntityType (..),++    -- ** PolicyTopic+    PolicyTopic (..),+    newPolicyTopic,++    -- ** PolicyTopic_Type+    PolicyTopic_Type (..),++    -- ** ReportResult+    ReportResult (..),+    newReportResult,++    -- ** Row+    Row (..),+    newRow,++    -- ** SavedReport+    SavedReport (..),+    newSavedReport,++    -- ** Site+    Site (..),+    newSite,++    -- ** Site_State+    Site_State (..),++    -- ** TimeZone+    TimeZone (..),+    newTimeZone,++    -- ** UrlChannel+    UrlChannel (..),+    newUrlChannel,++    -- ** AccountsReportsGenerateDateRange+    AccountsReportsGenerateDateRange (..),++    -- ** AccountsReportsGenerateDimensions+    AccountsReportsGenerateDimensions (..),++    -- ** AccountsReportsGenerateMetrics+    AccountsReportsGenerateMetrics (..),++    -- ** AccountsReportsGenerateReportingTimeZone+    AccountsReportsGenerateReportingTimeZone (..),++    -- ** AccountsReportsGenerateCsvDateRange+    AccountsReportsGenerateCsvDateRange (..),++    -- ** AccountsReportsGenerateCsvDimensions+    AccountsReportsGenerateCsvDimensions (..),++    -- ** AccountsReportsGenerateCsvMetrics+    AccountsReportsGenerateCsvMetrics (..),++    -- ** AccountsReportsGenerateCsvReportingTimeZone+    AccountsReportsGenerateCsvReportingTimeZone (..),++    -- ** AccountsReportsSavedGenerateDateRange+    AccountsReportsSavedGenerateDateRange (..),++    -- ** AccountsReportsSavedGenerateReportingTimeZone+    AccountsReportsSavedGenerateReportingTimeZone (..),++    -- ** AccountsReportsSavedGenerateCsvDateRange+    AccountsReportsSavedGenerateCsvDateRange (..),++    -- ** AccountsReportsSavedGenerateCsvReportingTimeZone+    AccountsReportsSavedGenerateCsvReportingTimeZone (..),+  )+where++import Gogol.AdSense.Internal.Product+import Gogol.AdSense.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Default request referring to version @v2@ of the AdSense Management API. This contains the host and root path used as a starting point for constructing service requests.+adSenseService :: Core.ServiceConfig+adSenseService =+  Core.defaultService+    (Core.ServiceId "adsense:v2")+    "adsense.googleapis.com"++-- | View and manage your AdSense data+type Adsense'FullControl =+  "https://www.googleapis.com/auth/adsense"++-- | View your AdSense data+type Adsense'Readonly =+  "https://www.googleapis.com/auth/adsense.readonly"
− gen/Network/Google/AdSense.hs
@@ -1,498 +0,0 @@-{-# LANGUAGE DataKinds         #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE TypeOperators     #-}--{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- |--- Module      : Network.Google.AdSense--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Accesses AdSense publishers\' inventory and generates performance--- reports.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference>-module Network.Google.AdSense-    (-    -- * Service Configuration-      adSenseService--    -- * OAuth Scopes-    , adSenseReadOnlyScope-    , adSenseScope--    -- * API Declaration-    , AdSenseAPI--    -- * Resources--    -- ** adsense.accounts.adclients.getAdCode-    , module Network.Google.Resource.AdSense.Accounts.AdClients.GetAdCode--    -- ** adsense.accounts.adclients.list-    , module Network.Google.Resource.AdSense.Accounts.AdClients.List--    -- ** adsense.accounts.adunits.customchannels.list-    , module Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List--    -- ** adsense.accounts.adunits.get-    , module Network.Google.Resource.AdSense.Accounts.AdUnits.Get--    -- ** adsense.accounts.adunits.getAdCode-    , module Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode--    -- ** adsense.accounts.adunits.list-    , module Network.Google.Resource.AdSense.Accounts.AdUnits.List--    -- ** adsense.accounts.alerts.delete-    , module Network.Google.Resource.AdSense.Accounts.Alerts.Delete--    -- ** adsense.accounts.alerts.list-    , module Network.Google.Resource.AdSense.Accounts.Alerts.List--    -- ** adsense.accounts.customchannels.adunits.list-    , module Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List--    -- ** adsense.accounts.customchannels.get-    , module Network.Google.Resource.AdSense.Accounts.CustomChannels.Get--    -- ** adsense.accounts.customchannels.list-    , module Network.Google.Resource.AdSense.Accounts.CustomChannels.List--    -- ** adsense.accounts.get-    , module Network.Google.Resource.AdSense.Accounts.Get--    -- ** adsense.accounts.list-    , module Network.Google.Resource.AdSense.Accounts.List--    -- ** adsense.accounts.payments.list-    , module Network.Google.Resource.AdSense.Accounts.Payments.List--    -- ** adsense.accounts.reports.generate-    , module Network.Google.Resource.AdSense.Accounts.Reports.Generate--    -- ** adsense.accounts.reports.saved.generate-    , module Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate--    -- ** adsense.accounts.reports.saved.list-    , module Network.Google.Resource.AdSense.Accounts.Reports.Saved.List--    -- ** adsense.accounts.savedadstyles.get-    , module Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get--    -- ** adsense.accounts.savedadstyles.list-    , module Network.Google.Resource.AdSense.Accounts.Savedadstyles.List--    -- ** adsense.accounts.urlchannels.list-    , module Network.Google.Resource.AdSense.Accounts.URLChannels.List--    -- ** adsense.adclients.list-    , module Network.Google.Resource.AdSense.AdClients.List--    -- ** adsense.adunits.customchannels.list-    , module Network.Google.Resource.AdSense.AdUnits.CustomChannels.List--    -- ** adsense.adunits.get-    , module Network.Google.Resource.AdSense.AdUnits.Get--    -- ** adsense.adunits.getAdCode-    , module Network.Google.Resource.AdSense.AdUnits.GetAdCode--    -- ** adsense.adunits.list-    , module Network.Google.Resource.AdSense.AdUnits.List--    -- ** adsense.alerts.delete-    , module Network.Google.Resource.AdSense.Alerts.Delete--    -- ** adsense.alerts.list-    , module Network.Google.Resource.AdSense.Alerts.List--    -- ** adsense.customchannels.adunits.list-    , module Network.Google.Resource.AdSense.CustomChannels.AdUnits.List--    -- ** adsense.customchannels.get-    , module Network.Google.Resource.AdSense.CustomChannels.Get--    -- ** adsense.customchannels.list-    , module Network.Google.Resource.AdSense.CustomChannels.List--    -- ** adsense.metadata.dimensions.list-    , module Network.Google.Resource.AdSense.Metadata.Dimensions.List--    -- ** adsense.metadata.metrics.list-    , module Network.Google.Resource.AdSense.Metadata.Metrics.List--    -- ** adsense.payments.list-    , module Network.Google.Resource.AdSense.Payments.List--    -- ** adsense.reports.generate-    , module Network.Google.Resource.AdSense.Reports.Generate--    -- ** adsense.reports.saved.generate-    , module Network.Google.Resource.AdSense.Reports.Saved.Generate--    -- ** adsense.reports.saved.list-    , module Network.Google.Resource.AdSense.Reports.Saved.List--    -- ** adsense.savedadstyles.get-    , module Network.Google.Resource.AdSense.Savedadstyles.Get--    -- ** adsense.savedadstyles.list-    , module Network.Google.Resource.AdSense.Savedadstyles.List--    -- ** adsense.urlchannels.list-    , module Network.Google.Resource.AdSense.URLChannels.List--    -- * Types--    -- ** AdClients-    , AdClients-    , adClients-    , acEtag-    , acNextPageToken-    , acKind-    , acItems--    -- ** ReportingMetadataEntry-    , ReportingMetadataEntry-    , reportingMetadataEntry-    , rmeKind-    , rmeRequiredMetrics-    , rmeCompatibleMetrics-    , rmeRequiredDimensions-    , rmeId-    , rmeCompatibleDimensions-    , rmeSupportedProducts--    -- ** AdsenseReportsGenerateResponseHeadersItem-    , AdsenseReportsGenerateResponseHeadersItem-    , adsenseReportsGenerateResponseHeadersItem-    , argrhiName-    , argrhiCurrency-    , argrhiType--    -- ** Payment-    , Payment-    , payment-    , pPaymentAmountCurrencyCode-    , pKind-    , pPaymentDate-    , pId-    , pPaymentAmount--    -- ** Accounts-    , Accounts-    , accounts-    , aEtag-    , aNextPageToken-    , aKind-    , aItems--    -- ** Alerts-    , Alerts-    , alerts-    , aleKind-    , aleItems--    -- ** SavedReports-    , SavedReports-    , savedReports-    , srEtag-    , srNextPageToken-    , srKind-    , srItems--    -- ** AdUnits-    , AdUnits-    , adUnits-    , auEtag-    , auNextPageToken-    , auKind-    , auItems--    -- ** SavedReport-    , SavedReport-    , savedReport-    , sKind-    , sName-    , sId--    -- ** URLChannels-    , URLChannels-    , urlChannels-    , ucEtag-    , ucNextPageToken-    , ucKind-    , ucItems--    -- ** CustomChannels-    , CustomChannels-    , customChannels-    , ccEtag-    , ccNextPageToken-    , ccKind-    , ccItems--    -- ** AdUnit-    , AdUnit-    , adUnit-    , auuStatus-    , auuMobileContentAdsSettings-    , auuKind-    , auuFeedAdsSettings-    , auuCustomStyle-    , auuSavedStyleId-    , auuName-    , auuContentAdsSettings-    , auuCode-    , auuId--    -- ** Alert-    , Alert-    , alert-    , aaIsDismissible-    , aaKind-    , aaSeverity-    , aaId-    , aaType-    , aaMessage--    -- ** AdStyleFont-    , AdStyleFont-    , adStyleFont-    , asfSize-    , asfFamily--    -- ** Account-    , Account-    , account-    , accKind-    , accCreationTime-    , accPremium-    , accName-    , accId-    , accTimezone-    , accSubAccounts--    -- ** AdUnitMobileContentAdsSettings-    , AdUnitMobileContentAdsSettings-    , adUnitMobileContentAdsSettings-    , aumcasSize-    , aumcasScriptingLanguage-    , aumcasMarkupLanguage-    , aumcasType--    -- ** SavedAdStyles-    , SavedAdStyles-    , savedAdStyles-    , sasEtag-    , sasNextPageToken-    , sasKind-    , sasItems--    -- ** AdStyleColors-    , AdStyleColors-    , adStyleColors-    , ascText-    , ascURL-    , ascBOrder-    , ascTitle-    , ascBackgRound--    -- ** AdUnitContentAdsSettingsBackupOption-    , AdUnitContentAdsSettingsBackupOption-    , adUnitContentAdsSettingsBackupOption-    , aucasboColor-    , aucasboURL-    , aucasboType--    -- ** AdClient-    , AdClient-    , adClient-    , adKind-    , adArcOptIn-    , adSupportsReporting-    , adId-    , adProductCode--    -- ** SavedAdStyle-    , SavedAdStyle-    , savedAdStyle-    , savKind-    , savName-    , savAdStyle-    , savId--    -- ** CustomChannelTargetingInfo-    , CustomChannelTargetingInfo-    , customChannelTargetingInfo-    , cctiLocation-    , cctiSiteLanguage-    , cctiAdsAppearOn-    , cctiDescription--    -- ** AdStyle-    , AdStyle-    , adStyle-    , asCorners-    , asKind-    , asFont-    , asColors--    -- ** AdUnitFeedAdsSettings-    , AdUnitFeedAdsSettings-    , adUnitFeedAdsSettings-    , aufasFrequency-    , aufasAdPosition-    , aufasType-    , aufasMinimumWordCount--    -- ** Metadata-    , Metadata-    , metadata-    , mKind-    , mItems--    -- ** CustomChannel-    , CustomChannel-    , customChannel-    , cTargetingInfo-    , cKind-    , cName-    , cCode-    , cId--    -- ** URLChannel-    , URLChannel-    , urlChannel-    , urlcKind-    , urlcId-    , urlcURLPattern--    -- ** AdCode-    , AdCode-    , adCode-    , addKind-    , addAmpHead-    , addAmpBody-    , addAdCode--    -- ** AdsenseReportsGenerateResponse-    , AdsenseReportsGenerateResponse-    , adsenseReportsGenerateResponse-    , argrKind-    , argrAverages-    , argrEndDate-    , argrWarnings-    , argrRows-    , argrTotals-    , argrStartDate-    , argrHeaders-    , argrTotalMatchedRows--    -- ** AdUnitContentAdsSettings-    , AdUnitContentAdsSettings-    , adUnitContentAdsSettings-    , aucasBackupOption-    , aucasSize-    , aucasType--    -- ** Payments-    , Payments-    , payments-    , payKind-    , payItems-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude-import           Network.Google.Resource.AdSense.Accounts.AdClients.GetAdCode-import           Network.Google.Resource.AdSense.Accounts.AdClients.List-import           Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List-import           Network.Google.Resource.AdSense.Accounts.AdUnits.Get-import           Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode-import           Network.Google.Resource.AdSense.Accounts.AdUnits.List-import           Network.Google.Resource.AdSense.Accounts.Alerts.Delete-import           Network.Google.Resource.AdSense.Accounts.Alerts.List-import           Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List-import           Network.Google.Resource.AdSense.Accounts.CustomChannels.Get-import           Network.Google.Resource.AdSense.Accounts.CustomChannels.List-import           Network.Google.Resource.AdSense.Accounts.Get-import           Network.Google.Resource.AdSense.Accounts.List-import           Network.Google.Resource.AdSense.Accounts.Payments.List-import           Network.Google.Resource.AdSense.Accounts.Reports.Generate-import           Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate-import           Network.Google.Resource.AdSense.Accounts.Reports.Saved.List-import           Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get-import           Network.Google.Resource.AdSense.Accounts.Savedadstyles.List-import           Network.Google.Resource.AdSense.Accounts.URLChannels.List-import           Network.Google.Resource.AdSense.AdClients.List-import           Network.Google.Resource.AdSense.AdUnits.CustomChannels.List-import           Network.Google.Resource.AdSense.AdUnits.Get-import           Network.Google.Resource.AdSense.AdUnits.GetAdCode-import           Network.Google.Resource.AdSense.AdUnits.List-import           Network.Google.Resource.AdSense.Alerts.Delete-import           Network.Google.Resource.AdSense.Alerts.List-import           Network.Google.Resource.AdSense.CustomChannels.AdUnits.List-import           Network.Google.Resource.AdSense.CustomChannels.Get-import           Network.Google.Resource.AdSense.CustomChannels.List-import           Network.Google.Resource.AdSense.Metadata.Dimensions.List-import           Network.Google.Resource.AdSense.Metadata.Metrics.List-import           Network.Google.Resource.AdSense.Payments.List-import           Network.Google.Resource.AdSense.Reports.Generate-import           Network.Google.Resource.AdSense.Reports.Saved.Generate-import           Network.Google.Resource.AdSense.Reports.Saved.List-import           Network.Google.Resource.AdSense.Savedadstyles.Get-import           Network.Google.Resource.AdSense.Savedadstyles.List-import           Network.Google.Resource.AdSense.URLChannels.List--{- $resources-TODO--}---- | Represents the entirety of the methods and resources available for the AdSense Management API service.-type AdSenseAPI =-     AdClientsListResource :<|>-       AccountsAdClientsListResource-       :<|> AccountsAdClientsGetAdCodeResource-       :<|> AccountsReportsSavedListResource-       :<|> AccountsReportsSavedGenerateResource-       :<|> AccountsReportsGenerateResource-       :<|> AccountsAlertsListResource-       :<|> AccountsAlertsDeleteResource-       :<|> AccountsAdUnitsCustomChannelsListResource-       :<|> AccountsAdUnitsListResource-       :<|> AccountsAdUnitsGetResource-       :<|> AccountsAdUnitsGetAdCodeResource-       :<|> AccountsURLChannelsListResource-       :<|> AccountsCustomChannelsAdUnitsListResource-       :<|> AccountsCustomChannelsListResource-       :<|> AccountsCustomChannelsGetResource-       :<|> AccountsSavedadstylesListResource-       :<|> AccountsSavedadstylesGetResource-       :<|> AccountsPaymentsListResource-       :<|> AccountsListResource-       :<|> AccountsGetResource-       :<|> ReportsSavedListResource-       :<|> ReportsSavedGenerateResource-       :<|> ReportsGenerateResource-       :<|> AlertsListResource-       :<|> AlertsDeleteResource-       :<|> AdUnitsCustomChannelsListResource-       :<|> AdUnitsListResource-       :<|> AdUnitsGetResource-       :<|> AdUnitsGetAdCodeResource-       :<|> URLChannelsListResource-       :<|> CustomChannelsAdUnitsListResource-       :<|> CustomChannelsListResource-       :<|> CustomChannelsGetResource-       :<|> SavedadstylesListResource-       :<|> SavedadstylesGetResource-       :<|> MetadataMetricsListResource-       :<|> MetadataDimensionsListResource-       :<|> PaymentsListResource
− gen/Network/Google/AdSense/Types.hs
@@ -1,301 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Network.Google.AdSense.Types--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.AdSense.Types-    (-    -- * Service Configuration-      adSenseService--    -- * OAuth Scopes-    , adSenseReadOnlyScope-    , adSenseScope--    -- * AdClients-    , AdClients-    , adClients-    , acEtag-    , acNextPageToken-    , acKind-    , acItems--    -- * ReportingMetadataEntry-    , ReportingMetadataEntry-    , reportingMetadataEntry-    , rmeKind-    , rmeRequiredMetrics-    , rmeCompatibleMetrics-    , rmeRequiredDimensions-    , rmeId-    , rmeCompatibleDimensions-    , rmeSupportedProducts--    -- * AdsenseReportsGenerateResponseHeadersItem-    , AdsenseReportsGenerateResponseHeadersItem-    , adsenseReportsGenerateResponseHeadersItem-    , argrhiName-    , argrhiCurrency-    , argrhiType--    -- * Payment-    , Payment-    , payment-    , pPaymentAmountCurrencyCode-    , pKind-    , pPaymentDate-    , pId-    , pPaymentAmount--    -- * Accounts-    , Accounts-    , accounts-    , aEtag-    , aNextPageToken-    , aKind-    , aItems--    -- * Alerts-    , Alerts-    , alerts-    , aleKind-    , aleItems--    -- * SavedReports-    , SavedReports-    , savedReports-    , srEtag-    , srNextPageToken-    , srKind-    , srItems--    -- * AdUnits-    , AdUnits-    , adUnits-    , auEtag-    , auNextPageToken-    , auKind-    , auItems--    -- * SavedReport-    , SavedReport-    , savedReport-    , sKind-    , sName-    , sId--    -- * URLChannels-    , URLChannels-    , urlChannels-    , ucEtag-    , ucNextPageToken-    , ucKind-    , ucItems--    -- * CustomChannels-    , CustomChannels-    , customChannels-    , ccEtag-    , ccNextPageToken-    , ccKind-    , ccItems--    -- * AdUnit-    , AdUnit-    , adUnit-    , auuStatus-    , auuMobileContentAdsSettings-    , auuKind-    , auuFeedAdsSettings-    , auuCustomStyle-    , auuSavedStyleId-    , auuName-    , auuContentAdsSettings-    , auuCode-    , auuId--    -- * Alert-    , Alert-    , alert-    , aaIsDismissible-    , aaKind-    , aaSeverity-    , aaId-    , aaType-    , aaMessage--    -- * AdStyleFont-    , AdStyleFont-    , adStyleFont-    , asfSize-    , asfFamily--    -- * Account-    , Account-    , account-    , accKind-    , accCreationTime-    , accPremium-    , accName-    , accId-    , accTimezone-    , accSubAccounts--    -- * AdUnitMobileContentAdsSettings-    , AdUnitMobileContentAdsSettings-    , adUnitMobileContentAdsSettings-    , aumcasSize-    , aumcasScriptingLanguage-    , aumcasMarkupLanguage-    , aumcasType--    -- * SavedAdStyles-    , SavedAdStyles-    , savedAdStyles-    , sasEtag-    , sasNextPageToken-    , sasKind-    , sasItems--    -- * AdStyleColors-    , AdStyleColors-    , adStyleColors-    , ascText-    , ascURL-    , ascBOrder-    , ascTitle-    , ascBackgRound--    -- * AdUnitContentAdsSettingsBackupOption-    , AdUnitContentAdsSettingsBackupOption-    , adUnitContentAdsSettingsBackupOption-    , aucasboColor-    , aucasboURL-    , aucasboType--    -- * AdClient-    , AdClient-    , adClient-    , adKind-    , adArcOptIn-    , adSupportsReporting-    , adId-    , adProductCode--    -- * SavedAdStyle-    , SavedAdStyle-    , savedAdStyle-    , savKind-    , savName-    , savAdStyle-    , savId--    -- * CustomChannelTargetingInfo-    , CustomChannelTargetingInfo-    , customChannelTargetingInfo-    , cctiLocation-    , cctiSiteLanguage-    , cctiAdsAppearOn-    , cctiDescription--    -- * AdStyle-    , AdStyle-    , adStyle-    , asCorners-    , asKind-    , asFont-    , asColors--    -- * AdUnitFeedAdsSettings-    , AdUnitFeedAdsSettings-    , adUnitFeedAdsSettings-    , aufasFrequency-    , aufasAdPosition-    , aufasType-    , aufasMinimumWordCount--    -- * Metadata-    , Metadata-    , metadata-    , mKind-    , mItems--    -- * CustomChannel-    , CustomChannel-    , customChannel-    , cTargetingInfo-    , cKind-    , cName-    , cCode-    , cId--    -- * URLChannel-    , URLChannel-    , urlChannel-    , urlcKind-    , urlcId-    , urlcURLPattern--    -- * AdCode-    , AdCode-    , adCode-    , addKind-    , addAmpHead-    , addAmpBody-    , addAdCode--    -- * AdsenseReportsGenerateResponse-    , AdsenseReportsGenerateResponse-    , adsenseReportsGenerateResponse-    , argrKind-    , argrAverages-    , argrEndDate-    , argrWarnings-    , argrRows-    , argrTotals-    , argrStartDate-    , argrHeaders-    , argrTotalMatchedRows--    -- * AdUnitContentAdsSettings-    , AdUnitContentAdsSettings-    , adUnitContentAdsSettings-    , aucasBackupOption-    , aucasSize-    , aucasType--    -- * Payments-    , Payments-    , payments-    , payKind-    , payItems-    ) where--import           Network.Google.AdSense.Types.Product-import           Network.Google.AdSense.Types.Sum-import           Network.Google.Prelude---- | 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-adSenseService-  = defaultService (ServiceId "adsense:v1.4")-      "www.googleapis.com"---- | View your AdSense data-adSenseReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/adsense.readonly"]-adSenseReadOnlyScope = Proxy---- | View and manage your AdSense data-adSenseScope :: Proxy '["https://www.googleapis.com/auth/adsense"]-adSenseScope = Proxy
− gen/Network/Google/AdSense/Types/Product.hs
@@ -1,2437 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Network.Google.AdSense.Types.Product--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.AdSense.Types.Product where--import           Network.Google.AdSense.Types.Sum-import           Network.Google.Prelude------- /See:/ 'adClients' smart constructor.-data AdClients =-  AdClients'-    { _acEtag          :: !(Maybe Text)-    , _acNextPageToken :: !(Maybe Text)-    , _acKind          :: !Text-    , _acItems         :: !(Maybe [AdClient])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdClients' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'acEtag'------ * 'acNextPageToken'------ * 'acKind'------ * 'acItems'-adClients-    :: AdClients-adClients =-  AdClients'-    { _acEtag = Nothing-    , _acNextPageToken = Nothing-    , _acKind = "adsense#adClients"-    , _acItems = Nothing-    }----- | ETag of this response for caching purposes.-acEtag :: Lens' AdClients (Maybe Text)-acEtag = lens _acEtag (\ s a -> s{_acEtag = a})---- | 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)-acNextPageToken-  = lens _acNextPageToken-      (\ s a -> s{_acNextPageToken = a})---- | Kind of list this is, in this case adsense#adClients.-acKind :: Lens' AdClients Text-acKind = lens _acKind (\ s a -> s{_acKind = a})---- | The ad clients returned in this list response.-acItems :: Lens' AdClients [AdClient]-acItems-  = lens _acItems (\ s a -> s{_acItems = a}) . _Default-      . _Coerce--instance FromJSON AdClients where-        parseJSON-          = withObject "AdClients"-              (\ o ->-                 AdClients' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "adsense#adClients")-                     <*> (o .:? "items" .!= mempty))--instance ToJSON AdClients where-        toJSON AdClients'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _acEtag,-                  ("nextPageToken" .=) <$> _acNextPageToken,-                  Just ("kind" .= _acKind), ("items" .=) <$> _acItems])------- /See:/ 'reportingMetadataEntry' smart constructor.-data ReportingMetadataEntry =-  ReportingMetadataEntry'-    { _rmeKind                 :: !Text-    , _rmeRequiredMetrics      :: !(Maybe [Text])-    , _rmeCompatibleMetrics    :: !(Maybe [Text])-    , _rmeRequiredDimensions   :: !(Maybe [Text])-    , _rmeId                   :: !(Maybe Text)-    , _rmeCompatibleDimensions :: !(Maybe [Text])-    , _rmeSupportedProducts    :: !(Maybe [Text])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ReportingMetadataEntry' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rmeKind'------ * 'rmeRequiredMetrics'------ * 'rmeCompatibleMetrics'------ * 'rmeRequiredDimensions'------ * 'rmeId'------ * 'rmeCompatibleDimensions'------ * 'rmeSupportedProducts'-reportingMetadataEntry-    :: ReportingMetadataEntry-reportingMetadataEntry =-  ReportingMetadataEntry'-    { _rmeKind = "adsense#reportingMetadataEntry"-    , _rmeRequiredMetrics = Nothing-    , _rmeCompatibleMetrics = Nothing-    , _rmeRequiredDimensions = Nothing-    , _rmeId = Nothing-    , _rmeCompatibleDimensions = Nothing-    , _rmeSupportedProducts = Nothing-    }----- | Kind of resource this is, in this case adsense#reportingMetadataEntry.-rmeKind :: Lens' ReportingMetadataEntry Text-rmeKind = lens _rmeKind (\ s a -> s{_rmeKind = a})---- | 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]-rmeRequiredMetrics-  = lens _rmeRequiredMetrics-      (\ s a -> s{_rmeRequiredMetrics = a})-      . _Default-      . _Coerce---- | The names of the metrics the dimension or metric this reporting metadata--- entry describes is compatible with.-rmeCompatibleMetrics :: Lens' ReportingMetadataEntry [Text]-rmeCompatibleMetrics-  = lens _rmeCompatibleMetrics-      (\ s a -> s{_rmeCompatibleMetrics = a})-      . _Default-      . _Coerce---- | 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]-rmeRequiredDimensions-  = lens _rmeRequiredDimensions-      (\ s a -> s{_rmeRequiredDimensions = a})-      . _Default-      . _Coerce---- | Unique identifier of this reporting metadata entry, corresponding to the--- name of the appropriate dimension or metric.-rmeId :: Lens' ReportingMetadataEntry (Maybe Text)-rmeId = lens _rmeId (\ s a -> s{_rmeId = a})---- | 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]-rmeCompatibleDimensions-  = lens _rmeCompatibleDimensions-      (\ s a -> s{_rmeCompatibleDimensions = a})-      . _Default-      . _Coerce---- | The codes of the projects supported by the dimension or metric this--- reporting metadata entry describes.-rmeSupportedProducts :: Lens' ReportingMetadataEntry [Text]-rmeSupportedProducts-  = lens _rmeSupportedProducts-      (\ s a -> s{_rmeSupportedProducts = a})-      . _Default-      . _Coerce--instance FromJSON ReportingMetadataEntry where-        parseJSON-          = withObject "ReportingMetadataEntry"-              (\ o ->-                 ReportingMetadataEntry' <$>-                   (o .:? "kind" .!= "adsense#reportingMetadataEntry")-                     <*> (o .:? "requiredMetrics" .!= mempty)-                     <*> (o .:? "compatibleMetrics" .!= mempty)-                     <*> (o .:? "requiredDimensions" .!= mempty)-                     <*> (o .:? "id")-                     <*> (o .:? "compatibleDimensions" .!= mempty)-                     <*> (o .:? "supportedProducts" .!= mempty))--instance ToJSON ReportingMetadataEntry where-        toJSON ReportingMetadataEntry'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _rmeKind),-                  ("requiredMetrics" .=) <$> _rmeRequiredMetrics,-                  ("compatibleMetrics" .=) <$> _rmeCompatibleMetrics,-                  ("requiredDimensions" .=) <$> _rmeRequiredDimensions,-                  ("id" .=) <$> _rmeId,-                  ("compatibleDimensions" .=) <$>-                    _rmeCompatibleDimensions,-                  ("supportedProducts" .=) <$> _rmeSupportedProducts])------- /See:/ 'adsenseReportsGenerateResponseHeadersItem' smart constructor.-data AdsenseReportsGenerateResponseHeadersItem =-  AdsenseReportsGenerateResponseHeadersItem'-    { _argrhiName     :: !(Maybe Text)-    , _argrhiCurrency :: !(Maybe Text)-    , _argrhiType     :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdsenseReportsGenerateResponseHeadersItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'argrhiName'------ * 'argrhiCurrency'------ * 'argrhiType'-adsenseReportsGenerateResponseHeadersItem-    :: AdsenseReportsGenerateResponseHeadersItem-adsenseReportsGenerateResponseHeadersItem =-  AdsenseReportsGenerateResponseHeadersItem'-    {_argrhiName = Nothing, _argrhiCurrency = Nothing, _argrhiType = Nothing}----- | The name of the header.-argrhiName :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)-argrhiName-  = lens _argrhiName (\ s a -> s{_argrhiName = a})---- | The currency of this column. Only present if the header type is--- METRIC_CURRENCY.-argrhiCurrency :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)-argrhiCurrency-  = lens _argrhiCurrency-      (\ s a -> s{_argrhiCurrency = a})---- | The type of the header; one of DIMENSION, METRIC_TALLY, METRIC_RATIO, or--- METRIC_CURRENCY.-argrhiType :: Lens' AdsenseReportsGenerateResponseHeadersItem (Maybe Text)-argrhiType-  = lens _argrhiType (\ s a -> s{_argrhiType = a})--instance FromJSON-           AdsenseReportsGenerateResponseHeadersItem-         where-        parseJSON-          = withObject-              "AdsenseReportsGenerateResponseHeadersItem"-              (\ o ->-                 AdsenseReportsGenerateResponseHeadersItem' <$>-                   (o .:? "name") <*> (o .:? "currency") <*>-                     (o .:? "type"))--instance ToJSON-           AdsenseReportsGenerateResponseHeadersItem-         where-        toJSON AdsenseReportsGenerateResponseHeadersItem'{..}-          = object-              (catMaybes-                 [("name" .=) <$> _argrhiName,-                  ("currency" .=) <$> _argrhiCurrency,-                  ("type" .=) <$> _argrhiType])------- /See:/ 'payment' smart constructor.-data Payment =-  Payment'-    { _pPaymentAmountCurrencyCode :: !(Maybe Text)-    , _pKind                      :: !Text-    , _pPaymentDate               :: !(Maybe Text)-    , _pId                        :: !(Maybe Text)-    , _pPaymentAmount             :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Payment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pPaymentAmountCurrencyCode'------ * 'pKind'------ * 'pPaymentDate'------ * 'pId'------ * 'pPaymentAmount'-payment-    :: Payment-payment =-  Payment'-    { _pPaymentAmountCurrencyCode = Nothing-    , _pKind = "adsense#payment"-    , _pPaymentDate = Nothing-    , _pId = Nothing-    , _pPaymentAmount = Nothing-    }----- | The currency code for the amount to be paid.-pPaymentAmountCurrencyCode :: Lens' Payment (Maybe Text)-pPaymentAmountCurrencyCode-  = lens _pPaymentAmountCurrencyCode-      (\ s a -> s{_pPaymentAmountCurrencyCode = a})---- | Kind of resource this is, in this case adsense#payment.-pKind :: Lens' Payment Text-pKind = lens _pKind (\ s a -> s{_pKind = a})---- | 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)-pPaymentDate-  = lens _pPaymentDate (\ s a -> s{_pPaymentDate = a})---- | Unique identifier of this Payment.-pId :: Lens' Payment (Maybe Text)-pId = lens _pId (\ s a -> s{_pId = a})---- | The amount to be paid.-pPaymentAmount :: Lens' Payment (Maybe Text)-pPaymentAmount-  = lens _pPaymentAmount-      (\ s a -> s{_pPaymentAmount = a})--instance FromJSON Payment where-        parseJSON-          = withObject "Payment"-              (\ o ->-                 Payment' <$>-                   (o .:? "paymentAmountCurrencyCode") <*>-                     (o .:? "kind" .!= "adsense#payment")-                     <*> (o .:? "paymentDate")-                     <*> (o .:? "id")-                     <*> (o .:? "paymentAmount"))--instance ToJSON Payment where-        toJSON Payment'{..}-          = object-              (catMaybes-                 [("paymentAmountCurrencyCode" .=) <$>-                    _pPaymentAmountCurrencyCode,-                  Just ("kind" .= _pKind),-                  ("paymentDate" .=) <$> _pPaymentDate,-                  ("id" .=) <$> _pId,-                  ("paymentAmount" .=) <$> _pPaymentAmount])------- /See:/ 'accounts' smart constructor.-data Accounts =-  Accounts'-    { _aEtag          :: !(Maybe Text)-    , _aNextPageToken :: !(Maybe Text)-    , _aKind          :: !Text-    , _aItems         :: !(Maybe [Account])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Accounts' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aEtag'------ * 'aNextPageToken'------ * 'aKind'------ * 'aItems'-accounts-    :: Accounts-accounts =-  Accounts'-    { _aEtag = Nothing-    , _aNextPageToken = Nothing-    , _aKind = "adsense#accounts"-    , _aItems = Nothing-    }----- | ETag of this response for caching purposes.-aEtag :: Lens' Accounts (Maybe Text)-aEtag = lens _aEtag (\ s a -> s{_aEtag = a})---- | 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)-aNextPageToken-  = lens _aNextPageToken-      (\ s a -> s{_aNextPageToken = a})---- | Kind of list this is, in this case adsense#accounts.-aKind :: Lens' Accounts Text-aKind = lens _aKind (\ s a -> s{_aKind = a})---- | The accounts returned in this list response.-aItems :: Lens' Accounts [Account]-aItems-  = lens _aItems (\ s a -> s{_aItems = a}) . _Default .-      _Coerce--instance FromJSON Accounts where-        parseJSON-          = withObject "Accounts"-              (\ o ->-                 Accounts' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "adsense#accounts")-                     <*> (o .:? "items" .!= mempty))--instance ToJSON Accounts where-        toJSON Accounts'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _aEtag,-                  ("nextPageToken" .=) <$> _aNextPageToken,-                  Just ("kind" .= _aKind), ("items" .=) <$> _aItems])------- /See:/ 'alerts' smart constructor.-data Alerts =-  Alerts'-    { _aleKind  :: !Text-    , _aleItems :: !(Maybe [Alert])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Alerts' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aleKind'------ * 'aleItems'-alerts-    :: Alerts-alerts = Alerts' {_aleKind = "adsense#alerts", _aleItems = Nothing}----- | Kind of list this is, in this case adsense#alerts.-aleKind :: Lens' Alerts Text-aleKind = lens _aleKind (\ s a -> s{_aleKind = a})---- | The alerts returned in this list response.-aleItems :: Lens' Alerts [Alert]-aleItems-  = lens _aleItems (\ s a -> s{_aleItems = a}) .-      _Default-      . _Coerce--instance FromJSON Alerts where-        parseJSON-          = withObject "Alerts"-              (\ o ->-                 Alerts' <$>-                   (o .:? "kind" .!= "adsense#alerts") <*>-                     (o .:? "items" .!= mempty))--instance ToJSON Alerts where-        toJSON Alerts'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _aleKind),-                  ("items" .=) <$> _aleItems])------- /See:/ 'savedReports' smart constructor.-data SavedReports =-  SavedReports'-    { _srEtag          :: !(Maybe Text)-    , _srNextPageToken :: !(Maybe Text)-    , _srKind          :: !Text-    , _srItems         :: !(Maybe [SavedReport])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SavedReports' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'srEtag'------ * 'srNextPageToken'------ * 'srKind'------ * 'srItems'-savedReports-    :: SavedReports-savedReports =-  SavedReports'-    { _srEtag = Nothing-    , _srNextPageToken = Nothing-    , _srKind = "adsense#savedReports"-    , _srItems = Nothing-    }----- | ETag of this response for caching purposes.-srEtag :: Lens' SavedReports (Maybe Text)-srEtag = lens _srEtag (\ s a -> s{_srEtag = a})---- | 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)-srNextPageToken-  = lens _srNextPageToken-      (\ s a -> s{_srNextPageToken = a})---- | Kind of list this is, in this case adsense#savedReports.-srKind :: Lens' SavedReports Text-srKind = lens _srKind (\ s a -> s{_srKind = a})---- | The saved reports returned in this list response.-srItems :: Lens' SavedReports [SavedReport]-srItems-  = lens _srItems (\ s a -> s{_srItems = a}) . _Default-      . _Coerce--instance FromJSON SavedReports where-        parseJSON-          = withObject "SavedReports"-              (\ o ->-                 SavedReports' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "adsense#savedReports")-                     <*> (o .:? "items" .!= mempty))--instance ToJSON SavedReports where-        toJSON SavedReports'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _srEtag,-                  ("nextPageToken" .=) <$> _srNextPageToken,-                  Just ("kind" .= _srKind), ("items" .=) <$> _srItems])------- /See:/ 'adUnits' smart constructor.-data AdUnits =-  AdUnits'-    { _auEtag          :: !(Maybe Text)-    , _auNextPageToken :: !(Maybe Text)-    , _auKind          :: !Text-    , _auItems         :: !(Maybe [AdUnit])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnits' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'auEtag'------ * 'auNextPageToken'------ * 'auKind'------ * 'auItems'-adUnits-    :: AdUnits-adUnits =-  AdUnits'-    { _auEtag = Nothing-    , _auNextPageToken = Nothing-    , _auKind = "adsense#adUnits"-    , _auItems = Nothing-    }----- | ETag of this response for caching purposes.-auEtag :: Lens' AdUnits (Maybe Text)-auEtag = lens _auEtag (\ s a -> s{_auEtag = a})---- | 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)-auNextPageToken-  = lens _auNextPageToken-      (\ s a -> s{_auNextPageToken = a})---- | Kind of list this is, in this case adsense#adUnits.-auKind :: Lens' AdUnits Text-auKind = lens _auKind (\ s a -> s{_auKind = a})---- | The ad units returned in this list response.-auItems :: Lens' AdUnits [AdUnit]-auItems-  = lens _auItems (\ s a -> s{_auItems = a}) . _Default-      . _Coerce--instance FromJSON AdUnits where-        parseJSON-          = withObject "AdUnits"-              (\ o ->-                 AdUnits' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "adsense#adUnits")-                     <*> (o .:? "items" .!= mempty))--instance ToJSON AdUnits where-        toJSON AdUnits'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _auEtag,-                  ("nextPageToken" .=) <$> _auNextPageToken,-                  Just ("kind" .= _auKind), ("items" .=) <$> _auItems])------- /See:/ 'savedReport' smart constructor.-data SavedReport =-  SavedReport'-    { _sKind :: !Text-    , _sName :: !(Maybe Text)-    , _sId   :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SavedReport' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sKind'------ * 'sName'------ * 'sId'-savedReport-    :: SavedReport-savedReport =-  SavedReport'-    {_sKind = "adsense#savedReport", _sName = Nothing, _sId = Nothing}----- | Kind of resource this is, in this case adsense#savedReport.-sKind :: Lens' SavedReport Text-sKind = lens _sKind (\ s a -> s{_sKind = a})---- | This saved report\'s name.-sName :: Lens' SavedReport (Maybe Text)-sName = lens _sName (\ s a -> s{_sName = a})---- | Unique identifier of this saved report.-sId :: Lens' SavedReport (Maybe Text)-sId = lens _sId (\ s a -> s{_sId = a})--instance FromJSON SavedReport where-        parseJSON-          = withObject "SavedReport"-              (\ o ->-                 SavedReport' <$>-                   (o .:? "kind" .!= "adsense#savedReport") <*>-                     (o .:? "name")-                     <*> (o .:? "id"))--instance ToJSON SavedReport where-        toJSON SavedReport'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _sKind), ("name" .=) <$> _sName,-                  ("id" .=) <$> _sId])------- /See:/ 'urlChannels' smart constructor.-data URLChannels =-  URLChannels'-    { _ucEtag          :: !(Maybe Text)-    , _ucNextPageToken :: !(Maybe Text)-    , _ucKind          :: !Text-    , _ucItems         :: !(Maybe [URLChannel])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'URLChannels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ucEtag'------ * 'ucNextPageToken'------ * 'ucKind'------ * 'ucItems'-urlChannels-    :: URLChannels-urlChannels =-  URLChannels'-    { _ucEtag = Nothing-    , _ucNextPageToken = Nothing-    , _ucKind = "adsense#urlChannels"-    , _ucItems = Nothing-    }----- | ETag of this response for caching purposes.-ucEtag :: Lens' URLChannels (Maybe Text)-ucEtag = lens _ucEtag (\ s a -> s{_ucEtag = a})---- | 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)-ucNextPageToken-  = lens _ucNextPageToken-      (\ s a -> s{_ucNextPageToken = a})---- | Kind of list this is, in this case adsense#urlChannels.-ucKind :: Lens' URLChannels Text-ucKind = lens _ucKind (\ s a -> s{_ucKind = a})---- | The URL channels returned in this list response.-ucItems :: Lens' URLChannels [URLChannel]-ucItems-  = lens _ucItems (\ s a -> s{_ucItems = a}) . _Default-      . _Coerce--instance FromJSON URLChannels where-        parseJSON-          = withObject "URLChannels"-              (\ o ->-                 URLChannels' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "adsense#urlChannels")-                     <*> (o .:? "items" .!= mempty))--instance ToJSON URLChannels where-        toJSON URLChannels'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _ucEtag,-                  ("nextPageToken" .=) <$> _ucNextPageToken,-                  Just ("kind" .= _ucKind), ("items" .=) <$> _ucItems])------- /See:/ 'customChannels' smart constructor.-data CustomChannels =-  CustomChannels'-    { _ccEtag          :: !(Maybe Text)-    , _ccNextPageToken :: !(Maybe Text)-    , _ccKind          :: !Text-    , _ccItems         :: !(Maybe [CustomChannel])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CustomChannels' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccEtag'------ * 'ccNextPageToken'------ * 'ccKind'------ * 'ccItems'-customChannels-    :: CustomChannels-customChannels =-  CustomChannels'-    { _ccEtag = Nothing-    , _ccNextPageToken = Nothing-    , _ccKind = "adsense#customChannels"-    , _ccItems = Nothing-    }----- | ETag of this response for caching purposes.-ccEtag :: Lens' CustomChannels (Maybe Text)-ccEtag = lens _ccEtag (\ s a -> s{_ccEtag = a})---- | 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)-ccNextPageToken-  = lens _ccNextPageToken-      (\ s a -> s{_ccNextPageToken = a})---- | Kind of list this is, in this case adsense#customChannels.-ccKind :: Lens' CustomChannels Text-ccKind = lens _ccKind (\ s a -> s{_ccKind = a})---- | The custom channels returned in this list response.-ccItems :: Lens' CustomChannels [CustomChannel]-ccItems-  = lens _ccItems (\ s a -> s{_ccItems = a}) . _Default-      . _Coerce--instance FromJSON CustomChannels where-        parseJSON-          = withObject "CustomChannels"-              (\ o ->-                 CustomChannels' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "adsense#customChannels")-                     <*> (o .:? "items" .!= mempty))--instance ToJSON CustomChannels where-        toJSON CustomChannels'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _ccEtag,-                  ("nextPageToken" .=) <$> _ccNextPageToken,-                  Just ("kind" .= _ccKind), ("items" .=) <$> _ccItems])------- /See:/ 'adUnit' smart constructor.-data AdUnit =-  AdUnit'-    { _auuStatus                   :: !(Maybe Text)-    , _auuMobileContentAdsSettings :: !(Maybe AdUnitMobileContentAdsSettings)-    , _auuKind                     :: !Text-    , _auuFeedAdsSettings          :: !(Maybe AdUnitFeedAdsSettings)-    , _auuCustomStyle              :: !(Maybe AdStyle)-    , _auuSavedStyleId             :: !(Maybe Text)-    , _auuName                     :: !(Maybe Text)-    , _auuContentAdsSettings       :: !(Maybe AdUnitContentAdsSettings)-    , _auuCode                     :: !(Maybe Text)-    , _auuId                       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'auuStatus'------ * 'auuMobileContentAdsSettings'------ * 'auuKind'------ * 'auuFeedAdsSettings'------ * 'auuCustomStyle'------ * 'auuSavedStyleId'------ * 'auuName'------ * 'auuContentAdsSettings'------ * 'auuCode'------ * 'auuId'-adUnit-    :: AdUnit-adUnit =-  AdUnit'-    { _auuStatus = Nothing-    , _auuMobileContentAdsSettings = Nothing-    , _auuKind = "adsense#adUnit"-    , _auuFeedAdsSettings = Nothing-    , _auuCustomStyle = Nothing-    , _auuSavedStyleId = Nothing-    , _auuName = Nothing-    , _auuContentAdsSettings = Nothing-    , _auuCode = Nothing-    , _auuId = Nothing-    }----- | 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)-auuStatus-  = lens _auuStatus (\ s a -> s{_auuStatus = a})---- | Settings specific to WAP mobile content ads (AFMC) - deprecated.-auuMobileContentAdsSettings :: Lens' AdUnit (Maybe AdUnitMobileContentAdsSettings)-auuMobileContentAdsSettings-  = lens _auuMobileContentAdsSettings-      (\ s a -> s{_auuMobileContentAdsSettings = a})---- | Kind of resource this is, in this case adsense#adUnit.-auuKind :: Lens' AdUnit Text-auuKind = lens _auuKind (\ s a -> s{_auuKind = a})---- | Settings specific to feed ads (AFF) - deprecated.-auuFeedAdsSettings :: Lens' AdUnit (Maybe AdUnitFeedAdsSettings)-auuFeedAdsSettings-  = lens _auuFeedAdsSettings-      (\ s a -> s{_auuFeedAdsSettings = a})---- | Custom style information specific to this ad unit.-auuCustomStyle :: Lens' AdUnit (Maybe AdStyle)-auuCustomStyle-  = lens _auuCustomStyle-      (\ s a -> s{_auuCustomStyle = a})---- | ID of the saved ad style which holds this ad unit\'s style information.-auuSavedStyleId :: Lens' AdUnit (Maybe Text)-auuSavedStyleId-  = lens _auuSavedStyleId-      (\ s a -> s{_auuSavedStyleId = a})---- | Name of this ad unit.-auuName :: Lens' AdUnit (Maybe Text)-auuName = lens _auuName (\ s a -> s{_auuName = a})---- | Settings specific to content ads (AFC) and highend mobile content ads--- (AFMC - deprecated).-auuContentAdsSettings :: Lens' AdUnit (Maybe AdUnitContentAdsSettings)-auuContentAdsSettings-  = lens _auuContentAdsSettings-      (\ s a -> s{_auuContentAdsSettings = a})---- | Identity code of this ad unit, not necessarily unique across ad clients.-auuCode :: Lens' AdUnit (Maybe Text)-auuCode = lens _auuCode (\ s a -> s{_auuCode = a})---- | 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)-auuId = lens _auuId (\ s a -> s{_auuId = a})--instance FromJSON AdUnit where-        parseJSON-          = withObject "AdUnit"-              (\ o ->-                 AdUnit' <$>-                   (o .:? "status") <*>-                     (o .:? "mobileContentAdsSettings")-                     <*> (o .:? "kind" .!= "adsense#adUnit")-                     <*> (o .:? "feedAdsSettings")-                     <*> (o .:? "customStyle")-                     <*> (o .:? "savedStyleId")-                     <*> (o .:? "name")-                     <*> (o .:? "contentAdsSettings")-                     <*> (o .:? "code")-                     <*> (o .:? "id"))--instance ToJSON AdUnit where-        toJSON AdUnit'{..}-          = object-              (catMaybes-                 [("status" .=) <$> _auuStatus,-                  ("mobileContentAdsSettings" .=) <$>-                    _auuMobileContentAdsSettings,-                  Just ("kind" .= _auuKind),-                  ("feedAdsSettings" .=) <$> _auuFeedAdsSettings,-                  ("customStyle" .=) <$> _auuCustomStyle,-                  ("savedStyleId" .=) <$> _auuSavedStyleId,-                  ("name" .=) <$> _auuName,-                  ("contentAdsSettings" .=) <$> _auuContentAdsSettings,-                  ("code" .=) <$> _auuCode, ("id" .=) <$> _auuId])------- /See:/ 'alert' smart constructor.-data Alert =-  Alert'-    { _aaIsDismissible :: !(Maybe Bool)-    , _aaKind          :: !Text-    , _aaSeverity      :: !(Maybe Text)-    , _aaId            :: !(Maybe Text)-    , _aaType          :: !(Maybe Text)-    , _aaMessage       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Alert' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aaIsDismissible'------ * 'aaKind'------ * 'aaSeverity'------ * 'aaId'------ * 'aaType'------ * 'aaMessage'-alert-    :: Alert-alert =-  Alert'-    { _aaIsDismissible = Nothing-    , _aaKind = "adsense#alert"-    , _aaSeverity = Nothing-    , _aaId = Nothing-    , _aaType = Nothing-    , _aaMessage = Nothing-    }----- | Whether this alert can be dismissed.-aaIsDismissible :: Lens' Alert (Maybe Bool)-aaIsDismissible-  = lens _aaIsDismissible-      (\ s a -> s{_aaIsDismissible = a})---- | Kind of resource this is, in this case adsense#alert.-aaKind :: Lens' Alert Text-aaKind = lens _aaKind (\ s a -> s{_aaKind = a})---- | Severity of this alert. Possible values: INFO, WARNING, SEVERE.-aaSeverity :: Lens' Alert (Maybe Text)-aaSeverity-  = lens _aaSeverity (\ s a -> s{_aaSeverity = a})---- | 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)-aaId = lens _aaId (\ s a -> s{_aaId = a})---- | 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)-aaType = lens _aaType (\ s a -> s{_aaType = a})---- | The localized alert message.-aaMessage :: Lens' Alert (Maybe Text)-aaMessage-  = lens _aaMessage (\ s a -> s{_aaMessage = a})--instance FromJSON Alert where-        parseJSON-          = withObject "Alert"-              (\ o ->-                 Alert' <$>-                   (o .:? "isDismissible") <*>-                     (o .:? "kind" .!= "adsense#alert")-                     <*> (o .:? "severity")-                     <*> (o .:? "id")-                     <*> (o .:? "type")-                     <*> (o .:? "message"))--instance ToJSON Alert where-        toJSON Alert'{..}-          = object-              (catMaybes-                 [("isDismissible" .=) <$> _aaIsDismissible,-                  Just ("kind" .= _aaKind),-                  ("severity" .=) <$> _aaSeverity, ("id" .=) <$> _aaId,-                  ("type" .=) <$> _aaType,-                  ("message" .=) <$> _aaMessage])---- | The font which is included in the style.------ /See:/ 'adStyleFont' smart constructor.-data AdStyleFont =-  AdStyleFont'-    { _asfSize   :: !(Maybe Text)-    , _asfFamily :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdStyleFont' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'asfSize'------ * 'asfFamily'-adStyleFont-    :: AdStyleFont-adStyleFont = AdStyleFont' {_asfSize = Nothing, _asfFamily = Nothing}----- | The size of the font.-asfSize :: Lens' AdStyleFont (Maybe Text)-asfSize = lens _asfSize (\ s a -> s{_asfSize = a})---- | The family of the font.-asfFamily :: Lens' AdStyleFont (Maybe Text)-asfFamily-  = lens _asfFamily (\ s a -> s{_asfFamily = a})--instance FromJSON AdStyleFont where-        parseJSON-          = withObject "AdStyleFont"-              (\ o ->-                 AdStyleFont' <$> (o .:? "size") <*> (o .:? "family"))--instance ToJSON AdStyleFont where-        toJSON AdStyleFont'{..}-          = object-              (catMaybes-                 [("size" .=) <$> _asfSize,-                  ("family" .=) <$> _asfFamily])------- /See:/ 'account' smart constructor.-data Account =-  Account'-    { _accKind         :: !Text-    , _accCreationTime :: !(Maybe (Textual Int64))-    , _accPremium      :: !(Maybe Bool)-    , _accName         :: !(Maybe Text)-    , _accId           :: !(Maybe Text)-    , _accTimezone     :: !(Maybe Text)-    , _accSubAccounts  :: !(Maybe [Account])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Account' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'accKind'------ * 'accCreationTime'------ * 'accPremium'------ * 'accName'------ * 'accId'------ * 'accTimezone'------ * 'accSubAccounts'-account-    :: Account-account =-  Account'-    { _accKind = "adsense#account"-    , _accCreationTime = Nothing-    , _accPremium = Nothing-    , _accName = Nothing-    , _accId = Nothing-    , _accTimezone = Nothing-    , _accSubAccounts = Nothing-    }----- | Kind of resource this is, in this case adsense#account.-accKind :: Lens' Account Text-accKind = lens _accKind (\ s a -> s{_accKind = a})--accCreationTime :: Lens' Account (Maybe Int64)-accCreationTime-  = lens _accCreationTime-      (\ s a -> s{_accCreationTime = a})-      . mapping _Coerce---- | Whether this account is premium.-accPremium :: Lens' Account (Maybe Bool)-accPremium-  = lens _accPremium (\ s a -> s{_accPremium = a})---- | Name of this account.-accName :: Lens' Account (Maybe Text)-accName = lens _accName (\ s a -> s{_accName = a})---- | Unique identifier of this account.-accId :: Lens' Account (Maybe Text)-accId = lens _accId (\ s a -> s{_accId = a})---- | AdSense timezone of this account.-accTimezone :: Lens' Account (Maybe Text)-accTimezone-  = lens _accTimezone (\ s a -> s{_accTimezone = a})---- | Sub accounts of the this account.-accSubAccounts :: Lens' Account [Account]-accSubAccounts-  = lens _accSubAccounts-      (\ s a -> s{_accSubAccounts = a})-      . _Default-      . _Coerce--instance FromJSON Account where-        parseJSON-          = withObject "Account"-              (\ o ->-                 Account' <$>-                   (o .:? "kind" .!= "adsense#account") <*>-                     (o .:? "creation_time")-                     <*> (o .:? "premium")-                     <*> (o .:? "name")-                     <*> (o .:? "id")-                     <*> (o .:? "timezone")-                     <*> (o .:? "subAccounts" .!= mempty))--instance ToJSON Account where-        toJSON Account'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _accKind),-                  ("creation_time" .=) <$> _accCreationTime,-                  ("premium" .=) <$> _accPremium,-                  ("name" .=) <$> _accName, ("id" .=) <$> _accId,-                  ("timezone" .=) <$> _accTimezone,-                  ("subAccounts" .=) <$> _accSubAccounts])---- | Settings specific to WAP mobile content ads (AFMC) - deprecated.------ /See:/ 'adUnitMobileContentAdsSettings' smart constructor.-data AdUnitMobileContentAdsSettings =-  AdUnitMobileContentAdsSettings'-    { _aumcasSize              :: !(Maybe Text)-    , _aumcasScriptingLanguage :: !(Maybe Text)-    , _aumcasMarkupLanguage    :: !(Maybe Text)-    , _aumcasType              :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnitMobileContentAdsSettings' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aumcasSize'------ * 'aumcasScriptingLanguage'------ * 'aumcasMarkupLanguage'------ * 'aumcasType'-adUnitMobileContentAdsSettings-    :: AdUnitMobileContentAdsSettings-adUnitMobileContentAdsSettings =-  AdUnitMobileContentAdsSettings'-    { _aumcasSize = Nothing-    , _aumcasScriptingLanguage = Nothing-    , _aumcasMarkupLanguage = Nothing-    , _aumcasType = Nothing-    }----- | Size of this ad unit.-aumcasSize :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)-aumcasSize-  = lens _aumcasSize (\ s a -> s{_aumcasSize = a})---- | The scripting language to use for this ad unit.-aumcasScriptingLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)-aumcasScriptingLanguage-  = lens _aumcasScriptingLanguage-      (\ s a -> s{_aumcasScriptingLanguage = a})---- | The markup language to use for this ad unit.-aumcasMarkupLanguage :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)-aumcasMarkupLanguage-  = lens _aumcasMarkupLanguage-      (\ s a -> s{_aumcasMarkupLanguage = a})---- | Type of this ad unit.-aumcasType :: Lens' AdUnitMobileContentAdsSettings (Maybe Text)-aumcasType-  = lens _aumcasType (\ s a -> s{_aumcasType = a})--instance FromJSON AdUnitMobileContentAdsSettings-         where-        parseJSON-          = withObject "AdUnitMobileContentAdsSettings"-              (\ o ->-                 AdUnitMobileContentAdsSettings' <$>-                   (o .:? "size") <*> (o .:? "scriptingLanguage") <*>-                     (o .:? "markupLanguage")-                     <*> (o .:? "type"))--instance ToJSON AdUnitMobileContentAdsSettings where-        toJSON AdUnitMobileContentAdsSettings'{..}-          = object-              (catMaybes-                 [("size" .=) <$> _aumcasSize,-                  ("scriptingLanguage" .=) <$>-                    _aumcasScriptingLanguage,-                  ("markupLanguage" .=) <$> _aumcasMarkupLanguage,-                  ("type" .=) <$> _aumcasType])------- /See:/ 'savedAdStyles' smart constructor.-data SavedAdStyles =-  SavedAdStyles'-    { _sasEtag          :: !(Maybe Text)-    , _sasNextPageToken :: !(Maybe Text)-    , _sasKind          :: !Text-    , _sasItems         :: !(Maybe [SavedAdStyle])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SavedAdStyles' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sasEtag'------ * 'sasNextPageToken'------ * 'sasKind'------ * 'sasItems'-savedAdStyles-    :: SavedAdStyles-savedAdStyles =-  SavedAdStyles'-    { _sasEtag = Nothing-    , _sasNextPageToken = Nothing-    , _sasKind = "adsense#savedAdStyles"-    , _sasItems = Nothing-    }----- | ETag of this response for caching purposes.-sasEtag :: Lens' SavedAdStyles (Maybe Text)-sasEtag = lens _sasEtag (\ s a -> s{_sasEtag = a})---- | 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)-sasNextPageToken-  = lens _sasNextPageToken-      (\ s a -> s{_sasNextPageToken = a})---- | Kind of list this is, in this case adsense#savedAdStyles.-sasKind :: Lens' SavedAdStyles Text-sasKind = lens _sasKind (\ s a -> s{_sasKind = a})---- | The saved ad styles returned in this list response.-sasItems :: Lens' SavedAdStyles [SavedAdStyle]-sasItems-  = lens _sasItems (\ s a -> s{_sasItems = a}) .-      _Default-      . _Coerce--instance FromJSON SavedAdStyles where-        parseJSON-          = withObject "SavedAdStyles"-              (\ o ->-                 SavedAdStyles' <$>-                   (o .:? "etag") <*> (o .:? "nextPageToken") <*>-                     (o .:? "kind" .!= "adsense#savedAdStyles")-                     <*> (o .:? "items" .!= mempty))--instance ToJSON SavedAdStyles where-        toJSON SavedAdStyles'{..}-          = object-              (catMaybes-                 [("etag" .=) <$> _sasEtag,-                  ("nextPageToken" .=) <$> _sasNextPageToken,-                  Just ("kind" .= _sasKind),-                  ("items" .=) <$> _sasItems])---- | The colors which are included in the style. These are represented as six--- hexadecimal characters, similar to HTML color codes, but without the--- leading hash.------ /See:/ 'adStyleColors' smart constructor.-data AdStyleColors =-  AdStyleColors'-    { _ascText       :: !(Maybe Text)-    , _ascURL        :: !(Maybe Text)-    , _ascBOrder     :: !(Maybe Text)-    , _ascTitle      :: !(Maybe Text)-    , _ascBackgRound :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdStyleColors' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ascText'------ * 'ascURL'------ * 'ascBOrder'------ * 'ascTitle'------ * 'ascBackgRound'-adStyleColors-    :: AdStyleColors-adStyleColors =-  AdStyleColors'-    { _ascText = Nothing-    , _ascURL = Nothing-    , _ascBOrder = Nothing-    , _ascTitle = Nothing-    , _ascBackgRound = Nothing-    }----- | The color of the ad text.-ascText :: Lens' AdStyleColors (Maybe Text)-ascText = lens _ascText (\ s a -> s{_ascText = a})---- | The color of the ad url.-ascURL :: Lens' AdStyleColors (Maybe Text)-ascURL = lens _ascURL (\ s a -> s{_ascURL = a})---- | The color of the ad border.-ascBOrder :: Lens' AdStyleColors (Maybe Text)-ascBOrder-  = lens _ascBOrder (\ s a -> s{_ascBOrder = a})---- | The color of the ad title.-ascTitle :: Lens' AdStyleColors (Maybe Text)-ascTitle = lens _ascTitle (\ s a -> s{_ascTitle = a})---- | The color of the ad background.-ascBackgRound :: Lens' AdStyleColors (Maybe Text)-ascBackgRound-  = lens _ascBackgRound-      (\ s a -> s{_ascBackgRound = a})--instance FromJSON AdStyleColors where-        parseJSON-          = withObject "AdStyleColors"-              (\ o ->-                 AdStyleColors' <$>-                   (o .:? "text") <*> (o .:? "url") <*> (o .:? "border")-                     <*> (o .:? "title")-                     <*> (o .:? "background"))--instance ToJSON AdStyleColors where-        toJSON AdStyleColors'{..}-          = object-              (catMaybes-                 [("text" .=) <$> _ascText, ("url" .=) <$> _ascURL,-                  ("border" .=) <$> _ascBOrder,-                  ("title" .=) <$> _ascTitle,-                  ("background" .=) <$> _ascBackgRound])---- | The backup option to be used in instances where no ad is available.------ /See:/ 'adUnitContentAdsSettingsBackupOption' smart constructor.-data AdUnitContentAdsSettingsBackupOption =-  AdUnitContentAdsSettingsBackupOption'-    { _aucasboColor :: !(Maybe Text)-    , _aucasboURL   :: !(Maybe Text)-    , _aucasboType  :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnitContentAdsSettingsBackupOption' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aucasboColor'------ * 'aucasboURL'------ * 'aucasboType'-adUnitContentAdsSettingsBackupOption-    :: AdUnitContentAdsSettingsBackupOption-adUnitContentAdsSettingsBackupOption =-  AdUnitContentAdsSettingsBackupOption'-    {_aucasboColor = Nothing, _aucasboURL = Nothing, _aucasboType = Nothing}----- | Color to use when type is set to COLOR.-aucasboColor :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)-aucasboColor-  = lens _aucasboColor (\ s a -> s{_aucasboColor = a})---- | URL to use when type is set to URL.-aucasboURL :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)-aucasboURL-  = lens _aucasboURL (\ s a -> s{_aucasboURL = a})---- | Type of the backup option. Possible values are BLANK, COLOR and URL.-aucasboType :: Lens' AdUnitContentAdsSettingsBackupOption (Maybe Text)-aucasboType-  = lens _aucasboType (\ s a -> s{_aucasboType = a})--instance FromJSON-           AdUnitContentAdsSettingsBackupOption-         where-        parseJSON-          = withObject "AdUnitContentAdsSettingsBackupOption"-              (\ o ->-                 AdUnitContentAdsSettingsBackupOption' <$>-                   (o .:? "color") <*> (o .:? "url") <*> (o .:? "type"))--instance ToJSON AdUnitContentAdsSettingsBackupOption-         where-        toJSON AdUnitContentAdsSettingsBackupOption'{..}-          = object-              (catMaybes-                 [("color" .=) <$> _aucasboColor,-                  ("url" .=) <$> _aucasboURL,-                  ("type" .=) <$> _aucasboType])------- /See:/ 'adClient' smart constructor.-data AdClient =-  AdClient'-    { _adKind              :: !Text-    , _adArcOptIn          :: !(Maybe Bool)-    , _adSupportsReporting :: !(Maybe Bool)-    , _adId                :: !(Maybe Text)-    , _adProductCode       :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdClient' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'adKind'------ * 'adArcOptIn'------ * 'adSupportsReporting'------ * 'adId'------ * 'adProductCode'-adClient-    :: AdClient-adClient =-  AdClient'-    { _adKind = "adsense#adClient"-    , _adArcOptIn = Nothing-    , _adSupportsReporting = Nothing-    , _adId = Nothing-    , _adProductCode = Nothing-    }----- | Kind of resource this is, in this case adsense#adClient.-adKind :: Lens' AdClient Text-adKind = lens _adKind (\ s a -> s{_adKind = a})---- | Whether this ad client is opted in to ARC.-adArcOptIn :: Lens' AdClient (Maybe Bool)-adArcOptIn-  = lens _adArcOptIn (\ s a -> s{_adArcOptIn = a})---- | Whether this ad client supports being reported on.-adSupportsReporting :: Lens' AdClient (Maybe Bool)-adSupportsReporting-  = lens _adSupportsReporting-      (\ s a -> s{_adSupportsReporting = a})---- | Unique identifier of this ad client.-adId :: Lens' AdClient (Maybe Text)-adId = lens _adId (\ s a -> s{_adId = a})---- | This ad client\'s product code, which corresponds to the PRODUCT_CODE--- report dimension.-adProductCode :: Lens' AdClient (Maybe Text)-adProductCode-  = lens _adProductCode-      (\ s a -> s{_adProductCode = a})--instance FromJSON AdClient where-        parseJSON-          = withObject "AdClient"-              (\ o ->-                 AdClient' <$>-                   (o .:? "kind" .!= "adsense#adClient") <*>-                     (o .:? "arcOptIn")-                     <*> (o .:? "supportsReporting")-                     <*> (o .:? "id")-                     <*> (o .:? "productCode"))--instance ToJSON AdClient where-        toJSON AdClient'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _adKind),-                  ("arcOptIn" .=) <$> _adArcOptIn,-                  ("supportsReporting" .=) <$> _adSupportsReporting,-                  ("id" .=) <$> _adId,-                  ("productCode" .=) <$> _adProductCode])------- /See:/ 'savedAdStyle' smart constructor.-data SavedAdStyle =-  SavedAdStyle'-    { _savKind    :: !Text-    , _savName    :: !(Maybe Text)-    , _savAdStyle :: !(Maybe AdStyle)-    , _savId      :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SavedAdStyle' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'savKind'------ * 'savName'------ * 'savAdStyle'------ * 'savId'-savedAdStyle-    :: SavedAdStyle-savedAdStyle =-  SavedAdStyle'-    { _savKind = "adsense#savedAdStyle"-    , _savName = Nothing-    , _savAdStyle = Nothing-    , _savId = Nothing-    }----- | Kind of resource this is, in this case adsense#savedAdStyle.-savKind :: Lens' SavedAdStyle Text-savKind = lens _savKind (\ s a -> s{_savKind = a})---- | The user selected name of this SavedAdStyle.-savName :: Lens' SavedAdStyle (Maybe Text)-savName = lens _savName (\ s a -> s{_savName = a})---- | The AdStyle itself.-savAdStyle :: Lens' SavedAdStyle (Maybe AdStyle)-savAdStyle-  = lens _savAdStyle (\ s a -> s{_savAdStyle = a})---- | 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)-savId = lens _savId (\ s a -> s{_savId = a})--instance FromJSON SavedAdStyle where-        parseJSON-          = withObject "SavedAdStyle"-              (\ o ->-                 SavedAdStyle' <$>-                   (o .:? "kind" .!= "adsense#savedAdStyle") <*>-                     (o .:? "name")-                     <*> (o .:? "adStyle")-                     <*> (o .:? "id"))--instance ToJSON SavedAdStyle where-        toJSON SavedAdStyle'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _savKind), ("name" .=) <$> _savName,-                  ("adStyle" .=) <$> _savAdStyle,-                  ("id" .=) <$> _savId])---- | The targeting information of this custom channel, if activated.------ /See:/ 'customChannelTargetingInfo' smart constructor.-data CustomChannelTargetingInfo =-  CustomChannelTargetingInfo'-    { _cctiLocation     :: !(Maybe Text)-    , _cctiSiteLanguage :: !(Maybe Text)-    , _cctiAdsAppearOn  :: !(Maybe Text)-    , _cctiDescription  :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CustomChannelTargetingInfo' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cctiLocation'------ * 'cctiSiteLanguage'------ * 'cctiAdsAppearOn'------ * 'cctiDescription'-customChannelTargetingInfo-    :: CustomChannelTargetingInfo-customChannelTargetingInfo =-  CustomChannelTargetingInfo'-    { _cctiLocation = Nothing-    , _cctiSiteLanguage = Nothing-    , _cctiAdsAppearOn = Nothing-    , _cctiDescription = Nothing-    }----- | 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)-cctiLocation-  = lens _cctiLocation (\ s a -> s{_cctiLocation = a})---- | The language of the sites ads will be displayed on.-cctiSiteLanguage :: Lens' CustomChannelTargetingInfo (Maybe Text)-cctiSiteLanguage-  = lens _cctiSiteLanguage-      (\ s a -> s{_cctiSiteLanguage = a})---- | The name used to describe this channel externally.-cctiAdsAppearOn :: Lens' CustomChannelTargetingInfo (Maybe Text)-cctiAdsAppearOn-  = lens _cctiAdsAppearOn-      (\ s a -> s{_cctiAdsAppearOn = a})---- | The external description of the channel.-cctiDescription :: Lens' CustomChannelTargetingInfo (Maybe Text)-cctiDescription-  = lens _cctiDescription-      (\ s a -> s{_cctiDescription = a})--instance FromJSON CustomChannelTargetingInfo where-        parseJSON-          = withObject "CustomChannelTargetingInfo"-              (\ o ->-                 CustomChannelTargetingInfo' <$>-                   (o .:? "location") <*> (o .:? "siteLanguage") <*>-                     (o .:? "adsAppearOn")-                     <*> (o .:? "description"))--instance ToJSON CustomChannelTargetingInfo where-        toJSON CustomChannelTargetingInfo'{..}-          = object-              (catMaybes-                 [("location" .=) <$> _cctiLocation,-                  ("siteLanguage" .=) <$> _cctiSiteLanguage,-                  ("adsAppearOn" .=) <$> _cctiAdsAppearOn,-                  ("description" .=) <$> _cctiDescription])------- /See:/ 'adStyle' smart constructor.-data AdStyle =-  AdStyle'-    { _asCorners :: !(Maybe Text)-    , _asKind    :: !Text-    , _asFont    :: !(Maybe AdStyleFont)-    , _asColors  :: !(Maybe AdStyleColors)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdStyle' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'asCorners'------ * 'asKind'------ * 'asFont'------ * 'asColors'-adStyle-    :: AdStyle-adStyle =-  AdStyle'-    { _asCorners = Nothing-    , _asKind = "adsense#adStyle"-    , _asFont = Nothing-    , _asColors = Nothing-    }----- | The style of the corners in the ad (deprecated: never populated,--- ignored).-asCorners :: Lens' AdStyle (Maybe Text)-asCorners-  = lens _asCorners (\ s a -> s{_asCorners = a})---- | Kind this is, in this case adsense#adStyle.-asKind :: Lens' AdStyle Text-asKind = lens _asKind (\ s a -> s{_asKind = a})---- | The font which is included in the style.-asFont :: Lens' AdStyle (Maybe AdStyleFont)-asFont = lens _asFont (\ s a -> s{_asFont = a})---- | 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)-asColors = lens _asColors (\ s a -> s{_asColors = a})--instance FromJSON AdStyle where-        parseJSON-          = withObject "AdStyle"-              (\ o ->-                 AdStyle' <$>-                   (o .:? "corners") <*>-                     (o .:? "kind" .!= "adsense#adStyle")-                     <*> (o .:? "font")-                     <*> (o .:? "colors"))--instance ToJSON AdStyle where-        toJSON AdStyle'{..}-          = object-              (catMaybes-                 [("corners" .=) <$> _asCorners,-                  Just ("kind" .= _asKind), ("font" .=) <$> _asFont,-                  ("colors" .=) <$> _asColors])---- | Settings specific to feed ads (AFF) - deprecated.------ /See:/ 'adUnitFeedAdsSettings' smart constructor.-data AdUnitFeedAdsSettings =-  AdUnitFeedAdsSettings'-    { _aufasFrequency        :: !(Maybe (Textual Int32))-    , _aufasAdPosition       :: !(Maybe Text)-    , _aufasType             :: !(Maybe Text)-    , _aufasMinimumWordCount :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnitFeedAdsSettings' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aufasFrequency'------ * 'aufasAdPosition'------ * 'aufasType'------ * 'aufasMinimumWordCount'-adUnitFeedAdsSettings-    :: AdUnitFeedAdsSettings-adUnitFeedAdsSettings =-  AdUnitFeedAdsSettings'-    { _aufasFrequency = Nothing-    , _aufasAdPosition = Nothing-    , _aufasType = Nothing-    , _aufasMinimumWordCount = Nothing-    }----- | The frequency at which ads should appear in the feed (i.e. every N--- entries).-aufasFrequency :: Lens' AdUnitFeedAdsSettings (Maybe Int32)-aufasFrequency-  = lens _aufasFrequency-      (\ s a -> s{_aufasFrequency = a})-      . mapping _Coerce---- | The position of the ads relative to the feed entries.-aufasAdPosition :: Lens' AdUnitFeedAdsSettings (Maybe Text)-aufasAdPosition-  = lens _aufasAdPosition-      (\ s a -> s{_aufasAdPosition = a})---- | The type of ads which should appear.-aufasType :: Lens' AdUnitFeedAdsSettings (Maybe Text)-aufasType-  = lens _aufasType (\ s a -> s{_aufasType = a})---- | The minimum length an entry should be in order to have attached ads.-aufasMinimumWordCount :: Lens' AdUnitFeedAdsSettings (Maybe Int32)-aufasMinimumWordCount-  = lens _aufasMinimumWordCount-      (\ s a -> s{_aufasMinimumWordCount = a})-      . mapping _Coerce--instance FromJSON AdUnitFeedAdsSettings where-        parseJSON-          = withObject "AdUnitFeedAdsSettings"-              (\ o ->-                 AdUnitFeedAdsSettings' <$>-                   (o .:? "frequency") <*> (o .:? "adPosition") <*>-                     (o .:? "type")-                     <*> (o .:? "minimumWordCount"))--instance ToJSON AdUnitFeedAdsSettings where-        toJSON AdUnitFeedAdsSettings'{..}-          = object-              (catMaybes-                 [("frequency" .=) <$> _aufasFrequency,-                  ("adPosition" .=) <$> _aufasAdPosition,-                  ("type" .=) <$> _aufasType,-                  ("minimumWordCount" .=) <$> _aufasMinimumWordCount])------- /See:/ 'metadata' smart constructor.-data Metadata =-  Metadata'-    { _mKind  :: !Text-    , _mItems :: !(Maybe [ReportingMetadataEntry])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Metadata' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'mKind'------ * 'mItems'-metadata-    :: Metadata-metadata = Metadata' {_mKind = "adsense#metadata", _mItems = Nothing}----- | Kind of list this is, in this case adsense#metadata.-mKind :: Lens' Metadata Text-mKind = lens _mKind (\ s a -> s{_mKind = a})--mItems :: Lens' Metadata [ReportingMetadataEntry]-mItems-  = lens _mItems (\ s a -> s{_mItems = a}) . _Default .-      _Coerce--instance FromJSON Metadata where-        parseJSON-          = withObject "Metadata"-              (\ o ->-                 Metadata' <$>-                   (o .:? "kind" .!= "adsense#metadata") <*>-                     (o .:? "items" .!= mempty))--instance ToJSON Metadata where-        toJSON Metadata'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _mKind), ("items" .=) <$> _mItems])------- /See:/ 'customChannel' smart constructor.-data CustomChannel =-  CustomChannel'-    { _cTargetingInfo :: !(Maybe CustomChannelTargetingInfo)-    , _cKind          :: !Text-    , _cName          :: !(Maybe Text)-    , _cCode          :: !(Maybe Text)-    , _cId            :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CustomChannel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cTargetingInfo'------ * 'cKind'------ * 'cName'------ * 'cCode'------ * 'cId'-customChannel-    :: CustomChannel-customChannel =-  CustomChannel'-    { _cTargetingInfo = Nothing-    , _cKind = "adsense#customChannel"-    , _cName = Nothing-    , _cCode = Nothing-    , _cId = Nothing-    }----- | The targeting information of this custom channel, if activated.-cTargetingInfo :: Lens' CustomChannel (Maybe CustomChannelTargetingInfo)-cTargetingInfo-  = lens _cTargetingInfo-      (\ s a -> s{_cTargetingInfo = a})---- | Kind of resource this is, in this case adsense#customChannel.-cKind :: Lens' CustomChannel Text-cKind = lens _cKind (\ s a -> s{_cKind = a})---- | Name of this custom channel.-cName :: Lens' CustomChannel (Maybe Text)-cName = lens _cName (\ s a -> s{_cName = a})---- | Code of this custom channel, not necessarily unique across ad clients.-cCode :: Lens' CustomChannel (Maybe Text)-cCode = lens _cCode (\ s a -> s{_cCode = a})---- | 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)-cId = lens _cId (\ s a -> s{_cId = a})--instance FromJSON CustomChannel where-        parseJSON-          = withObject "CustomChannel"-              (\ o ->-                 CustomChannel' <$>-                   (o .:? "targetingInfo") <*>-                     (o .:? "kind" .!= "adsense#customChannel")-                     <*> (o .:? "name")-                     <*> (o .:? "code")-                     <*> (o .:? "id"))--instance ToJSON CustomChannel where-        toJSON CustomChannel'{..}-          = object-              (catMaybes-                 [("targetingInfo" .=) <$> _cTargetingInfo,-                  Just ("kind" .= _cKind), ("name" .=) <$> _cName,-                  ("code" .=) <$> _cCode, ("id" .=) <$> _cId])------- /See:/ 'urlChannel' smart constructor.-data URLChannel =-  URLChannel'-    { _urlcKind       :: !Text-    , _urlcId         :: !(Maybe Text)-    , _urlcURLPattern :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'URLChannel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'urlcKind'------ * 'urlcId'------ * 'urlcURLPattern'-urlChannel-    :: URLChannel-urlChannel =-  URLChannel'-    { _urlcKind = "adsense#urlChannel"-    , _urlcId = Nothing-    , _urlcURLPattern = Nothing-    }----- | Kind of resource this is, in this case adsense#urlChannel.-urlcKind :: Lens' URLChannel Text-urlcKind = lens _urlcKind (\ s a -> s{_urlcKind = a})---- | 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)-urlcId = lens _urlcId (\ s a -> s{_urlcId = a})---- | URL Pattern of this URL channel. Does not include \"http:\/\/\" or--- \"https:\/\/\". Example: www.example.com\/home-urlcURLPattern :: Lens' URLChannel (Maybe Text)-urlcURLPattern-  = lens _urlcURLPattern-      (\ s a -> s{_urlcURLPattern = a})--instance FromJSON URLChannel where-        parseJSON-          = withObject "URLChannel"-              (\ o ->-                 URLChannel' <$>-                   (o .:? "kind" .!= "adsense#urlChannel") <*>-                     (o .:? "id")-                     <*> (o .:? "urlPattern"))--instance ToJSON URLChannel where-        toJSON URLChannel'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _urlcKind), ("id" .=) <$> _urlcId,-                  ("urlPattern" .=) <$> _urlcURLPattern])------- /See:/ 'adCode' smart constructor.-data AdCode =-  AdCode'-    { _addKind    :: !Text-    , _addAmpHead :: !(Maybe Text)-    , _addAmpBody :: !(Maybe Text)-    , _addAdCode  :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdCode' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'addKind'------ * 'addAmpHead'------ * 'addAmpBody'------ * 'addAdCode'-adCode-    :: AdCode-adCode =-  AdCode'-    { _addKind = "adsense#adCode"-    , _addAmpHead = Nothing-    , _addAmpBody = Nothing-    , _addAdCode = Nothing-    }----- | Kind this is, in this case adsense#adCode.-addKind :: Lens' AdCode Text-addKind = lens _addKind (\ s a -> s{_addKind = a})---- | The AMP Auto ad code snippet that goes in the head of an AMP page.-addAmpHead :: Lens' AdCode (Maybe Text)-addAmpHead-  = lens _addAmpHead (\ s a -> s{_addAmpHead = a})---- | The AMP Auto ad code snippet that goes in the body of an AMP page.-addAmpBody :: Lens' AdCode (Maybe Text)-addAmpBody-  = lens _addAmpBody (\ s a -> s{_addAmpBody = a})---- | The Auto ad code snippet. The ad code snippet.-addAdCode :: Lens' AdCode (Maybe Text)-addAdCode-  = lens _addAdCode (\ s a -> s{_addAdCode = a})--instance FromJSON AdCode where-        parseJSON-          = withObject "AdCode"-              (\ o ->-                 AdCode' <$>-                   (o .:? "kind" .!= "adsense#adCode") <*>-                     (o .:? "ampHead")-                     <*> (o .:? "ampBody")-                     <*> (o .:? "adCode"))--instance ToJSON AdCode where-        toJSON AdCode'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _addKind),-                  ("ampHead" .=) <$> _addAmpHead,-                  ("ampBody" .=) <$> _addAmpBody,-                  ("adCode" .=) <$> _addAdCode])------- /See:/ 'adsenseReportsGenerateResponse' smart constructor.-data AdsenseReportsGenerateResponse =-  AdsenseReportsGenerateResponse'-    { _argrKind             :: !Text-    , _argrAverages         :: !(Maybe [Text])-    , _argrEndDate          :: !(Maybe Text)-    , _argrWarnings         :: !(Maybe [Text])-    , _argrRows             :: !(Maybe [[Text]])-    , _argrTotals           :: !(Maybe [Text])-    , _argrStartDate        :: !(Maybe Text)-    , _argrHeaders          :: !(Maybe [AdsenseReportsGenerateResponseHeadersItem])-    , _argrTotalMatchedRows :: !(Maybe (Textual Int64))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdsenseReportsGenerateResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'argrKind'------ * 'argrAverages'------ * 'argrEndDate'------ * 'argrWarnings'------ * 'argrRows'------ * 'argrTotals'------ * 'argrStartDate'------ * 'argrHeaders'------ * 'argrTotalMatchedRows'-adsenseReportsGenerateResponse-    :: AdsenseReportsGenerateResponse-adsenseReportsGenerateResponse =-  AdsenseReportsGenerateResponse'-    { _argrKind = "adsense#report"-    , _argrAverages = Nothing-    , _argrEndDate = Nothing-    , _argrWarnings = Nothing-    , _argrRows = Nothing-    , _argrTotals = Nothing-    , _argrStartDate = Nothing-    , _argrHeaders = Nothing-    , _argrTotalMatchedRows = Nothing-    }----- | Kind this is, in this case adsense#report.-argrKind :: Lens' AdsenseReportsGenerateResponse Text-argrKind = lens _argrKind (\ s a -> s{_argrKind = a})---- | 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]-argrAverages-  = lens _argrAverages (\ s a -> s{_argrAverages = a})-      . _Default-      . _Coerce---- | The requested end date in yyyy-mm-dd format.-argrEndDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text)-argrEndDate-  = lens _argrEndDate (\ s a -> s{_argrEndDate = a})---- | Any warnings associated with generation of the report.-argrWarnings :: Lens' AdsenseReportsGenerateResponse [Text]-argrWarnings-  = lens _argrWarnings (\ s a -> s{_argrWarnings = a})-      . _Default-      . _Coerce---- | 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]]-argrRows-  = lens _argrRows (\ s a -> s{_argrRows = a}) .-      _Default-      . _Coerce---- | 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]-argrTotals-  = lens _argrTotals (\ s a -> s{_argrTotals = a}) .-      _Default-      . _Coerce---- | The requested start date in yyyy-mm-dd format.-argrStartDate :: Lens' AdsenseReportsGenerateResponse (Maybe Text)-argrStartDate-  = lens _argrStartDate-      (\ s a -> s{_argrStartDate = a})---- | 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]-argrHeaders-  = lens _argrHeaders (\ s a -> s{_argrHeaders = a}) .-      _Default-      . _Coerce---- | 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)-argrTotalMatchedRows-  = lens _argrTotalMatchedRows-      (\ s a -> s{_argrTotalMatchedRows = a})-      . mapping _Coerce--instance FromJSON AdsenseReportsGenerateResponse-         where-        parseJSON-          = withObject "AdsenseReportsGenerateResponse"-              (\ o ->-                 AdsenseReportsGenerateResponse' <$>-                   (o .:? "kind" .!= "adsense#report") <*>-                     (o .:? "averages" .!= mempty)-                     <*> (o .:? "endDate")-                     <*> (o .:? "warnings" .!= mempty)-                     <*> (o .:? "rows" .!= mempty)-                     <*> (o .:? "totals" .!= mempty)-                     <*> (o .:? "startDate")-                     <*> (o .:? "headers" .!= mempty)-                     <*> (o .:? "totalMatchedRows"))--instance ToJSON AdsenseReportsGenerateResponse where-        toJSON AdsenseReportsGenerateResponse'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _argrKind),-                  ("averages" .=) <$> _argrAverages,-                  ("endDate" .=) <$> _argrEndDate,-                  ("warnings" .=) <$> _argrWarnings,-                  ("rows" .=) <$> _argrRows,-                  ("totals" .=) <$> _argrTotals,-                  ("startDate" .=) <$> _argrStartDate,-                  ("headers" .=) <$> _argrHeaders,-                  ("totalMatchedRows" .=) <$> _argrTotalMatchedRows])---- | Settings specific to content ads (AFC) and highend mobile content ads--- (AFMC - deprecated).------ /See:/ 'adUnitContentAdsSettings' smart constructor.-data AdUnitContentAdsSettings =-  AdUnitContentAdsSettings'-    { _aucasBackupOption :: !(Maybe AdUnitContentAdsSettingsBackupOption)-    , _aucasSize         :: !(Maybe Text)-    , _aucasType         :: !(Maybe Text)-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnitContentAdsSettings' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aucasBackupOption'------ * 'aucasSize'------ * 'aucasType'-adUnitContentAdsSettings-    :: AdUnitContentAdsSettings-adUnitContentAdsSettings =-  AdUnitContentAdsSettings'-    {_aucasBackupOption = Nothing, _aucasSize = Nothing, _aucasType = Nothing}----- | The backup option to be used in instances where no ad is available.-aucasBackupOption :: Lens' AdUnitContentAdsSettings (Maybe AdUnitContentAdsSettingsBackupOption)-aucasBackupOption-  = lens _aucasBackupOption-      (\ s a -> s{_aucasBackupOption = a})---- | Size of this ad unit.-aucasSize :: Lens' AdUnitContentAdsSettings (Maybe Text)-aucasSize-  = lens _aucasSize (\ s a -> s{_aucasSize = a})---- | Type of this ad unit.-aucasType :: Lens' AdUnitContentAdsSettings (Maybe Text)-aucasType-  = lens _aucasType (\ s a -> s{_aucasType = a})--instance FromJSON AdUnitContentAdsSettings where-        parseJSON-          = withObject "AdUnitContentAdsSettings"-              (\ o ->-                 AdUnitContentAdsSettings' <$>-                   (o .:? "backupOption") <*> (o .:? "size") <*>-                     (o .:? "type"))--instance ToJSON AdUnitContentAdsSettings where-        toJSON AdUnitContentAdsSettings'{..}-          = object-              (catMaybes-                 [("backupOption" .=) <$> _aucasBackupOption,-                  ("size" .=) <$> _aucasSize,-                  ("type" .=) <$> _aucasType])------- /See:/ 'payments' smart constructor.-data Payments =-  Payments'-    { _payKind  :: !Text-    , _payItems :: !(Maybe [Payment])-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'Payments' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'payKind'------ * 'payItems'-payments-    :: Payments-payments = Payments' {_payKind = "adsense#payments", _payItems = Nothing}----- | Kind of list this is, in this case adsense#payments.-payKind :: Lens' Payments Text-payKind = lens _payKind (\ s a -> s{_payKind = a})---- | 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]-payItems-  = lens _payItems (\ s a -> s{_payItems = a}) .-      _Default-      . _Coerce--instance FromJSON Payments where-        parseJSON-          = withObject "Payments"-              (\ o ->-                 Payments' <$>-                   (o .:? "kind" .!= "adsense#payments") <*>-                     (o .:? "items" .!= mempty))--instance ToJSON Payments where-        toJSON Payments'{..}-          = object-              (catMaybes-                 [Just ("kind" .= _payKind),-                  ("items" .=) <$> _payItems])
− gen/Network/Google/AdSense/Types/Sum.hs
@@ -1,19 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module      : Network.Google.AdSense.Types.Sum--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.AdSense.Types.Sum where--import           Network.Google.Prelude hiding (Bytes)
− gen/Network/Google/Resource/AdSense/Accounts/AdClients/GetAdCode.hs
@@ -1,109 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.AdClients.GetAdCode--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Get Auto ad code for a given ad client.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.getAdCode@.-module Network.Google.Resource.AdSense.Accounts.AdClients.GetAdCode-    (-    -- * REST Resource-      AccountsAdClientsGetAdCodeResource--    -- * Creating a Request-    , accountsAdClientsGetAdCode-    , AccountsAdClientsGetAdCode--    -- * Request Lenses-    , aacgacAdClientId-    , aacgacAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.adclients.getAdCode@ method which the--- 'AccountsAdClientsGetAdCode' request conforms to.-type AccountsAdClientsGetAdCodeResource =-     "adsense" :>-       "v1.4" :>-         "accounts" :>-           Capture "accountId" Text :>-             "adclients" :>-               Capture "adClientId" Text :>-                 "adcode" :>-                   QueryParam "alt" AltJSON :> Get '[JSON] AdCode---- | Get Auto ad code for a given ad client.------ /See:/ 'accountsAdClientsGetAdCode' smart constructor.-data AccountsAdClientsGetAdCode =-  AccountsAdClientsGetAdCode'-    { _aacgacAdClientId :: !Text-    , _aacgacAccountId  :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsAdClientsGetAdCode' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aacgacAdClientId'------ * 'aacgacAccountId'-accountsAdClientsGetAdCode-    :: Text -- ^ 'aacgacAdClientId'-    -> Text -- ^ 'aacgacAccountId'-    -> AccountsAdClientsGetAdCode-accountsAdClientsGetAdCode pAacgacAdClientId_ pAacgacAccountId_ =-  AccountsAdClientsGetAdCode'-    { _aacgacAdClientId = pAacgacAdClientId_-    , _aacgacAccountId = pAacgacAccountId_-    }----- | Ad client to get the code for.-aacgacAdClientId :: Lens' AccountsAdClientsGetAdCode Text-aacgacAdClientId-  = lens _aacgacAdClientId-      (\ s a -> s{_aacgacAdClientId = a})---- | Account which contains the ad client.-aacgacAccountId :: Lens' AccountsAdClientsGetAdCode Text-aacgacAccountId-  = lens _aacgacAccountId-      (\ s a -> s{_aacgacAccountId = a})--instance GoogleRequest AccountsAdClientsGetAdCode-         where-        type Rs AccountsAdClientsGetAdCode = AdCode-        type Scopes AccountsAdClientsGetAdCode =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsAdClientsGetAdCode'{..}-          = go _aacgacAccountId _aacgacAdClientId-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsAdClientsGetAdCodeResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/AdClients/List.hs
@@ -1,122 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.AdClients.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all ad clients in the specified account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adclients.list@.-module Network.Google.Resource.AdSense.Accounts.AdClients.List-    (-    -- * REST Resource-      AccountsAdClientsListResource--    -- * Creating a Request-    , accountsAdClientsList-    , AccountsAdClientsList--    -- * Request Lenses-    , aaclAccountId-    , aaclPageToken-    , aaclMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.adclients.list@ method which the--- 'AccountsAdClientsList' 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---- | List all ad clients in the specified account.------ /See:/ 'accountsAdClientsList' smart constructor.-data AccountsAdClientsList =-  AccountsAdClientsList'-    { _aaclAccountId  :: !Text-    , _aaclPageToken  :: !(Maybe Text)-    , _aaclMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsAdClientsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aaclAccountId'------ * 'aaclPageToken'------ * 'aaclMaxResults'-accountsAdClientsList-    :: Text -- ^ 'aaclAccountId'-    -> AccountsAdClientsList-accountsAdClientsList pAaclAccountId_ =-  AccountsAdClientsList'-    { _aaclAccountId = pAaclAccountId_-    , _aaclPageToken = Nothing-    , _aaclMaxResults = Nothing-    }----- | Account for which to list ad clients.-aaclAccountId :: Lens' AccountsAdClientsList Text-aaclAccountId-  = lens _aaclAccountId-      (\ s a -> s{_aaclAccountId = a})---- | 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)-aaclPageToken-  = lens _aaclPageToken-      (\ s a -> s{_aaclPageToken = a})---- | The maximum number of ad clients to include in the response, used for--- paging.-aaclMaxResults :: Lens' AccountsAdClientsList (Maybe Int32)-aaclMaxResults-  = lens _aaclMaxResults-      (\ s a -> s{_aaclMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsAdClientsList where-        type Rs AccountsAdClientsList = AdClients-        type Scopes AccountsAdClientsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsAdClientsList'{..}-          = go _aaclAccountId _aaclPageToken _aaclMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsAdClientsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/AdUnits/CustomChannels/List.hs
@@ -1,158 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all custom channels which the specified ad unit belongs to.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adunits.customchannels.list@.-module Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List-    (-    -- * REST Resource-      AccountsAdUnitsCustomChannelsListResource--    -- * Creating a Request-    , accountsAdUnitsCustomChannelsList-    , AccountsAdUnitsCustomChannelsList--    -- * Request Lenses-    , aaucclAdUnitId-    , aaucclAdClientId-    , aaucclAccountId-    , aaucclPageToken-    , aaucclMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.adunits.customchannels.list@ method which the--- 'AccountsAdUnitsCustomChannelsList' 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---- | List all custom channels which the specified ad unit belongs to.------ /See:/ 'accountsAdUnitsCustomChannelsList' smart constructor.-data AccountsAdUnitsCustomChannelsList =-  AccountsAdUnitsCustomChannelsList'-    { _aaucclAdUnitId   :: !Text-    , _aaucclAdClientId :: !Text-    , _aaucclAccountId  :: !Text-    , _aaucclPageToken  :: !(Maybe Text)-    , _aaucclMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsAdUnitsCustomChannelsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aaucclAdUnitId'------ * 'aaucclAdClientId'------ * 'aaucclAccountId'------ * 'aaucclPageToken'------ * 'aaucclMaxResults'-accountsAdUnitsCustomChannelsList-    :: Text -- ^ 'aaucclAdUnitId'-    -> Text -- ^ 'aaucclAdClientId'-    -> Text -- ^ 'aaucclAccountId'-    -> AccountsAdUnitsCustomChannelsList-accountsAdUnitsCustomChannelsList pAaucclAdUnitId_ pAaucclAdClientId_ pAaucclAccountId_ =-  AccountsAdUnitsCustomChannelsList'-    { _aaucclAdUnitId = pAaucclAdUnitId_-    , _aaucclAdClientId = pAaucclAdClientId_-    , _aaucclAccountId = pAaucclAccountId_-    , _aaucclPageToken = Nothing-    , _aaucclMaxResults = Nothing-    }----- | Ad unit for which to list custom channels.-aaucclAdUnitId :: Lens' AccountsAdUnitsCustomChannelsList Text-aaucclAdUnitId-  = lens _aaucclAdUnitId-      (\ s a -> s{_aaucclAdUnitId = a})---- | Ad client which contains the ad unit.-aaucclAdClientId :: Lens' AccountsAdUnitsCustomChannelsList Text-aaucclAdClientId-  = lens _aaucclAdClientId-      (\ s a -> s{_aaucclAdClientId = a})---- | Account to which the ad client belongs.-aaucclAccountId :: Lens' AccountsAdUnitsCustomChannelsList Text-aaucclAccountId-  = lens _aaucclAccountId-      (\ s a -> s{_aaucclAccountId = a})---- | 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)-aaucclPageToken-  = lens _aaucclPageToken-      (\ s a -> s{_aaucclPageToken = a})---- | The maximum number of custom channels to include in the response, used--- for paging.-aaucclMaxResults :: Lens' AccountsAdUnitsCustomChannelsList (Maybe Int32)-aaucclMaxResults-  = lens _aaucclMaxResults-      (\ s a -> s{_aaucclMaxResults = a})-      . mapping _Coerce--instance GoogleRequest-           AccountsAdUnitsCustomChannelsList-         where-        type Rs AccountsAdUnitsCustomChannelsList =-             CustomChannels-        type Scopes AccountsAdUnitsCustomChannelsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsAdUnitsCustomChannelsList'{..}-          = go _aaucclAccountId _aaucclAdClientId-              _aaucclAdUnitId-              _aaucclPageToken-              _aaucclMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy AccountsAdUnitsCustomChannelsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/AdUnits/Get.hs
@@ -1,122 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.AdUnits.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the specified ad unit in the specified ad client for the specified--- account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adunits.get@.-module Network.Google.Resource.AdSense.Accounts.AdUnits.Get-    (-    -- * REST Resource-      AccountsAdUnitsGetResource--    -- * Creating a Request-    , accountsAdUnitsGet-    , AccountsAdUnitsGet--    -- * Request Lenses-    , aaugAdUnitId-    , aaugAdClientId-    , aaugAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.adunits.get@ method which the--- 'AccountsAdUnitsGet' 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---- | Gets the specified ad unit in the specified ad client for the specified--- account.------ /See:/ 'accountsAdUnitsGet' smart constructor.-data AccountsAdUnitsGet =-  AccountsAdUnitsGet'-    { _aaugAdUnitId   :: !Text-    , _aaugAdClientId :: !Text-    , _aaugAccountId  :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsAdUnitsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aaugAdUnitId'------ * 'aaugAdClientId'------ * 'aaugAccountId'-accountsAdUnitsGet-    :: Text -- ^ 'aaugAdUnitId'-    -> Text -- ^ 'aaugAdClientId'-    -> Text -- ^ 'aaugAccountId'-    -> AccountsAdUnitsGet-accountsAdUnitsGet pAaugAdUnitId_ pAaugAdClientId_ pAaugAccountId_ =-  AccountsAdUnitsGet'-    { _aaugAdUnitId = pAaugAdUnitId_-    , _aaugAdClientId = pAaugAdClientId_-    , _aaugAccountId = pAaugAccountId_-    }----- | Ad unit to retrieve.-aaugAdUnitId :: Lens' AccountsAdUnitsGet Text-aaugAdUnitId-  = lens _aaugAdUnitId (\ s a -> s{_aaugAdUnitId = a})---- | Ad client for which to get the ad unit.-aaugAdClientId :: Lens' AccountsAdUnitsGet Text-aaugAdClientId-  = lens _aaugAdClientId-      (\ s a -> s{_aaugAdClientId = a})---- | Account to which the ad client belongs.-aaugAccountId :: Lens' AccountsAdUnitsGet Text-aaugAccountId-  = lens _aaugAccountId-      (\ s a -> s{_aaugAccountId = a})--instance GoogleRequest AccountsAdUnitsGet where-        type Rs AccountsAdUnitsGet = AdUnit-        type Scopes AccountsAdUnitsGet =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsAdUnitsGet'{..}-          = go _aaugAccountId _aaugAdClientId _aaugAdUnitId-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsAdUnitsGetResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/AdUnits/GetAdCode.hs
@@ -1,123 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Get ad code for the specified ad unit.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adunits.getAdCode@.-module Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode-    (-    -- * REST Resource-      AccountsAdUnitsGetAdCodeResource--    -- * Creating a Request-    , accountsAdUnitsGetAdCode-    , AccountsAdUnitsGetAdCode--    -- * Request Lenses-    , aaugacAdUnitId-    , aaugacAdClientId-    , aaugacAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.adunits.getAdCode@ method which the--- 'AccountsAdUnitsGetAdCode' 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---- | Get ad code for the specified ad unit.------ /See:/ 'accountsAdUnitsGetAdCode' smart constructor.-data AccountsAdUnitsGetAdCode =-  AccountsAdUnitsGetAdCode'-    { _aaugacAdUnitId   :: !Text-    , _aaugacAdClientId :: !Text-    , _aaugacAccountId  :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsAdUnitsGetAdCode' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aaugacAdUnitId'------ * 'aaugacAdClientId'------ * 'aaugacAccountId'-accountsAdUnitsGetAdCode-    :: Text -- ^ 'aaugacAdUnitId'-    -> Text -- ^ 'aaugacAdClientId'-    -> Text -- ^ 'aaugacAccountId'-    -> AccountsAdUnitsGetAdCode-accountsAdUnitsGetAdCode pAaugacAdUnitId_ pAaugacAdClientId_ pAaugacAccountId_ =-  AccountsAdUnitsGetAdCode'-    { _aaugacAdUnitId = pAaugacAdUnitId_-    , _aaugacAdClientId = pAaugacAdClientId_-    , _aaugacAccountId = pAaugacAccountId_-    }----- | Ad unit to get the code for.-aaugacAdUnitId :: Lens' AccountsAdUnitsGetAdCode Text-aaugacAdUnitId-  = lens _aaugacAdUnitId-      (\ s a -> s{_aaugacAdUnitId = a})---- | Ad client with contains the ad unit.-aaugacAdClientId :: Lens' AccountsAdUnitsGetAdCode Text-aaugacAdClientId-  = lens _aaugacAdClientId-      (\ s a -> s{_aaugacAdClientId = a})---- | Account which contains the ad client.-aaugacAccountId :: Lens' AccountsAdUnitsGetAdCode Text-aaugacAccountId-  = lens _aaugacAccountId-      (\ s a -> s{_aaugacAccountId = a})--instance GoogleRequest AccountsAdUnitsGetAdCode where-        type Rs AccountsAdUnitsGetAdCode = AdCode-        type Scopes AccountsAdUnitsGetAdCode =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsAdUnitsGetAdCode'{..}-          = go _aaugacAccountId _aaugacAdClientId-              _aaugacAdUnitId-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsAdUnitsGetAdCodeResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/AdUnits/List.hs
@@ -1,151 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.AdUnits.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all ad units in the specified ad client for the specified account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.adunits.list@.-module Network.Google.Resource.AdSense.Accounts.AdUnits.List-    (-    -- * REST Resource-      AccountsAdUnitsListResource--    -- * Creating a Request-    , accountsAdUnitsList-    , AccountsAdUnitsList--    -- * Request Lenses-    , aaulIncludeInactive-    , aaulAdClientId-    , aaulAccountId-    , aaulPageToken-    , aaulMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.adunits.list@ method which the--- 'AccountsAdUnitsList' 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---- | List all ad units in the specified ad client for the specified account.------ /See:/ 'accountsAdUnitsList' smart constructor.-data AccountsAdUnitsList =-  AccountsAdUnitsList'-    { _aaulIncludeInactive :: !(Maybe Bool)-    , _aaulAdClientId      :: !Text-    , _aaulAccountId       :: !Text-    , _aaulPageToken       :: !(Maybe Text)-    , _aaulMaxResults      :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsAdUnitsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aaulIncludeInactive'------ * 'aaulAdClientId'------ * 'aaulAccountId'------ * 'aaulPageToken'------ * 'aaulMaxResults'-accountsAdUnitsList-    :: Text -- ^ 'aaulAdClientId'-    -> Text -- ^ 'aaulAccountId'-    -> AccountsAdUnitsList-accountsAdUnitsList pAaulAdClientId_ pAaulAccountId_ =-  AccountsAdUnitsList'-    { _aaulIncludeInactive = Nothing-    , _aaulAdClientId = pAaulAdClientId_-    , _aaulAccountId = pAaulAccountId_-    , _aaulPageToken = Nothing-    , _aaulMaxResults = Nothing-    }----- | Whether to include inactive ad units. Default: true.-aaulIncludeInactive :: Lens' AccountsAdUnitsList (Maybe Bool)-aaulIncludeInactive-  = lens _aaulIncludeInactive-      (\ s a -> s{_aaulIncludeInactive = a})---- | Ad client for which to list ad units.-aaulAdClientId :: Lens' AccountsAdUnitsList Text-aaulAdClientId-  = lens _aaulAdClientId-      (\ s a -> s{_aaulAdClientId = a})---- | Account to which the ad client belongs.-aaulAccountId :: Lens' AccountsAdUnitsList Text-aaulAccountId-  = lens _aaulAccountId-      (\ s a -> s{_aaulAccountId = a})---- | 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)-aaulPageToken-  = lens _aaulPageToken-      (\ s a -> s{_aaulPageToken = a})---- | The maximum number of ad units to include in the response, used for--- paging.-aaulMaxResults :: Lens' AccountsAdUnitsList (Maybe Int32)-aaulMaxResults-  = lens _aaulMaxResults-      (\ s a -> s{_aaulMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsAdUnitsList where-        type Rs AccountsAdUnitsList = AdUnits-        type Scopes AccountsAdUnitsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsAdUnitsList'{..}-          = go _aaulAccountId _aaulAdClientId-              _aaulIncludeInactive-              _aaulPageToken-              _aaulMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsAdUnitsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Alerts/Delete.hs
@@ -1,103 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Alerts.Delete--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Dismiss (delete) the specified alert from the specified publisher--- AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.alerts.delete@.-module Network.Google.Resource.AdSense.Accounts.Alerts.Delete-    (-    -- * REST Resource-      AccountsAlertsDeleteResource--    -- * Creating a Request-    , accountsAlertsDelete-    , AccountsAlertsDelete--    -- * Request Lenses-    , aadAlertId-    , aadAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.alerts.delete@ method which the--- 'AccountsAlertsDelete' request conforms to.-type AccountsAlertsDeleteResource =-     "adsense" :>-       "v1.4" :>-         "accounts" :>-           Capture "accountId" Text :>-             "alerts" :>-               Capture "alertId" Text :>-                 QueryParam "alt" AltJSON :> Delete '[JSON] ()---- | Dismiss (delete) the specified alert from the specified publisher--- AdSense account.------ /See:/ 'accountsAlertsDelete' smart constructor.-data AccountsAlertsDelete =-  AccountsAlertsDelete'-    { _aadAlertId   :: !Text-    , _aadAccountId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsAlertsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aadAlertId'------ * 'aadAccountId'-accountsAlertsDelete-    :: Text -- ^ 'aadAlertId'-    -> Text -- ^ 'aadAccountId'-    -> AccountsAlertsDelete-accountsAlertsDelete pAadAlertId_ pAadAccountId_ =-  AccountsAlertsDelete'-    {_aadAlertId = pAadAlertId_, _aadAccountId = pAadAccountId_}----- | Alert to delete.-aadAlertId :: Lens' AccountsAlertsDelete Text-aadAlertId-  = lens _aadAlertId (\ s a -> s{_aadAlertId = a})---- | Account which contains the ad unit.-aadAccountId :: Lens' AccountsAlertsDelete Text-aadAccountId-  = lens _aadAccountId (\ s a -> s{_aadAccountId = a})--instance GoogleRequest AccountsAlertsDelete where-        type Rs AccountsAlertsDelete = ()-        type Scopes AccountsAlertsDelete =-             '["https://www.googleapis.com/auth/adsense"]-        requestClient AccountsAlertsDelete'{..}-          = go _aadAccountId _aadAlertId (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsAlertsDeleteResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Alerts/List.hs
@@ -1,102 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Alerts.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List the alerts for the specified AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.alerts.list@.-module Network.Google.Resource.AdSense.Accounts.Alerts.List-    (-    -- * REST Resource-      AccountsAlertsListResource--    -- * Creating a Request-    , accountsAlertsList-    , AccountsAlertsList--    -- * Request Lenses-    , aalLocale-    , aalAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.alerts.list@ method which the--- 'AccountsAlertsList' request conforms to.-type AccountsAlertsListResource =-     "adsense" :>-       "v1.4" :>-         "accounts" :>-           Capture "accountId" Text :>-             "alerts" :>-               QueryParam "locale" Text :>-                 QueryParam "alt" AltJSON :> Get '[JSON] Alerts---- | List the alerts for the specified AdSense account.------ /See:/ 'accountsAlertsList' smart constructor.-data AccountsAlertsList =-  AccountsAlertsList'-    { _aalLocale    :: !(Maybe Text)-    , _aalAccountId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsAlertsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aalLocale'------ * 'aalAccountId'-accountsAlertsList-    :: Text -- ^ 'aalAccountId'-    -> AccountsAlertsList-accountsAlertsList pAalAccountId_ =-  AccountsAlertsList' {_aalLocale = Nothing, _aalAccountId = pAalAccountId_}----- | 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)-aalLocale-  = lens _aalLocale (\ s a -> s{_aalLocale = a})---- | Account for which to retrieve the alerts.-aalAccountId :: Lens' AccountsAlertsList Text-aalAccountId-  = lens _aalAccountId (\ s a -> s{_aalAccountId = a})--instance GoogleRequest AccountsAlertsList where-        type Rs AccountsAlertsList = Alerts-        type Scopes AccountsAlertsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsAlertsList'{..}-          = go _aalAccountId _aalLocale (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsAlertsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/CustomChannels/AdUnits/List.hs
@@ -1,169 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all ad units in the specified custom channel.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.customchannels.adunits.list@.-module Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List-    (-    -- * REST Resource-      AccountsCustomChannelsAdUnitsListResource--    -- * Creating a Request-    , accountsCustomChannelsAdUnitsList-    , AccountsCustomChannelsAdUnitsList--    -- * Request Lenses-    , accaulIncludeInactive-    , accaulCustomChannelId-    , accaulAdClientId-    , accaulAccountId-    , accaulPageToken-    , accaulMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.customchannels.adunits.list@ method which the--- 'AccountsCustomChannelsAdUnitsList' 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---- | List all ad units in the specified custom channel.------ /See:/ 'accountsCustomChannelsAdUnitsList' smart constructor.-data AccountsCustomChannelsAdUnitsList =-  AccountsCustomChannelsAdUnitsList'-    { _accaulIncludeInactive :: !(Maybe Bool)-    , _accaulCustomChannelId :: !Text-    , _accaulAdClientId      :: !Text-    , _accaulAccountId       :: !Text-    , _accaulPageToken       :: !(Maybe Text)-    , _accaulMaxResults      :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsCustomChannelsAdUnitsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'accaulIncludeInactive'------ * 'accaulCustomChannelId'------ * 'accaulAdClientId'------ * 'accaulAccountId'------ * 'accaulPageToken'------ * 'accaulMaxResults'-accountsCustomChannelsAdUnitsList-    :: Text -- ^ 'accaulCustomChannelId'-    -> Text -- ^ 'accaulAdClientId'-    -> Text -- ^ 'accaulAccountId'-    -> AccountsCustomChannelsAdUnitsList-accountsCustomChannelsAdUnitsList pAccaulCustomChannelId_ pAccaulAdClientId_ pAccaulAccountId_ =-  AccountsCustomChannelsAdUnitsList'-    { _accaulIncludeInactive = Nothing-    , _accaulCustomChannelId = pAccaulCustomChannelId_-    , _accaulAdClientId = pAccaulAdClientId_-    , _accaulAccountId = pAccaulAccountId_-    , _accaulPageToken = Nothing-    , _accaulMaxResults = Nothing-    }----- | Whether to include inactive ad units. Default: true.-accaulIncludeInactive :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Bool)-accaulIncludeInactive-  = lens _accaulIncludeInactive-      (\ s a -> s{_accaulIncludeInactive = a})---- | Custom channel for which to list ad units.-accaulCustomChannelId :: Lens' AccountsCustomChannelsAdUnitsList Text-accaulCustomChannelId-  = lens _accaulCustomChannelId-      (\ s a -> s{_accaulCustomChannelId = a})---- | Ad client which contains the custom channel.-accaulAdClientId :: Lens' AccountsCustomChannelsAdUnitsList Text-accaulAdClientId-  = lens _accaulAdClientId-      (\ s a -> s{_accaulAdClientId = a})---- | Account to which the ad client belongs.-accaulAccountId :: Lens' AccountsCustomChannelsAdUnitsList Text-accaulAccountId-  = lens _accaulAccountId-      (\ s a -> s{_accaulAccountId = a})---- | 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)-accaulPageToken-  = lens _accaulPageToken-      (\ s a -> s{_accaulPageToken = a})---- | The maximum number of ad units to include in the response, used for--- paging.-accaulMaxResults :: Lens' AccountsCustomChannelsAdUnitsList (Maybe Int32)-accaulMaxResults-  = lens _accaulMaxResults-      (\ s a -> s{_accaulMaxResults = a})-      . mapping _Coerce--instance GoogleRequest-           AccountsCustomChannelsAdUnitsList-         where-        type Rs AccountsCustomChannelsAdUnitsList = AdUnits-        type Scopes AccountsCustomChannelsAdUnitsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsCustomChannelsAdUnitsList'{..}-          = go _accaulAccountId _accaulAdClientId-              _accaulCustomChannelId-              _accaulIncludeInactive-              _accaulPageToken-              _accaulMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy ::-                         Proxy AccountsCustomChannelsAdUnitsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/CustomChannels/Get.hs
@@ -1,125 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.CustomChannels.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Get the specified custom channel from the specified ad client for the--- specified account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.customchannels.get@.-module Network.Google.Resource.AdSense.Accounts.CustomChannels.Get-    (-    -- * REST Resource-      AccountsCustomChannelsGetResource--    -- * Creating a Request-    , accountsCustomChannelsGet-    , AccountsCustomChannelsGet--    -- * Request Lenses-    , accgCustomChannelId-    , accgAdClientId-    , accgAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.customchannels.get@ method which the--- 'AccountsCustomChannelsGet' 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---- | Get the specified custom channel from the specified ad client for the--- specified account.------ /See:/ 'accountsCustomChannelsGet' smart constructor.-data AccountsCustomChannelsGet =-  AccountsCustomChannelsGet'-    { _accgCustomChannelId :: !Text-    , _accgAdClientId      :: !Text-    , _accgAccountId       :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsCustomChannelsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'accgCustomChannelId'------ * 'accgAdClientId'------ * 'accgAccountId'-accountsCustomChannelsGet-    :: Text -- ^ 'accgCustomChannelId'-    -> Text -- ^ 'accgAdClientId'-    -> Text -- ^ 'accgAccountId'-    -> AccountsCustomChannelsGet-accountsCustomChannelsGet pAccgCustomChannelId_ pAccgAdClientId_ pAccgAccountId_ =-  AccountsCustomChannelsGet'-    { _accgCustomChannelId = pAccgCustomChannelId_-    , _accgAdClientId = pAccgAdClientId_-    , _accgAccountId = pAccgAccountId_-    }----- | Custom channel to retrieve.-accgCustomChannelId :: Lens' AccountsCustomChannelsGet Text-accgCustomChannelId-  = lens _accgCustomChannelId-      (\ s a -> s{_accgCustomChannelId = a})---- | Ad client which contains the custom channel.-accgAdClientId :: Lens' AccountsCustomChannelsGet Text-accgAdClientId-  = lens _accgAdClientId-      (\ s a -> s{_accgAdClientId = a})---- | Account to which the ad client belongs.-accgAccountId :: Lens' AccountsCustomChannelsGet Text-accgAccountId-  = lens _accgAccountId-      (\ s a -> s{_accgAccountId = a})--instance GoogleRequest AccountsCustomChannelsGet-         where-        type Rs AccountsCustomChannelsGet = CustomChannel-        type Scopes AccountsCustomChannelsGet =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsCustomChannelsGet'{..}-          = go _accgAccountId _accgAdClientId-              _accgCustomChannelId-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsCustomChannelsGetResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/CustomChannels/List.hs
@@ -1,141 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.CustomChannels.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all custom channels in the specified ad client for the specified--- account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.customchannels.list@.-module Network.Google.Resource.AdSense.Accounts.CustomChannels.List-    (-    -- * REST Resource-      AccountsCustomChannelsListResource--    -- * Creating a Request-    , accountsCustomChannelsList-    , AccountsCustomChannelsList--    -- * Request Lenses-    , acclAdClientId-    , acclAccountId-    , acclPageToken-    , acclMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.customchannels.list@ method which the--- 'AccountsCustomChannelsList' 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---- | List all custom channels in the specified ad client for the specified--- account.------ /See:/ 'accountsCustomChannelsList' smart constructor.-data AccountsCustomChannelsList =-  AccountsCustomChannelsList'-    { _acclAdClientId :: !Text-    , _acclAccountId  :: !Text-    , _acclPageToken  :: !(Maybe Text)-    , _acclMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsCustomChannelsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'acclAdClientId'------ * 'acclAccountId'------ * 'acclPageToken'------ * 'acclMaxResults'-accountsCustomChannelsList-    :: Text -- ^ 'acclAdClientId'-    -> Text -- ^ 'acclAccountId'-    -> AccountsCustomChannelsList-accountsCustomChannelsList pAcclAdClientId_ pAcclAccountId_ =-  AccountsCustomChannelsList'-    { _acclAdClientId = pAcclAdClientId_-    , _acclAccountId = pAcclAccountId_-    , _acclPageToken = Nothing-    , _acclMaxResults = Nothing-    }----- | Ad client for which to list custom channels.-acclAdClientId :: Lens' AccountsCustomChannelsList Text-acclAdClientId-  = lens _acclAdClientId-      (\ s a -> s{_acclAdClientId = a})---- | Account to which the ad client belongs.-acclAccountId :: Lens' AccountsCustomChannelsList Text-acclAccountId-  = lens _acclAccountId-      (\ s a -> s{_acclAccountId = a})---- | 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)-acclPageToken-  = lens _acclPageToken-      (\ s a -> s{_acclPageToken = a})---- | The maximum number of custom channels to include in the response, used--- for paging.-acclMaxResults :: Lens' AccountsCustomChannelsList (Maybe Int32)-acclMaxResults-  = lens _acclMaxResults-      (\ s a -> s{_acclMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsCustomChannelsList-         where-        type Rs AccountsCustomChannelsList = CustomChannels-        type Scopes AccountsCustomChannelsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsCustomChannelsList'{..}-          = go _acclAccountId _acclAdClientId _acclPageToken-              _acclMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsCustomChannelsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Get.hs
@@ -1,97 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Get information about the selected AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.get@.-module Network.Google.Resource.AdSense.Accounts.Get-    (-    -- * REST Resource-      AccountsGetResource--    -- * Creating a Request-    , accountsGet-    , AccountsGet--    -- * Request Lenses-    , agTree-    , agAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.get@ method which the--- 'AccountsGet' request conforms to.-type AccountsGetResource =-     "adsense" :>-       "v1.4" :>-         "accounts" :>-           Capture "accountId" Text :>-             QueryParam "tree" Bool :>-               QueryParam "alt" AltJSON :> Get '[JSON] Account---- | Get information about the selected AdSense account.------ /See:/ 'accountsGet' smart constructor.-data AccountsGet =-  AccountsGet'-    { _agTree      :: !(Maybe Bool)-    , _agAccountId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'agTree'------ * 'agAccountId'-accountsGet-    :: Text -- ^ 'agAccountId'-    -> AccountsGet-accountsGet pAgAccountId_ =-  AccountsGet' {_agTree = Nothing, _agAccountId = pAgAccountId_}----- | Whether the tree of sub accounts should be returned.-agTree :: Lens' AccountsGet (Maybe Bool)-agTree = lens _agTree (\ s a -> s{_agTree = a})---- | Account to get information about.-agAccountId :: Lens' AccountsGet Text-agAccountId-  = lens _agAccountId (\ s a -> s{_agAccountId = a})--instance GoogleRequest AccountsGet where-        type Rs AccountsGet = Account-        type Scopes AccountsGet =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsGet'{..}-          = go _agAccountId _agTree (Just AltJSON)-              adSenseService-          where go-                  = buildClient (Proxy :: Proxy AccountsGetResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/List.hs
@@ -1,100 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all accounts available to this AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.list@.-module Network.Google.Resource.AdSense.Accounts.List-    (-    -- * REST Resource-      AccountsListResource--    -- * Creating a Request-    , accountsList-    , AccountsList--    -- * Request Lenses-    , alPageToken-    , alMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.list@ method which the--- 'AccountsList' request conforms to.-type AccountsListResource =-     "adsense" :>-       "v1.4" :>-         "accounts" :>-           QueryParam "pageToken" Text :>-             QueryParam "maxResults" (Textual Int32) :>-               QueryParam "alt" AltJSON :> Get '[JSON] Accounts---- | List all accounts available to this AdSense account.------ /See:/ 'accountsList' smart constructor.-data AccountsList =-  AccountsList'-    { _alPageToken  :: !(Maybe Text)-    , _alMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'alPageToken'------ * 'alMaxResults'-accountsList-    :: AccountsList-accountsList = AccountsList' {_alPageToken = Nothing, _alMaxResults = Nothing}----- | 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)-alPageToken-  = lens _alPageToken (\ s a -> s{_alPageToken = a})---- | The maximum number of accounts to include in the response, used for--- paging.-alMaxResults :: Lens' AccountsList (Maybe Int32)-alMaxResults-  = lens _alMaxResults (\ s a -> s{_alMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsList where-        type Rs AccountsList = Accounts-        type Scopes AccountsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsList'{..}-          = go _alPageToken _alMaxResults (Just AltJSON)-              adSenseService-          where go-                  = buildClient (Proxy :: Proxy AccountsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Payments/List.hs
@@ -1,89 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Payments.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List the payments for the specified AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.payments.list@.-module Network.Google.Resource.AdSense.Accounts.Payments.List-    (-    -- * REST Resource-      AccountsPaymentsListResource--    -- * Creating a Request-    , accountsPaymentsList-    , AccountsPaymentsList--    -- * Request Lenses-    , aplAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.payments.list@ method which the--- 'AccountsPaymentsList' request conforms to.-type AccountsPaymentsListResource =-     "adsense" :>-       "v1.4" :>-         "accounts" :>-           Capture "accountId" Text :>-             "payments" :>-               QueryParam "alt" AltJSON :> Get '[JSON] Payments---- | List the payments for the specified AdSense account.------ /See:/ 'accountsPaymentsList' smart constructor.-newtype AccountsPaymentsList =-  AccountsPaymentsList'-    { _aplAccountId :: Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsPaymentsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aplAccountId'-accountsPaymentsList-    :: Text -- ^ 'aplAccountId'-    -> AccountsPaymentsList-accountsPaymentsList pAplAccountId_ =-  AccountsPaymentsList' {_aplAccountId = pAplAccountId_}----- | Account for which to retrieve the payments.-aplAccountId :: Lens' AccountsPaymentsList Text-aplAccountId-  = lens _aplAccountId (\ s a -> s{_aplAccountId = a})--instance GoogleRequest AccountsPaymentsList where-        type Rs AccountsPaymentsList = Payments-        type Scopes AccountsPaymentsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsPaymentsList'{..}-          = go _aplAccountId (Just AltJSON) adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsPaymentsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Reports/Generate.hs
@@ -1,297 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Reports.Generate--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ 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.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.generate@.-module Network.Google.Resource.AdSense.Accounts.Reports.Generate-    (-    -- * REST Resource-      AccountsReportsGenerateResource--    -- * Creating a Request-    , accountsReportsGenerate-    , AccountsReportsGenerate--    -- * Request Lenses-    , argDimension-    , argLocale-    , argEndDate-    , argStartDate-    , argAccountId-    , argMetric-    , argCurrency-    , argSort-    , argFilter-    , argStartIndex-    , argUseTimezoneReporting-    , argMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.reports.generate@ method which the--- 'AccountsReportsGenerate' 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---- | 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.------ /See:/ 'accountsReportsGenerate' smart constructor.-data AccountsReportsGenerate =-  AccountsReportsGenerate'-    { _argDimension            :: !(Maybe [Text])-    , _argLocale               :: !(Maybe Text)-    , _argEndDate              :: !Text-    , _argStartDate            :: !Text-    , _argAccountId            :: !Text-    , _argMetric               :: !(Maybe [Text])-    , _argCurrency             :: !(Maybe Text)-    , _argSort                 :: !(Maybe [Text])-    , _argFilter               :: !(Maybe [Text])-    , _argStartIndex           :: !(Maybe (Textual Int32))-    , _argUseTimezoneReporting :: !(Maybe Bool)-    , _argMaxResults           :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsReportsGenerate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'argDimension'------ * 'argLocale'------ * 'argEndDate'------ * 'argStartDate'------ * 'argAccountId'------ * 'argMetric'------ * 'argCurrency'------ * 'argSort'------ * 'argFilter'------ * 'argStartIndex'------ * 'argUseTimezoneReporting'------ * 'argMaxResults'-accountsReportsGenerate-    :: Text -- ^ 'argEndDate'-    -> Text -- ^ 'argStartDate'-    -> Text -- ^ 'argAccountId'-    -> AccountsReportsGenerate-accountsReportsGenerate pArgEndDate_ pArgStartDate_ pArgAccountId_ =-  AccountsReportsGenerate'-    { _argDimension = Nothing-    , _argLocale = Nothing-    , _argEndDate = pArgEndDate_-    , _argStartDate = pArgStartDate_-    , _argAccountId = pArgAccountId_-    , _argMetric = Nothing-    , _argCurrency = Nothing-    , _argSort = Nothing-    , _argFilter = Nothing-    , _argStartIndex = Nothing-    , _argUseTimezoneReporting = Nothing-    , _argMaxResults = Nothing-    }----- | Dimensions to base the report on.-argDimension :: Lens' AccountsReportsGenerate [Text]-argDimension-  = lens _argDimension (\ s a -> s{_argDimension = a})-      . _Default-      . _Coerce---- | Optional locale to use for translating report output to a local--- language. Defaults to \"en_US\" if not specified.-argLocale :: Lens' AccountsReportsGenerate (Maybe Text)-argLocale-  = lens _argLocale (\ s a -> s{_argLocale = a})---- | End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.-argEndDate :: Lens' AccountsReportsGenerate Text-argEndDate-  = lens _argEndDate (\ s a -> s{_argEndDate = a})---- | Start of the date range to report on in \"YYYY-MM-DD\" format,--- inclusive.-argStartDate :: Lens' AccountsReportsGenerate Text-argStartDate-  = lens _argStartDate (\ s a -> s{_argStartDate = a})---- | Account upon which to report.-argAccountId :: Lens' AccountsReportsGenerate Text-argAccountId-  = lens _argAccountId (\ s a -> s{_argAccountId = a})---- | Numeric columns to include in the report.-argMetric :: Lens' AccountsReportsGenerate [Text]-argMetric-  = lens _argMetric (\ s a -> s{_argMetric = a}) .-      _Default-      . _Coerce---- | Optional currency to use when reporting on monetary metrics. Defaults to--- the account\'s currency if not set.-argCurrency :: Lens' AccountsReportsGenerate (Maybe Text)-argCurrency-  = lens _argCurrency (\ s a -> s{_argCurrency = a})---- | 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]-argSort-  = lens _argSort (\ s a -> s{_argSort = a}) . _Default-      . _Coerce---- | Filters to be run on the report.-argFilter :: Lens' AccountsReportsGenerate [Text]-argFilter-  = lens _argFilter (\ s a -> s{_argFilter = a}) .-      _Default-      . _Coerce---- | Index of the first row of report data to return.-argStartIndex :: Lens' AccountsReportsGenerate (Maybe Int32)-argStartIndex-  = lens _argStartIndex-      (\ s a -> s{_argStartIndex = a})-      . mapping _Coerce---- | 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)-argUseTimezoneReporting-  = lens _argUseTimezoneReporting-      (\ s a -> s{_argUseTimezoneReporting = a})---- | The maximum number of rows of report data to return.-argMaxResults :: Lens' AccountsReportsGenerate (Maybe Int32)-argMaxResults-  = lens _argMaxResults-      (\ s a -> s{_argMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsReportsGenerate where-        type Rs AccountsReportsGenerate =-             AdsenseReportsGenerateResponse-        type Scopes AccountsReportsGenerate =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsReportsGenerate'{..}-          = go _argAccountId (Just _argStartDate)-              (Just _argEndDate)-              (_argDimension ^. _Default)-              _argLocale-              (_argMetric ^. _Default)-              _argCurrency-              (_argSort ^. _Default)-              (_argFilter ^. _Default)-              _argStartIndex-              _argUseTimezoneReporting-              _argMaxResults-              (Just AltJSON)-              adSenseService-          where go :<|> _-                  = buildClient-                      (Proxy :: Proxy AccountsReportsGenerateResource)-                      mempty--instance GoogleRequest-           (MediaDownload AccountsReportsGenerate)-         where-        type Rs (MediaDownload AccountsReportsGenerate) =-             Stream-        type Scopes (MediaDownload AccountsReportsGenerate) =-             Scopes AccountsReportsGenerate-        requestClient-          (MediaDownload AccountsReportsGenerate'{..})-          = go _argAccountId (Just _argStartDate)-              (Just _argEndDate)-              (_argDimension ^. _Default)-              _argLocale-              (_argMetric ^. _Default)-              _argCurrency-              (_argSort ^. _Default)-              (_argFilter ^. _Default)-              _argStartIndex-              _argUseTimezoneReporting-              _argMaxResults-              (Just AltMedia)-              adSenseService-          where _ :<|> go-                  = buildClient-                      (Proxy :: Proxy AccountsReportsGenerateResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Reports/Saved/Generate.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Generate an AdSense report based on the saved report ID sent in the--- query parameters.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.saved.generate@.-module Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate-    (-    -- * REST Resource-      AccountsReportsSavedGenerateResource--    -- * Creating a Request-    , accountsReportsSavedGenerate-    , AccountsReportsSavedGenerate--    -- * Request Lenses-    , arsgLocale-    , arsgSavedReportId-    , arsgAccountId-    , arsgStartIndex-    , arsgMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.reports.saved.generate@ method which the--- 'AccountsReportsSavedGenerate' 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---- | Generate an AdSense report based on the saved report ID sent in the--- query parameters.------ /See:/ 'accountsReportsSavedGenerate' smart constructor.-data AccountsReportsSavedGenerate =-  AccountsReportsSavedGenerate'-    { _arsgLocale        :: !(Maybe Text)-    , _arsgSavedReportId :: !Text-    , _arsgAccountId     :: !Text-    , _arsgStartIndex    :: !(Maybe (Textual Int32))-    , _arsgMaxResults    :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsReportsSavedGenerate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'arsgLocale'------ * 'arsgSavedReportId'------ * 'arsgAccountId'------ * 'arsgStartIndex'------ * 'arsgMaxResults'-accountsReportsSavedGenerate-    :: Text -- ^ 'arsgSavedReportId'-    -> Text -- ^ 'arsgAccountId'-    -> AccountsReportsSavedGenerate-accountsReportsSavedGenerate pArsgSavedReportId_ pArsgAccountId_ =-  AccountsReportsSavedGenerate'-    { _arsgLocale = Nothing-    , _arsgSavedReportId = pArsgSavedReportId_-    , _arsgAccountId = pArsgAccountId_-    , _arsgStartIndex = Nothing-    , _arsgMaxResults = Nothing-    }----- | Optional locale to use for translating report output to a local--- language. Defaults to \"en_US\" if not specified.-arsgLocale :: Lens' AccountsReportsSavedGenerate (Maybe Text)-arsgLocale-  = lens _arsgLocale (\ s a -> s{_arsgLocale = a})---- | The saved report to retrieve.-arsgSavedReportId :: Lens' AccountsReportsSavedGenerate Text-arsgSavedReportId-  = lens _arsgSavedReportId-      (\ s a -> s{_arsgSavedReportId = a})---- | Account to which the saved reports belong.-arsgAccountId :: Lens' AccountsReportsSavedGenerate Text-arsgAccountId-  = lens _arsgAccountId-      (\ s a -> s{_arsgAccountId = a})---- | Index of the first row of report data to return.-arsgStartIndex :: Lens' AccountsReportsSavedGenerate (Maybe Int32)-arsgStartIndex-  = lens _arsgStartIndex-      (\ s a -> s{_arsgStartIndex = a})-      . mapping _Coerce---- | The maximum number of rows of report data to return.-arsgMaxResults :: Lens' AccountsReportsSavedGenerate (Maybe Int32)-arsgMaxResults-  = lens _arsgMaxResults-      (\ s a -> s{_arsgMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsReportsSavedGenerate-         where-        type Rs AccountsReportsSavedGenerate =-             AdsenseReportsGenerateResponse-        type Scopes AccountsReportsSavedGenerate =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsReportsSavedGenerate'{..}-          = go _arsgAccountId _arsgSavedReportId _arsgLocale-              _arsgStartIndex-              _arsgMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsReportsSavedGenerateResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Reports/Saved/List.hs
@@ -1,123 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Reports.Saved.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all saved reports in the specified AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.reports.saved.list@.-module Network.Google.Resource.AdSense.Accounts.Reports.Saved.List-    (-    -- * REST Resource-      AccountsReportsSavedListResource--    -- * Creating a Request-    , accountsReportsSavedList-    , AccountsReportsSavedList--    -- * Request Lenses-    , arslAccountId-    , arslPageToken-    , arslMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.reports.saved.list@ method which the--- 'AccountsReportsSavedList' 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---- | List all saved reports in the specified AdSense account.------ /See:/ 'accountsReportsSavedList' smart constructor.-data AccountsReportsSavedList =-  AccountsReportsSavedList'-    { _arslAccountId  :: !Text-    , _arslPageToken  :: !(Maybe Text)-    , _arslMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsReportsSavedList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'arslAccountId'------ * 'arslPageToken'------ * 'arslMaxResults'-accountsReportsSavedList-    :: Text -- ^ 'arslAccountId'-    -> AccountsReportsSavedList-accountsReportsSavedList pArslAccountId_ =-  AccountsReportsSavedList'-    { _arslAccountId = pArslAccountId_-    , _arslPageToken = Nothing-    , _arslMaxResults = Nothing-    }----- | Account to which the saved reports belong.-arslAccountId :: Lens' AccountsReportsSavedList Text-arslAccountId-  = lens _arslAccountId-      (\ s a -> s{_arslAccountId = a})---- | 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)-arslPageToken-  = lens _arslPageToken-      (\ s a -> s{_arslPageToken = a})---- | The maximum number of saved reports to include in the response, used for--- paging.-arslMaxResults :: Lens' AccountsReportsSavedList (Maybe Int32)-arslMaxResults-  = lens _arslMaxResults-      (\ s a -> s{_arslMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsReportsSavedList where-        type Rs AccountsReportsSavedList = SavedReports-        type Scopes AccountsReportsSavedList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsReportsSavedList'{..}-          = go _arslAccountId _arslPageToken _arslMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsReportsSavedListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Savedadstyles/Get.hs
@@ -1,103 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List a specific saved ad style for the specified account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.savedadstyles.get@.-module Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get-    (-    -- * REST Resource-      AccountsSavedadstylesGetResource--    -- * Creating a Request-    , accountsSavedadstylesGet-    , AccountsSavedadstylesGet--    -- * Request Lenses-    , asgSavedAdStyleId-    , asgAccountId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.savedadstyles.get@ method which the--- 'AccountsSavedadstylesGet' request conforms to.-type AccountsSavedadstylesGetResource =-     "adsense" :>-       "v1.4" :>-         "accounts" :>-           Capture "accountId" Text :>-             "savedadstyles" :>-               Capture "savedAdStyleId" Text :>-                 QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyle---- | List a specific saved ad style for the specified account.------ /See:/ 'accountsSavedadstylesGet' smart constructor.-data AccountsSavedadstylesGet =-  AccountsSavedadstylesGet'-    { _asgSavedAdStyleId :: !Text-    , _asgAccountId      :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsSavedadstylesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'asgSavedAdStyleId'------ * 'asgAccountId'-accountsSavedadstylesGet-    :: Text -- ^ 'asgSavedAdStyleId'-    -> Text -- ^ 'asgAccountId'-    -> AccountsSavedadstylesGet-accountsSavedadstylesGet pAsgSavedAdStyleId_ pAsgAccountId_ =-  AccountsSavedadstylesGet'-    {_asgSavedAdStyleId = pAsgSavedAdStyleId_, _asgAccountId = pAsgAccountId_}----- | Saved ad style to retrieve.-asgSavedAdStyleId :: Lens' AccountsSavedadstylesGet Text-asgSavedAdStyleId-  = lens _asgSavedAdStyleId-      (\ s a -> s{_asgSavedAdStyleId = a})---- | Account for which to get the saved ad style.-asgAccountId :: Lens' AccountsSavedadstylesGet Text-asgAccountId-  = lens _asgAccountId (\ s a -> s{_asgAccountId = a})--instance GoogleRequest AccountsSavedadstylesGet where-        type Rs AccountsSavedadstylesGet = SavedAdStyle-        type Scopes AccountsSavedadstylesGet =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsSavedadstylesGet'{..}-          = go _asgAccountId _asgSavedAdStyleId (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsSavedadstylesGetResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/Savedadstyles/List.hs
@@ -1,121 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.Savedadstyles.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all saved ad styles in the specified account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.savedadstyles.list@.-module Network.Google.Resource.AdSense.Accounts.Savedadstyles.List-    (-    -- * REST Resource-      AccountsSavedadstylesListResource--    -- * Creating a Request-    , accountsSavedadstylesList-    , AccountsSavedadstylesList--    -- * Request Lenses-    , aslAccountId-    , aslPageToken-    , aslMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.savedadstyles.list@ method which the--- 'AccountsSavedadstylesList' 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---- | List all saved ad styles in the specified account.------ /See:/ 'accountsSavedadstylesList' smart constructor.-data AccountsSavedadstylesList =-  AccountsSavedadstylesList'-    { _aslAccountId  :: !Text-    , _aslPageToken  :: !(Maybe Text)-    , _aslMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsSavedadstylesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aslAccountId'------ * 'aslPageToken'------ * 'aslMaxResults'-accountsSavedadstylesList-    :: Text -- ^ 'aslAccountId'-    -> AccountsSavedadstylesList-accountsSavedadstylesList pAslAccountId_ =-  AccountsSavedadstylesList'-    { _aslAccountId = pAslAccountId_-    , _aslPageToken = Nothing-    , _aslMaxResults = Nothing-    }----- | Account for which to list saved ad styles.-aslAccountId :: Lens' AccountsSavedadstylesList Text-aslAccountId-  = lens _aslAccountId (\ s a -> s{_aslAccountId = a})---- | 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)-aslPageToken-  = lens _aslPageToken (\ s a -> s{_aslPageToken = a})---- | The maximum number of saved ad styles to include in the response, used--- for paging.-aslMaxResults :: Lens' AccountsSavedadstylesList (Maybe Int32)-aslMaxResults-  = lens _aslMaxResults-      (\ s a -> s{_aslMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsSavedadstylesList-         where-        type Rs AccountsSavedadstylesList = SavedAdStyles-        type Scopes AccountsSavedadstylesList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsSavedadstylesList'{..}-          = go _aslAccountId _aslPageToken _aslMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsSavedadstylesListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Accounts/URLChannels/List.hs
@@ -1,139 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Accounts.URLChannels.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all URL channels in the specified ad client for the specified--- account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.accounts.urlchannels.list@.-module Network.Google.Resource.AdSense.Accounts.URLChannels.List-    (-    -- * REST Resource-      AccountsURLChannelsListResource--    -- * Creating a Request-    , accountsURLChannelsList-    , AccountsURLChannelsList--    -- * Request Lenses-    , auclAdClientId-    , auclAccountId-    , auclPageToken-    , auclMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.accounts.urlchannels.list@ method which the--- 'AccountsURLChannelsList' 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---- | List all URL channels in the specified ad client for the specified--- account.------ /See:/ 'accountsURLChannelsList' smart constructor.-data AccountsURLChannelsList =-  AccountsURLChannelsList'-    { _auclAdClientId :: !Text-    , _auclAccountId  :: !Text-    , _auclPageToken  :: !(Maybe Text)-    , _auclMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AccountsURLChannelsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'auclAdClientId'------ * 'auclAccountId'------ * 'auclPageToken'------ * 'auclMaxResults'-accountsURLChannelsList-    :: Text -- ^ 'auclAdClientId'-    -> Text -- ^ 'auclAccountId'-    -> AccountsURLChannelsList-accountsURLChannelsList pAuclAdClientId_ pAuclAccountId_ =-  AccountsURLChannelsList'-    { _auclAdClientId = pAuclAdClientId_-    , _auclAccountId = pAuclAccountId_-    , _auclPageToken = Nothing-    , _auclMaxResults = Nothing-    }----- | Ad client for which to list URL channels.-auclAdClientId :: Lens' AccountsURLChannelsList Text-auclAdClientId-  = lens _auclAdClientId-      (\ s a -> s{_auclAdClientId = a})---- | Account to which the ad client belongs.-auclAccountId :: Lens' AccountsURLChannelsList Text-auclAccountId-  = lens _auclAccountId-      (\ s a -> s{_auclAccountId = a})---- | 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)-auclPageToken-  = lens _auclPageToken-      (\ s a -> s{_auclPageToken = a})---- | The maximum number of URL channels to include in the response, used for--- paging.-auclMaxResults :: Lens' AccountsURLChannelsList (Maybe Int32)-auclMaxResults-  = lens _auclMaxResults-      (\ s a -> s{_auclMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AccountsURLChannelsList where-        type Rs AccountsURLChannelsList = URLChannels-        type Scopes AccountsURLChannelsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AccountsURLChannelsList'{..}-          = go _auclAccountId _auclAdClientId _auclPageToken-              _auclMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AccountsURLChannelsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/AdClients/List.hs
@@ -1,102 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.AdClients.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all ad clients in this AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.adclients.list@.-module Network.Google.Resource.AdSense.AdClients.List-    (-    -- * REST Resource-      AdClientsListResource--    -- * Creating a Request-    , adClientsList-    , AdClientsList--    -- * Request Lenses-    , aclPageToken-    , aclMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.adclients.list@ method which the--- 'AdClientsList' request conforms to.-type AdClientsListResource =-     "adsense" :>-       "v1.4" :>-         "adclients" :>-           QueryParam "pageToken" Text :>-             QueryParam "maxResults" (Textual Int32) :>-               QueryParam "alt" AltJSON :> Get '[JSON] AdClients---- | List all ad clients in this AdSense account.------ /See:/ 'adClientsList' smart constructor.-data AdClientsList =-  AdClientsList'-    { _aclPageToken  :: !(Maybe Text)-    , _aclMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdClientsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aclPageToken'------ * 'aclMaxResults'-adClientsList-    :: AdClientsList-adClientsList =-  AdClientsList' {_aclPageToken = Nothing, _aclMaxResults = Nothing}----- | 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)-aclPageToken-  = lens _aclPageToken (\ s a -> s{_aclPageToken = a})---- | The maximum number of ad clients to include in the response, used for--- paging.-aclMaxResults :: Lens' AdClientsList (Maybe Int32)-aclMaxResults-  = lens _aclMaxResults-      (\ s a -> s{_aclMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AdClientsList where-        type Rs AdClientsList = AdClients-        type Scopes AdClientsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AdClientsList'{..}-          = go _aclPageToken _aclMaxResults (Just AltJSON)-              adSenseService-          where go-                  = buildClient (Proxy :: Proxy AdClientsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/AdUnits/CustomChannels/List.hs
@@ -1,139 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.AdUnits.CustomChannels.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all custom channels which the specified ad unit belongs to.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.adunits.customchannels.list@.-module Network.Google.Resource.AdSense.AdUnits.CustomChannels.List-    (-    -- * REST Resource-      AdUnitsCustomChannelsListResource--    -- * Creating a Request-    , adUnitsCustomChannelsList-    , AdUnitsCustomChannelsList--    -- * Request Lenses-    , aucclAdUnitId-    , aucclAdClientId-    , aucclPageToken-    , aucclMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.adunits.customchannels.list@ method which the--- 'AdUnitsCustomChannelsList' 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---- | List all custom channels which the specified ad unit belongs to.------ /See:/ 'adUnitsCustomChannelsList' smart constructor.-data AdUnitsCustomChannelsList =-  AdUnitsCustomChannelsList'-    { _aucclAdUnitId   :: !Text-    , _aucclAdClientId :: !Text-    , _aucclPageToken  :: !(Maybe Text)-    , _aucclMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnitsCustomChannelsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aucclAdUnitId'------ * 'aucclAdClientId'------ * 'aucclPageToken'------ * 'aucclMaxResults'-adUnitsCustomChannelsList-    :: Text -- ^ 'aucclAdUnitId'-    -> Text -- ^ 'aucclAdClientId'-    -> AdUnitsCustomChannelsList-adUnitsCustomChannelsList pAucclAdUnitId_ pAucclAdClientId_ =-  AdUnitsCustomChannelsList'-    { _aucclAdUnitId = pAucclAdUnitId_-    , _aucclAdClientId = pAucclAdClientId_-    , _aucclPageToken = Nothing-    , _aucclMaxResults = Nothing-    }----- | Ad unit for which to list custom channels.-aucclAdUnitId :: Lens' AdUnitsCustomChannelsList Text-aucclAdUnitId-  = lens _aucclAdUnitId-      (\ s a -> s{_aucclAdUnitId = a})---- | Ad client which contains the ad unit.-aucclAdClientId :: Lens' AdUnitsCustomChannelsList Text-aucclAdClientId-  = lens _aucclAdClientId-      (\ s a -> s{_aucclAdClientId = a})---- | 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)-aucclPageToken-  = lens _aucclPageToken-      (\ s a -> s{_aucclPageToken = a})---- | The maximum number of custom channels to include in the response, used--- for paging.-aucclMaxResults :: Lens' AdUnitsCustomChannelsList (Maybe Int32)-aucclMaxResults-  = lens _aucclMaxResults-      (\ s a -> s{_aucclMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AdUnitsCustomChannelsList-         where-        type Rs AdUnitsCustomChannelsList = CustomChannels-        type Scopes AdUnitsCustomChannelsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AdUnitsCustomChannelsList'{..}-          = go _aucclAdClientId _aucclAdUnitId _aucclPageToken-              _aucclMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AdUnitsCustomChannelsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/AdUnits/Get.hs
@@ -1,101 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.AdUnits.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the specified ad unit in the specified ad client.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.adunits.get@.-module Network.Google.Resource.AdSense.AdUnits.Get-    (-    -- * REST Resource-      AdUnitsGetResource--    -- * Creating a Request-    , adUnitsGet-    , AdUnitsGet--    -- * Request Lenses-    , augAdUnitId-    , augAdClientId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.adunits.get@ method which the--- 'AdUnitsGet' request conforms to.-type AdUnitsGetResource =-     "adsense" :>-       "v1.4" :>-         "adclients" :>-           Capture "adClientId" Text :>-             "adunits" :>-               Capture "adUnitId" Text :>-                 QueryParam "alt" AltJSON :> Get '[JSON] AdUnit---- | Gets the specified ad unit in the specified ad client.------ /See:/ 'adUnitsGet' smart constructor.-data AdUnitsGet =-  AdUnitsGet'-    { _augAdUnitId   :: !Text-    , _augAdClientId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnitsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'augAdUnitId'------ * 'augAdClientId'-adUnitsGet-    :: Text -- ^ 'augAdUnitId'-    -> Text -- ^ 'augAdClientId'-    -> AdUnitsGet-adUnitsGet pAugAdUnitId_ pAugAdClientId_ =-  AdUnitsGet' {_augAdUnitId = pAugAdUnitId_, _augAdClientId = pAugAdClientId_}----- | Ad unit to retrieve.-augAdUnitId :: Lens' AdUnitsGet Text-augAdUnitId-  = lens _augAdUnitId (\ s a -> s{_augAdUnitId = a})---- | Ad client for which to get the ad unit.-augAdClientId :: Lens' AdUnitsGet Text-augAdClientId-  = lens _augAdClientId-      (\ s a -> s{_augAdClientId = a})--instance GoogleRequest AdUnitsGet where-        type Rs AdUnitsGet = AdUnit-        type Scopes AdUnitsGet =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AdUnitsGet'{..}-          = go _augAdClientId _augAdUnitId (Just AltJSON)-              adSenseService-          where go-                  = buildClient (Proxy :: Proxy AdUnitsGetResource)-                      mempty
− gen/Network/Google/Resource/AdSense/AdUnits/GetAdCode.hs
@@ -1,105 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.AdUnits.GetAdCode--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Get ad code for the specified ad unit.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.adunits.getAdCode@.-module Network.Google.Resource.AdSense.AdUnits.GetAdCode-    (-    -- * REST Resource-      AdUnitsGetAdCodeResource--    -- * Creating a Request-    , adUnitsGetAdCode-    , AdUnitsGetAdCode--    -- * Request Lenses-    , augacAdUnitId-    , augacAdClientId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.adunits.getAdCode@ method which the--- 'AdUnitsGetAdCode' request conforms to.-type AdUnitsGetAdCodeResource =-     "adsense" :>-       "v1.4" :>-         "adclients" :>-           Capture "adClientId" Text :>-             "adunits" :>-               Capture "adUnitId" Text :>-                 "adcode" :>-                   QueryParam "alt" AltJSON :> Get '[JSON] AdCode---- | Get ad code for the specified ad unit.------ /See:/ 'adUnitsGetAdCode' smart constructor.-data AdUnitsGetAdCode =-  AdUnitsGetAdCode'-    { _augacAdUnitId   :: !Text-    , _augacAdClientId :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnitsGetAdCode' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'augacAdUnitId'------ * 'augacAdClientId'-adUnitsGetAdCode-    :: Text -- ^ 'augacAdUnitId'-    -> Text -- ^ 'augacAdClientId'-    -> AdUnitsGetAdCode-adUnitsGetAdCode pAugacAdUnitId_ pAugacAdClientId_ =-  AdUnitsGetAdCode'-    {_augacAdUnitId = pAugacAdUnitId_, _augacAdClientId = pAugacAdClientId_}----- | Ad unit to get the code for.-augacAdUnitId :: Lens' AdUnitsGetAdCode Text-augacAdUnitId-  = lens _augacAdUnitId-      (\ s a -> s{_augacAdUnitId = a})---- | Ad client with contains the ad unit.-augacAdClientId :: Lens' AdUnitsGetAdCode Text-augacAdClientId-  = lens _augacAdClientId-      (\ s a -> s{_augacAdClientId = a})--instance GoogleRequest AdUnitsGetAdCode where-        type Rs AdUnitsGetAdCode = AdCode-        type Scopes AdUnitsGetAdCode =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AdUnitsGetAdCode'{..}-          = go _augacAdClientId _augacAdUnitId (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy AdUnitsGetAdCodeResource)-                      mempty
− gen/Network/Google/Resource/AdSense/AdUnits/List.hs
@@ -1,133 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.AdUnits.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all ad units in the specified ad client for this AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.adunits.list@.-module Network.Google.Resource.AdSense.AdUnits.List-    (-    -- * REST Resource-      AdUnitsListResource--    -- * Creating a Request-    , adUnitsList-    , AdUnitsList--    -- * Request Lenses-    , aulIncludeInactive-    , aulAdClientId-    , aulPageToken-    , aulMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.adunits.list@ method which the--- 'AdUnitsList' 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---- | List all ad units in the specified ad client for this AdSense account.------ /See:/ 'adUnitsList' smart constructor.-data AdUnitsList =-  AdUnitsList'-    { _aulIncludeInactive :: !(Maybe Bool)-    , _aulAdClientId      :: !Text-    , _aulPageToken       :: !(Maybe Text)-    , _aulMaxResults      :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AdUnitsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'aulIncludeInactive'------ * 'aulAdClientId'------ * 'aulPageToken'------ * 'aulMaxResults'-adUnitsList-    :: Text -- ^ 'aulAdClientId'-    -> AdUnitsList-adUnitsList pAulAdClientId_ =-  AdUnitsList'-    { _aulIncludeInactive = Nothing-    , _aulAdClientId = pAulAdClientId_-    , _aulPageToken = Nothing-    , _aulMaxResults = Nothing-    }----- | Whether to include inactive ad units. Default: true.-aulIncludeInactive :: Lens' AdUnitsList (Maybe Bool)-aulIncludeInactive-  = lens _aulIncludeInactive-      (\ s a -> s{_aulIncludeInactive = a})---- | Ad client for which to list ad units.-aulAdClientId :: Lens' AdUnitsList Text-aulAdClientId-  = lens _aulAdClientId-      (\ s a -> s{_aulAdClientId = a})---- | 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)-aulPageToken-  = lens _aulPageToken (\ s a -> s{_aulPageToken = a})---- | The maximum number of ad units to include in the response, used for--- paging.-aulMaxResults :: Lens' AdUnitsList (Maybe Int32)-aulMaxResults-  = lens _aulMaxResults-      (\ s a -> s{_aulMaxResults = a})-      . mapping _Coerce--instance GoogleRequest AdUnitsList where-        type Rs AdUnitsList = AdUnits-        type Scopes AdUnitsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AdUnitsList'{..}-          = go _aulAdClientId _aulIncludeInactive _aulPageToken-              _aulMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient (Proxy :: Proxy AdUnitsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Alerts/Delete.hs
@@ -1,87 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Alerts.Delete--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Dismiss (delete) the specified alert from the publisher\'s AdSense--- account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.alerts.delete@.-module Network.Google.Resource.AdSense.Alerts.Delete-    (-    -- * REST Resource-      AlertsDeleteResource--    -- * Creating a Request-    , alertsDelete-    , AlertsDelete--    -- * Request Lenses-    , adAlertId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.alerts.delete@ method which the--- 'AlertsDelete' request conforms to.-type AlertsDeleteResource =-     "adsense" :>-       "v1.4" :>-         "alerts" :>-           Capture "alertId" Text :>-             QueryParam "alt" AltJSON :> Delete '[JSON] ()---- | Dismiss (delete) the specified alert from the publisher\'s AdSense--- account.------ /See:/ 'alertsDelete' smart constructor.-newtype AlertsDelete =-  AlertsDelete'-    { _adAlertId :: Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AlertsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'adAlertId'-alertsDelete-    :: Text -- ^ 'adAlertId'-    -> AlertsDelete-alertsDelete pAdAlertId_ = AlertsDelete' {_adAlertId = pAdAlertId_}----- | Alert to delete.-adAlertId :: Lens' AlertsDelete Text-adAlertId-  = lens _adAlertId (\ s a -> s{_adAlertId = a})--instance GoogleRequest AlertsDelete where-        type Rs AlertsDelete = ()-        type Scopes AlertsDelete =-             '["https://www.googleapis.com/auth/adsense"]-        requestClient AlertsDelete'{..}-          = go _adAlertId (Just AltJSON) adSenseService-          where go-                  = buildClient (Proxy :: Proxy AlertsDeleteResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Alerts/List.hs
@@ -1,86 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Alerts.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List the alerts for this AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.alerts.list@.-module Network.Google.Resource.AdSense.Alerts.List-    (-    -- * REST Resource-      AlertsListResource--    -- * Creating a Request-    , alertsList-    , AlertsList--    -- * Request Lenses-    , alLocale-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.alerts.list@ method which the--- 'AlertsList' request conforms to.-type AlertsListResource =-     "adsense" :>-       "v1.4" :>-         "alerts" :>-           QueryParam "locale" Text :>-             QueryParam "alt" AltJSON :> Get '[JSON] Alerts---- | List the alerts for this AdSense account.------ /See:/ 'alertsList' smart constructor.-newtype AlertsList =-  AlertsList'-    { _alLocale :: Maybe Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'AlertsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'alLocale'-alertsList-    :: AlertsList-alertsList = AlertsList' {_alLocale = Nothing}----- | 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)-alLocale = lens _alLocale (\ s a -> s{_alLocale = a})--instance GoogleRequest AlertsList where-        type Rs AlertsList = Alerts-        type Scopes AlertsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient AlertsList'{..}-          = go _alLocale (Just AltJSON) adSenseService-          where go-                  = buildClient (Proxy :: Proxy AlertsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/CustomChannels/AdUnits/List.hs
@@ -1,152 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.CustomChannels.AdUnits.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all ad units in the specified custom channel.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.customchannels.adunits.list@.-module Network.Google.Resource.AdSense.CustomChannels.AdUnits.List-    (-    -- * REST Resource-      CustomChannelsAdUnitsListResource--    -- * Creating a Request-    , customChannelsAdUnitsList-    , CustomChannelsAdUnitsList--    -- * Request Lenses-    , ccaulIncludeInactive-    , ccaulCustomChannelId-    , ccaulAdClientId-    , ccaulPageToken-    , ccaulMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.customchannels.adunits.list@ method which the--- 'CustomChannelsAdUnitsList' 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---- | List all ad units in the specified custom channel.------ /See:/ 'customChannelsAdUnitsList' smart constructor.-data CustomChannelsAdUnitsList =-  CustomChannelsAdUnitsList'-    { _ccaulIncludeInactive :: !(Maybe Bool)-    , _ccaulCustomChannelId :: !Text-    , _ccaulAdClientId      :: !Text-    , _ccaulPageToken       :: !(Maybe Text)-    , _ccaulMaxResults      :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CustomChannelsAdUnitsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccaulIncludeInactive'------ * 'ccaulCustomChannelId'------ * 'ccaulAdClientId'------ * 'ccaulPageToken'------ * 'ccaulMaxResults'-customChannelsAdUnitsList-    :: Text -- ^ 'ccaulCustomChannelId'-    -> Text -- ^ 'ccaulAdClientId'-    -> CustomChannelsAdUnitsList-customChannelsAdUnitsList pCcaulCustomChannelId_ pCcaulAdClientId_ =-  CustomChannelsAdUnitsList'-    { _ccaulIncludeInactive = Nothing-    , _ccaulCustomChannelId = pCcaulCustomChannelId_-    , _ccaulAdClientId = pCcaulAdClientId_-    , _ccaulPageToken = Nothing-    , _ccaulMaxResults = Nothing-    }----- | Whether to include inactive ad units. Default: true.-ccaulIncludeInactive :: Lens' CustomChannelsAdUnitsList (Maybe Bool)-ccaulIncludeInactive-  = lens _ccaulIncludeInactive-      (\ s a -> s{_ccaulIncludeInactive = a})---- | Custom channel for which to list ad units.-ccaulCustomChannelId :: Lens' CustomChannelsAdUnitsList Text-ccaulCustomChannelId-  = lens _ccaulCustomChannelId-      (\ s a -> s{_ccaulCustomChannelId = a})---- | Ad client which contains the custom channel.-ccaulAdClientId :: Lens' CustomChannelsAdUnitsList Text-ccaulAdClientId-  = lens _ccaulAdClientId-      (\ s a -> s{_ccaulAdClientId = a})---- | 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)-ccaulPageToken-  = lens _ccaulPageToken-      (\ s a -> s{_ccaulPageToken = a})---- | The maximum number of ad units to include in the response, used for--- paging.-ccaulMaxResults :: Lens' CustomChannelsAdUnitsList (Maybe Int32)-ccaulMaxResults-  = lens _ccaulMaxResults-      (\ s a -> s{_ccaulMaxResults = a})-      . mapping _Coerce--instance GoogleRequest CustomChannelsAdUnitsList-         where-        type Rs CustomChannelsAdUnitsList = AdUnits-        type Scopes CustomChannelsAdUnitsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient CustomChannelsAdUnitsList'{..}-          = go _ccaulAdClientId _ccaulCustomChannelId-              _ccaulIncludeInactive-              _ccaulPageToken-              _ccaulMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy CustomChannelsAdUnitsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/CustomChannels/Get.hs
@@ -1,107 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.CustomChannels.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Get the specified custom channel from the specified ad client.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.customchannels.get@.-module Network.Google.Resource.AdSense.CustomChannels.Get-    (-    -- * REST Resource-      CustomChannelsGetResource--    -- * Creating a Request-    , customChannelsGet-    , CustomChannelsGet--    -- * Request Lenses-    , ccgCustomChannelId-    , ccgAdClientId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.customchannels.get@ method which the--- 'CustomChannelsGet' request conforms to.-type CustomChannelsGetResource =-     "adsense" :>-       "v1.4" :>-         "adclients" :>-           Capture "adClientId" Text :>-             "customchannels" :>-               Capture "customChannelId" Text :>-                 QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel---- | Get the specified custom channel from the specified ad client.------ /See:/ 'customChannelsGet' smart constructor.-data CustomChannelsGet =-  CustomChannelsGet'-    { _ccgCustomChannelId :: !Text-    , _ccgAdClientId      :: !Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CustomChannelsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ccgCustomChannelId'------ * 'ccgAdClientId'-customChannelsGet-    :: Text -- ^ 'ccgCustomChannelId'-    -> Text -- ^ 'ccgAdClientId'-    -> CustomChannelsGet-customChannelsGet pCcgCustomChannelId_ pCcgAdClientId_ =-  CustomChannelsGet'-    { _ccgCustomChannelId = pCcgCustomChannelId_-    , _ccgAdClientId = pCcgAdClientId_-    }----- | Custom channel to retrieve.-ccgCustomChannelId :: Lens' CustomChannelsGet Text-ccgCustomChannelId-  = lens _ccgCustomChannelId-      (\ s a -> s{_ccgCustomChannelId = a})---- | Ad client which contains the custom channel.-ccgAdClientId :: Lens' CustomChannelsGet Text-ccgAdClientId-  = lens _ccgAdClientId-      (\ s a -> s{_ccgAdClientId = a})--instance GoogleRequest CustomChannelsGet where-        type Rs CustomChannelsGet = CustomChannel-        type Scopes CustomChannelsGet =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient CustomChannelsGet'{..}-          = go _ccgAdClientId _ccgCustomChannelId-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy CustomChannelsGetResource)-                      mempty
− gen/Network/Google/Resource/AdSense/CustomChannels/List.hs
@@ -1,124 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.CustomChannels.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all custom channels in the specified ad client for this AdSense--- account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.customchannels.list@.-module Network.Google.Resource.AdSense.CustomChannels.List-    (-    -- * REST Resource-      CustomChannelsListResource--    -- * Creating a Request-    , customChannelsList-    , CustomChannelsList--    -- * Request Lenses-    , cclAdClientId-    , cclPageToken-    , cclMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.customchannels.list@ method which the--- 'CustomChannelsList' 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---- | List all custom channels in the specified ad client for this AdSense--- account.------ /See:/ 'customChannelsList' smart constructor.-data CustomChannelsList =-  CustomChannelsList'-    { _cclAdClientId :: !Text-    , _cclPageToken  :: !(Maybe Text)-    , _cclMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'CustomChannelsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cclAdClientId'------ * 'cclPageToken'------ * 'cclMaxResults'-customChannelsList-    :: Text -- ^ 'cclAdClientId'-    -> CustomChannelsList-customChannelsList pCclAdClientId_ =-  CustomChannelsList'-    { _cclAdClientId = pCclAdClientId_-    , _cclPageToken = Nothing-    , _cclMaxResults = Nothing-    }----- | Ad client for which to list custom channels.-cclAdClientId :: Lens' CustomChannelsList Text-cclAdClientId-  = lens _cclAdClientId-      (\ s a -> s{_cclAdClientId = a})---- | 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)-cclPageToken-  = lens _cclPageToken (\ s a -> s{_cclPageToken = a})---- | The maximum number of custom channels to include in the response, used--- for paging.-cclMaxResults :: Lens' CustomChannelsList (Maybe Int32)-cclMaxResults-  = lens _cclMaxResults-      (\ s a -> s{_cclMaxResults = a})-      . mapping _Coerce--instance GoogleRequest CustomChannelsList where-        type Rs CustomChannelsList = CustomChannels-        type Scopes CustomChannelsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient CustomChannelsList'{..}-          = go _cclAdClientId _cclPageToken _cclMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy CustomChannelsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Metadata/Dimensions/List.hs
@@ -1,74 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Metadata.Dimensions.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List the metadata for the dimensions available to this AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.metadata.dimensions.list@.-module Network.Google.Resource.AdSense.Metadata.Dimensions.List-    (-    -- * REST Resource-      MetadataDimensionsListResource--    -- * Creating a Request-    , metadataDimensionsList-    , MetadataDimensionsList--    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.metadata.dimensions.list@ method which the--- 'MetadataDimensionsList' request conforms to.-type MetadataDimensionsListResource =-     "adsense" :>-       "v1.4" :>-         "metadata" :>-           "dimensions" :>-             QueryParam "alt" AltJSON :> Get '[JSON] Metadata---- | List the metadata for the dimensions available to this AdSense account.------ /See:/ 'metadataDimensionsList' smart constructor.-data MetadataDimensionsList =-  MetadataDimensionsList'-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'MetadataDimensionsList' with the minimum fields required to make a request.----metadataDimensionsList-    :: MetadataDimensionsList-metadataDimensionsList = MetadataDimensionsList'---instance GoogleRequest MetadataDimensionsList where-        type Rs MetadataDimensionsList = Metadata-        type Scopes MetadataDimensionsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient MetadataDimensionsList'{}-          = go (Just AltJSON) adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy MetadataDimensionsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Metadata/Metrics/List.hs
@@ -1,74 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Metadata.Metrics.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List the metadata for the metrics available to this AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.metadata.metrics.list@.-module Network.Google.Resource.AdSense.Metadata.Metrics.List-    (-    -- * REST Resource-      MetadataMetricsListResource--    -- * Creating a Request-    , metadataMetricsList-    , MetadataMetricsList--    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.metadata.metrics.list@ method which the--- 'MetadataMetricsList' request conforms to.-type MetadataMetricsListResource =-     "adsense" :>-       "v1.4" :>-         "metadata" :>-           "metrics" :>-             QueryParam "alt" AltJSON :> Get '[JSON] Metadata---- | List the metadata for the metrics available to this AdSense account.------ /See:/ 'metadataMetricsList' smart constructor.-data MetadataMetricsList =-  MetadataMetricsList'-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'MetadataMetricsList' with the minimum fields required to make a request.----metadataMetricsList-    :: MetadataMetricsList-metadataMetricsList = MetadataMetricsList'---instance GoogleRequest MetadataMetricsList where-        type Rs MetadataMetricsList = Metadata-        type Scopes MetadataMetricsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient MetadataMetricsList'{}-          = go (Just AltJSON) adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy MetadataMetricsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Payments/List.hs
@@ -1,72 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Payments.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List the payments for this AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.payments.list@.-module Network.Google.Resource.AdSense.Payments.List-    (-    -- * REST Resource-      PaymentsListResource--    -- * Creating a Request-    , paymentsList-    , PaymentsList--    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.payments.list@ method which the--- 'PaymentsList' request conforms to.-type PaymentsListResource =-     "adsense" :>-       "v1.4" :>-         "payments" :>-           QueryParam "alt" AltJSON :> Get '[JSON] Payments---- | List the payments for this AdSense account.------ /See:/ 'paymentsList' smart constructor.-data PaymentsList =-  PaymentsList'-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'PaymentsList' with the minimum fields required to make a request.----paymentsList-    :: PaymentsList-paymentsList = PaymentsList'---instance GoogleRequest PaymentsList where-        type Rs PaymentsList = Payments-        type Scopes PaymentsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient PaymentsList'{}-          = go (Just AltJSON) adSenseService-          where go-                  = buildClient (Proxy :: Proxy PaymentsListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Reports/Generate.hs
@@ -1,290 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Reports.Generate--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ 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.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.reports.generate@.-module Network.Google.Resource.AdSense.Reports.Generate-    (-    -- * REST Resource-      ReportsGenerateResource--    -- * Creating a Request-    , reportsGenerate-    , ReportsGenerate--    -- * Request Lenses-    , rgDimension-    , rgLocale-    , rgEndDate-    , rgStartDate-    , rgAccountId-    , rgMetric-    , rgCurrency-    , rgSort-    , rgFilter-    , rgStartIndex-    , rgUseTimezoneReporting-    , rgMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.reports.generate@ method which the--- 'ReportsGenerate' 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---- | 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.------ /See:/ 'reportsGenerate' smart constructor.-data ReportsGenerate =-  ReportsGenerate'-    { _rgDimension            :: !(Maybe [Text])-    , _rgLocale               :: !(Maybe Text)-    , _rgEndDate              :: !Text-    , _rgStartDate            :: !Text-    , _rgAccountId            :: !(Maybe [Text])-    , _rgMetric               :: !(Maybe [Text])-    , _rgCurrency             :: !(Maybe Text)-    , _rgSort                 :: !(Maybe [Text])-    , _rgFilter               :: !(Maybe [Text])-    , _rgStartIndex           :: !(Maybe (Textual Int32))-    , _rgUseTimezoneReporting :: !(Maybe Bool)-    , _rgMaxResults           :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ReportsGenerate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rgDimension'------ * 'rgLocale'------ * 'rgEndDate'------ * 'rgStartDate'------ * 'rgAccountId'------ * 'rgMetric'------ * 'rgCurrency'------ * 'rgSort'------ * 'rgFilter'------ * 'rgStartIndex'------ * 'rgUseTimezoneReporting'------ * 'rgMaxResults'-reportsGenerate-    :: Text -- ^ 'rgEndDate'-    -> Text -- ^ 'rgStartDate'-    -> ReportsGenerate-reportsGenerate pRgEndDate_ pRgStartDate_ =-  ReportsGenerate'-    { _rgDimension = Nothing-    , _rgLocale = Nothing-    , _rgEndDate = pRgEndDate_-    , _rgStartDate = pRgStartDate_-    , _rgAccountId = Nothing-    , _rgMetric = Nothing-    , _rgCurrency = Nothing-    , _rgSort = Nothing-    , _rgFilter = Nothing-    , _rgStartIndex = Nothing-    , _rgUseTimezoneReporting = Nothing-    , _rgMaxResults = Nothing-    }----- | Dimensions to base the report on.-rgDimension :: Lens' ReportsGenerate [Text]-rgDimension-  = lens _rgDimension (\ s a -> s{_rgDimension = a}) .-      _Default-      . _Coerce---- | Optional locale to use for translating report output to a local--- language. Defaults to \"en_US\" if not specified.-rgLocale :: Lens' ReportsGenerate (Maybe Text)-rgLocale = lens _rgLocale (\ s a -> s{_rgLocale = a})---- | End of the date range to report on in \"YYYY-MM-DD\" format, inclusive.-rgEndDate :: Lens' ReportsGenerate Text-rgEndDate-  = lens _rgEndDate (\ s a -> s{_rgEndDate = a})---- | Start of the date range to report on in \"YYYY-MM-DD\" format,--- inclusive.-rgStartDate :: Lens' ReportsGenerate Text-rgStartDate-  = lens _rgStartDate (\ s a -> s{_rgStartDate = a})---- | Accounts upon which to report.-rgAccountId :: Lens' ReportsGenerate [Text]-rgAccountId-  = lens _rgAccountId (\ s a -> s{_rgAccountId = a}) .-      _Default-      . _Coerce---- | Numeric columns to include in the report.-rgMetric :: Lens' ReportsGenerate [Text]-rgMetric-  = lens _rgMetric (\ s a -> s{_rgMetric = a}) .-      _Default-      . _Coerce---- | Optional currency to use when reporting on monetary metrics. Defaults to--- the account\'s currency if not set.-rgCurrency :: Lens' ReportsGenerate (Maybe Text)-rgCurrency-  = lens _rgCurrency (\ s a -> s{_rgCurrency = a})---- | 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]-rgSort-  = lens _rgSort (\ s a -> s{_rgSort = a}) . _Default .-      _Coerce---- | Filters to be run on the report.-rgFilter :: Lens' ReportsGenerate [Text]-rgFilter-  = lens _rgFilter (\ s a -> s{_rgFilter = a}) .-      _Default-      . _Coerce---- | Index of the first row of report data to return.-rgStartIndex :: Lens' ReportsGenerate (Maybe Int32)-rgStartIndex-  = lens _rgStartIndex (\ s a -> s{_rgStartIndex = a})-      . mapping _Coerce---- | 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)-rgUseTimezoneReporting-  = lens _rgUseTimezoneReporting-      (\ s a -> s{_rgUseTimezoneReporting = a})---- | The maximum number of rows of report data to return.-rgMaxResults :: Lens' ReportsGenerate (Maybe Int32)-rgMaxResults-  = lens _rgMaxResults (\ s a -> s{_rgMaxResults = a})-      . mapping _Coerce--instance GoogleRequest ReportsGenerate where-        type Rs ReportsGenerate =-             AdsenseReportsGenerateResponse-        type Scopes ReportsGenerate =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient ReportsGenerate'{..}-          = go (Just _rgStartDate) (Just _rgEndDate)-              (_rgDimension ^. _Default)-              _rgLocale-              (_rgAccountId ^. _Default)-              (_rgMetric ^. _Default)-              _rgCurrency-              (_rgSort ^. _Default)-              (_rgFilter ^. _Default)-              _rgStartIndex-              _rgUseTimezoneReporting-              _rgMaxResults-              (Just AltJSON)-              adSenseService-          where go :<|> _-                  = buildClient-                      (Proxy :: Proxy ReportsGenerateResource)-                      mempty--instance GoogleRequest-           (MediaDownload ReportsGenerate)-         where-        type Rs (MediaDownload ReportsGenerate) = Stream-        type Scopes (MediaDownload ReportsGenerate) =-             Scopes ReportsGenerate-        requestClient (MediaDownload ReportsGenerate'{..})-          = go (Just _rgStartDate) (Just _rgEndDate)-              (_rgDimension ^. _Default)-              _rgLocale-              (_rgAccountId ^. _Default)-              (_rgMetric ^. _Default)-              _rgCurrency-              (_rgSort ^. _Default)-              (_rgFilter ^. _Default)-              _rgStartIndex-              _rgUseTimezoneReporting-              _rgMaxResults-              (Just AltMedia)-              adSenseService-          where _ :<|> go-                  = buildClient-                      (Proxy :: Proxy ReportsGenerateResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Reports/Saved/Generate.hs
@@ -1,136 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Reports.Saved.Generate--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Generate an AdSense report based on the saved report ID sent in the--- query parameters.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.reports.saved.generate@.-module Network.Google.Resource.AdSense.Reports.Saved.Generate-    (-    -- * REST Resource-      ReportsSavedGenerateResource--    -- * Creating a Request-    , reportsSavedGenerate-    , ReportsSavedGenerate--    -- * Request Lenses-    , rsgLocale-    , rsgSavedReportId-    , rsgStartIndex-    , rsgMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.reports.saved.generate@ method which the--- 'ReportsSavedGenerate' 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---- | Generate an AdSense report based on the saved report ID sent in the--- query parameters.------ /See:/ 'reportsSavedGenerate' smart constructor.-data ReportsSavedGenerate =-  ReportsSavedGenerate'-    { _rsgLocale        :: !(Maybe Text)-    , _rsgSavedReportId :: !Text-    , _rsgStartIndex    :: !(Maybe (Textual Int32))-    , _rsgMaxResults    :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ReportsSavedGenerate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rsgLocale'------ * 'rsgSavedReportId'------ * 'rsgStartIndex'------ * 'rsgMaxResults'-reportsSavedGenerate-    :: Text -- ^ 'rsgSavedReportId'-    -> ReportsSavedGenerate-reportsSavedGenerate pRsgSavedReportId_ =-  ReportsSavedGenerate'-    { _rsgLocale = Nothing-    , _rsgSavedReportId = pRsgSavedReportId_-    , _rsgStartIndex = Nothing-    , _rsgMaxResults = Nothing-    }----- | Optional locale to use for translating report output to a local--- language. Defaults to \"en_US\" if not specified.-rsgLocale :: Lens' ReportsSavedGenerate (Maybe Text)-rsgLocale-  = lens _rsgLocale (\ s a -> s{_rsgLocale = a})---- | The saved report to retrieve.-rsgSavedReportId :: Lens' ReportsSavedGenerate Text-rsgSavedReportId-  = lens _rsgSavedReportId-      (\ s a -> s{_rsgSavedReportId = a})---- | Index of the first row of report data to return.-rsgStartIndex :: Lens' ReportsSavedGenerate (Maybe Int32)-rsgStartIndex-  = lens _rsgStartIndex-      (\ s a -> s{_rsgStartIndex = a})-      . mapping _Coerce---- | The maximum number of rows of report data to return.-rsgMaxResults :: Lens' ReportsSavedGenerate (Maybe Int32)-rsgMaxResults-  = lens _rsgMaxResults-      (\ s a -> s{_rsgMaxResults = a})-      . mapping _Coerce--instance GoogleRequest ReportsSavedGenerate where-        type Rs ReportsSavedGenerate =-             AdsenseReportsGenerateResponse-        type Scopes ReportsSavedGenerate =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient ReportsSavedGenerate'{..}-          = go _rsgSavedReportId _rsgLocale _rsgStartIndex-              _rsgMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy ReportsSavedGenerateResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Reports/Saved/List.hs
@@ -1,104 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Reports.Saved.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all saved reports in this AdSense account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.reports.saved.list@.-module Network.Google.Resource.AdSense.Reports.Saved.List-    (-    -- * REST Resource-      ReportsSavedListResource--    -- * Creating a Request-    , reportsSavedList-    , ReportsSavedList--    -- * Request Lenses-    , rslPageToken-    , rslMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.reports.saved.list@ method which the--- 'ReportsSavedList' request conforms to.-type ReportsSavedListResource =-     "adsense" :>-       "v1.4" :>-         "reports" :>-           "saved" :>-             QueryParam "pageToken" Text :>-               QueryParam "maxResults" (Textual Int32) :>-                 QueryParam "alt" AltJSON :> Get '[JSON] SavedReports---- | List all saved reports in this AdSense account.------ /See:/ 'reportsSavedList' smart constructor.-data ReportsSavedList =-  ReportsSavedList'-    { _rslPageToken  :: !(Maybe Text)-    , _rslMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ReportsSavedList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rslPageToken'------ * 'rslMaxResults'-reportsSavedList-    :: ReportsSavedList-reportsSavedList =-  ReportsSavedList' {_rslPageToken = Nothing, _rslMaxResults = Nothing}----- | 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)-rslPageToken-  = lens _rslPageToken (\ s a -> s{_rslPageToken = a})---- | The maximum number of saved reports to include in the response, used for--- paging.-rslMaxResults :: Lens' ReportsSavedList (Maybe Int32)-rslMaxResults-  = lens _rslMaxResults-      (\ s a -> s{_rslMaxResults = a})-      . mapping _Coerce--instance GoogleRequest ReportsSavedList where-        type Rs ReportsSavedList = SavedReports-        type Scopes ReportsSavedList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient ReportsSavedList'{..}-          = go _rslPageToken _rslMaxResults (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy ReportsSavedListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Savedadstyles/Get.hs
@@ -1,89 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Savedadstyles.Get--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ Get a specific saved ad style from the user\'s account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.savedadstyles.get@.-module Network.Google.Resource.AdSense.Savedadstyles.Get-    (-    -- * REST Resource-      SavedadstylesGetResource--    -- * Creating a Request-    , savedadstylesGet-    , SavedadstylesGet--    -- * Request Lenses-    , sgSavedAdStyleId-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.savedadstyles.get@ method which the--- 'SavedadstylesGet' request conforms to.-type SavedadstylesGetResource =-     "adsense" :>-       "v1.4" :>-         "savedadstyles" :>-           Capture "savedAdStyleId" Text :>-             QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyle---- | Get a specific saved ad style from the user\'s account.------ /See:/ 'savedadstylesGet' smart constructor.-newtype SavedadstylesGet =-  SavedadstylesGet'-    { _sgSavedAdStyleId :: Text-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SavedadstylesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'sgSavedAdStyleId'-savedadstylesGet-    :: Text -- ^ 'sgSavedAdStyleId'-    -> SavedadstylesGet-savedadstylesGet pSgSavedAdStyleId_ =-  SavedadstylesGet' {_sgSavedAdStyleId = pSgSavedAdStyleId_}----- | Saved ad style to retrieve.-sgSavedAdStyleId :: Lens' SavedadstylesGet Text-sgSavedAdStyleId-  = lens _sgSavedAdStyleId-      (\ s a -> s{_sgSavedAdStyleId = a})--instance GoogleRequest SavedadstylesGet where-        type Rs SavedadstylesGet = SavedAdStyle-        type Scopes SavedadstylesGet =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient SavedadstylesGet'{..}-          = go _sgSavedAdStyleId (Just AltJSON) adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy SavedadstylesGetResource)-                      mempty
− gen/Network/Google/Resource/AdSense/Savedadstyles/List.hs
@@ -1,102 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.Savedadstyles.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all saved ad styles in the user\'s account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.savedadstyles.list@.-module Network.Google.Resource.AdSense.Savedadstyles.List-    (-    -- * REST Resource-      SavedadstylesListResource--    -- * Creating a Request-    , savedadstylesList-    , SavedadstylesList--    -- * Request Lenses-    , slPageToken-    , slMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.savedadstyles.list@ method which the--- 'SavedadstylesList' request conforms to.-type SavedadstylesListResource =-     "adsense" :>-       "v1.4" :>-         "savedadstyles" :>-           QueryParam "pageToken" Text :>-             QueryParam "maxResults" (Textual Int32) :>-               QueryParam "alt" AltJSON :> Get '[JSON] SavedAdStyles---- | List all saved ad styles in the user\'s account.------ /See:/ 'savedadstylesList' smart constructor.-data SavedadstylesList =-  SavedadstylesList'-    { _slPageToken  :: !(Maybe Text)-    , _slMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'SavedadstylesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'slPageToken'------ * 'slMaxResults'-savedadstylesList-    :: SavedadstylesList-savedadstylesList =-  SavedadstylesList' {_slPageToken = Nothing, _slMaxResults = Nothing}----- | 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)-slPageToken-  = lens _slPageToken (\ s a -> s{_slPageToken = a})---- | The maximum number of saved ad styles to include in the response, used--- for paging.-slMaxResults :: Lens' SavedadstylesList (Maybe Int32)-slMaxResults-  = lens _slMaxResults (\ s a -> s{_slMaxResults = a})-      . mapping _Coerce--instance GoogleRequest SavedadstylesList where-        type Rs SavedadstylesList = SavedAdStyles-        type Scopes SavedadstylesList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient SavedadstylesList'{..}-          = go _slPageToken _slMaxResults (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy SavedadstylesListResource)-                      mempty
− gen/Network/Google/Resource/AdSense/URLChannels/List.hs
@@ -1,123 +0,0 @@-{-# LANGUAGE DataKinds          #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE FlexibleInstances  #-}-{-# LANGUAGE NoImplicitPrelude  #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}-{-# LANGUAGE TypeOperators      #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds      #-}-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}---- |--- Module      : Network.Google.Resource.AdSense.URLChannels.List--- Copyright   : (c) 2015-2016 Brendan Hay--- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>--- Stability   : auto-generated--- Portability : non-portable (GHC extensions)------ List all URL channels in the specified ad client for this AdSense--- account.------ /See:/ <https://developers.google.com/adsense/management/ AdSense Management API Reference> for @adsense.urlchannels.list@.-module Network.Google.Resource.AdSense.URLChannels.List-    (-    -- * REST Resource-      URLChannelsListResource--    -- * Creating a Request-    , urlChannelsList-    , URLChannelsList--    -- * Request Lenses-    , uclAdClientId-    , uclPageToken-    , uclMaxResults-    ) where--import           Network.Google.AdSense.Types-import           Network.Google.Prelude---- | A resource alias for @adsense.urlchannels.list@ method which the--- 'URLChannelsList' 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---- | List all URL channels in the specified ad client for this AdSense--- account.------ /See:/ 'urlChannelsList' smart constructor.-data URLChannelsList =-  URLChannelsList'-    { _uclAdClientId :: !Text-    , _uclPageToken  :: !(Maybe Text)-    , _uclMaxResults :: !(Maybe (Textual Int32))-    }-  deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'URLChannelsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uclAdClientId'------ * 'uclPageToken'------ * 'uclMaxResults'-urlChannelsList-    :: Text -- ^ 'uclAdClientId'-    -> URLChannelsList-urlChannelsList pUclAdClientId_ =-  URLChannelsList'-    { _uclAdClientId = pUclAdClientId_-    , _uclPageToken = Nothing-    , _uclMaxResults = Nothing-    }----- | Ad client for which to list URL channels.-uclAdClientId :: Lens' URLChannelsList Text-uclAdClientId-  = lens _uclAdClientId-      (\ s a -> s{_uclAdClientId = a})---- | 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)-uclPageToken-  = lens _uclPageToken (\ s a -> s{_uclPageToken = a})---- | The maximum number of URL channels to include in the response, used for--- paging.-uclMaxResults :: Lens' URLChannelsList (Maybe Int32)-uclMaxResults-  = lens _uclMaxResults-      (\ s a -> s{_uclMaxResults = a})-      . mapping _Coerce--instance GoogleRequest URLChannelsList where-        type Rs URLChannelsList = URLChannels-        type Scopes URLChannelsList =-             '["https://www.googleapis.com/auth/adsense",-               "https://www.googleapis.com/auth/adsense.readonly"]-        requestClient URLChannelsList'{..}-          = go _uclAdClientId _uclPageToken _uclMaxResults-              (Just AltJSON)-              adSenseService-          where go-                  = buildClient-                      (Proxy :: Proxy URLChannelsListResource)-                      mempty
gogol-adsense.cabal view
@@ -1,85 +1,93 @@-name:                  gogol-adsense-version:               0.5.0-synopsis:              Google AdSense Management SDK.-homepage:              https://github.com/brendanhay/gogol-bug-reports:           https://github.com/brendanhay/gogol/issues-license:               OtherLicense-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay@gmail.com>-copyright:             Copyright (c) 2015-2016 Brendan Hay-category:              Network, Google, Cloud-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md src/.gitkeep+cabal-version:      2.2+name:               gogol-adsense+version:            1.0.0+synopsis:           Google AdSense Management SDK.+homepage:           https://github.com/brendanhay/gogol+bug-reports:        https://github.com/brendanhay/gogol/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+gogol@gmail.com>, Toni Cebrián <toni@tonicebrian.com> +copyright:          Copyright (c) 2015-2025 Brendan Hay+category:           Google+build-type:         Simple+extra-source-files:+  README.md+  src/.gitkeep+ description:-    Accesses AdSense publishers\' inventory and generates performance-    reports.-    .-    /Warning:/ 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 @v1.4@-    of the API.+  The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.+  .+  /Warning:/ 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 @v2@+  of the API.  source-repository head-    type:     git-    location: git://github.com/brendanhay/gogol.git+  type:     git+  location: git://github.com/brendanhay/gogol.git+  subdir:   gogol-adsense +flag field-selectors+  description:+    If record field selectors should be enabled. Disabling this requires GHC >=9.2 and the NoFieldSelectors extension.++  default:     False+  manual:      True+ library-    default-language:  Haskell2010-    hs-source-dirs:    src gen+  default-language: GHC2021+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields+    -fwarn-unused-packages -    ghc-options:       -Wall+  if (!flag(field-selectors) && impl(ghc >=9.2))+    default-extensions: NoFieldSelectors -    exposed-modules:-          Network.Google.AdSense-        , Network.Google.AdSense.Types-        , Network.Google.Resource.AdSense.Accounts.AdClients.GetAdCode-        , Network.Google.Resource.AdSense.Accounts.AdClients.List-        , Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List-        , Network.Google.Resource.AdSense.Accounts.AdUnits.Get-        , Network.Google.Resource.AdSense.Accounts.AdUnits.GetAdCode-        , Network.Google.Resource.AdSense.Accounts.AdUnits.List-        , Network.Google.Resource.AdSense.Accounts.Alerts.Delete-        , Network.Google.Resource.AdSense.Accounts.Alerts.List-        , Network.Google.Resource.AdSense.Accounts.CustomChannels.AdUnits.List-        , Network.Google.Resource.AdSense.Accounts.CustomChannels.Get-        , Network.Google.Resource.AdSense.Accounts.CustomChannels.List-        , Network.Google.Resource.AdSense.Accounts.Get-        , Network.Google.Resource.AdSense.Accounts.List-        , Network.Google.Resource.AdSense.Accounts.Payments.List-        , Network.Google.Resource.AdSense.Accounts.Reports.Generate-        , Network.Google.Resource.AdSense.Accounts.Reports.Saved.Generate-        , Network.Google.Resource.AdSense.Accounts.Reports.Saved.List-        , Network.Google.Resource.AdSense.Accounts.Savedadstyles.Get-        , Network.Google.Resource.AdSense.Accounts.Savedadstyles.List-        , Network.Google.Resource.AdSense.Accounts.URLChannels.List-        , Network.Google.Resource.AdSense.AdClients.List-        , Network.Google.Resource.AdSense.AdUnits.CustomChannels.List-        , Network.Google.Resource.AdSense.AdUnits.Get-        , Network.Google.Resource.AdSense.AdUnits.GetAdCode-        , Network.Google.Resource.AdSense.AdUnits.List-        , Network.Google.Resource.AdSense.Alerts.Delete-        , Network.Google.Resource.AdSense.Alerts.List-        , Network.Google.Resource.AdSense.CustomChannels.AdUnits.List-        , Network.Google.Resource.AdSense.CustomChannels.Get-        , Network.Google.Resource.AdSense.CustomChannels.List-        , Network.Google.Resource.AdSense.Metadata.Dimensions.List-        , Network.Google.Resource.AdSense.Metadata.Metrics.List-        , Network.Google.Resource.AdSense.Payments.List-        , Network.Google.Resource.AdSense.Reports.Generate-        , Network.Google.Resource.AdSense.Reports.Saved.Generate-        , Network.Google.Resource.AdSense.Reports.Saved.List-        , Network.Google.Resource.AdSense.Savedadstyles.Get-        , Network.Google.Resource.AdSense.Savedadstyles.List-        , Network.Google.Resource.AdSense.URLChannels.List+  exposed-modules:+    Gogol.AdSense+    Gogol.AdSense.Accounts.Adclients.Adunits.Create+    Gogol.AdSense.Accounts.Adclients.Adunits.Get+    Gogol.AdSense.Accounts.Adclients.Adunits.GetAdcode+    Gogol.AdSense.Accounts.Adclients.Adunits.List+    Gogol.AdSense.Accounts.Adclients.Adunits.ListLinkedCustomChannels+    Gogol.AdSense.Accounts.Adclients.Adunits.Patch+    Gogol.AdSense.Accounts.Adclients.Customchannels.Create+    Gogol.AdSense.Accounts.Adclients.Customchannels.Delete+    Gogol.AdSense.Accounts.Adclients.Customchannels.Get+    Gogol.AdSense.Accounts.Adclients.Customchannels.List+    Gogol.AdSense.Accounts.Adclients.Customchannels.ListLinkedAdUnits+    Gogol.AdSense.Accounts.Adclients.Customchannels.Patch+    Gogol.AdSense.Accounts.Adclients.Get+    Gogol.AdSense.Accounts.Adclients.GetAdcode+    Gogol.AdSense.Accounts.Adclients.List+    Gogol.AdSense.Accounts.Adclients.Urlchannels.Get+    Gogol.AdSense.Accounts.Adclients.Urlchannels.List+    Gogol.AdSense.Accounts.Alerts.List+    Gogol.AdSense.Accounts.Get+    Gogol.AdSense.Accounts.GetAdBlockingRecoveryTag+    Gogol.AdSense.Accounts.List+    Gogol.AdSense.Accounts.ListChildAccounts+    Gogol.AdSense.Accounts.Payments.List+    Gogol.AdSense.Accounts.PolicyIssues.Get+    Gogol.AdSense.Accounts.PolicyIssues.List+    Gogol.AdSense.Accounts.Reports.Generate+    Gogol.AdSense.Accounts.Reports.GenerateCsv+    Gogol.AdSense.Accounts.Reports.GetSaved+    Gogol.AdSense.Accounts.Reports.Saved.Generate+    Gogol.AdSense.Accounts.Reports.Saved.GenerateCsv+    Gogol.AdSense.Accounts.Reports.Saved.List+    Gogol.AdSense.Accounts.Sites.Get+    Gogol.AdSense.Accounts.Sites.List+    Gogol.AdSense.Types -    other-modules:-          Network.Google.AdSense.Types.Product-        , Network.Google.AdSense.Types.Sum+  other-modules:+    Gogol.AdSense.Internal.Product+    Gogol.AdSense.Internal.Sum -    build-depends:-          gogol-core == 0.5.0.*-        , base       >= 4.7 && < 5+  build-depends:    gogol-core ^>=1.0.0