REST Resource: postalCodes
Stay organized with collections
Save and categorize content based on your preferences.
Resource: PostalCode
Contains information about a postal code that can be targeted by ads.
JSON representation |
{
"id": string,
"countryCode": string,
"countryDartId": string,
"code": string,
"kind": string
} |
Fields |
id |
string
ID of this postal code.
|
countryCode |
string
Country code of the country to which this postal code belongs.
|
countryDartId |
string (int64 format)
DART ID of the country to which this postal code belongs.
|
code |
string
Postal code. This is equivalent to the
id
field.
|
kind |
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#postalCode"
.
|
Methods |
|
Gets one postal code by ID. |
|
Retrieves a list of postal codes. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-02 UTC.
[null,null,["Last updated 2025-09-02 UTC."],[],[],null,["- [Resource: PostalCode](#PostalCode)\n - [JSON representation](#PostalCode.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: PostalCode Contains information about a postal code that can be targeted by ads.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"countryCode\": string, \"countryDartId\": string, \"code\": string, \"kind\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` ID of this postal code. |\n| `countryCode` | `string` Country code of the country to which this postal code belongs. |\n| `countryDartId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` DART ID of the country to which this postal code belongs. |\n| `code` | `string` Postal code. This is equivalent to the `id` field. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#postalCode\"` . |\n\n| Methods ||\n|-----------------------------------------------------------|-----------------------------------|\n| [get](/doubleclick-advertisers/rest/v5/postalCodes/get) | Gets one postal code by ID. |\n| [list](/doubleclick-advertisers/rest/v5/postalCodes/list) | Retrieves a list of postal codes. |"]]