gogol-dfareporting-0.0.1: Google DCM/DFA Reporting And Trafficking SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.DFAReporting.Ads.Insert

Contents

Description

Inserts a new ad.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.ads.insert.

Synopsis

REST Resource

type AdsInsertResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Ad :> Post `[JSON]` Ad)))))) Source

A resource alias for dfareporting.ads.insert method which the AdsInsert request conforms to.

Creating a Request

adsInsert Source

Creates a value of AdsInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

aiProFileId :: Lens' AdsInsert Int64 Source

User profile ID associated with this request.

aiPayload :: Lens' AdsInsert Ad Source

Multipart request metadata.