Google Business Performance API 的 
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
 請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
  
        
 
       
     
  
  
  
    
  
  
  
    
      Method: accounts.locations.patch
    
    
      
    
    
      
      透過集合功能整理內容
    
    
      
      你可以依據偏好儲存及分類內容。
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
        更新指定的位置。
相片只能在設有 Google+ 專頁的地點上傳。
如果位置不存在,則傳回 NOT_FOUND。
      
      
        
          HTTP 要求
          PATCH https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*}
這個網址使用 gRPC 轉碼語法。
        
        
        
          查詢參數
          
            
              
                | 參數 | 
              
            
            
              
                updateMask | 
                
                   string (FieldMask format) 
                  要更新的特定欄位。如果沒有指定遮罩,系統會將此視為完整的更新,並將所有欄位設為傳入的值,要求中可能包含未設定的空白欄位。 此為以半形逗號分隔的完整欄位名稱清單。範例:"user.displayName,photo"。 
                 | 
              
              
                validateOnly | 
                
                   boolean 
                  如果為 true,表示要求已在驗證,而不會實際更新位置。 
                 | 
              
              
                attributeMask | 
                
                   string (FieldMask format) 
                  要更新的屬性 ID。系統只會更新遮罩中註記的屬性。如果遮罩中有屬性出現在遮罩中,且位置沒有,系統將移除該屬性。空白的遮罩會更新所有屬性。 設定這個欄位後,updateMask 應該包含屬性做為要更新的欄位。 此為以半形逗號分隔的完整欄位名稱清單。範例:"user.displayName,photo"。 
                 | 
              
            
          
        
        
          要求主體
          要求主體包含 Location 的例項。
        
        
          回應主體
          如果成功,回應主體會包含 Location 的執行例項。
        
        
          授權範圍
          需要下列其中一種 OAuth 範圍:
          
            https://www.googleapis.com/auth/plus.business.manage 
            https://www.googleapis.com/auth/business.manage 
          
詳情請參閱 OAuth 2.0 總覽。
        
      
    
  
  
  
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-07-25 (世界標準時間)。
  
  
  
    
      [[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[],["This describes updating a location using a `PATCH` request to the specified URL. The location is identified by its `name` in the path. Updates are controlled by the `updateMask` and `attributeMask` query parameters. A boolean `validateOnly` parameter allows for request validation without making changes. The request and response bodies both use a Location object. Authorization requires specific OAuth scopes. A location must have a Google+ page to be updated with photos, and requests for non-existent locations return `NOT_FOUND`.\n"]]