Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Get the specified custom channel from the specified ad client for the specified account.
See: AdSense Management API Reference for adsense.accounts.customchannels.get
.
Synopsis
- type AccountsCustomChannelsGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel))))))))
- accountsCustomChannelsGet :: Text -> Text -> Text -> AccountsCustomChannelsGet
- data AccountsCustomChannelsGet
- accgCustomChannelId :: Lens' AccountsCustomChannelsGet Text
- accgAdClientId :: Lens' AccountsCustomChannelsGet Text
- accgAccountId :: Lens' AccountsCustomChannelsGet Text
REST Resource
type AccountsCustomChannelsGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel)))))))) Source #
A resource alias for adsense.accounts.customchannels.get
method which the
AccountsCustomChannelsGet
request conforms to.
Creating a Request
accountsCustomChannelsGet Source #
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:
data AccountsCustomChannelsGet Source #
Get the specified custom channel from the specified ad client for the specified account.
See: accountsCustomChannelsGet
smart constructor.
Instances
Request Lenses
accgCustomChannelId :: Lens' AccountsCustomChannelsGet Text Source #
Custom channel to retrieve.
accgAdClientId :: Lens' AccountsCustomChannelsGet Text Source #
Ad client which contains the custom channel.
accgAccountId :: Lens' AccountsCustomChannelsGet Text Source #
Account to which the ad client belongs.