Offerit API Creative Types
From Offerit
Revision as of 13:51, 1 February 2013 by OfferitMegan (talk | contribs)
This function allows you to get a list of available creative types.
NuSOAP Example
This example continues from the main article NuSOAP Example:
$result = $client->call('adtool_types', Array(), 'offeritapiadmin_wsdl');
Sample Output
14 adtool types were available, but have been reduced down to 4 for display:
Array ( [0] => Array ( [adtool_type_id] => 1 [adtool_category_id] => 1 [name] => Image Banners [description] => Image Banners ) [1] => Array ( [adtool_type_id] => 3 [adtool_category_id] => 6 [name] => Page Ads [description] => Half Page / Full Page Ads ) [2] => Array ( [adtool_type_id] => 5 [adtool_category_id] => 3 [name] => Feeds [description] => Feeds ) [3] => Array ( [adtool_type_id] => 6 [adtool_category_id] => 3 [name] => Mailers [description] => Mailing Ads ) )