Campaigns

Update a campaign

patch/v2/campaigns/{id}

Request

  • Base URL
    https://api.tenjin.com
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Id of the campaign

Request body

attribution_windowinteger nullable

Click attribution window in seconds. Absent or null leaves the window unchanged, so a campaign cannot go back to the ad account's window. Attribution does not use it: it uses the app's attribution windows and the integration's attribution settings

Response

The updated campaign

metaobject required

Always empty

Example response

{
  "data": {
    "attributes": {
      "channel_id": 3,
      "name": "Facebook Campaign",
      "short_id": "zzzk0TXwNXu7Y5Maf2aRkL",
      "remote_campaign_id": "23851234567890123"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.