メインコンテンツへスキップ

Prerequisites

Before you can connect to Connect AI, you must create OAuth client credentials in Twitter Ads.
2
Create a new Project in the Developer Portal.
3
At the project you just created, click Add App.
4
Set a name for the Application. Twitter Ads displays your keys and tokens.
5
Consumer KeyConsumer Secret の値を記録します。これらは、Add Twitter Ads Connection ページにある Client IdClient Secret で必要になります。
6
Navigate to the User Application settings and click Set up.
7
Turn on the ‘OAuth 1.0a’ authentication.
8
利用可能なアプリ権限から、Read and writeDirect message を選択します。
9
Specify the URL of the website and other optional information to be displayed to users when they connect.
10
Set the Callback URL (also known as the Redirect URL) to https://oauth.cdata.com/oauth/.

セットアップガイド

以下の手順で、Twitter Ads をConnect AI アカウントに接続します:
1
Connect AI のナビゲーションメニューからSources ページを開きます。
2
右上の + Add Connection をクリックします。
3
検索フィールドに Twitter Ads と入力し、データソース名をクリックします。
4
新しいコネクションのBasic Settings タブで、コネクション名を入力するかデフォルトの名前をそのまま使用します。
5
OAuth Client Id については、前提条件で取得した Consumer Key を入力します。
6
OAuth Client Secret については、前提条件で取得した Consumer Secret を入力します。
7
(Optional) Enter your Account Id if you want to restrict your connection to a specific account.
8
OAuth でセキュアに接続するには、Sign in をクリックします。これにより、Twitter Ads のサインインページが新しいタブで開かれます。
9
Twitter Ads アカウントにログインし、リクエストされた権限を設定します(該当する場合)。
10
Connect AI Add Connection ページ上部の、Save & Test をクリックします。
  • 接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatusAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。
  • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。
  • 失敗したコネクションは下書きとして保存され、StatusNot Authenticated になります。後でコネクションに戻って認証することができます。

詳細について

Connect AI とTwitter Ads の連携の詳細動作については、こちらのページを参照してください。