GET
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
budget
/
totals
予算を読み取り
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid}/budget/totals \
  --header 'Authorization: Bearer <token>'
{
  "spendItems": [
    {
      "createdAt": 123,
      "amount": 123,
      "name": "<string>",
      "description": "<string>",
      "id": "<string>",
      "order": 123,
      "updatedAt": 123
    }
  ],
  "budgetTotal": 123,
  "remainingBudget": 123,
  "spendTotal": 123,
  "currencyCode": "AED",
  "budgetItems": [
    {
      "createdAt": 123,
      "amount": 123,
      "name": "<string>",
      "description": "<string>",
      "id": "<string>",
      "order": 123,
      "updatedAt": 123
    }
  ]
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing HubProfessional
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

必須スコープ

この API には、次のいずれかのスコープが必要です。
  • marketing.campaigns.read

Authorizations

Authorization
string
header
required

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

Path Parameters

campaignGuid
string
required

キャンペーンの固有IDで、UUIDとして書式設定されます。

Response

200
application/json

successful operation

The response is of type object.