gogol-affiliates-0.1.0: 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.Publishers.List

Contents

Description

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

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

Synopsis

REST Resource

type PublishersListResource = "gan" :> ("v1beta1" :> (Capture "role" PublishersListRole :> (Capture "roleId" Text :> ("publishers" :> (QueryParam "relationshipStatus" PublishersListRelationshipStatus :> (QueryParam "minSevenDayEpc" (Textual Double) :> (QueryParam "minNinetyDayEpc" (Textual Double) :> (QueryParam "minPayoutRank" (Textual Int32) :> (QueryParam "pageToken" Text :> (QueryParam "publisherCategory" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Publishers)))))))))))) Source #

A resource alias for gan.publishers.list method which the PublishersList request conforms to.

Creating a Request

publishersList Source #

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

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

data PublishersList Source #

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

See: publishersList smart constructor.

Instances

Eq PublishersList Source # 
Data PublishersList Source # 

Methods

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

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

toConstr :: PublishersList -> Constr #

dataTypeOf :: PublishersList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PublishersList Source # 
Generic PublishersList Source # 

Associated Types

type Rep PublishersList :: * -> * #

GoogleRequest PublishersList Source # 
type Rep PublishersList Source # 
type Scopes PublishersList Source # 
type Rs PublishersList Source # 

Request Lenses

plRelationshipStatus :: Lens' PublishersList (Maybe PublishersListRelationshipStatus) Source #

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

plMinSevenDayEpc :: Lens' PublishersList (Maybe Double) Source #

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

plRoleId :: Lens' PublishersList Text Source #

The ID of the requesting advertiser or publisher.

plMinNinetyDayEpc :: Lens' PublishersList (Maybe Double) Source #

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

plRole :: Lens' PublishersList PublishersListRole Source #

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

plMinPayoutRank :: Lens' PublishersList (Maybe Int32) Source #

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

plPageToken :: Lens' PublishersList (Maybe Text) Source #

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

plPublisherCategory :: Lens' PublishersList (Maybe Text) Source #

Caret(^) delimted list of publisher categories. Valid categories: (unclassified|community_and_content|shopping_and_promotion|loyalty_and_rewards|network|search_specialist|comparison_shopping|email). Filters out all publishers not in one of the given advertiser categories. Optional.

plMaxResults :: Lens' PublishersList (Maybe Word32) Source #

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