Retrieve campaign logo

You can retrieve a logo of a program (formerly known as campaign) that you are partnered to in a specified image format. The supported formats in which you can download are: image/gif (default), image/png, image/jpeg.

Parameters


No parameters.

Returns


Returns an image if a valid CampaignId is provided in the requested image format (i.e., gif, jpeg, or png). Returns an error for an invalid CampaignId and if the program does not have a logo.

Example request


curl -X 'GET' \
'https://api.impact.com/Mediapartners/<AccountSID>/Campaigns/<CampaignID>/Logo' \
  -H 'accept: image/gif'

Example response


If successful, this method returns a 200 OK response code and binary data of the requested logo. If no logo exists, the operation returns 404 Not Found.