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 |
Gets the status for a single creative. A creative will be available 30-40 minutes after submission.
See: Ad Exchange Buyer API Reference for adexchangebuyer.creatives.get
.
- type CreativesGetResource = "adexchangebuyer" :> ("v1.4" :> ("creatives" :> (Capture "accountId" (Textual Int32) :> (Capture "buyerCreativeId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Creative)))))
- creativesGet :: Text -> Int32 -> CreativesGet
- data CreativesGet
- cgBuyerCreativeId :: Lens' CreativesGet Text
- cgAccountId :: Lens' CreativesGet Int32
REST Resource
type CreativesGetResource = "adexchangebuyer" :> ("v1.4" :> ("creatives" :> (Capture "accountId" (Textual Int32) :> (Capture "buyerCreativeId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Creative))))) Source #
A resource alias for adexchangebuyer.creatives.get
method which the
CreativesGet
request conforms to.
Creating a Request
Creates a value of CreativesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreativesGet Source #
Gets the status for a single creative. A creative will be available 30-40 minutes after submission.
See: creativesGet
smart constructor.
Request Lenses
cgBuyerCreativeId :: Lens' CreativesGet Text Source #
The buyer-specific id for this creative.
cgAccountId :: Lens' CreativesGet Int32 Source #
The id for the account that will serve this creative.