gogol-affiliates-0.0.1: Google Affiliate Network SDK.

Copyright(c) 2015 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.Links.List

Contents

Description

Retrieves all links that match the query parameters.

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

Synopsis

REST Resource

type LinksListResource = "gan" :> ("v1beta1" :> (Capture "role" LinksListRole :> (Capture "roleId" Text :> ("links" :> (QueryParam "createDateMax" Text :> (QueryParam "authorship" LinksListAuthorship :> (QueryParams "assetSize" Text :> (QueryParam "relationshipStatus" LinksListRelationshipStatus :> (QueryParams "advertiserId" (Textual Int64) :> (QueryParam "searchText" Text :> (QueryParams "promotionType" LinksListPromotionType :> (QueryParam "createDateMin" Text :> (QueryParam "linkType" LinksListLinkType :> (QueryParam "pageToken" Text :> (QueryParam "startDateMax" Text :> (QueryParam "startDateMin" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Links)))))))))))))))))) Source

A resource alias for gan.links.list method which the LinksList request conforms to.

Creating a Request

data LinksList Source

Retrieves all links that match the query parameters.

See: linksList smart constructor.

Request Lenses

llCreateDateMax :: Lens' LinksList (Maybe Text) Source

The end of the create date range.

llAuthorship :: Lens' LinksList (Maybe LinksListAuthorship) Source

The role of the author of the link.

llAssetSize :: Lens' LinksList [Text] Source

The size of the given asset.

llAdvertiserId :: Lens' LinksList [Int64] Source

Limits the resulting links to the ones belonging to the listed advertisers.

llSearchText :: Lens' LinksList (Maybe Text) Source

Field for full text search across title and merchandising text, supports link id search.

llRoleId :: Lens' LinksList Text Source

The ID of the requesting advertiser or publisher.

llRole :: Lens' LinksList LinksListRole Source

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

llCreateDateMin :: Lens' LinksList (Maybe Text) Source

The beginning of the create date range.

llPageToken :: Lens' LinksList (Maybe Text) Source

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

llStartDateMax :: Lens' LinksList (Maybe Text) Source

The end of the start date range.

llStartDateMin :: Lens' LinksList (Maybe Text) Source

The beginning of the start date range.

llMaxResults :: Lens' LinksList (Maybe Word32) Source

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