Links

Description

Get the banner, text and flash links

URL(s)

https://apiv2.effiliation.com/apiv2/links.xml?key=YOUR_API_KEY
https://apiv2.effiliation.com/apiv2/links.csv?key=YOUR_API_KEY
https://apiv2.effiliation.com/apiv2/links.json?key=YOUR_API_KEY

Parameters

Parameter Format Description Example value
keyStringPublisher api keyYOUR_API_KEY
filterStringAllows to filter the link list on publisher programs or effiliation recommandationsmines(programs I am registered), recommendation(programs I am not registered), active(programs with activity), inactive(programs with no activity)
lgStringOutput languagefr, en, es, it, pt, de, nl
modeStringAllows to filter the link list on new programsnew
countryStringAllows to filter the link list on coverage countries, several values separated by commas can be setfr, ge, au, be, da, sp, gr, nl, it, uk, sw, sz, br, bu, cy, en, fi, hu, ei, lg, lh, lu, mt, pl, pt, ro, lo, si, cz, tu
categoriesStringAllows to filter the link list on advertiser categories id, several values separated by commas can be setA category ID is an integer value. Check our category API documentation
typeStringAllows to filter the link list on feed type, several values separated by commas can be set1(banner), 2(text link), 5(flash)
sessionsStringAllows to filter the link list on the given session ids, several values separated by commas can be setA session ID must be an integer value

Returned fields

Use fields selector to choose the fields you need. Eg: fields=00101.

Field Description Type
idString
id_lienEffiliation link unique IDInteger
id_typelienInteger
id_affilieurEffiliation advertiser unique IDInteger
id_sessionEffiliation session unique IDInteger
id_compteurEffiliation counter unique IDInteger
nomLink nameString
date_debutLink begin dateDate
date_finLink end dateDate
nomprogrammeProgram nameString
site_affilieurAdvertiser site nameString
url_affilieurAdvertiser urlString
url_logoAdvertiser logo urlString
typeLink typeString
url_redirLink redirection urlString
codeTracked url to useString
javascriptTracked javascript code to useString
nouveauString
tailleLink sizeString
urlbanBanner urlString
texteLink texteString

Examples

An XML feed with all my links

https://apiv2.effiliation.com/apiv2/links.xml?key=YOUR_API_KEY&filter=mines

An XML feed with all my new links

https://apiv2.effiliation.com/apiv2/links.xml?key=YOUR_API_KEY&filter=mines&mode=new

A CSV feed with all my banners and text links

https://apiv2.effiliation.com/apiv2/links.csv?key=YOUR_API_KEY&filter=mines&type=1,2

A JSON feed with links I'm not registered

https://apiv2.effiliation.com/apiv2/links.json?key=YOUR_API_KEY&filter=recommendation

An XML feed with all my new french and german links

https://apiv2.effiliation.com/apiv2/links.xml?key=YOUR_API_KEY&filter=mines&mode=new&country=fr,ge