DCM/DFA Reporting And Trafficking API . postalCodes

Instance Methods

list(profileId)

Retrieves a list of postal codes.

Method Details

list(profileId)
Retrieves a list of postal codes.

Args:
  profileId: string, User profile ID associated with this request. (required)

Returns:
  An object of the form:

    { # Postal Code List Response
    "kind": "dfareporting#postalCodesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCodesListResponse".
    "postalCodes": [ # Postal code collection
      { # Contains information about a postal code that can be targeted by ads.
        "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
        "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
        "id": "A String", # ID of this postal code.
        "countryCode": "A String", # Country code of the country to which this postal code belongs.
      },
    ],
  }