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 |
Updates an existing pretargeting config.
See: Ad Exchange Buyer API Reference for adexchangebuyer.pretargetingConfig.update
.
Synopsis
- type PretargetingConfigUpdateResource = "adexchangebuyer" :> ("v1.4" :> ("pretargetingconfigs" :> (Capture "accountId" (Textual Int64) :> (Capture "configId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PretargetingConfig :> Put '[JSON] PretargetingConfig))))))
- pretargetingConfigUpdate :: PretargetingConfig -> Int64 -> Int64 -> PretargetingConfigUpdate
- data PretargetingConfigUpdate
- pcuPayload :: Lens' PretargetingConfigUpdate PretargetingConfig
- pcuAccountId :: Lens' PretargetingConfigUpdate Int64
- pcuConfigId :: Lens' PretargetingConfigUpdate Int64
REST Resource
type PretargetingConfigUpdateResource = "adexchangebuyer" :> ("v1.4" :> ("pretargetingconfigs" :> (Capture "accountId" (Textual Int64) :> (Capture "configId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PretargetingConfig :> Put '[JSON] PretargetingConfig)))))) Source #
A resource alias for adexchangebuyer.pretargetingConfig.update
method which the
PretargetingConfigUpdate
request conforms to.
Creating a Request
pretargetingConfigUpdate Source #
Creates a value of PretargetingConfigUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PretargetingConfigUpdate Source #
Updates an existing pretargeting config.
See: pretargetingConfigUpdate
smart constructor.
Instances
Request Lenses
pcuPayload :: Lens' PretargetingConfigUpdate PretargetingConfig Source #
Multipart request metadata.
pcuAccountId :: Lens' PretargetingConfigUpdate Int64 Source #
The account id to update the pretargeting config for.
pcuConfigId :: Lens' PretargetingConfigUpdate Int64 Source #
The specific id of the configuration to update.