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 |
Inserts a new pretargeting configuration.
See: Ad Exchange Buyer API Reference for adexchangebuyer.pretargetingConfig.insert
.
Synopsis
- type PretargetingConfigInsertResource = "adexchangebuyer" :> ("v1.4" :> ("pretargetingconfigs" :> (Capture "accountId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PretargetingConfig :> Post '[JSON] PretargetingConfig)))))
- pretargetingConfigInsert :: PretargetingConfig -> Int64 -> PretargetingConfigInsert
- data PretargetingConfigInsert
- pciPayload :: Lens' PretargetingConfigInsert PretargetingConfig
- pciAccountId :: Lens' PretargetingConfigInsert Int64
REST Resource
type PretargetingConfigInsertResource = "adexchangebuyer" :> ("v1.4" :> ("pretargetingconfigs" :> (Capture "accountId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PretargetingConfig :> Post '[JSON] PretargetingConfig))))) Source #
A resource alias for adexchangebuyer.pretargetingConfig.insert
method which the
PretargetingConfigInsert
request conforms to.
Creating a Request
pretargetingConfigInsert Source #
Creates a value of PretargetingConfigInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PretargetingConfigInsert Source #
Inserts a new pretargeting configuration.
See: pretargetingConfigInsert
smart constructor.
Instances
Request Lenses
pciPayload :: Lens' PretargetingConfigInsert PretargetingConfig Source #
Multipart request metadata.
pciAccountId :: Lens' PretargetingConfigInsert Int64 Source #
The account id to insert the pretargeting config for.