An Account Engagement campaign tracks the first interaction that a person has with your online marketing materials. Associate your assets to an Account Engagement campaign to organize and track your marketing efforts. Learn more about Account Engagement campaigns in Salesforce Help.
Include the authentication header with every request. For information on how to authenticate, see Authentication.
Note
The API to access the Campaign object collection follows the conventions described in Version 5 Overview.
Retrieving a collection of campaigns follows the conventions described in Version 5 Overview.
Sortable Fields
When executing a query, the following fields can be specified in the orderBy parameter. See the conventions for query described in the Version 5 Overview.
When executing a query, the following parameters can be used to filter the returned results. These parameters can be specified in the request along with any shared parameters defined in Version 5 Overview. When specifying more than one parameter, all parameters must match the record in order for it to be returned in the results.
Parameter
Description
id
Returns any campaigns where ID is equal to the given integer value.
idList
Returns any campaigns where ID is included in the given list of values.
idGreaterThan
Returns any campaigns where ID is greater than the specified value, non-inclusive.
idGreaterThanOrEqualTo
Returns any campaigns where ID is greater than or equal to the specified value.
idLessThan
Returns any campaigns where ID is less than the specified value, non-inclusive.
idLessThanOrEqualTo
Returns any campaigns where ID is less than or equal to the specified value.
name
Returns any campaigns where Name is equal to the given string value.
createdAt
Returns any campaigns where CreatedAt is equal to the given datetime value.
createdAtAfter
Returns any campaigns where CreatedAt is after the given datetime value, non-inclusive.
createdAtAfterOrEqualTo
Returns any campaigns where CreatedAt is after or equal to the given datetime value.
createdAtBefore
Returns any campaigns where CreatedAt is before the given datetime value, non-inclusive.
createdAtBeforeOrEqualTo
Returns any campaigns where CreatedAt is before or equal to the given datetime value.
updatedAt
Returns any campaigns where UpdatedAt is equal to the given datetime value.
updatedAtAfter
Returns any campaigns where UpdatedAt is after the given datetime value, non-inclusive.
updatedAtAfterOrEqualTo
Returns any campaigns where UpdatedAt is after or equal to the given datetime value.
updatedAtBefore
Returns any campaigns where UpdatedAt is before the given datetime value, non-inclusive.
updatedAtBeforeOrEqualTo
Returns any campaigns where UpdatedAt is before or equal to the given datetime value.
deleted
Determines whether to return deleted records. The value can be false (default), true, or all.