Google Business PerformanceAPI has aNEWAPI method that allows fetching multiple `DailyMetrics` in a single API request. Review thedeprecation scheduleand instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
Method: accounts.patchStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
This document details the process for updating a specified business account using thePATCHmethod with the provided URL, specifically targeting theaccountNamefield.
The request necessitates specific path and query parameters, includingaccount.namefor account identification andupdateMaskto specify the fields for modification.
It requires the use of anAccountobject in both the request and response bodies, along with authorization using thehttps://www.googleapis.com/auth/business.managescope.
This method is applicable to business accounts only; personal accounts cannot be updated using this approach, and a validation-only mode can be enabled by setting thevalidateOnlyquery parameter.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[],["This describes updating a business account via a `PATCH` request to `https://mybusinessaccountmanagement.googleapis.com/v1/{account.name=accounts/*}`. The `account.name` path parameter, using the format `accounts/{account_id}`, identifies the target account. The `updateMask` query parameter, which is required, specifies editable fields, with `accountName` as the only allowed field. You can also add the `validateOnly` parameter. The request and response bodies both contain an `Account` instance. The operation requires the `https://www.googleapis.com/auth/business.manage` authorization scope.\n"]]