gogol-affiliates-0.1.1: Google Affiliate Network 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.GAN.Advertisers.List

Contents

Description

Retrieves data about all advertisers that the requesting advertiser/publisher has access to.

See: Google Affiliate Network API Reference for gan.advertisers.list.

Synopsis

REST Resource

type AdvertisersListResource = "gan" :> ("v1beta1" :> (Capture "role" AdvertisersListRole :> (Capture "roleId" Text :> ("advertisers" :> (QueryParam "relationshipStatus" AdvertisersListRelationshipStatus :> (QueryParam "minSevenDayEpc" (Textual Double) :> (QueryParam "minNinetyDayEpc" (Textual Double) :> (QueryParam "minPayoutRank" (Textual Int32) :> (QueryParam "advertiserCategory" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Advertisers)))))))))))) Source #

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

Creating a Request

advertisersList Source #

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

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

data AdvertisersList Source #

Retrieves data about all advertisers that the requesting advertiser/publisher has access to.

See: advertisersList smart constructor.

Instances

Eq AdvertisersList Source # 
Data AdvertisersList Source # 

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 # 
Generic AdvertisersList Source # 
GoogleRequest AdvertisersList Source # 
type Rep AdvertisersList Source # 
type Scopes AdvertisersList Source # 
type Rs AdvertisersList Source # 

Request Lenses

alRelationshipStatus :: Lens' AdvertisersList (Maybe AdvertisersListRelationshipStatus) Source #

Filters out all advertisers for which do not have the given relationship status with the requesting publisher.

alMinSevenDayEpc :: Lens' AdvertisersList (Maybe Double) Source #

Filters out all advertisers that have a seven day EPC average lower than the given value (inclusive). Min value: 0.0. Optional.

alRoleId :: Lens' AdvertisersList Text Source #

The ID of the requesting advertiser or publisher.

alMinNinetyDayEpc :: Lens' AdvertisersList (Maybe Double) Source #

Filters out all advertisers that have a ninety day EPC average lower than the given value (inclusive). Min value: 0.0. Optional.

alRole :: Lens' AdvertisersList AdvertisersListRole Source #

The role of the requester. Valid values: 'advertisers' or 'publishers'.

alMinPayoutRank :: Lens' AdvertisersList (Maybe Int32) Source #

A value between 1 and 4, where 1 represents the quartile of advertisers with the lowest ranks and 4 represents the quartile of advertisers with the highest ranks. Filters out all advertisers with a lower rank than the given quartile. For example if a 2 was given only advertisers with a payout rank of 25 or higher would be included. Optional.

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

Caret(^) delimted list of advertiser categories. Valid categories are defined here: http://www.google.com/support/affiliatenetwork/advertiser/bin/answer.py?hl=en&answer=107581. Filters out all advertisers not in one of the given advertiser categories. Optional.

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

The value of 'nextPageToken' from the previous page. Optional.

alMaxResults :: Lens' AdvertisersList (Maybe Word32) Source #

Max number of items to return in this page. Optional. Defaults to 20.