SearchMyPrograms

 

SearchMyPrograms

This method returns a list of programs matching given search criteria.

To access live data, please use this WSDL file:
https://api.affili.net/V2.0/PublisherProgram.svc?wsdl
To access demo data, please use this WSDL file:
https://developer-api.affili.net/V2.0/PublisherProgram.svc?wsdl


Operation test

With this form, you can try out this web service. We already filled it out with a sample request which will return data. Feel free to fill in different parameter values - our test data reference gives you an overview of our sample data.

FieldTypeValues
PublisherId *int 
Querystring
CategoryIdsint array
ProgramTypeint
HtmlCreativeTypeint
TextCreativeTypeenum
BannerWidthComparisonOperatorenum
BannerWidthint
BannerHeightComparisonOperatorenum
BannerHeightint
CustomBannerRotationAvailablebool
PartnershipStatusenum
SubIdGrantFilter *enum

XML response

Short paramter definitions
PublisherId (int):
Id of the publisher whose account is being used.
Query (string):
This parameter defines the search query for which records ought to be returned.
CategoryIds (array of int):
This parameter defines in what categories the desired programs shall lie.
ProgramTypes (enum):
This parameter defines the commission type of the requested statistics. Possible values are: None, PayPerClick, PayPerSaleLead, CombinedProgram
HtmlCreativeType (enum):
This parameter specifies what kind of HTML creative the desired programs must offer. Possible values are: All, HTMLBanner, FlashBanner, Microsite, PopUp, PopUnder, Iframe, HTMLForm, FlashForm, ProductLink, BannerRotation
TextCreativeType (enum);
This parameter specifies what kind of text creative the desired programs must offer. Possible values are: All, Textlink, Linkgenerator, Microsite
BannerWidthComparisonOperator (enum):
This parameter defines how the requested width of the creative ought to be handled. This parameter refers to BannerWidth. Possible values are: Equals, GreaterThan, LessThan
BannerWidth (int):
In combination with the BannerWidthComparisonOperator parameter it defines the requested width of the creative.
BannerHeightComparisonOperator (enum):
This parameter defines how the requested height of the creative ought to be handled. This parameter refers to BannerHeight. Possible values are: Equals, GreaterThan, LessThan
BannerHeight (int):
In combination with the BannerHeightComparisonOperator parameter it defines the requested height of the creative.
PartnershipStatus (enum):
This parameter defines the partnership status of the programs that ought to be returned. Possible values are: NotApplied, Paused, Active, Cancelled, Declined, Waiting
SubIdGrantFilter (enum):
This parameter defines the SubId permission of the programs that ought to be returned. Possible values are: All, SubIdPermissionGranted, NoSubIdPermissionGranted
CustomBannerRotationAvailable (bool):
If this parameter is set to ‘true’, only programs providing banner rotations are listed.

Complete code examples

PHP

 (request)

.NET

 (request)

Copyright © 2008, affilinet GmbH