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 |
Retrieves a list of creative fields, possibly filtered. This method supports paging.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.creativeFields.list
.
Synopsis
- type CreativeFieldsListResource = "dfareporting" :> ("v3.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))))))))))))
- creativeFieldsList :: Int64 -> CreativeFieldsList
- data CreativeFieldsList
- cflSearchString :: Lens' CreativeFieldsList (Maybe Text)
- cflIds :: Lens' CreativeFieldsList [Int64]
- cflProFileId :: Lens' CreativeFieldsList Int64
- cflSortOrder :: Lens' CreativeFieldsList CreativeFieldsListSortOrder
- cflPageToken :: Lens' CreativeFieldsList (Maybe Text)
- cflSortField :: Lens' CreativeFieldsList CreativeFieldsListSortField
- cflAdvertiserIds :: Lens' CreativeFieldsList [Int64]
- cflMaxResults :: Lens' CreativeFieldsList Int32
REST Resource
type CreativeFieldsListResource = "dfareporting" :> ("v3.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
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:
data CreativeFieldsList Source #
Retrieves a list of creative fields, possibly filtered. This method supports paging.
See: creativeFieldsList
smart constructor.
Instances
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".
cflProFileId :: Lens' CreativeFieldsList Int64 Source #
User profile ID associated with this request.
cflSortOrder :: Lens' CreativeFieldsList CreativeFieldsListSortOrder Source #
Order of sorted results.
cflPageToken :: Lens' CreativeFieldsList (Maybe Text) Source #
Value of the nextPageToken from the previous result page.
cflSortField :: Lens' CreativeFieldsList CreativeFieldsListSortField Source #
Field by which to sort the list.
cflAdvertiserIds :: Lens' CreativeFieldsList [Int64] Source #
Select only creative fields that belong to these advertisers.
cflMaxResults :: Lens' CreativeFieldsList Int32 Source #
Maximum number of results to return.