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