GET
/
marketing
/
v3
/
campaigns
/
{campaignGuid}
/
budget
/
totals
Leer presupuesto
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
    }
  ]
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubPro
Sales HubSales HubGratuito
Service HubService HubGratuito
Content HubContent HubGratuito

Ámbitos Requeridos

Esta API requiere uno de los siguientes ámbitos:
  • 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

Identificador único para la campaña, formateado como un UUID.

Response

200
application/json

successful operation

The response is of type object.