WSDL Page: http://<your_domain_here>/api/1/addedit.asmx?op=GeoTargets
Parameter Summary:
api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}
offer_contract_id / INT (unsignedByte)= Offer contract ID {See export.asmx > Offers}
set_targeting_to_geo / BOOL = Set targeting method to Geo?
add_edit_option/ ENUMERATION = The "Edit Option" defines how the countries passed will interact with this offer contract ["add","remove","replace"]
countries / STRING = 2 letter country code. Pass comma separated lists.["US,AU"]
Parameter Types:
api_key - ID
offer_contract_id - ID
set_targeting_to_geo - BOOL
add_edit_option - ASSIGNABLE
countries - ASSIGNABLE
Sample GET Call:
Sample XML Response:
<geo_targets_addedit_response>
<success>true</success>
<message>Countries Added</message>
<row_count>0</row_count>
</geo_targets_addedit_response>