Apps

Update an app

patch/v2/apps/{id}

Request

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

Path parameters

idstring uuid required

Id of the app

Request body

namestring

Name of the app

public_keystring

Google Play public key, used to validate in-app purchases

ios_shared_secretstring

App Store shared secret, used to track subscription revenue

amazon_shared_secretstring

Amazon Appstore shared key, used to validate in-app purchases

match_stringsstring

Comma-separated strings that match campaigns to the app

protocolstring

URL scheme of the app, used for Meta deep links

facebook_referrer_decryption_keystring

Meta install referrer decryption key, 64 characters, used to decrypt Meta attribution data of an Android app

destination_urlstring

Download URL of an android_other app

deterministic_click_attribution_windowstring nullable

Duration literal: 0, whole hours 1h to 24h, or whole days 1d to 30d. A whole number of days is returned in days, so 24h comes back as 1d. Null resets it to the default

deterministic_impression_attribution_windowstring nullable

Duration literal: 0, whole hours 1h to 24h, or whole days 1d to 30d. A whole number of days is returned in days, so 24h comes back as 1d. Null resets it to the default

probabilistic_click_attribution_windowstring nullable

Duration literal: 0, whole hours 1h to 24h, or whole days 1d to 3d. A whole number of days is returned in days, so 24h comes back as 1d. Null resets it to the default

probabilistic_impression_attribution_windowstring nullable

Duration literal: 0, whole hours 1h to 24h, or whole days 1d to 3d. A whole number of days is returned in days, so 24h comes back as 1d. Null resets it to the default

Example request

{
  "deterministic_click_attribution_window": "1d",
  "deterministic_impression_attribution_window": "1d",
  "probabilistic_click_attribution_window": "1d",
  "probabilistic_impression_attribution_window": "1d"
}

Response

The updated app

metaobject required

Always empty

Example response

{
  "data": {
    "attributes": {
      "name": "My Game",
      "bundle_id": "com.example.mygame",
      "platform": "ios",
      "store_id": "655745678",
      "rating": "4.5",
      "developer_name": "Example Games",
      "match_strings": [
        "mygame"
      ],
      "protocol": "mygame",
      "sending_events": true,
      "deterministic_click_attribution_window": "1d",
      "deterministic_impression_attribution_window": "1d",
      "probabilistic_click_attribution_window": "1d",
      "probabilistic_impression_attribution_window": "1d"
    }
  }
}

Changes

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