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.Creatives.List

Contents

Description

Retrieves a list of creatives, possibly filtered.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.creatives.list.

Synopsis

REST Resource

type CreativesListResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creatives" :> (QueryParams "renderingIds" (Textual Int64) :> (QueryParam "advertiserId" (Textual Int64) :> (QueryParam "searchString" Text :> (QueryParams "sizeIds" (Textual Int64) :> (QueryParams "companionCreativeIds" (Textual Int64) :> (QueryParam "campaignId" (Textual Int64) :> (QueryParams "types" CreativesListTypes :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" CreativesListSortOrder :> (QueryParam "active" Bool :> (QueryParams "creativeFieldIds" (Textual Int64) :> (QueryParam "pageToken" Text :> (QueryParam "sortField" CreativesListSortField :> (QueryParam "studioCreativeId" (Textual Int64) :> (QueryParam "archived" Bool :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` CreativesListResponse))))))))))))))))))))) Source

A resource alias for dfareporting.creatives.list method which the CreativesList request conforms to.

Creating a Request

Request Lenses

cRenderingIds :: Lens' CreativesList [Int64] Source

Select only creatives with these rendering IDs.

cAdvertiserId :: Lens' CreativesList (Maybe Int64) Source

Select only creatives with this advertiser ID.

cSearchString :: Lens' CreativesList (Maybe Text) Source

Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "creative*2015" will return objects with names like "creative June 2015", "creative April 2015", or simply "creative 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "creative" will match objects with name "my creative", "creative 2015", or simply "creative".

cSizeIds :: Lens' CreativesList [Int64] Source

Select only creatives with these size IDs.

cCompanionCreativeIds :: Lens' CreativesList [Int64] Source

Select only in-stream video creatives with these companion IDs.

cCampaignId :: Lens' CreativesList (Maybe Int64) Source

Select only creatives with this campaign ID.

cTypes :: Lens' CreativesList [CreativesListTypes] Source

Select only creatives with these creative types.

cIds :: Lens' CreativesList [Int64] Source

Select only creatives with these IDs.

cProFileId :: Lens' CreativesList Int64 Source

User profile ID associated with this request.

cSortOrder :: Lens' CreativesList (Maybe CreativesListSortOrder) Source

Order of sorted results, default is ASCENDING.

cActive :: Lens' CreativesList (Maybe Bool) Source

Select only active creatives. Leave blank to select active and inactive creatives.

cCreativeFieldIds :: Lens' CreativesList [Int64] Source

Select only creatives with these creative field IDs.

cPageToken :: Lens' CreativesList (Maybe Text) Source

Value of the nextPageToken from the previous result page.

cSortField :: Lens' CreativesList (Maybe CreativesListSortField) Source

Field by which to sort the list.

cStudioCreativeId :: Lens' CreativesList (Maybe Int64) Source

Select only creatives corresponding to this Studio creative ID.

cArchived :: Lens' CreativesList (Maybe Bool) Source

Select only archived creatives. Leave blank to select archived and unarchived creatives.

cMaxResults :: Lens' CreativesList (Maybe Int32) Source

Maximum number of results to return.