Twitter Ads


Twitter Ads


Prerequisites

Before you can connect to Connect AI, you must create OAuth client credentials in Twitter Ads.

  1. Log in to https://developer.twitter.com/en/portal/projects-and-apps.

  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. Record the values of your new keys and tokens. You will need them later for authentication.

  6. Navigate to the User Application settings and click Set up.

  7. Turn on the ‘OAuth 1.0a’ authentication.

  8. From the available Application permissions, select Read and write and Direct 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 のダッシュボードからConnections ページを開きます。

  2. 右上の+ Add Connection をクリックします。

  3. 検索フィールドに Twitter Ads と入力し、データソース名をクリックします。

  4. 新しいコネクションのBasic Settings タブで、コネクション名を入力するかデフォルトの名前をそのまま使用します。

  5. Enter your OAuth Client Id obtained from the prerequisites.

  6. Enter your OAuth Client Secret otained from the prerequisites.

  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 Twitter Ads Connection ページ上部の、Save & Test をクリックします。

    • 接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatusAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。

    • 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。

    • 失敗したコネクションは下書きとして保存され、StatusNot Authenticated になります。後でコネクションに戻って認証することができます。

詳細について

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