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 |
Retrieves a list of conversions from a DoubleClick Search engine account.
See: DoubleClick Search API Reference for doubleclicksearch.conversion.get
.
Synopsis
- type ConversionGetResource = "doubleclicksearch" :> ("v2" :> ("agency" :> (Capture "agencyId" (Textual Int64) :> ("advertiser" :> (Capture "advertiserId" (Textual Int64) :> ("engine" :> (Capture "engineAccountId" (Textual Int64) :> ("conversion" :> (QueryParam "endDate" (Textual Int32) :> (QueryParam "rowCount" (Textual Int32) :> (QueryParam "startDate" (Textual Int32) :> (QueryParam "startRow" (Textual Word32) :> (QueryParam "adGroupId" (Textual Int64) :> (QueryParam "campaignId" (Textual Int64) :> (QueryParam "criterionId" (Textual Int64) :> (QueryParam "adId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ConversionList)))))))))))))))))
- conversionGet :: Int64 -> Int64 -> Int64 -> Int32 -> Int32 -> Word32 -> Int32 -> ConversionGet
- data ConversionGet
- cgAdGroupId :: Lens' ConversionGet (Maybe Int64)
- cgEngineAccountId :: Lens' ConversionGet Int64
- cgAgencyId :: Lens' ConversionGet Int64
- cgAdvertiserId :: Lens' ConversionGet Int64
- cgEndDate :: Lens' ConversionGet Int32
- cgCampaignId :: Lens' ConversionGet (Maybe Int64)
- cgCriterionId :: Lens' ConversionGet (Maybe Int64)
- cgStartDate :: Lens' ConversionGet Int32
- cgStartRow :: Lens' ConversionGet Word32
- cgAdId :: Lens' ConversionGet (Maybe Int64)
- cgRowCount :: Lens' ConversionGet Int32
REST Resource
type ConversionGetResource = "doubleclicksearch" :> ("v2" :> ("agency" :> (Capture "agencyId" (Textual Int64) :> ("advertiser" :> (Capture "advertiserId" (Textual Int64) :> ("engine" :> (Capture "engineAccountId" (Textual Int64) :> ("conversion" :> (QueryParam "endDate" (Textual Int32) :> (QueryParam "rowCount" (Textual Int32) :> (QueryParam "startDate" (Textual Int32) :> (QueryParam "startRow" (Textual Word32) :> (QueryParam "adGroupId" (Textual Int64) :> (QueryParam "campaignId" (Textual Int64) :> (QueryParam "criterionId" (Textual Int64) :> (QueryParam "adId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] ConversionList))))))))))))))))) Source #
A resource alias for doubleclicksearch.conversion.get
method which the
ConversionGet
request conforms to.
Creating a Request
Creates a value of ConversionGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ConversionGet Source #
Retrieves a list of conversions from a DoubleClick Search engine account.
See: conversionGet
smart constructor.
Instances
Request Lenses
cgAdGroupId :: Lens' ConversionGet (Maybe Int64) Source #
Numeric ID of the ad group.
cgEngineAccountId :: Lens' ConversionGet Int64 Source #
Numeric ID of the engine account.
cgAgencyId :: Lens' ConversionGet Int64 Source #
Numeric ID of the agency.
cgAdvertiserId :: Lens' ConversionGet Int64 Source #
Numeric ID of the advertiser.
cgEndDate :: Lens' ConversionGet Int32 Source #
Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
cgCampaignId :: Lens' ConversionGet (Maybe Int64) Source #
Numeric ID of the campaign.
cgCriterionId :: Lens' ConversionGet (Maybe Int64) Source #
Numeric ID of the criterion.
cgStartDate :: Lens' ConversionGet Int32 Source #
First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
cgStartRow :: Lens' ConversionGet Word32 Source #
The 0-based starting index for retrieving conversions results.
cgRowCount :: Lens' ConversionGet Int32 Source #
The number of conversions to return per call.