gogol-dfareporting-0.4.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.TargetingTemplates.List

Contents

Description

Retrieves a list of targeting templates, optionally filtered. This method supports paging.

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

Synopsis

REST Resource

type TargetingTemplatesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("targetingTemplates" :> (QueryParam "advertiserId" (Textual Int64) :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" TargetingTemplatesListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" TargetingTemplatesListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TargetingTemplatesListResponse)))))))))))) Source #

A resource alias for dfareporting.targetingTemplates.list method which the TargetingTemplatesList request conforms to.

Creating a Request

targetingTemplatesList Source #

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

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

data TargetingTemplatesList Source #

Retrieves a list of targeting templates, optionally filtered. This method supports paging.

See: targetingTemplatesList smart constructor.

Instances
Eq TargetingTemplatesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.TargetingTemplates.List

Data TargetingTemplatesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.TargetingTemplates.List

Methods

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

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

toConstr :: TargetingTemplatesList -> Constr #

dataTypeOf :: TargetingTemplatesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TargetingTemplatesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.TargetingTemplates.List

Generic TargetingTemplatesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.TargetingTemplates.List

Associated Types

type Rep TargetingTemplatesList :: Type -> Type #

GoogleRequest TargetingTemplatesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.TargetingTemplates.List

type Rep TargetingTemplatesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.TargetingTemplates.List

type Scopes TargetingTemplatesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.TargetingTemplates.List

type Scopes TargetingTemplatesList = "https://www.googleapis.com/auth/dfatrafficking" ': ([] :: [Symbol])
type Rs TargetingTemplatesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.TargetingTemplates.List

Request Lenses

ttlAdvertiserId :: Lens' TargetingTemplatesList (Maybe Int64) Source #

Select only targeting templates with this advertiser ID.

ttlSearchString :: Lens' TargetingTemplatesList (Maybe Text) Source #

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

ttlIds :: Lens' TargetingTemplatesList [Int64] Source #

Select only targeting templates with these IDs.

ttlProFileId :: Lens' TargetingTemplatesList Int64 Source #

User profile ID associated with this request.

ttlPageToken :: Lens' TargetingTemplatesList (Maybe Text) Source #

Value of the nextPageToken from the previous result page.

ttlMaxResults :: Lens' TargetingTemplatesList Int32 Source #

Maximum number of results to return.