Targeting

Matches a string of comma separated postal codes in specified country

post/api/v3/targeting/geo/countries/{countryId}/postalcodes/match

Request

  • Base URL
    https://ads.nextdoor.com
  • URL
    https://ads.nextdoor.com/api/v3/targeting/geo/countries/{countryId}/postalcodes/match
  • Auth
    HTTP bearer

Path parameters

countryIdstring required

The country id for which to fetch the info

Request body

postal_codesstring

String of postal codes to match. Allowed separators: newline, comma, or semicolon

Response

A list of postal codes available for ad group targeting for the specified country and a list of invalid postal codes

invalid_postal_codesstring[]

The list of invalid postal codes that did not match any targeting in the specified country

matching_postal_code_idsstring[]

The list of postal code targeting ids that matched the input postal codes.

Changes

No recorded changes to this operation across all 1 revision of this API.