> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/optimizely/platform/optimizely-data-platform/account-settings/create-data-views-with-scopes.md).

# スコープを使用したデータビューの作成

### 概要 <a href="#gjdgxs" id="gjdgxs"></a>

スコープをデフォルトのユーザー権限およびロールと組み合わせて、カスタム データ ビューを作成します。 スコープを使用すると、管理者は各サイトまたはブランドの情報へのアクセスを個別に提供できます。

### 新しいスコープを作成する <a href="#id-30j0zll" id="id-30j0zll"></a>

スコープは、ユーザーに表示されるデータの種類を識別するために使用される式です。

1. **\[Account設定] > \[スコープ] > \[新しいスコープの作成]**&#x306B;移動します。
2. スコープに名前を付けてカスタマイズします。 [以下に](https://support.optimizely.com/hc/en-us/articles/4407268787341-Create-data-views-with-scopes#h_1fe994fe-f9be-4ece-88f2-58d82cf0a002)例を示します。
3. **「保存」**&#x3092;クリックします。

![odpscopes.png](/files/Ro6Jhk96lO181IUulkmz)

### 範囲の例 <a href="#id-1fob9te" id="id-1fob9te"></a>

スコープを作成するときは、 **+Value** 、 **+Add** 、およ&#x3073;**+Or**オプションを使用して、スコープの式をより複雑で対象を絞ったものにします。 以下の各例では、これらのオプションがどのように相互に構築され、ユーザーにとってより具体的なエクスペリエンスを作成できるかを確認します。 この例では、スコープをすべてのユーザーのロールに適用することも想定しています。

**+Value は、**&#x500B;々のルール内の追加の値を考慮します。 この例では、 **+Value**を使用してホスト名のスコープを作成しました。 ユーザーは、abc.com または def.com に関連するデータのみにアクセスできます。

![odpscopesvalue.png](/files/xpWYqrOe8ZiJd44aMs1q)

**+And**では複数のルールを一度に考慮する必要があります。 この例では、複数のホスト名のモバイル中心のデータに対し&#x3066;**+Add**&#x3068;**+Value**を使用しました。 ユーザーは、他のホスト名またはデバイスに関連するデータにアクセスできなくなります。

![odpscopesand.png](/files/bRCfTtAJBweSIYU9GWNF)

**+Or** は完全に別のルールを考慮します。 この例では、 abc.com と def.com のモバイル中心のデータ、またはghi.com に関連するすべてのデータに対して、以前のルールセット&#x3067;**+Or**を使用しました。

![odpscopesor.png](/files/K6PVPFMBYOtlYXP30tNj)

### 既存のスコープを変更する <a href="#id-3znysh7" id="id-3znysh7"></a>

1. **\[Account設定] > \[スコープ]**&#x306B;移動します。
2. 編集するスコープの名前をクリックします。
3. **\[編集]**&#x3092;クリックします。
4. 必要な変更を加えます。
5. **「保存」**&#x3092;クリックします。

### ユーザーにスコープを適用する <a href="#id-2et92p0" id="id-2et92p0"></a>

1. **\[Account設定] > \[ユーザーと権限]**&#x306B;移動します。
2. 検索バーまたは手動レビューを使用して、目的の既存のユーザーを見つけます。
3. ユーザー名の横にあ&#x308B;**「編集」アイコン**を選択します。
4. 目的のユーザー ロールにスコープを追加します。 スコープの制限は、各ロールに関連付けられたデータにのみ影響します。
5. **「保存」**&#x3092;クリックします。

![odpuserscope.png](/files/S1MXmo6mtu2O5ENwTGVu)

新しいユーザーを作成するときにスコープを適用することもできます。

### スコープの削除 <a href="#tyjcwt" id="tyjcwt"></a>

1. **\[Account設定] > \[スコープ]**&#x306B;移動します。
2. 編集するスコープの名前をクリックします。
3. **\[削除]**&#x3092;クリックします。
4. **「削除」**&#x3092;クリックします。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://manual.dxable.com/optimizely/platform/optimizely-data-platform/account-settings/create-data-views-with-scopes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
