SKAdNetwork Configuration API

    SKAdNetwork (SKAN) is Apple’s privacy-preserving framework for attributing iOS app installs without relying on user information or device information. Airbridge’s SKAdNetwork Configuration API provides ad channels with conversion values and the event mapped to each conversion value. Ad channels can then decode the postbacks they receive. The API returns as a nested JSON.

    Marketers can modify the mapping of conversion values and events at any time. Therefore, ad channels are recommended to call the SKAdNetwork Configuration API on a daily basis and keep the conversion value schema up to date.


    Response for all versions of SKAN

    GET

    https://api.airbridge.io/skadnetwork/v1/conversion-value-schema?api_key=/{API_KEY}&response_format={RESPONSE_FORMAT}&itunes_app_id={ITUNES_APP_ID}

    The following table describes the information a SKAN postback may contain, and how the information is structured and labelled.

    Note that Airbridge has two versions of [SKAN Conversion Value Rule] page, one of which supports all versions of SKAN, including both 3.0 or 4.0. The following table and the SKAdNetwork Configuration API are only applicable to the all-version page. For more information the [SKAN Conversion Value Rule] page, refer to this article.

    Request

    Headers

    Accept-Language
    string

    You can specify the language to use for API requests and responses. It follows the ISO-639-1 format.

    Content-Type
    string

    Represents the media type of the resource. Defaults to application/json.

    Query Params

    itunes_app_id
    必須string

    iOS App Store ID.

    ex) 1370724782

    response_format
    必須string

    The names of Integrated Channels are shown using the Airbridge display name.

    ex) tiktok, facebook.business

    Guide) Ad Channels Integrated with Airbridge

    api_key
    必須string

    API key that Airbridge provides to authenticated ad channels.

    Request
    123
    curl -X GET 'https://api.airbridge.io/skadnetwork/v1/conversion-value-schema?api_key={API_KEY}&response_format={RESPONSE_FORMAT}&itunes_app_id={ITUNES_APP_ID}' \
      -H 'Accept-Language: ko' \
      -H 'Content-Type: application/json'

    Response

    200SUCCESS

    config_type
    string
    default_currency
    string
    last_update_time
    number
    postbacks
    object[]

    401ERROR

    404ERROR

    Not Found: URL.

    404ERROR

    Response
    1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
    {
      "postbacks": [
        {
          "conversion_schema": {
            "fine": {
              "schema": [
                {
                  "events": [],
                  "is_overlapped": false,
                  "conversion_value": "0"
                },
                {
                  "events": [
                    {
                      "values": {
                        "max_amount": 1,
                        "min_amount": 0
                      },
                      "event_name": "airbridge.ecommerce.order.completed",
                      "measurement_type": "engagement",
                      "partner_event_name": "adnetwork_mobile_purchase"
                    },
                    {
                      "values": {
                        "max_amount": 10000,
                        "min_amount": 0
                      },
                      "event_name": "airbridge.ecommerce.order.completed",
                      "measurement_type": "revenue",
                      "partner_event_name": "adnetwork_mobile_purchase"
                    }
                  ],
                  "is_overlapped": false,
                  "conversion_value": "1"
                }
              ],
              "lock_window": null
            },
            "coarse": {
              "schema": [
                {
                  "events": [
                    {
                      "values": {
                        "max_amount": 4,
                        "min_amount": 3
                      },
                      "event_name": "app_open",
                      "measurement_type": "retention",
                      "partner_event_name": null
                    }
                  ],
                  "is_overlapped": null,
                  "conversion_value": "low"
                }
              ]
            }
          },
          "postback_sequence_index": 0
        }
      ],
      "config_type": "SKAN 4.0",
      "default_currency": "KRW",
      "last_update_time": 1700000000
    }

    Get SKAN 3.0 Conversion Value Schema (Deprecated)

    GET

    https://api.airbridge.io/skadnetwork/conversion-bit-config/v4?api_key=/{API_KEY}&response_format={RESPONSE_FORMAT}&itunes_app_id={ITUNES_APP_ID}

    Get SKAN 3.0 Conversion Value Schema.

    Request

    Headers

    Accept-Language
    string

    You can specify the language to use for API requests and responses. It follows the ISO-639-1 format.

    Content-Type
    string

    Represents the media type of the resource. Defaults to application/json.

    Query Params

    ios_app_store_id
    必須string

    Itunes App ID (ex. 1370724782)

    response_format
    必須string

    The names of Integrated Channels are shown using the Airbridge display name.

    ex) tiktok, facebook.business

    Guide) Ad Channels Integrated with Airbridge

    api_key
    必須string

    API key that Airbridge provides to authenticated ad channels.

    Request
    123
    curl -X GET 'https://api.airbridge.io/skadnetwork/conversion-bit-config/v4?api_key={API_KEY}&response_format={RESPONSE_FORMAT}&itunes_app_id={ITUNES_APP_ID}' \
      -H 'Accept-Language: ko' \
      -H 'Content-Type: application/json'

    Response

    200SUCCESS

    #{"width":"60px"}

    Query Parameters

    #{"width":"20px"}

    Type

    #{"width":"180px"}

    Description

    default_currency

    string

    The three-letter code for the app’s standard currency set within Airbridge.

    last_update_time

    number

    The Unix timestamp corresponding to the last update time of SKAN settings in Airbridge.

    conversion_bits_rules

    object

    The conversion value schema.

    .$.conversion_value

    string

    The conversion value, which is an integer between 0 and 63.

    .$.events

    array

    Information about the event mapped to the conversion value.

    .$.$.event_name

    string

    The Event Category of the event mapped to the conversion value; Is different from the event name set by ad channels.

    .$.$.values

    object

    Information about the ranges for the selected measurement type.

    .$.$.values.amount

    number

    The lower value of the range; Is included in the range.

    .$.$.values.max_amount

    number

    The upper value of the range; Is not included in the range.

    Response
    123456789101112131415161718192021222324252627282930313233
    {
      "default_currency": "USD",
      "last_update_time": 1700000000,
      "conversion_bits_rules": [
        {
          "events": [
            {
              "values": {
                "amount": 1,
                "max_amount": 10000
              },
              "event_name": "adnetwork_purchase"
            }
          ],
          "conversion_value": 1
        },
        {
          "events": [
            {
              "values": {
                "amount": 1,
                "max_amount": 10000
              },
              "event_name": "adnetwork_purchase"
            },
            {
              "event_name": "adnetwork_signup"
            }
          ],
          "conversion_value": 2
        }
      ]
    }

    このページは役に立ちましたか?

    ご質問やご提案はありますか?