gogol-adexchange-buyer-0.4.0: Google Ad Exchange Buyer 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.AdExchangeBuyer.Creatives.List

Contents

Description

Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.

See: Ad Exchange Buyer API Reference for adexchangebuyer.creatives.list.

Synopsis

REST Resource

type CreativesListResource = "adexchangebuyer" :> ("v1.4" :> ("creatives" :> (QueryParams "buyerCreativeId" Text :> (QueryParam "openAuctionStatusFilter" CreativesListOpenAuctionStatusFilter :> (QueryParams "accountId" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "dealsStatusFilter" CreativesListDealsStatusFilter :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CreativesList))))))))) Source #

A resource alias for adexchangebuyer.creatives.list method which the CreativesList' request conforms to.

Creating a Request

creativesList' :: CreativesList' Source #

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

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

data CreativesList' Source #

Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.

See: creativesList' smart constructor.

Instances
Eq CreativesList' Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.List

Data CreativesList' Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.List

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 # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.List

Generic CreativesList' Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.List

Associated Types

type Rep CreativesList' :: Type -> Type #

GoogleRequest CreativesList' Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.List

Associated Types

type Rs CreativesList' :: Type #

type Scopes CreativesList' :: [Symbol] #

type Rep CreativesList' Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.List

type Rep CreativesList' = D1 (MetaData "CreativesList'" "Network.Google.Resource.AdExchangeBuyer.Creatives.List" "gogol-adexchange-buyer-0.4.0-EHd3Fo85oo55DtQ4u9aSwi" False) (C1 (MetaCons "CreativesList''" PrefixI True) ((S1 (MetaSel (Just "_clBuyerCreativeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_clOpenAuctionStatusFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CreativesListOpenAuctionStatusFilter)) :*: S1 (MetaSel (Just "_clAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int32])))) :*: (S1 (MetaSel (Just "_clPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_clDealsStatusFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CreativesListDealsStatusFilter)) :*: S1 (MetaSel (Just "_clMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes CreativesList' Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.List

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

Defined in Network.Google.Resource.AdExchangeBuyer.Creatives.List

Request Lenses

clBuyerCreativeId :: Lens' CreativesList' [Text] Source #

When specified, only creatives for the given buyer creative ids are returned.

clOpenAuctionStatusFilter :: Lens' CreativesList' (Maybe CreativesListOpenAuctionStatusFilter) Source #

When specified, only creatives having the given open auction status are returned.

clAccountId :: Lens' CreativesList' [Int32] Source #

When specified, only creatives for the given account ids are returned.

clPageToken :: Lens' CreativesList' (Maybe Text) Source #

A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. Optional.

clDealsStatusFilter :: Lens' CreativesList' (Maybe CreativesListDealsStatusFilter) Source #

When specified, only creatives having the given deals status are returned.

clMaxResults :: Lens' CreativesList' (Maybe Word32) Source #

Maximum number of entries returned on one result page. If not set, the default is 100. Optional.