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

Copyright(c) 2015-2016 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. This method supports paging.

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

Synopsis

REST Resource

type CreativesListResource = "dfareporting" :> ("v2.7" :> ("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

data CreativesList Source #

Retrieves a list of creatives, possibly filtered. This method supports paging.

See: creativesList smart constructor.

Instances

Eq CreativesList Source # 
Data CreativesList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreativesList -> c CreativesList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreativesList #

toConstr :: CreativesList -> Constr #

dataTypeOf :: CreativesList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreativesList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreativesList) #

gmapT :: (forall b. Data b => b -> b) -> CreativesList -> CreativesList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreativesList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreativesList -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreativesList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreativesList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreativesList -> m CreativesList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreativesList -> m CreativesList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreativesList -> m CreativesList #

Show CreativesList Source # 
Generic CreativesList Source # 

Associated Types

type Rep CreativesList :: * -> * #

GoogleRequest CreativesList Source # 

Associated Types

type Rs CreativesList :: * #

type Scopes CreativesList :: [Symbol] #

type Rep CreativesList Source # 
type Rep CreativesList = D1 (MetaData "CreativesList" "Network.Google.Resource.DFAReporting.Creatives.List" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "CreativesList'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cRenderingIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64]))) (S1 (MetaSel (Just Symbol "_cAdvertiserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))) ((:*:) (S1 (MetaSel (Just Symbol "_cSearchString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cSizeIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cCompanionCreativeIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64]))) (S1 (MetaSel (Just Symbol "_cCampaignId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))) ((:*:) (S1 (MetaSel (Just Symbol "_cTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CreativesListTypes]))) (S1 (MetaSel (Just Symbol "_cIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_cSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CreativesListSortOrder)))) ((:*:) (S1 (MetaSel (Just Symbol "_cActive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cCreativeFieldIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cSortField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CreativesListSortField)))) ((:*:) (S1 (MetaSel (Just Symbol "_cStudioCreativeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_cArchived") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))))))
type Scopes CreativesList Source # 
type Scopes CreativesList = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs CreativesList Source # 

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.