Adgooroo API v2.0
Client Login
Home / SEMInsight / GetGroupAdData
Description
This method retrieves PPC ad data for a group. This is the equivalent of the PPC Keyword Group Report/Show Ads Tab in SEM Insight. Ad, ad coverage, average position, destination url, and keywords for the keyword group are retrieved.

Info
Version:2
Quota Point Cost:20

Parameters
InputNameRequiredTypeDescription
searchengineidyesInt32Data will be returned only for the search engine input here. Only one search engine ID can be entered. Use the GetSearchEngines method to retrieve a list of search engine IDs.
regionidyesInt32Data will be returned only for the region input here. Only one region ID can be entered. Use the GetRegions method to retrieve a list of region IDs.
keywordgroupidyesInt32Data will be returned only for the keyword group input here. Only one keyword group ID can be entered. Use the GetKeywordGroups method to retrieve a list of keyword group IDs.
startdatenoDateTimeThe start date for this report. Note: This value must be a within a maximum of 30 days of the end date.
enddatenoDateTimeThe end date for this report. Note: This value must be less than or equal to yesterday.
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/SEMInsight/GetGroupAdData.api?searchengineid=1®ionid=1&keywordgroupid=108019&startdate=5%2f5%2f2011&enddate=5%2f5%2f2011

Example Output
// XML Output
<?xml version="1.0"?>
<api_result>
  <api_class>SEMInsight</api_class>
  <api_method>GetGroupAdData</api_method>
  <quota_cost>0</quota_cost>
  <status>SUCCESS</status>
  <message />
  <value>
    <row>
      <ad>Used Car Dealers - NJHuge Selection of One Owner,Low Mileage Cars</ad>
      <ad_coverage>3.3</ad_coverage>
      <avg_position>4</avg_position>
      <destination_url>http</destination_url>
      <cars (67%)>value</cars (67%)>
    </row>
  </value>
</api_result>


// JSON Output
{
  "api_class": "SEMInsight",
  "api_method": "GetGroupAdData",
  "quota_cost": 0,
  "status": 0,
  "message": null,
  "value": {
    "row": [
      {
        "ad": "Used Car Dealers - NJHuge Selection of One Owner,Low Mileage Cars",
        "ad_coverage": 3.3,
        "avg_position": 4.0,
        "destination_url": "http",
        "cars (67%)": "value"
      }
    ]
  }
}


// CSV Output
ad,ad_coverage,avg_position,destination_url,cars (67%)
"Used Car Dealers - NJHuge Selection of One Owner,Low Mileage Cars",3.3,4,http,value