GET
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
budget
/
totals
Budget lesen
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
    }
  ]
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubProfessional
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubKostenlos

Erforderliche Bereiche

Diese API erfordert einen der folgenden Bereiche:
  • 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

Eindeutige ID der Kampagne, formatiert als GUID.

Response

200
application/json

successful operation

The response is of type object.