メインコンテンツへスキップ
POST
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
budget
予算項目を追加
curl --request POST \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/budget \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "name": "<string>",
  "order": 123,
  "description": "<string>"
}
'
{
  "amount": 123,
  "createdAt": 123,
  "id": "<string>",
  "name": "<string>",
  "order": 123,
  "updatedAt": 123,
  "description": "<string>"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

campaignGuid
string
必須

キャンペーンの固有ID。

ボディ

application/json
amount
number
必須

予算項目に割り当てられた金銭価値。

name
string
必須

予算項目の名前。

order
integer<int32>
必須

予算項目の順序を示す連番。

description
string

予算項目に関する詳しい説明またはメモ。

レスポンス

successful operation

amount
number
必須

予算項目に割り当てられた金額。

createdAt
integer<int64>
必須

予算項目が作成された時点のタイムスタンプ。

id
string
必須

予算項目の固有ID。

name
string
必須

予算項目の名前。

order
integer<int32>
必須

作成日に基づく順序を示す、予算項目の順序。

updatedAt
integer<int64>
必須

予算項目が最後に更新された時点のタイムスタンプ。

description
string

予算項目の説明。

Last modified on December 8, 2025