Read a campaign

GET {{baseUrl}}/marketing/v3/campaigns/:campaignGuid?startDate=<string>&endDate=<string>&properties=<string>&properties=<string>

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.

Request Params

KeyDatatypeRequiredDescription
startDatestringStart date to fetch asset metrics, formatted as YYYY-MM-DD. This date is used to fetch the metrics associated with the assets for a specified period.
If not provided, no asset metrics will be fetched.
endDatestringEnd date to fetch asset metrics, formatted as YYYY-MM-DD. This date is used to fetch the metrics associated with the assets for a specified period.
If not provided, no asset metrics will be fetched.
propertiesstringA comma-separated list of the properties to be returned in the response. If any of the specified properties has empty value on the requested object, they will be ignored and not returned in response. If this parameter is empty, the response will include an empty properties map.
propertiesstringA comma-separated list of the properties to be returned in the response. If any of the specified properties has empty value on the requested object, they will be ignored and not returned in response. If this parameter is empty, the response will include an empty properties map.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;assets&quot;:{&quot;irurea&quot;:{&quot;results&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;metrics&quot;:{&quot;culpa9&quot;:&quot;\u003cnumber\u003e&quot;,&quot;incididunt_7&quot;:&quot;\u003cnumber\u003e&quot;,&quot;irurebf&quot;:&quot;\u003cnumber\u003e&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;metrics&quot;:{&quot;non__&quot;:&quot;\u003cnumber\u003e&quot;},&quot;name&quot;:&quot;\u003cstring\u003e&quot;}],&quot;paging&quot;:{&quot;next&quot;:{&quot;after&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;},&quot;prev&quot;:{&quot;before&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;}}}},&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;properties&quot;:{&quot;do49&quot;:&quot;\u003cstring\u003e&quot;},&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;}