adjust-icon

Campaign endpoint

Use the Campaign endpoint to create links for your application.

Endpoint
POST https://settings.adjust.com/api/campaign

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

NameData typeInDescription
store_id*StringBodyBundle ID for Android | Store ID for iOS.
platform*StringBodyandroid or ios.
channel*StringBodySee Ad Networks below.
campaign_nameStringBodyDeprecated. Left in for compatibility with existing APIs.
channel_setupObjectBodyPartner-specific parameters. See the Channel setup article for more information.
android_signature_hashStringBodySHA1 hash, generated from the keystore file to build the SDK signature.
Ad networks
  • apple_search_ads
  • applovin
  • chartboost
  • crossinstall
  • crosspromotion
  • digitalturbine
  • facebook
  • gameanalytics
  • google
  • ironsource
  • snapchat
  • tapjoy
  • unityads
  • vungle
  • inmobi

Response parameters

NameData typeDescription
click_url*StringApp-specific and channel-specific URL to be used as Click URL of the new Campaign.
impression_url*StringApp-specific and channel-specific URL to be used as Impression URL of the new Campaign.
Response format
{
"click_url": "String",
"impression_url": "String"
}

Example

cURL
$ 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
Success response
{
"click_url": "https://app.adjust.com/1lwd85",
"impression_url": "https://view.adjust.com/impression/1lwd85"
}