The DCM/DFA Reporting and Trafficking API v3.0 is deprecated and will be sunset on November 30th, 2018. All users must migrate to a newer API version by that date.

PostalCodes: list

Requires authorization

Retrieves a list of postal codes. Try it now.

Request

HTTP request

GET https://www.googleapis.com/dfareporting/v3.0/userprofiles/profileId/postalCodes

Parameters

Parameter name Value Description
Path parameters
profileId long User profile ID associated with this request.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/dfatrafficking

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "dfareporting#postalCodesListResponse",
  "postalCodes": [
    postalCodes Resource
  ]
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCodesListResponse".
postalCodes[] list Postal code collection.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Campaign Manager
Campaign Manager