Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves all links that match the query parameters.
See: Google Affiliate Network API Reference for gan.links.list
.
- 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))))))))))))))))))
- linksList :: Text -> LinksListRole -> LinksList
- data LinksList
- llCreateDateMax :: Lens' LinksList (Maybe Text)
- llAuthorship :: Lens' LinksList (Maybe LinksListAuthorship)
- llAssetSize :: Lens' LinksList [Text]
- llRelationshipStatus :: Lens' LinksList (Maybe LinksListRelationshipStatus)
- llAdvertiserId :: Lens' LinksList [Int64]
- llSearchText :: Lens' LinksList (Maybe Text)
- llPromotionType :: Lens' LinksList [LinksListPromotionType]
- llRoleId :: Lens' LinksList Text
- llRole :: Lens' LinksList LinksListRole
- llCreateDateMin :: Lens' LinksList (Maybe Text)
- llLinkType :: Lens' LinksList (Maybe LinksListLinkType)
- llPageToken :: Lens' LinksList (Maybe Text)
- llStartDateMax :: Lens' LinksList (Maybe Text)
- llStartDateMin :: Lens' LinksList (Maybe Text)
- llMaxResults :: Lens' LinksList (Maybe Word32)
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
Creates a value of LinksList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves all links that match the query parameters.
See: linksList
smart constructor.
Request Lenses
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.
llRelationshipStatus :: Lens' LinksList (Maybe LinksListRelationshipStatus) Source
The status of the relationship.
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.
llPromotionType :: Lens' LinksList [LinksListPromotionType] Source
The promotion type.
llRole :: Lens' LinksList LinksListRole Source
The role of the requester. Valid values: 'advertisers' or 'publishers'.
llLinkType :: Lens' LinksList (Maybe LinksListLinkType) Source
The type of the link.