Offerit API Get Landing Page Details
From Offerit
This function allows you to get the details for a landing page. The parameter that needs to be passed in is:
- landing_page - The ID(s) of the landing page you want to get details for. To pass more than one ID, enter the ids as a comma separated list. Also, if you wish to grab all landing page IDs, you can leave the field blank.
NuSOAP Example
This example continues from the main article NuSOAP Example:
$values = Array( 'landing_page' => '2,6', 'start' => 0, 'count' => 500, ); $result = $client->call('get_landing_page_details', $values, 'offeritapiadmin_wsdl');
Sample Output
Array ( [0] => Array ( [advertiser_username] => [advertiserid] => 0 [approvalpost] => [authorized_countries] => Array ( [0] => Array ( [country] => United States ) [1] => Array ( [country] => United States Minor Outlying Isl. ) ) [change_detailspost] => [conversion_type] => Iframe [cost_flat] => 0 [cost_type] => [denypost] => [description] => Offer description. [hidden] => 0 [initial] => $0.00 [initial_days] => 0 [internal_desc] => [landing_page_language] => English [landing_page_type] => Standard [landing_pageid] => 1 [linkdomain] => dev.com [name] => My Test Offer 1 [offerid] => 1 [pending_approvalpost] => [preview_url] => http://dev.com [private] => Public [rebill] => $0.00 [rebill_days] => 0 [thumbnail_url] => http://dev.com/view_banner.php?id=offer_thumb_1&type=&name= [unauthorized_countries] => Array ( [0] => Array ( [country] => Aeland Islands ) [1] => Array ( [country] => Afghanistan ) [2] => Array ( [country] => Albania ) [3] => Array ( [country] => Algeria ) [4] => Array ( [country] => American Samoa ) [5] => Array ( [country] => Andorra ) [6] => Array ( [country] => Angola ) ... ... [246] => Array ( [country] => Zimbabwe ) ) [url] => http://dev.com [userpost] => [void_reversal_post] => [voidpost] => ) )