Use the Campaign endpoint to create links for your application.
POST https://settings.adjust.com/api/campaignCreate new links
Use this endpoint to create new links for your app. If you are working with partners that require setup, you need to include this information.
Parameters
| Name | Data type | In | Description |
|---|---|---|---|
store_id* | String | Body | Bundle ID for Android | Store ID for iOS. |
platform* | String | Body | android or ios. |
channel* | String | Body | See Ad Networks below. |
campaign_name | String | Body | Deprecated. Left in for compatibility with existing APIs. |
channel_setup | Object | Body | Partner-specific parameters. See the Channel setup article for more information. |
android_signature_hash | String | Body | SHA1 hash, generated from the keystore file to build the SDK signature. |
Ad networks
apple_search_adsapplovinchartboostcrossinstallcrosspromotiondigitalturbinefacebookgameanalyticsgoogleironsourcesnapchattapjoyunityadsvungleinmobi
Response parameters
| Name | Data type | Description |
|---|---|---|
click_url* | String | App-specific and channel-specific URL to be used as Click URL of the new Campaign. |
impression_url* | String | App-specific and channel-specific URL to be used as Impression URL of the new Campaign. |
{ "click_url": "String", "impression_url": "String"}Example
$ curl \--header "AdjustAuthorization: Token <adjust api token>" \--header "Content-Type: application/json" \--data '{"store_id": "test.bundle.app", "platform": "ios", "channel": "unityads"}' \-X POST https://settings.adjust.com/api/campaign{ "click_url": "https://app.adjust.com/1lwd85", "impression_url": "https://view.adjust.com/impression/1lwd85"}