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

Contents

Description

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

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

Synopsis

REST Resource

type AdvertisersListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertisers" :> (QueryParam "status" AdvertisersListStatus :> (QueryParam "onlyParent" Bool :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "includeAdvertisersWithoutGroupsOnly" Bool :> (QueryParam "sortOrder" AdvertisersListSortOrder :> (QueryParams "advertiserGroupIds" (Textual Int64) :> (QueryParam "pageToken" Text :> (QueryParam "sortField" AdvertisersListSortField :> (QueryParam "subaccountId" (Textual Int64) :> (QueryParams "floodlightConfigurationIds" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdvertisersListResponse))))))))))))))))) Source #

A resource alias for dfareporting.advertisers.list method which the AdvertisersList request conforms to.

Creating a Request

data AdvertisersList Source #

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

See: advertisersList smart constructor.

Instances
Eq AdvertisersList Source # 
Instance details

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

Data AdvertisersList Source # 
Instance details

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

Methods

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

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

toConstr :: AdvertisersList -> Constr #

dataTypeOf :: AdvertisersList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdvertisersList Source # 
Instance details

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

Generic AdvertisersList Source # 
Instance details

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

Associated Types

type Rep AdvertisersList :: Type -> Type #

GoogleRequest AdvertisersList Source # 
Instance details

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

Associated Types

type Rs AdvertisersList :: Type #

type Scopes AdvertisersList :: [Symbol] #

type Rep AdvertisersList Source # 
Instance details

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

type Rep AdvertisersList = D1 (MetaData "AdvertisersList" "Network.Google.Resource.DFAReporting.Advertisers.List" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "AdvertisersList'" PrefixI True) (((S1 (MetaSel (Just "_allStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AdvertisersListStatus)) :*: (S1 (MetaSel (Just "_allOnlyParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_allSearchString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_allIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])) :*: (S1 (MetaSel (Just "_allIncludeAdvertisersWithoutGroupsOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_allProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))) :*: ((S1 (MetaSel (Just "_allSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AdvertisersListSortOrder) :*: (S1 (MetaSel (Just "_allAdvertiserGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])) :*: S1 (MetaSel (Just "_allPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_allSortField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AdvertisersListSortField) :*: S1 (MetaSel (Just "_allSubAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) :*: (S1 (MetaSel (Just "_allFloodlightConfigurationIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])) :*: S1 (MetaSel (Just "_allMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)))))))
type Scopes AdvertisersList Source # 
Instance details

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

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

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

Request Lenses

allStatus :: Lens' AdvertisersList (Maybe AdvertisersListStatus) Source #

Select only advertisers with the specified status.

allOnlyParent :: Lens' AdvertisersList (Maybe Bool) Source #

Select only advertisers which use another advertiser's floodlight configuration.

allSearchString :: Lens' AdvertisersList (Maybe Text) Source #

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

allIds :: Lens' AdvertisersList [Int64] Source #

Select only advertisers with these IDs.

allIncludeAdvertisersWithoutGroupsOnly :: Lens' AdvertisersList (Maybe Bool) Source #

Select only advertisers which do not belong to any advertiser group.

allProFileId :: Lens' AdvertisersList Int64 Source #

User profile ID associated with this request.

allAdvertiserGroupIds :: Lens' AdvertisersList [Int64] Source #

Select only advertisers with these advertiser group IDs.

allPageToken :: Lens' AdvertisersList (Maybe Text) Source #

Value of the nextPageToken from the previous result page.

allSubAccountId :: Lens' AdvertisersList (Maybe Int64) Source #

Select only advertisers with these subaccount IDs.

allFloodlightConfigurationIds :: Lens' AdvertisersList [Int64] Source #

Select only advertisers with these floodlight configuration IDs.

allMaxResults :: Lens' AdvertisersList Int32 Source #

Maximum number of results to return.