Metrics
Get Campaign Metrics
Changed onThis endpoint retrieves key attribution metrics for a specified campaign, such as sessions, new contacts, and influenced contacts.
get/marketing/v3/campaigns/{campaignGuid}/reports/metrics
Request
- Base URLhttps://api.hubapi.com
- AuthOAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesmarketing.campaigns.read
Path parameters
campaignGuidstring required
The unique identifier of the campaign
Query parameters
endDatestring
The end date for fetching attribution data, in YYYY-MM-DD format. Optional. Example: 2000-01-27
startDatestring
The start date for fetching attribution data, in YYYY-MM-DD format. Optional. Example: 2000-01-20
Response
successful operation
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking