Fetch revenue
Changed onFetch revenue attribution report data for a specified campaign
Request
- Base URLhttps://api.hubapi.com
- Auth
- OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesmarketing.campaigns.revenue.read
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesmarketing.campaigns.revenue.lite.read
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesmarketing.campaigns.revenue.full.read
Path parameters
The unique identifier of the campaign
Query parameters
The revenue attribution model used to calculate deal revenue credit. Defaults to LINEAR if not specified. Enum values: LINEAR, FIRST_INTERACTION, LAST_INTERACTION, FULL_PATH, U_SHAPED, W_SHAPED, TIME_DECAY, J_SHAPED, INVERSE_J_SHAPED
End date to fetch attribution data, YYYY-MM-DD
Start date to fetch attribution data, YYYY-MM-DD
Response
successful operation
Changes
- info
the security scope
marketing.campaigns.revenue.readwas added to the endpoint's security schemeoauth2 - info
the security scope
marketing.campaigns.revenue.full.readwas removed from the endpoint's security schemeoauth2
- info
- info
the security scope
marketing.campaigns.revenue.readwas added to the endpoint's security schemeoauth2
1 more change in this revision
- info