Google Business Performance API has a NEW API method that allows fetching multiple `DailyMetrics` in a single API request.
Review the deprecation schedule and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.

ErrorCode

Error codes for internal failures.

Enums
ERROR_CODE_UNSPECIFIED Unspecified error code.
UNVERIFIED_LOCATION The location is not verified.
INVALID_LOCATION_CATEGORY The location category is not eligible for the place action type. The place action type causing the error will be returned in the metadata, with string "placeActionType" as the key and PlaceActionType enum value string as the value.
INVALID_URL The url is malformed/invalid. The place action url that is invalid will be returned in the metadata, with the string "url" as the key and the url as the value.
URL_PROVIDER_NOT_ALLOWED The url has a provider that is not allowed. The place action url that is disallowed will be returned in the metadata, with the string "url" as the key and the url as the value.
TOO_MANY_VALUES Too many values have been set for the place action type. The type for which the limit is reached will be returned in the metadata, with the string "placeActionType" as the key and PlaceActionType enum value string as the value.