Offerit API Get Landing Page Details

From Offerit
Revision as of 15:25, 1 February 2013 by OfferitMegan (talk | contribs)

Jump to: navigation, search

This function allows you to get the details for an offer. The parameter that needs to be passes 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', 
   );
   
$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
                        )

                    [7] => Array
                        (
                            [country] => Anguilla
                        )

                    [8] => Array
                        (
                            [country] => Antarctica
                        )

                    [9] => Array
                        (
                            [country] => Antigua And Barbuda
                        )

                    [10] => Array
                        (
                            [country] => Argentina
                        )

                    [11] => Array
                        (
                            [country] => Armenia
                        )

                    [12] => Array
                        (
                            [country] => Aruba
                        )

                    [13] => Array
                        (
                            [country] => Australia
                        )

                    [14] => Array
                        (
                            [country] => Austria
                        )

                    [15] => Array
                        (
                            [country] => Azerbaijan
                        )

                    [16] => Array
                        (
                            [country] => Bahamas
                        )

                    [17] => Array
                        (
                            [country] => Bahrain
                        )

                    [18] => Array
                        (
                            [country] => Bangladesh
                        )

                    [19] => Array
                        (
                            [country] => Barbados
                        )

                    [20] => Array
                        (
                            [country] => Belarus
                        )

                    [21] => Array
                        (
                            [country] => Belgium
                        )

                    [22] => Array
                        (
                            [country] => Belize
                        )

                    [23] => Array
                        (
                            [country] => Benin
                        )

                    [24] => Array
                        (
                            [country] => Bermuda
                        )

                    [25] => Array
                        (
                            [country] => Bhutan
                        )

                    [26] => Array
                        (
                            [country] => Bolivia
                        )

                    [27] => Array
                        (
                            [country] => Bosnia And Herzegowina
                        )

                    [28] => Array
                        (
                            [country] => Botswana
                        )

                    [29] => Array
                        (
                            [country] => Bouvet Island
                        )

                    [30] => Array
                        (
                            [country] => Brazil
                        )

                    [31] => Array
                        (
                            [country] => British Indian Ocean
                        )

                    [32] => Array
                        (
                            [country] => Brunei Darussalam
                        )

                    [33] => Array
                        (
                            [country] => Bulgaria
                        )

                    [34] => Array
                        (
                            [country] => Burkina Faso
                        )

                    [35] => Array
                        (
                            [country] => Burundi
                        )

                    [36] => Array
                        (
                            [country] => Cambodia
                        )

                    [37] => Array
                        (
                            [country] => Cameroon
                        )

                    [38] => Array
                        (
                            [country] => Canada
                        )

                    [39] => Array
                        (
                            [country] => Cape Verde
                        )

                    [40] => Array
                        (
                            [country] => Cayman Islands
                        )

                    [41] => Array
                        (
                            [country] => Central African Republic
                        )

                    [42] => Array
                        (
                            [country] => Chad
                        )

                    [43] => Array
                        (
                            [country] => Chile
                        )

                    [44] => Array
                        (
                            [country] => China
                        )

                    [45] => Array
                        (
                            [country] => Christmas Island
                        )

                    [46] => Array
                        (
                            [country] => Cocos (keeling) Islands
                        )

                    [47] => Array
                        (
                            [country] => Colombia
                        )

                    [48] => Array
                        (
                            [country] => Comoros
                        )

                    [49] => Array
                        (
                            [country] => Congo
                        )

                    [50] => Array
                        (
                            [country] => Congo, Democratic Republic of the
                        )

                    [51] => Array
                        (
                            [country] => Cook Islands
                        )

                    [52] => Array
                        (
                            [country] => Costa Rica
                        )

                    [53] => Array
                        (
                            [country] => Cote D'ivoire
                        )

                    [54] => Array
                        (
                            [country] => Croatia
                        )

                    [55] => Array
                        (
                            [country] => Cuba
                        )

                    [56] => Array
                        (
                            [country] => Cyprus
                        )

                    [57] => Array
                        (
                            [country] => Czech Republic
                        )

                    [58] => Array
                        (
                            [country] => Denmark
                        )

                    [59] => Array
                        (
                            [country] => Djibouti
                        )

                    [60] => Array
                        (
                            [country] => Dominica
                        )

                    [61] => Array
                        (
                            [country] => Dominican Republic
                        )

                    [62] => Array
                        (
                            [country] => East Timor
                        )

                    [63] => Array
                        (
                            [country] => Ecuador
                        )

                    [64] => Array
                        (
                            [country] => Egypt
                        )

                    [65] => Array
                        (
                            [country] => El Salvador
                        )

                    [66] => Array
                        (
                            [country] => Equatorial Guinea
                        )

                    [67] => Array
                        (
                            [country] => Eritrea
                        )

                    [68] => Array
                        (
                            [country] => Estonia
                        )

                    [69] => Array
                        (
                            [country] => Ethiopia
                        )

                    [70] => Array
                        (
                            [country] => Falkland Islands
                        )

                    [71] => Array
                        (
                            [country] => Faroe Islands
                        )

                    [72] => Array
                        (
                            [country] => Fiji
                        )

                    [73] => Array
                        (
                            [country] => Finland
                        )

                    [74] => Array
                        (
                            [country] => France
                        )

                    [75] => Array
                        (
                            [country] => France, Metropolitan
                        )

                    [76] => Array
                        (
                            [country] => French Guiana
                        )

                    [77] => Array
                        (
                            [country] => French Polynesia
                        )

                    [78] => Array
                        (
                            [country] => French Southern Territories
                        )

                    [79] => Array
                        (
                            [country] => Gabon
                        )

                    [80] => Array
                        (
                            [country] => Gambia
                        )

                    [81] => Array
                        (
                            [country] => Georgia
                        )

                    [82] => Array
                        (
                            [country] => Germany
                        )

                    [83] => Array
                        (
                            [country] => Ghana
                        )

                    [84] => Array
                        (
                            [country] => Gibraltar
                        )

                    [85] => Array
                        (
                            [country] => Greece
                        )

                    [86] => Array
                        (
                            [country] => Greenland
                        )

                    [87] => Array
                        (
                            [country] => Grenada
                        )

                    [88] => Array
                        (
                            [country] => Guadeloupe
                        )

                    [89] => Array
                        (
                            [country] => Guam
                        )

                    [90] => Array
                        (
                            [country] => Guatemala
                        )

                    [91] => Array
                        (
                            [country] => Guernsey
                        )

                    [92] => Array
                        (
                            [country] => Guinea
                        )

                    [93] => Array
                        (
                            [country] => Guinea-bissau
                        )

                    [94] => Array
                        (
                            [country] => Guyana
                        )

                    [95] => Array
                        (
                            [country] => Haiti
                        )

                    [96] => Array
                        (
                            [country] => Heard And Mc Donald Isl.
                        )

                    [97] => Array
                        (
                            [country] => Honduras
                        )

                    [98] => Array
                        (
                            [country] => Hong Kong
                        )

                    [99] => Array
                        (
                            [country] => Hungary
                        )

                    [100] => Array
                        (
                            [country] => Iceland
                        )

                    [101] => Array
                        (
                            [country] => Isle of Man
                        )

                    [102] => Array
                        (
                            [country] => India
                        )

                    [103] => Array
                        (
                            [country] => Indonesia
                        )

                    [104] => Array
                        (
                            [country] => Iran
                        )

                    [105] => Array
                        (
                            [country] => Iraq
                        )

                    [106] => Array
                        (
                            [country] => Ireland
                        )

                    [107] => Array
                        (
                            [country] => Israel
                        )

                    [108] => Array
                        (
                            [country] => Italy
                        )

                    [109] => Array
                        (
                            [country] => Jamaica
                        )

                    [110] => Array
                        (
                            [country] => Japan
                        )

                    [111] => Array
                        (
                            [country] => Jersey
                        )

                    [112] => Array
                        (
                            [country] => Jordan
                        )

                    [113] => Array
                        (
                            [country] => Kazakhstan
                        )

                    [114] => Array
                        (
                            [country] => Kenya
                        )

                    [115] => Array
                        (
                            [country] => Kiribati
                        )

                    [116] => Array
                        (
                            [country] => South Korea
                        )

                    [117] => Array
                        (
                            [country] => North Korea
                        )

                    [118] => Array
                        (
                            [country] => Kuwait
                        )

                    [119] => Array
                        (
                            [country] => Kyrgyzstan
                        )

                    [120] => Array
                        (
                            [country] => Lao People's Democratic Republic
                        )

                    [121] => Array
                        (
                            [country] => Latvia
                        )

                    [122] => Array
                        (
                            [country] => Lebanon
                        )

                    [123] => Array
                        (
                            [country] => Lesotho
                        )

                    [124] => Array
                        (
                            [country] => Liberia
                        )

                    [125] => Array
                        (
                            [country] => Libyan Arab Jamahiriya
                        )

                    [126] => Array
                        (
                            [country] => Liechtenstein
                        )

                    [127] => Array
                        (
                            [country] => Lithuania
                        )

                    [128] => Array
                        (
                            [country] => Luxembourg
                        )

                    [129] => Array
                        (
                            [country] => Macau
                        )

                    [130] => Array
                        (
                            [country] => Macedonia
                        )

                    [131] => Array
                        (
                            [country] => Madagascar
                        )

                    [132] => Array
                        (
                            [country] => Malawi
                        )

                    [133] => Array
                        (
                            [country] => Malaysia
                        )

                    [134] => Array
                        (
                            [country] => Maldives
                        )

                    [135] => Array
                        (
                            [country] => Mali
                        )

                    [136] => Array
                        (
                            [country] => Malta
                        )

                    [137] => Array
                        (
                            [country] => Marshall Islands
                        )

                    [138] => Array
                        (
                            [country] => Martinique
                        )

                    [139] => Array
                        (
                            [country] => Mauritania
                        )

                    [140] => Array
                        (
                            [country] => Mauritius
                        )

                    [141] => Array
                        (
                            [country] => Mayotte
                        )

                    [142] => Array
                        (
                            [country] => Mexico
                        )

                    [143] => Array
                        (
                            [country] => Micronesia
                        )

                    [144] => Array
                        (
                            [country] => Moldova, Republic Of
                        )

                    [145] => Array
                        (
                            [country] => Monaco
                        )

                    [146] => Array
                        (
                            [country] => Mongolia
                        )

                    [147] => Array
                        (
                            [country] => Montenegro
                        )

                    [148] => Array
                        (
                            [country] => Montserrat
                        )

                    [149] => Array
                        (
                            [country] => Morocco
                        )

                    [150] => Array
                        (
                            [country] => Mozambique
                        )

                    [151] => Array
                        (
                            [country] => Myanmar
                        )

                    [152] => Array
                        (
                            [country] => Namibia
                        )

                    [153] => Array
                        (
                            [country] => Nauru
                        )

                    [154] => Array
                        (
                            [country] => Nepal
                        )

                    [155] => Array
                        (
                            [country] => Netherlands
                        )

                    [156] => Array
                        (
                            [country] => Netherlands Antilles
                        )

                    [157] => Array
                        (
                            [country] => New Caledonia
                        )

                    [158] => Array
                        (
                            [country] => New Zealand
                        )

                    [159] => Array
                        (
                            [country] => Nicaragua
                        )

                    [160] => Array
                        (
                            [country] => Niger
                        )

                    [161] => Array
                        (
                            [country] => Nigeria
                        )

                    [162] => Array
                        (
                            [country] => Niue
                        )

                    [163] => Array
                        (
                            [country] => Norfolk Island
                        )

                    [164] => Array
                        (
                            [country] => Northern Mariana Islands
                        )

                    [165] => Array
                        (
                            [country] => Norway
                        )

                    [166] => Array
                        (
                            [country] => Oman
                        )

                    [167] => Array
                        (
                            [country] => Pakistan
                        )

                    [168] => Array
                        (
                            [country] => Palau
                        )

                    [169] => Array
                        (
                            [country] => Palestinian Territory, Occupied
                        )

                    [170] => Array
                        (
                            [country] => Panama
                        )

                    [171] => Array
                        (
                            [country] => Papua New Guinea
                        )

                    [172] => Array
                        (
                            [country] => Paraguay
                        )

                    [173] => Array
                        (
                            [country] => Peru
                        )

                    [174] => Array
                        (
                            [country] => Philippines
                        )

                    [175] => Array
                        (
                            [country] => Pitcairn
                        )

                    [176] => Array
                        (
                            [country] => Poland
                        )

                    [177] => Array
                        (
                            [country] => Portugal
                        )

                    [178] => Array
                        (
                            [country] => Puerto Rico
                        )

                    [179] => Array
                        (
                            [country] => Qatar
                        )

                    [180] => Array
                        (
                            [country] => Reunion
                        )

                    [181] => Array
                        (
                            [country] => Romania
                        )

                    [182] => Array
                        (
                            [country] => Russian Federation
                        )

                    [183] => Array
                        (
                            [country] => Rwanda
                        )

                    [184] => Array
                        (
                            [country] => Saint Kitts And Nevis
                        )

                    [185] => Array
                        (
                            [country] => Saint Lucia
                        )

                    [186] => Array
                        (
                            [country] => Saint Vincent, The Grenadines
                        )

                    [187] => Array
                        (
                            [country] => Samoa
                        )

                    [188] => Array
                        (
                            [country] => San Marino
                        )

                    [189] => Array
                        (
                            [country] => Sao Tome And Principe
                        )

                    [190] => Array
                        (
                            [country] => Saudi Arabia
                        )

                    [191] => Array
                        (
                            [country] => Senegal
                        )

                    [192] => Array
                        (
                            [country] => Serbia and Montenegro
                        )

                    [193] => Array
                        (
                            [country] => Serbia
                        )

                    [194] => Array
                        (
                            [country] => Seychelles
                        )

                    [195] => Array
                        (
                            [country] => Sierra Leone
                        )

                    [196] => Array
                        (
                            [country] => Singapore
                        )

                    [197] => Array
                        (
                            [country] => Slovakia (slovak Republic)
                        )

                    [198] => Array
                        (
                            [country] => Slovenia
                        )

                    [199] => Array
                        (
                            [country] => Solomon Islands
                        )

                    [200] => Array
                        (
                            [country] => Somalia
                        )

                    [201] => Array
                        (
                            [country] => South Africa
                        )

                    [202] => Array
                        (
                            [country] => South Georgia, South Sandwich Isl.
                        )

                    [203] => Array
                        (
                            [country] => Spain
                        )

                    [204] => Array
                        (
                            [country] => Sri Lanka
                        )

                    [205] => Array
                        (
                            [country] => St. Helena
                        )

                    [206] => Array
                        (
                            [country] => St. Pierre And Miquelon
                        )

                    [207] => Array
                        (
                            [country] => Sudan
                        )

                    [208] => Array
                        (
                            [country] => Suriname
                        )

                    [209] => Array
                        (
                            [country] => Svalbard And Jan Mayen Islands
                        )

                    [210] => Array
                        (
                            [country] => Swaziland
                        )

                    [211] => Array
                        (
                            [country] => Sweden
                        )

                    [212] => Array
                        (
                            [country] => Switzerland
                        )

                    [213] => Array
                        (
                            [country] => Syrian Arab Republic
                        )

                    [214] => Array
                        (
                            [country] => Taiwan
                        )

                    [215] => Array
                        (
                            [country] => Tajikistan
                        )

                    [216] => Array
                        (
                            [country] => Tanzania, United Republic Of
                        )

                    [217] => Array
                        (
                            [country] => Thailand
                        )

                    [218] => Array
                        (
                            [country] => Timor-Leste
                        )

                    [219] => Array
                        (
                            [country] => Togo
                        )

                    [220] => Array
                        (
                            [country] => Tokelau
                        )

                    [221] => Array
                        (
                            [country] => Tonga
                        )

                    [222] => Array
                        (
                            [country] => Trinidad And Tobago
                        )

                    [223] => Array
                        (
                            [country] => Tunisia
                        )

                    [224] => Array
                        (
                            [country] => Turkey
                        )

                    [225] => Array
                        (
                            [country] => Turkmenistan
                        )

                    [226] => Array
                        (
                            [country] => Turks And Caicos Islands
                        )

                    [227] => Array
                        (
                            [country] => Tuvalu
                        )

                    [228] => Array
                        (
                            [country] => Uganda
                        )

                    [229] => Array
                        (
                            [country] => Ukraine
                        )

                    [230] => Array
                        (
                            [country] => United Arab Emirates
                        )

                    [231] => Array
                        (
                            [country] => United Kingdom
                        )

                    [232] => Array
                        (
                            [country] => Uruguay
                        )

                    [233] => Array
                        (
                            [country] => Uzbekistan
                        )

                    [234] => Array
                        (
                            [country] => Vanuatu
                        )

                    [235] => Array
                        (
                            [country] => Vatican City State
                        )

                    [236] => Array
                        (
                            [country] => Venezuela
                        )

                    [237] => Array
                        (
                            [country] => Viet Nam
                        )

                    [238] => Array
                        (
                            [country] => Virgin Islands (british)
                        )

                    [239] => Array
                        (
                            [country] => Virgin Islands (u.s.)
                        )

                    [240] => Array
                        (
                            [country] => Wallis, Futuna Islands
                        )

                    [241] => Array
                        (
                            [country] => Western Sahara
                        )

                    [242] => Array
                        (
                            [country] => Yemen
                        )

                    [243] => Array
                        (
                            [country] => Yugoslavia
                        )

                    [244] => Array
                        (
                            [country] => Zaire
                        )

                    [245] => Array
                        (
                            [country] => Zambia
                        )

                    [246] => Array
                        (
                            [country] => Zimbabwe
                        )

                )

            [url] => http://dev.com
            [userpost] => 
            [void_reversal_post] => 
            [voidpost] => 
        )

)