Target Group Counts

Returns information about the target group counts.

Element List

Data Element Type Length Conditional? Description
name string 550 True Target group name
id int True Unique target group ID
description string 1000 True Target group description
target_group_count int True Target group count
count_date datetime True Target group count date
target_group_count_error bit True Indicate if there was error during the last count or not
last_used_date datetime True Last used date
type_name string 100 True Target group type name

Request

<GridRequest xmlns="http://partner.informz.net/aapi/2009/08/">
 <Password></Password>
 <Brand id="9999">Test Brand</Brand>
 <User></User>
 <Grids>
  <Grid type=”target_group_counts">
   <Conditions>
    <Condition>
     <Single>
      <DataElement>id</DataElement>
      <DataValue>66699</DataValue>
      <Comparator>EQ</Comparator>
     </Single>
    </Condition>
   </Conditions>
   <ReturnFields>
    <DataElement>name</DataElement>
    <DataElement>id</DataElement>
    <DataElement>description</DataElement>
    <DataElement>target_group_count</DataElement>
    <DataElement>type_name</DataElement>
    <DataElement>count_date</DataElement>
    <DataElement>target_group_count_error</DataElement>
    <DataElement>last_used_date</DataElement>
   </ReturnFields>
  </Grid>
 </Grids>
</GridRequest>

Response

<?xml version="1.0" encoding="utf-8"?>
<GridResponse xmlns="http://partner.informz.net/aapi/2009/08/">
 <Brand id="9999">Test Brand</Brand>
 <User></User>
 <Grids>
  <Grid type="target_group_counts">
   <Record row="1">
    <Fields>
     <Field element="name">survey test</Field>
     <Field element="id">66699</Field>
     <Field element="description">Answered question Name on Survey : ! survey with additions</Field>
     <Field element="target_group_count">0</Field>
     <Field element="type_name">Action-Based</Field>
     <Field element="count_date" />
     <Field element="target_group_count_error">0</Field>
     <Field element="last_used_date" />
    </Fields>
   </Record>
  </Grid>
 </Grids>
</GridResponse>