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

Contents

Description

Retrieves a list of creative groups, possibly filtered.

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

Synopsis

REST Resource

type CreativeGroupsListResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creativeGroups" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" CreativeGroupsListSortOrder :> (QueryParam "groupNumber" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "sortField" CreativeGroupsListSortField :> (QueryParams "advertiserIds" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` CreativeGroupsListResponse))))))))))))) Source

A resource alias for dfareporting.creativeGroups.list method which the CreativeGroupsList request conforms to.

Creating a Request

creativeGroupsList Source

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

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

Request Lenses

cglSearchString :: Lens' CreativeGroupsList (Maybe Text) Source

Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will return creative groups with names like "creativegroup June 2015", "creativegroup April 2015", or simply "creativegroup 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 "creativegroup" will match creative groups with the name "my creativegroup", "creativegroup 2015", or simply "creativegroup".

cglIds :: Lens' CreativeGroupsList [Int64] Source

Select only creative groups with these IDs.

cglProFileId :: Lens' CreativeGroupsList Int64 Source

User profile ID associated with this request.

cglSortOrder :: Lens' CreativeGroupsList (Maybe CreativeGroupsListSortOrder) Source

Order of sorted results, default is ASCENDING.

cglGroupNumber :: Lens' CreativeGroupsList (Maybe Int32) Source

Select only creative groups that belong to this subgroup.

cglPageToken :: Lens' CreativeGroupsList (Maybe Text) Source

Value of the nextPageToken from the previous result page.

cglAdvertiserIds :: Lens' CreativeGroupsList [Int64] Source

Select only creative groups that belong to these advertisers.

cglMaxResults :: Lens' CreativeGroupsList (Maybe Int32) Source

Maximum number of results to return.