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 a batch of conversions in DoubleClick Search. This method supports patch semantics.
See: DoubleClick Search API Reference for doubleclicksearch.conversion.patch
.
Synopsis
- type ConversionPatchResource = "doubleclicksearch" :> ("v2" :> ("conversion" :> (QueryParam "advertiserId" (Textual Int64) :> (QueryParam "agencyId" (Textual Int64) :> (QueryParam "endDate" (Textual Int32) :> (QueryParam "engineAccountId" (Textual Int64) :> (QueryParam "rowCount" (Textual Int32) :> (QueryParam "startDate" (Textual Int32) :> (QueryParam "startRow" (Textual Word32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ConversionList :> Patch '[JSON] ConversionList)))))))))))
- conversionPatch :: Int64 -> Int64 -> Int64 -> Int32 -> ConversionList -> Int32 -> Word32 -> Int32 -> ConversionPatch
- data ConversionPatch
- cpEngineAccountId :: Lens' ConversionPatch Int64
- cpAgencyId :: Lens' ConversionPatch Int64
- cpAdvertiserId :: Lens' ConversionPatch Int64
- cpEndDate :: Lens' ConversionPatch Int32
- cpPayload :: Lens' ConversionPatch ConversionList
- cpStartDate :: Lens' ConversionPatch Int32
- cpStartRow :: Lens' ConversionPatch Word32
- cpRowCount :: Lens' ConversionPatch Int32
REST Resource
type ConversionPatchResource = "doubleclicksearch" :> ("v2" :> ("conversion" :> (QueryParam "advertiserId" (Textual Int64) :> (QueryParam "agencyId" (Textual Int64) :> (QueryParam "endDate" (Textual Int32) :> (QueryParam "engineAccountId" (Textual Int64) :> (QueryParam "rowCount" (Textual Int32) :> (QueryParam "startDate" (Textual Int32) :> (QueryParam "startRow" (Textual Word32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ConversionList :> Patch '[JSON] ConversionList))))))))))) Source #
A resource alias for doubleclicksearch.conversion.patch
method which the
ConversionPatch
request conforms to.
Creating a Request
:: Int64 | |
-> Int64 | |
-> Int64 | |
-> Int32 | |
-> ConversionList | |
-> Int32 | |
-> Word32 | |
-> Int32 | |
-> ConversionPatch |
Creates a value of ConversionPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ConversionPatch Source #
Updates a batch of conversions in DoubleClick Search. This method supports patch semantics.
See: conversionPatch
smart constructor.
Instances
Request Lenses
cpEngineAccountId :: Lens' ConversionPatch Int64 Source #
Numeric ID of the engine account.
cpAgencyId :: Lens' ConversionPatch Int64 Source #
Numeric ID of the agency.
cpAdvertiserId :: Lens' ConversionPatch Int64 Source #
Numeric ID of the advertiser.
cpEndDate :: Lens' ConversionPatch Int32 Source #
Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
cpPayload :: Lens' ConversionPatch ConversionList Source #
Multipart request metadata.
cpStartDate :: Lens' ConversionPatch Int32 Source #
First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
cpStartRow :: Lens' ConversionPatch Word32 Source #
The 0-based starting index for retrieving conversions results.
cpRowCount :: Lens' ConversionPatch Int32 Source #
The number of conversions to return per call.