class PostalCodes extends Resource (View source)

The "postalCodes" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $postalCodes = $dfareportingService->postalCodes;

Methods

get(string $profileId, string $code, array $optParams = [])

Gets one postal code by ID. (postalCodes.get)

listPostalCodes(string $profileId, array $optParams = [])

Retrieves a list of postal codes. (postalCodes.listPostalCodes)

Details

PostalCode get(string $profileId, string $code, array $optParams = [])

Gets one postal code by ID. (postalCodes.get)

Parameters

string $profileId

User profile ID associated with this request.

string $code

Postal code ID.

array $optParams

Optional parameters.

Return Value

PostalCode

Exceptions

Exception

PostalCodesListResponse listPostalCodes(string $profileId, array $optParams = [])

Retrieves a list of postal codes. (postalCodes.listPostalCodes)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

PostalCodesListResponse

Exceptions

Exception