Method: inappproducts.insert
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
    
  
      
    
  
  
  
  
  
  
    
    
    
    
    
    
      
      
      
        アプリ内アイテム(管理対象アイテムまたは定期購入)を作成します。
今後は、定期購入の作成にはこの方法を使用しないでください。詳しくは、こちらの記事をご覧ください。
      
      
        
          HTTP リクエスト
          POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts
この URL は gRPC Transcoding 構文を使用します。
        
        
          パスパラメータ
          
            
              
              
            
            
              
                | パラメータ | 
            
            
              
                | packageName | string
 アプリのパッケージ名。 | 
            
          
        
        
          クエリ パラメータ
          
            
              
              
            
            
              
                | パラメータ | 
            
            
              
                | autoConvertMissingPrices | boolean
 true の場合、親アプリがターゲットとするすべての地域の価格に、このアプリ内アイテム向けの価格が指定されていないものは、デフォルトの価格に基づいて対象通貨に自動換算されます。デフォルトは false です。 | 
            
          
        
        
          リクエスト本文
          リクエストの本文には InAppProduct のインスタンスが含まれています。
        
        
          レスポンスの本文
          成功した場合、レスポンスの本文には、新しく作成された InAppProduct のインスタンスが含まれます。
        
        
          認可スコープ
          次の OAuth スコープが必要です。
          
            - https://www.googleapis.com/auth/androidpublisher
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-07-26 UTC。
  
  
  
    
      [[["わかりやすい","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-26 UTC。"],[],["This document details the process of creating an in-app product using the Android Publisher API.  A `POST` request is sent to a specific URL containing the app's package name.  The request body includes `InAppProduct` data. The request can include a boolean query parameter, `autoConvertMissingPrices`, to manage regional pricing. The response, upon success, returns the newly created `InAppProduct`.  Authorization requires the `androidpublisher` OAuth scope.  This method is deprecated for subscriptions.\n"]]