Adgooroo API v2.0
Client Login
Home / Utilities / GetTargets
Description
This method retrieves information about targets. A target is a combination of search engine and region. Every unique combination of search engine and region is assigned a target ID. This method retrieves all target IDs, which also includes the search engine name and ID, and region name and ID for the target.

Info
Version:2
Quota Point Cost:20

Parameters
InputNameRequiredTypeDescription
outputnoStringThis parameter specifies the output format of the API call. Possible values are XML, CSV or JSON. Default is XML.
Note: Calling this API method will count against your monthly usage quota

Example Request
http://api.adgooroo.com/v2/Utilities/GetTargets.api

Example Output
// XML Output
<?xml version="1.0"?>
<api_result>
  <api_class>Utilities</api_class>
  <api_method>GetTargets</api_method>
  <quota_cost>0</quota_cost>
  <status>SUCCESS</status>
  <message />
  <value>
    <row>
      <TargetId>1</TargetId>
      <SearchEngineName>Google</SearchEngineName>
      <Region>United States</Region>
    </row>
  </value>
</api_result>


// JSON Output
{
  "api_class": "Utilities",
  "api_method": "GetTargets",
  "quota_cost": 0,
  "status": 0,
  "message": null,
  "value": {
    "row": [
      {
        "TargetId": 1.0,
        "SearchEngineName": "Google",
        "Region": "United States"
      }
    ]
  }
}


// CSV Output
TargetId,SearchEngineName,Region
1,Google,United States