AI-generated Key Takeaways
-
The
PostalCoderesource contains information about postal codes that can be targeted by ads. -
A
PostalCodeis represented in JSON format with fields such asid,countryCode,countryDartId,code, andkind. -
The
PostalCoderesource offersgetandlistmethods to retrieve specific or multiple postal codes.
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
|
ID of this postal code. |
countryCode
|
Country code of the country to which this postal code belongs. |
countryDartId
|
DART ID of the country to which this postal code belongs. |
code
|
Postal code. This is equivalent to the field. |
kind
|
Identifies what kind of resource this is. Value: the fixed string . |
Methods |
|
|---|---|
|
Gets one postal code by ID. |
|
Retrieves a list of postal codes. |

