/app/{app_token}/settingsエンドポイントを使用して詳細なアプリ設定を取得します。このエンドポイントは、イベント、パートナー、アトリビューション設定など、アプリの設定に関する包括的な情報を提供します。
アプリ設定を取得
特定のアプリの詳細設定を取得します。すべての設定をリクエストするか、特定のセクションでフィルタリングできます。
APIプロトコル
エンドポイント: https://automate.adjust.com/app-automation/app/{app_token}/settings
メソッド: GET
レスポンス: アプリ設定レスポンス
パラメーター
| パラメーター | データタイプ | 入力する値 | 必須 | 説明 |
|---|---|---|---|---|
app_token | String | パス | はい | Adjustアプリトークン。 |
sections | Array[String] | クエリ | いいえ | 特定のセクションでフィルタリング。指定がない場合は、すべてのセクションが返されます。 |
利用可能なセクション
このエンドポイントは、アプリ設定レスポンスにリストされた全てのセクションをサポートします。
例
すべてのアプリ設定を取得
curl --location 'https://automate.adjust.com/app-automation/app/abc123xyz/settings' \--header 'Authorization: Bearer {your-adjust-api-token}'{ "app_info": { "id": 12345, "name": "My App", "app_token": "abc123xyz", "default_platform": "android", "stores": { "google_play": { "store_id": "com.example.myapp" } } }, "events": [ { "name": "purchase", "unique": false, "archived": false, "token": "abc1de", "app_token": "abc123xyz" }, { "name": "registration", "unique": true, "archived": false, "token": "fgh2ij", "app_token": "abc123xyz" } ], "partners": [ { "name": "facebook", "revenue_forwarding": true, "session_forwarding": false, "parameter_forwarding": true, "events_linking": { "purchase": "fb_purchase" } } ], "attribution_settings": { "click_device_matching": { "window": 604800, "enabled": true }, "click_fingerprinting": { "window": 86400, "enabled": true }, "impression_device_matching": { "window": 86400, "enabled": true } }}特定のセクションのみを取得
curl --location 'https://automate.adjust.com/app-automation/app/abc123xyz/settings?sections=events§ions=partners' \--header 'Authorization: Bearer {your-adjust-api-token}'{ "events": [ { "name": "purchase", "unique": false, "archived": false, "token": "abc1de", "app_token": "abc123xyz" } ], "partners": [ { "name": "facebook", "revenue_forwarding": true, "session_forwarding": false, "events_linking": {} } ]}SDKシークレットを取得(v3を含む)
curl --location 'https://automate.adjust.com/app-automation/app/abc123xyz/settings?sections=combined_secrets' \--header 'Authorization: Bearer {your-adjust-api-token}'{ "combined_secrets": { "enforce_install_signing": true, "secrets": [ { "id": 1001, "name": "Production Secret", "active": true, "value": ["secret1", "secret2", "info1", "info2"], "internal_version": 2, "version": 2, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z" }, { "id": 2001, "platform": "android", "label": "Android SDK Secret", "active": true, "algorithm": "adj1", "internal_version": 2, "version": 3, "created_at": "2024-06-01T12:00:00Z", "updated_at": "2024-06-01T12:00:00Z" } ] }}設定をCSV形式で取得する
アプリ設定をCSV形式でエクスポートします。現在、イベントのエクスポートがサポートされています。
APIプロトコル
エンドポイント: https://automate.adjust.com/app-automation/settings/csv
メソッド: GET
レスポンス: CSVファイルの内容
パラメーター
| パラメーター | データタイプ | 入力する値 | 必須 | 説明 |
|---|---|---|---|---|
section | String | クエリ | はい | エクスポートするセクション。現在サポートされているのはeventsのみです。 |
app_tokens | String | クエリ | はい | エクスポートに含めるアプリトークンのコンマ区切りのリスト。 |
例
curl --location 'https://automate.adjust.com/app-automation/settings/csv?section=events&app_tokens=abc123xyz,def456uvw' \--header 'Authorization: Bearer {your-adjust-api-token}'app_token,event_name,event_token,unique,archivedabc123xyz,purchase,abc1de,false,falseabc123xyz,registration,fgh2ij,true,falsedef456uvw,purchase,klm3no,false,falsedef456uvw,level_complete,pqr4st,false,falseデータモデル
アプリ設定レスポンス
すべてのフィールドはオプションであるため、要求された場合にのみ、対応するセクションが含まれます。
| パラメーター | データタイプ | 説明 |
|---|---|---|
app_info | Object | アプリの基本情報。 |
attribution_privacy_model | String | アトリビューションプライバシーモデル(iOSのみ)。 |
attribution_settings | Object | アトリビューション期間の設定。 |
callbacks | Array[Object] | サーバーコールバックの設定。 |
csv_upload_settings | Object | クラウドストレージのアップロード設定。 |
events | Array[Object] | イベントの定義。 |
external_data_forwarding | Object | データ転送の設定。 |
fraud_prevention_settings | Object | 不正防止の設定。 |
partners | Array[Object] | パートナーモジュールの設定。 |
purchase_verification | Object | 購入認証の設定。 |
signature | Object | Androidフィンガープリントを含むシグネチャー設定。 |
sdk_secrets | Object | レガシー版のSDKシークレットの設定。 |
combined_secrets | Object | すべてのSDKシークレット(レガシー+v3)。 |
skad_network | Object | SKAdNetwork v3の設定。 |
skad_network_v4 | Object | SKAdNetwork v4の設定。 |
preview_link_settings | Object | ソーシャル共有プレビューの設定。 |
s2s | Object | サーバー間(S2S)セキュリティ設定。 |
trackers | Array[Object] | トラッカーの設定。 |
イベント設定
| パラメーター | データタイプ | 説明 |
|---|---|---|
name* | String | イベント名。 |
unique* | Boolean | イベントがユーザーごとに一意かどうか。 |
archived* | Boolean | イベントをアーカイブするかどうか。 |
token* | String | SDK実装用のイベントトークン。 |
app_token* | String | このイベントが属するアプリトークン。 |
パートナー設定
| パラメーター | データタイプ | 説明 |
|---|---|---|
name* | String | パートナーの名前/スラッグ。 |
revenue_forwarding | Boolean | 収益データを転送するかどうか。 |
session_forwarding | Boolean | セッションデータを転送するかどうか。 |
parameter_forwarding | Boolean | パートナーパラメーターを転送するかどうか。 |
cost_forwarding | Boolean | コストデータを転送するかどうか。 |
attributed_only | Boolean | アトリビュートされたデータのみを転送するかどうか。 |
uninstall_forwarding | Boolean | アンインストールデータを転送するかどうか。 |
ad_revenue_forwarding | Boolean | 広告収益を転送するかどうか。 |
channel_setup | Object | パートナー固有の設定。 |
events_linking | Object | このパートナーのイベント名のマッピング。 |
シークレットのレスポンスの組み合わせ
| パラメーター | データタイプ | 説明 |
|---|---|---|
enforce_install_signing* | Boolean | 未署名のインストールを拒否するかどうか。 |
secrets* | Array[Object] | レガシー版を含むすべてのSDKシークレットのリスト。 |
レガシー版シークレット
| パラメーター | データタイプ | 説明 |
|---|---|---|
id* | Integer | シークレットID。 |
name | String | シークレットの名前/ラベル。 |
active* | Boolean | シークレットがアクティブであるかどうか。 |
value* | Array[String] | シークレットの値。 |
internal_version* | Integer | SDKシグネチャーライブラリのバージョン。 |
version* | Integer | SDKシークレットのバージョン(1または2)。 |
created_at* | String | 作成時のISO形式のdatetime。 |
updated_at* | String | 最終更新時のISO形式のdatetime。 |
SDKシークレット
| パラメーター | データタイプ | 説明 |
|---|---|---|
id* | Integer | シークレットID。 |
platform* | String | ターゲットプラットフォーム(android、ios)。 |
label* | String | シークレットのラベル。 |
active* | Boolean | シークレットがアクティブであるかどうか。 |
algorithm* | String | シグネチャーのアルゴリズム。 |
internal_version* | Integer | SDKシグネチャーライブラリのバージョン。 |
version* | Integer | SDKシークレットのバージョン(3以降)。 |
created_at* | String | 作成時のISO形式のdatetime。 |
updated_at* | String | 最終更新時のISO形式のdatetime。 |