Note
Note: The Required column includes the following values:
-
Required: The field must be included in the POST call.
-
Read-only: The field is received in the GET call and required in the PUT call. It is not required in the POST call. You cannot edit this field.
-
Optional: If the field was received in the GET call, include it in the PUT call. This field is editable.
-
Internal: (For Amazon Ad Server (AAS) internal use) If the field was received in the GET call, include it in the PUT call.
Note
Note: Each geo targeting item has a list of objects with unique IDs that you must retrieve before adding the object to the target audience. For example, to target users from New York, you need to retrieve the country ID for the USA ("countryId"
: 840,
and then the state ID for New York (regionId"
: 33)
. The following table includes the methods for retrieving this information. For more information about each method and code examples, see Geo Resource.
Name |
Description |
Type |
required |
Notes |
---|---|---|---|---|
Type |
Type of geo targeting |
String |
Required |
Value is AreaCode. |
ID |
ID of the area code targeted. |
Array of integers |
Required |
|
countryId |
ID of the country to which the area code belongs. |
Long |
Required |
|
regionid |
ID of the region to which the area code belongs. |
Long |
Required |
Name |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
countryid |
ID of the country to which the ZIP code belongs. |
Long |
Required |
|
countryZipCodes |
Targeted ZIP code. |
Array of integers |
Required |
|
type |
Null. |
Internal |
Internal |
Name |
Description |
Type |
Required |
Notes |
---|---|---|---|---|
Type |
Type of geo targeting. |
String |
Required |
Value is NielsenDMA. |
ID |
ID of the Nielsen DMA targeted. |
Array of integers |
Required |
|
countryId |
ID of the country to which the Nielsen DMA belongs. |
Long |
Required |
|
regionid |
ID of the region to which the Nielsen DMA belongs. |
Long |
Required |
Comments