curl --request GET \
--url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid} \
--header 'Authorization: Bearer <token>'{
"assets": {},
"businessUnits": [
{
"id": 123
}
],
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"properties": {},
"updatedAt": "2023-11-07T05:31:56Z"
}Get a campaign identified by a specific campaignGuid with the given properties. Along with the campaign information, it also returns information about assets. Depending on the query parameters used, this can also be used to return information about the corresponding assets’ metrics. Metrics are available only if startDate and endDate are provided.
curl --request GET \
--url https://api.hubapi.com/marketing/v3/campaigns/{campaignGuid} \
--header 'Authorization: Bearer <token>'{
"assets": {},
"businessUnits": [
{
"id": 123
}
],
"createdAt": "2023-11-07T05:31:56Z",
"id": "<string>",
"properties": {},
"updatedAt": "2023-11-07T05:31:56Z"
}Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
successful operation
Contains the assets associated with the campaign, each represented as a collection of campaign assets.
Show child attributes
Show child attributes
The date and time when the campaign was created, formatted as a date-time string.
The unique identifier for the campaign.
A map of key-value pairs representing the properties of the campaign.
Show child attributes
The date and time when the campaign was last updated, formatted as a date-time string.
Was this page helpful?