Interest Target Group

This request returns a list of interest-based target groups.

Element List

Data Element Type Length Conditional? Description
brand_ID Int True Unique brand ID
is_deleted Bit True Whether the target group is deleted
target_group_id Int True Unique target group ID
target_group_name String 550 True Target group name

Request

<GridRequest xmlns="http://partner.informz.net/aapi/2009/08/">
 <Brand id="9999">Test Brand</Brand>
 <User></User>
 <Password></Password> (only required if not using authentication)
 <Grids>
  <Grid type="interest_target_group">
   <ReturnFields>
    <DataElement>is_deleted</DataElement>
    <DataElement>target_group_id</DataElement>
    <DataElement>target_group_name</DataElement>
   </ReturnFields>
  </Grid>
 </Grids>
</GridRequest>

 Response

<?xml version="1.0" encoding="utf-16"?>
<GridResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://partner.informz.net/aapi/2009/08/">
 <Brand id="9999">Test Brand</Brand>
 <User></User>
 <Grids>
  <Grid type="interest_target_group">
   <Record row="1">
    <Fields>
     <Field element="is_deleted">0</Field>
     <Field element="target_group_id">208907</Field>
     <Field element="target_group_name">Opt-Ins</Field>
    </Fields>
   </Record>
   <Record row="2">
    <Fields>
     <Field element="is_deleted">0</Field>
     <Field element="target_group_id">208958</Field>
     <Field element="target_group_name">Test Interest 57934</Field>
    </Fields>
   </Record>
…
   <Record row="45">
    <Fields>
     <Field element="is_deleted">0</Field>
     <Field element="target_group_id">208959</Field>
     <Field element="target_group_name">zip1</Field>
    </Fields>
   </Record>
  </Grid>
 </Grids>
</GridResponse>