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

Contents

Description

Retrieves a list of creative fields, possibly filtered.

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

Synopsis

REST Resource

type CreativeFieldsListResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creativeFields" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" CreativeFieldsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" CreativeFieldsListSortField :> (QueryParams "advertiserIds" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` CreativeFieldsListResponse)))))))))))) Source

A resource alias for dfareporting.creativeFields.list method which the CreativeFieldsList request conforms to.

Creating a Request

creativeFieldsList Source

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

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

Request Lenses

cflSearchString :: Lens' CreativeFieldsList (Maybe Text) Source

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

cflIds :: Lens' CreativeFieldsList [Int64] Source

Select only creative fields with these IDs.

cflProFileId :: Lens' CreativeFieldsList Int64 Source

User profile ID associated with this request.

cflSortOrder :: Lens' CreativeFieldsList (Maybe CreativeFieldsListSortOrder) Source

Order of sorted results, default is ASCENDING.

cflPageToken :: Lens' CreativeFieldsList (Maybe Text) Source

Value of the nextPageToken from the previous result page.

cflAdvertiserIds :: Lens' CreativeFieldsList [Int64] Source

Select only creative fields that belong to these advertisers.

cflMaxResults :: Lens' CreativeFieldsList (Maybe Int32) Source

Maximum number of results to return.