Newer Version Available

This content describes an older version of this product. View Latest

CampaignInfluence

Represents the association between a campaign and an opportunity in Customizable Campaign Influence. This object is available in API version 37.0 and later.

This information applies only to Customizable Campaign Influence and not to Campaign Influence 1.0 .

Note

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

Special Access Rules

To access this object, Customizable Campaign Influence must be enabled. Customer Portal users can’t access this object.

Fields

Field Name Details
CampaignId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the associated campaign.
ContactId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort
Description

The ID of the contact on the associated opportunity.

Influence
Type
percent
Properties
Create, Defaulted on create, Filter, Nillable, Sort, Update
Description

The percentage of the associated opportunity’s Amount field attributed to the associated campaign.

ModelId
Type
reference
Properties
Create, Filter, Group, Sort
Description

The ID of the campaign influence model associated with the record.

OpportunityId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the associated opportunity.
RevenueShare
Type
currency
Properties
Filter, Nillable, Sort
Description
The amount of revenue from the associated opportunity attributed to the associated campaign.

Usage

Use this object to create campaign influence records for your custom campaign influence models. Do not create campaign influence records for the Primary Campaign Source model. Records added to the Primary Campaign Source model via the API are deleted when the model is recalculated.