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 Auto ad code for a given ad client.
See: AdSense Management API Reference for adsense.accounts.adclients.getAdCode
.
Synopsis
- type AccountsAdClientsGetAdCodeResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adcode" :> (QueryParam "alt" AltJSON :> Get '[JSON] AdCode)))))))
- accountsAdClientsGetAdCode :: Text -> Text -> AccountsAdClientsGetAdCode
- data AccountsAdClientsGetAdCode
- aacgacAdClientId :: Lens' AccountsAdClientsGetAdCode Text
- aacgacAccountId :: Lens' AccountsAdClientsGetAdCode Text
REST Resource
type AccountsAdClientsGetAdCodeResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adcode" :> (QueryParam "alt" AltJSON :> Get '[JSON] AdCode))))))) Source #
A resource alias for adsense.accounts.adclients.getAdCode
method which the
AccountsAdClientsGetAdCode
request conforms to.
Creating a Request
accountsAdClientsGetAdCode Source #
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:
data AccountsAdClientsGetAdCode Source #
Get Auto ad code for a given ad client.
See: accountsAdClientsGetAdCode
smart constructor.
Instances
Request Lenses
aacgacAdClientId :: Lens' AccountsAdClientsGetAdCode Text Source #
Ad client to get the code for.
aacgacAccountId :: Lens' AccountsAdClientsGetAdCode Text Source #
Account which contains the ad client.