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 information about the selected Ad Exchange Preferred Deal.
See: Ad Exchange Seller API Reference for adexchangeseller.accounts.preferreddeals.get
.
Synopsis
- type AccountsPreferredDealsGetResource = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("preferreddeals" :> (Capture "dealId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] PreferredDeal))))))
- accountsPreferredDealsGet :: Text -> Text -> AccountsPreferredDealsGet
- data AccountsPreferredDealsGet
- apdgDealId :: Lens' AccountsPreferredDealsGet Text
- apdgAccountId :: Lens' AccountsPreferredDealsGet Text
REST Resource
type AccountsPreferredDealsGetResource = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("preferreddeals" :> (Capture "dealId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] PreferredDeal)))))) Source #
A resource alias for adexchangeseller.accounts.preferreddeals.get
method which the
AccountsPreferredDealsGet
request conforms to.
Creating a Request
accountsPreferredDealsGet Source #
Creates a value of AccountsPreferredDealsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsPreferredDealsGet Source #
Get information about the selected Ad Exchange Preferred Deal.
See: accountsPreferredDealsGet
smart constructor.
Instances
Request Lenses
apdgDealId :: Lens' AccountsPreferredDealsGet Text Source #
Preferred deal to get information about.
apdgAccountId :: Lens' AccountsPreferredDealsGet Text Source #
Account owning the deal.