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 dynamic targeting keys.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.dynamicTargetingKeys.list
.
Synopsis
- type DynamicTargetingKeysListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("dynamicTargetingKeys" :> (QueryParam "objectType" DynamicTargetingKeysListObjectType :> (QueryParam "advertiserId" (Textual Int64) :> (QueryParam "objectId" (Textual Int64) :> (QueryParams "names" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DynamicTargetingKeysListResponse)))))))))
- dynamicTargetingKeysList :: Int64 -> DynamicTargetingKeysList
- data DynamicTargetingKeysList
- dtklObjectType :: Lens' DynamicTargetingKeysList (Maybe DynamicTargetingKeysListObjectType)
- dtklAdvertiserId :: Lens' DynamicTargetingKeysList (Maybe Int64)
- dtklObjectId :: Lens' DynamicTargetingKeysList (Maybe Int64)
- dtklProFileId :: Lens' DynamicTargetingKeysList Int64
- dtklNames :: Lens' DynamicTargetingKeysList [Text]
REST Resource
type DynamicTargetingKeysListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("dynamicTargetingKeys" :> (QueryParam "objectType" DynamicTargetingKeysListObjectType :> (QueryParam "advertiserId" (Textual Int64) :> (QueryParam "objectId" (Textual Int64) :> (QueryParams "names" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DynamicTargetingKeysListResponse))))))))) Source #
A resource alias for dfareporting.dynamicTargetingKeys.list
method which the
DynamicTargetingKeysList
request conforms to.
Creating a Request
dynamicTargetingKeysList Source #
Creates a value of DynamicTargetingKeysList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DynamicTargetingKeysList Source #
Retrieves a list of dynamic targeting keys.
See: dynamicTargetingKeysList
smart constructor.
Instances
Request Lenses
dtklObjectType :: Lens' DynamicTargetingKeysList (Maybe DynamicTargetingKeysListObjectType) Source #
Select only dynamic targeting keys with this object type.
dtklAdvertiserId :: Lens' DynamicTargetingKeysList (Maybe Int64) Source #
Select only dynamic targeting keys whose object has this advertiser ID.
dtklObjectId :: Lens' DynamicTargetingKeysList (Maybe Int64) Source #
Select only dynamic targeting keys with this object ID.
dtklProFileId :: Lens' DynamicTargetingKeysList Int64 Source #
User profile ID associated with this request.