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 |
Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.dynamicTargetingKeys.insert
.
Synopsis
- type DynamicTargetingKeysInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("dynamicTargetingKeys" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DynamicTargetingKey :> Post '[JSON] DynamicTargetingKey))))))
- dynamicTargetingKeysInsert :: Int64 -> DynamicTargetingKey -> DynamicTargetingKeysInsert
- data DynamicTargetingKeysInsert
- dtkiProFileId :: Lens' DynamicTargetingKeysInsert Int64
- dtkiPayload :: Lens' DynamicTargetingKeysInsert DynamicTargetingKey
REST Resource
type DynamicTargetingKeysInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("dynamicTargetingKeys" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DynamicTargetingKey :> Post '[JSON] DynamicTargetingKey)))))) Source #
A resource alias for dfareporting.dynamicTargetingKeys.insert
method which the
DynamicTargetingKeysInsert
request conforms to.
Creating a Request
dynamicTargetingKeysInsert Source #
Creates a value of DynamicTargetingKeysInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DynamicTargetingKeysInsert Source #
Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.
See: dynamicTargetingKeysInsert
smart constructor.
Instances
Request Lenses
dtkiProFileId :: Lens' DynamicTargetingKeysInsert Int64 Source #
User profile ID associated with this request.
dtkiPayload :: Lens' DynamicTargetingKeysInsert DynamicTargetingKey Source #
Multipart request metadata.