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.
| Version: | 2 |
| Quota Point Cost: | 20 |
http://api.adgooroo.com/v2/Utilities/GetTargets.api
// 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