CData Sync App は、Twitter Ads データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。
Twitter Ads コネクタはCData Sync アプリケーションから使用可能で、Twitter Ads からデータを取得して、サポートされている任意の同期先に移動できます。
Sync App はTwitter Ads REST API バージョン7 の動作をビューとしてモデル化します。Twitter Ads API への接続には、開発者アカウントが必要です。
必須プロパティについては、設定タブを参照してください。
通常必須ではない接続プロパティについては、高度な設定タブを参照してください。
接続するには、以下の変数を設定します。
Twitter Ads への接続 をクリックして、デフォルトブラウザでOAuth エンドポイントを開きます。ログインして、アプリケーションにアクセス許可を与えます。
ドライバーは、以下のようにOAuth プロセスを完了します。
このセクションでは、Twitter Ads Sync App の高度な機能を厳選して説明します。
Sync App はユーザー定義ビューの使用をサポートします。これは事前設定されたユーザー定義クエリによって内容が決定される仮想テーブルです。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。
SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。詳しくは、「接続文字列オプション」にあるSSLServerCert プロパティを参照してください。
Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。
詳しくは、クエリ処理 を参照してください。
デフォルトでは、Sync App はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
CData Sync App は、Twitter Ads エンティティをリレーショナルテーブル、ビュー、およびストアドプロシージャにモデル化します。
Sync App は、Twitter Ads API を使用してサポートされているフィルタを処理します。その他のフィルタは、Sync App 内でクライアント側で処理されます。
ビュー は変更ができないテーブルです。一般的には、Read-only で更新が不可能なデータはビューとして表されます。
ストアドプロシージャ は、データソースのファンクションライクなインターフェースです。これらを使用して、データソース内の情報を検索、更新、および変更できます。
Sync App はTwitter Ads のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
| Name | Description |
| AdAudiencePermissions | Retrieve details for some or all permissions associated with the specified tailored audience. |
| AdAudiences | Retrieve details for some or all Tailored Audiences associated with the current account. |
Retrieve details for some or all permissions associated with the specified tailored audience.
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | True |
The unique identifier of the ad audience permission. |
| AudienceId [KEY] | String | False |
The unique identifier of the ad custom audience. |
| AccountId | String | False |
Id of the advertising account to work with. |
| GrantedAccountId | String | False |
The unique identifier of the ad account who has been granted this permission. |
| CreatedAt | Datetime | True |
The time of the creation of this audience permission. |
| Deleted | Boolean | True |
Whether the audience permission is deleted. |
| PermissionLevel | String | False |
The level of the audience permission. |
| UpdatedAt | Datetime | True |
The time of the last change of the properties of this audience permission. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| IncludeDeleted | String |
Boolean used for including or not the deleted accounts. デフォルト値はfalseです。 |
Retrieve details for some or all Tailored Audiences associated with the current account.
Only the Id filter is supported.
SELECT * FROM AdAudiences WHERE Id = 'TXR1'
This table supports simple Insert and batch Insert operations.
Simple Insert:
INSERT INTO [AdAudiences] (name) VALUES ('test')
Batch Insert:
Batch inserts are used to generate a new audience based on existing audiences and by setting a couple of conditions on them.
For example: To create a new audience based on the most active users of X1 AND (X2 or X3) audience the structure would be like this:
INSERT INTO a#TEMP (CustomAudienceId, frequency, frequencyComparator, lookbackWindow, negate) VALUES ('TYIF', 1, 'NUM_GT', 30, true)
INSERT INTO b#TEMP (CustomAudienceId, lookbackWindow) VALUES ('TXR1', 30)
INSERT INTO c#TEMP (CustomAudienceId, frequency, frequencyComparator, lookbackWindow, negate) VALUES ('TYFO', 1, 'NUM_GT', 30, true)
INSERT INTO AdAudiences#TEMP (audienceType, name, segments) VALUES ('FLEXIBLE', 'Test1', 'a#TEMP AND (b#TEMP OR c#TEMP)')
INSERT INTO [AdAudiences] (audienceType, name, segments) SELECT audienceType, name, segments FROM [AdAudiences#TEMP]
Make sure to set the required columns on initial temp tables, for example a#TEMP, which are: CustomAudienceId and LookbackWindow.
Values that are set in these temp table will be used by AdAudiences#TEMP in the Segments column, which will be used as a criteria, combined with AND/OR logical operators.
Simple Update:
UPDATE [AdAudiences] SET Name = 'testModified' WHERE Name = 'test'
Batch Update:
Batch updates are used to modify an existing audience by setting a couple of new conditions on it.
For example: To modify an audience based on the most active users of X1 AND (X2 or X3) audience the structure would be like this:
INSERT INTO a#TEMP (CustomAudienceId, frequency, frequencyComparator, lookbackWindow, negate) VALUES ('TYIF', 1, 'NUM_GT', 30, true)
INSERT INTO b#TEMP (CustomAudienceId, lookbackWindow) VALUES ('TXR1', 30)
INSERT INTO c#TEMP (CustomAudienceId, frequency, frequencyComparator, lookbackWindow, negate) VALUES ('TYFO', 1, 'NUM_GT', 30, true)
INSERT INTO AdAudiences#TEMP (audienceType, name, segments) VALUES ('FLEXIBLE', 'Test1', 'a#TEMP AND (b#TEMP OR c#TEMP)')
UPDATE [AdAudiences] (audienceType, name, segments) SELECT audienceType, name, segments FROM [AdAudiences#TEMP]
Simple Delete:
DELETE FROM [AdAudiences] WHERE Name = 'test'
Batch Delete:
INSERT INTO a#TEMP (CustomAudienceId, frequency, frequencyComparator, lookbackWindow, negate) VALUES ('TYIF', 1, 'NUM_GT', 30, true)
INSERT INTO b#TEMP (CustomAudienceId, lookbackWindow) VALUES ('TXR1', 30)
INSERT INTO c#TEMP (CustomAudienceId, frequency, frequencyComparator, lookbackWindow, negate) VALUES ('TYFO', 1, 'NUM_GT', 30, true)
INSERT INTO AdAudiences#TEMP (audienceType, name, segments) VALUES ('FLEXIBLE', 'Test1', 'a#TEMP AND (b#TEMP OR c#TEMP)')
DELETE FROM [AdAudiences] WHERE EXISTS SELECT audienceType, name, segments FROM [AdAudiences#TEMP]
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | True |
The unique identifier of the ad tailored audience. |
| AccountId | String | False |
Id of the advertising account to work with. |
| OwnerAccountId | String | True |
The unique identifier of the owner account. |
| Name | String | False |
The name of the tailored audience. |
| AudienceSize | Integer | True |
The size of the tailored audience. |
| AudienceType | String | True |
The type of the tailored audience. |
| CreatedAt | Datetime | True |
The time of the creation of this audience. |
| UpdatedAt | Datetime | True |
The time of the last change of the properties of this audience. |
| PartnerSource | String | True |
The partner source of this tailored audience. |
| PermissionLevel | String | True |
The permission level of this tailored audience. |
| ReasonsNotTargetable | String | True |
The reasons why this audience is not targetable, if it is not targetable. |
| TargetableTypes | String | True |
Targetable types of the audience. |
| Targetable | Boolean | True |
Shows if the audience is targetable or not. |
| Deleted | Boolean | True |
Whether the audience is deleted. |
| Segments | String | True |
Useful only in Batch Insert, Update and Delete operations. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| IncludeDeleted | String |
Boolean used for including or not the deleted accounts. デフォルト値はfalseです。 |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| AdAccounts | 認証するユーザーがアクセスできるすべての広告アカウントを取得します。 |
| AdActiveEntities | Retrieve details about which entities' analytics metrics have changed in a given time period. |
| AdCampaignAudienceReach | Retrieve reach and average frequency analytics for specified campaigns. |
| AdCampaigns | 現在のアカウントに関連付けられている一部またはすべてのキャンペーンの詳細を取得します。 |
| AdCards | Retrieve details for some or all cards associated with the current account. |
| AdFundingInstruments | パスで指定されたアカウントに関連付けられている一部もしくはすべてのお支払方法を取得します。 |
| AdFundingInstrumentsAudienceReach | Retrieve reach and average frequency analytics for specified funding instruments. |
| AdLineItems | 指定されたアカウントに関連付けられた一部もしくはすべてのfunding instruments を取得します。 |
| AdPromotedTweets | 認証するユーザーがアクセスできるすべての広告ツイート。 |
| AdStats | 特定のエンティティのすべての利用可能な指標の情報をクエリします。 |
| AdTweets | Retrieve all of the advertising-enabled Tweets the authenticating user has access to. |
認証するユーザーがアクセスできるすべての広告アカウントを取得します。
このビューでは、使用可能なフィルタはありません。
| Name | Type | Description |
| Id [KEY] | String | アカウントの一意の識別子。 |
| Name | String | アカウントの名前。 |
| ApprovalStatus | String | アカウントがプロモーションに適切かどうかを示します。次の値を指定できます:ACCEPTED、UNDER_REVIEW、もしくはREJECTED。 |
| CreatedAt | Datetime | アカウントが作成された時刻。 |
| UpdatedAt | Datetime | アカウントのプロパティが最後に編集された時刻。 |
| Timezone | String | アカウント設定で選択されたタイムゾーン。それぞれのキャンペーンはこのタイムゾーンが適用されます。 |
| TimezoneSwitchAt | Datetime | 最後にタイムゾーンが変更された時刻。 |
| Deleted | Boolean | アカウントが削除されたかどうか。 |
| Salt | String | アカウントを指定するユニークなランダム文字列。 |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| IncludeDeleted | String | 削除されたアカウントを含むかどうかのboolean。
デフォルト値はfalseです。 |
Retrieve details about which entities' analytics metrics have changed in a given time period.
| Name | Type | Description |
| EntityID | String | The identifier for the leveraged account. Appears within the resource's path and is generally a required parameter for all Advertiser API requests excluding GET accounts. The specified account must be associated with the authenticated user. |
| AccountId | String | Id of the advertising account to work with. |
| ActivityStartTime | Datetime | Start time of the activity |
| ActivityEndTime | Datetime | The end time of the activity |
| Placements | String |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| Entity | String | The entity type to retrieve data for. |
| StartTime | Datetime | Scopes the retrieved data to the specified start time, expressed in ISO 8601. |
| EndTime | Datetime | Scopes the retrieved data to the specified end time, expressed in ISO 8601. |
| CampaignIds | String | Scope the response to just entities associated with desired campaigns by specifying a comma-separated list of identifiers. Up to 200 IDs may be provided. |
| FundingInstrumentIds | String | Scope the response to just entities associated with desired funding instruments by specifying a comma-separated list of identifiers. Up to 200 IDs may be provided. |
Retrieve reach and average frequency analytics for specified campaigns.
| Name | Type | Description |
| AccountId | String | The unique identifier of the ad account. |
| CampaignIds [KEY] | String | |
| TotalAudienceReach | String | |
| AverageFrequency | String | |
| StartTime | Datetime | Scopes the retrieved data to the specified start time, expressed in ISO 8601. |
| EndTime | Datetime | Scopes the retrieved data to the specified end time, expressed in ISO 8601. |
現在のアカウントに関連付けられている一部またはすべてのキャンペーンの詳細を取得します。
AccountId フィルタがサポートされています。これは分析に関連するすべてのビューで一般的に必要とされるフィルタです。指定された場合、AccountId 接続プロパティの値をオーバーライドします。値が指定されない場合には、Sync App はAdAccount ビューから返されたリストの初めのアカウントを取得しに行きます。
| Name | Type | Description |
| Id [KEY] | String | キャンペーンの一意の識別子。特定のキャンペーンを識別するために使用されます。 |
| AccountId | String | 使用する広告アカウントのId。 |
| Name | String | キャンペーンの名前。 |
| CreatedAt | Datetime | キャンペーンが作成された時刻。 |
| UpdatedAt | Datetime | キャンペーンのプロパティが最後に変更された時刻。 |
| EntityStatus | String | このエンティティのステータス:ACTIVE、DRAFT、およびPAUSED。 |
| TotalBudget | Long | キャンペーンにユーザーが設定した総予算。 |
| DailyBudget | Long | キャンペーンで使用できる1日の上限予算金額。 |
| Currency | String | デフォルトの通貨。 |
| FundingInstrumentId | String | キャンペーンの予算源として使用されたお支払方法を識別するID。 |
| StandardDelivery | String | True の場合、このフィールドは1日を通して均等な割合で予算を消費します。それ以外の場合は、日別予算がなくなるまでできるだけ早くインプレッションを獲得してエンゲージメントを生成します。ターゲティングや競合相手によっては、1日の早いうちに予算がなくなる場合があります。これは、集中配信と呼ばれます。 |
| Deleted | Boolean | キャンペーンが削除され、配信されなくなったかどうかを示します。 |
| BudgetOptimization | String | Indicates the type of budget optimization being applied |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| IncludeDeleted | String | 削除されたアカウントを含めるかどうかのboolean。
デフォルト値はfalseです。 |
Retrieve details for some or all cards associated with the current account.
| Name | Type | Description |
| id [KEY] | String | The id identifier for a card. |
| AccountId | String | Id of the advertising account to work with. |
| Name | String | The name for the card. Maximum length: 80 characters. |
| CreatedAt | Datetime | The date the card was created. |
| UpdatedAt | Datetime | The date the card was last updated. |
| Deleted | Boolean | Whether the card is deleted or not |
| CardType | String | The type of the card. |
| ComponentType | String | The type of the component. |
| MediaKeys | String | Media Keys |
| LabelType | String | Labels define the text shown on buttons |
| LabelValue | String | The value of the label |
| DestinationType | String | The destination type, which determines its schema. |
| DestinationURL | String | The URL of the website to redirect a user to. |
| DestinationCountryCode | String | The ISO 3166-1 alpha-2 two-letter code for the country where the app is sold. |
| DestinationGooglePlayAppId | String | The Google Play application package name. |
| DestinationIOSAppStoreId | String | The iOS app store identifier. |
| DestinationGooglePlayDeepLink | String | A deep link into the Android app you're promoting. |
| DestinationIOSDeepLink | String | A deep link into the iOS app you're promoting. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| IncludeDeleted | String | Boolean used for including or not the deleted accounts.
デフォルト値はfalseです。 |
パスで指定されたアカウントに関連付けられている一部もしくはすべてのお支払方法を取得します。
AccountId フィルタがサポートされています。これは分析に関連するすべてのビューで一般的に必要とされるフィルタです。指定された場合、AccountId 接続プロパティの値をオーバーライドします。値が指定されない場合には、Sync App はAdAccount ビューから返されたリストの初めのアカウントを取得しに行きます。
| Name | Type | Description |
| Id [KEY] | String | お支払方法の識別子。 |
| AccountId | String | 使用する広告アカウントのId。 |
| Type | String | お支払方法は次のいずれかになります:クレジットカード、クレジットライン、複数ユーザー名のクレジットライン。 |
| Description | String | お支払方法の拡張情報。 |
| CreatedAt | Datetime | レコードが作成された時刻。 |
| UpdatedAt | Datetime | 項目のプロパティに関連付けられた最後の請求時刻。 |
| CreditLimit | Long | このお支払い方法で利用可能な合計クレジット額。 |
| FundedAmount | Long | このお支払い方法に割り当てられた合計予算額。 |
| CreditRemaining | Long | このお支払方法で利用可能なクレジット残高。 |
| Currency | String | デフォルトの通貨。 |
| StartTime | Datetime | この方法が利用可能になった時刻。 |
| EndTime | Datetime | この方法が利用できなくなった時刻。 |
| Cancelled | Boolean | お支払い方法がキャンセルされたかどうかを示します。 |
| Deleted | Boolean | 項目が削除され、使用できなくなったかどうかを示します。 |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| IncludeDeleted | String | 削除されたアカウントを含むかどうかのboolean。
デフォルト値はfalseです。 |
Retrieve reach and average frequency analytics for specified funding instruments.
| Name | Type | Description |
| AccountId | String | Id of the advertising account to work with. |
| FundingInstrumentIds [KEY] | String | The unique identifier of the ad account. |
| TotalAudienceReach | String | |
| AverageFrequency | String | |
| StartTime | Datetime | Scopes the retrieved data to the specified start time, expressed in ISO 8601. |
| EndTime | Datetime | Scopes the retrieved data to the specified end time, expressed in ISO 8601. |
指定されたアカウントに関連付けられた一部もしくはすべてのfunding instruments を取得します。
AccountId フィルタがサポートされています。これは分析に関連するすべてのビューで一般的に必要とされるフィルタです。指定された場合、AccountId 接続プロパティの値をオーバーライドします。値が指定されない場合には、Sync App はAdAccount ビューから返されたリストの初めのアカウントを取得しに行きます。
| Name | Type | Description |
| Id [KEY] | String | 特定のラインアイテムを指定するユニークなラインアイテムId。 |
| AccountId | String | レバレッジされたアカウントの識別子。 |
| CampaignId | String | 扱うキャンペーンのId。 |
| Name | String | ラインアイテムにアサインされた名前。ブランクの場合は、デフォルトでUntitled となります。 |
| TotalBudget | Long | ラインアイテムに関連付けられたbid 額を表す数字。指定されたfunding instrument の通貨が使われます。USD の場合、$1.50 は1.50*1e6 もしくは、1,500,000 となります。 |
| BidType | String | ビッドメカニズム。 |
| AutomaticallySelectBid | Boolean | [非推奨]このboolean パラメータがtrue の場合、日次の予算とキャンペーンが出る日をベースにビッドが自動的に最適化されます。 |
| ProductType | String | このラインアイテムが含むプロモーション製品のタイプ。 |
| Placements | String | このラインアイテムが表示されるプレースメント位置のカンマ区切りのリスト。 |
| Objective | String | ラインアイテムのキャンペーン目標。 |
| EntityStatus | String | このエンティティのステータス:ACTIVE、DRAFT、およびPAUSED。 |
| IncludeSentiment | String | ラインアイテムがポジティブ、もしくはネガティブなセンチメントでターゲットされたかどうか。ツイートのトーンがポジティブの場合、ツイートはポジティブもしくはネガティブのセンチメントを持つといわれます。これは、Product Type がPROMOTED_TWEETS であり、プレースメントがALL_OF_TWITTER、もしくはTWITTER_TIMELINES の場合に有効です。有効な値は次のとおりです:デフォルトのPOSITIVE_ONLY はポジティブなセンチメントのツイートのみをターゲットにし、ALL はネガティブセンチメントを含むすべてのツイートをターゲットにします。 |
| TotalBudgetAmountLocalMicro | Long | ラインアイテムに割り当てられる予算額を表す数字。指定されたfunding instrument およびキャンペーンの通貨が使われます。USD の場合、$37.50 は37.50*1e6 もしくは、37,500,000 とエンコードされます。 |
| StartTime | Datetime | ラインアイテムのUTC 時間。現在の時刻よりも後でなければなりません。 |
| EndTime | Datetime | ラインアイテムが停止されるUTC 時間。指定された場合、現在の時刻よりも後でなければなりません。 |
| PrimaryWebEventTag | String | プライマリーWeb イベントタグの識別子。ラインアイテムのキャンペーンのエンゲージメントのより正確なトラッキングを可能にします。 |
| ChargeBy | String | This field is returned for line items using the APP_INSTALLS objective. Defaults to charging by bid unit except for line items with bid unit APP_INSTALLS, where it defaults to charging by app clicks. |
| AdvertiserDomain | String | プロトコルスペックなしの広告主のウェブサイトドメイン。このフィールドはTwitter Audience Platform (TAP) を使っているラインアイテムで有効です。 |
| Categories | String | 広告主のIAB カテゴリ。この設定はTwitter Audience Platform (TAP) を使っているラインアイテムで有効です。 |
| TargetCPALocalMicro | Integer | ラインアイテムに割り当てられるCPA 額を表すinteger。指定されたfunding instrument およびキャンペーンの通貨が使われます。USD の場合、$5.50 は5.50*1e6 もしくは、5,500,000 となります。 |
| CreatedAt | Datetime | キャンペーンが作成された時刻。 |
| UpdatedAt | Datetime | キャンペーンのプロパティが最後に変更された時刻。 |
| Goal | String | The optimization setting used with this line item. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| IncludeDeleted | String | 削除されたアカウントを含むかどうかのboolean。
デフォルト値はfalseです。 |
認証するユーザーがアクセスできるすべての広告ツイート。
AccountId フィルタがサポートされています。これは分析に関連するすべてのビューで一般的に必要とされるフィルタです。指定された場合、AccountId 接続プロパティの値をオーバーライドします。値が指定されない場合には、Sync App はAdAccount ビューから返されたリストの初めのアカウントを取得しに行きます。
| Name | Type | Description |
| Id [KEY] | String | 指定されたプロモーションに対応する識別子。 |
| TweetId | String | プロモーションされているステータスアップデートまたはツイートのID。 |
| LineItemId | String | このツイートが含まれるラインアイテムのId。 |
| AccountId | String | 使用する広告アカウントのId。 |
| CreatedAt | Datetime | ツイートがプロモーションされた時刻。 |
| UpdatedAt | Datetime | ツイートが更新された時刻。 |
| Deleted | Boolean | アイテムが削除されたかどうかを示すboolean。 |
| EntityStatus | String | このエンティティのステータス:ACTIVE、DRAFT、およびPAUSED。 |
| ApprovalStatus | String | プロモーションが届いたかどうかを示します。 |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| IncludeDeleted | String | 削除されたアカウントを含むかどうかのboolean。
デフォルト値はfalseです。 |
特定のエンティティのすべての利用可能な指標の情報をクエリします。
AdStats は、すべてのエンティティタイプの分析指標がすべて含まれています。このビューをクエリすると、指定されたエンティティによりサポートされる指標のみが値付きで生成されます。
次のフィールドで結果セットをフィルタンリングできます。
| AccountId | これはTwitter 分析に関連するすべてのビューで一般的に必要とされるフィルタです。指定された場合、AccountId 接続プロパティの値をオーバーライドします。値が指定されない場合には、Sync App はAdAccount ビューから返されたリストの初めのアカウントを取得しに行きます。 |
| StartTime and EndTime | タイムウィンドウを指定するために使われます。この値は7日間を超える設定ができません。ウィンドウが指定されない場合、直近7日の分析が返されます。
SELECT * FROM AdStats WHERE StartTime = '12/02/2016' AND EndTime = '12/09/2016' |
| Entity および EntityId | エンティティタイプは5個あります:
それぞれのエンティティはビューを持ち、有効なアイテムのリストやそれぞれのID を取得するために使われます。デフォルトでこれらのフィルタの一つが指定されると、Sync App はAccountId 接続プロパティで指定されたID のアカウントの分析を取得します。 Note:Entity フィールドに"ORGANIC_TWEET" を設定した場合、WHERE 句にEntityId を設定する必要があります。
SELECT * FROM AdStats WHERE EntityId = '807000624822882304' AND Entity = 'ORGANIC_TWEET' |
| Granularity | この値は、返されるデータポイントの粒度を定義します。有効な値はTOTAL、DAY、およびHOUR です。TOTAL 以外の値に設定する場合、StartTime とEndTime で指定された期間のそれぞれのユニットにブレークダウンされた分析が返されます。例えば、DAY に設定された場合、指定された期間の日次の分析が返されます。デフォルトはDAY です。
SELECT * FROM AdStats WHERE Granularity = 'HOUR' |
| Placement | Twitter、もしくはTwitter Audience Platform のすべてのプレースメントの指標を集計前に戻すために使われます。利用可能な値はALL_ON_TWITTER、およびPUBLISHER_NETWORK です。プレースメントは、1つの値しかとれません。Twitter のプレースメントとTwitter Audience Platform のプレースメントの分析データをフェッチするには別々のクエリが必要です。デフォルトはALL_ON_TWITTER に設定されています。
SELECT * FROM AdStats WHERE Placement = 'PUBLISHER_NETWORK' |
フィルタのリストはオプションですが、Entity、EntityId、およびtime window は少なくとも指定することが推奨されます。
SELECT * FROM AdStats WHERE EntityId = '807000624822882304' AND Entity = 'ORGANIC_TWEET' AND StartTime = '12/02/2016' AND EndTime = '12/09/2016'
| Name | Type | Description |
| AccountId | String | 使用する広告アカウントのId。 |
| Entity | String | クエリするエンティティ。 |
| EntityId | String | クエリするエンティティのId。 |
| StartTime | Date | StartTime とEndTime の間のタイムウィンドウで集められたデータと取得されたデータの範囲。1時間単位での設定となります。 |
| EndTime | Date | StartTime とEndTime の間のタイムウィンドウで集められたデータと取得されたデータの範囲。1時間単位での設定となります。 |
| IntervalStartTime | Datetime | 現在のインターバルの開始時間。これはGranularity DAY およびHOUR にのみ適用されます。 |
| IntervalEndTime | Datetime | 現在のインターバルの終了時間。これはGranularity DAY およびHOUR にのみ適用されます。 |
| Placement | String | プレースメント。有効な値は次のとおりです:ALL_ON_TWITTER、PUBLISHER_NETWORK。
使用できる値は次のとおりです。ALL_ON_TWITTER, PUBLISHER_NETWORK |
| Granularity | String | この値は、StartTime とEndTime で定義されるタイムレンジ内で返されるデータポイントの粒度を定義します。例えば、HOUR に設定すると、StartTime とEndTime の間の1時間ごとのデータポイントが表示されます。
使用できる値は次のとおりです。TOTAL, DAY, HOUR |
| Engagements | Integer | エンゲージメントの総数。 |
| Impressions | Integer | インプレッションの総数。 |
| Retweets | Integer | リツイートの総数。 |
| Replies | Integer | リプライの総数。 |
| Likes | Integer | いいねの総数。 |
| Follows | Integer | フォローの総数。 |
| CardEngagements | Integer | エンゲージメントの総数。 |
| Clicks | Integer | クリックの総数。 |
| AppClicks | Integer | アプリのインストール数、もしくはアプリを開こうとした回数。 |
| UrlClicks | Integer | リンクURL のクリック数。 |
| QualifiedImpressions | Integer | 有効なインプレッションの総数。 |
| BilledEngagements | Integer | 有償エンゲージメントの総数。 |
| BilledCharge | Long | ミクロでの総支払。 |
| VideoTotalViews | Integer | ビデオビューの総数。 |
| VideoViews25 | Integer | すくなくとも25%のビデオが見られたビューの総数。 |
| VideoViews50 | Integer | すくなくとも50%のビデオが見られたビューの総数。 |
| VideoViews75 | Integer | 少なくとも50%のビデオが見られたビューの総数。 |
| VideoViews100 | Integer | 100%のビデオが見られたビューの総数。 |
| VideoCTAClicks | Integer | call to action のクリック総数。 |
| VideoContentStarts | Integer | ビデオのプレーバックスタートの総数。 |
| VideoMrcViews | Integer | Media Rating Council ガイダンスによるビューの総数。 |
| Video3s100pctViews | Integer | 100% のビューの内、少なくとも3秒は再生されたビューの総数。 |
| MediaViews | Integer | ビデオ、vines、GIF、画像に渡るメディアのビュー(プレイバックおよびクリック)の総数。 |
| MediaEngagements | Integer | ビデオ、vines、GIF、画像に渡るメディアのクリックの総数。 |
| Purchases | Integer | PURCHASE タイプの会話の数。 |
| SignUps | Integer | SIGN_UP タイプの会話の数。 |
| SiteVisits | Integer | SITE_VISIT タイプの会話の数。 |
| Downloads | Integer | DOWNLOAD タイプの会話の数。 |
| ConversionCustom | Integer | CUSTOM タイプの会話の数。 |
| MobileConversionSpentCredits | Integer | SPENT_CREDIT タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionInstalls | Integer | INSTALL タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionContentViews | Integer | CONTENT_VIEW タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionAddToWishlists | Integer | ADD_TO_WISHLIST タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionCheckoutsInitiated | Integer | CHECKOUT_INITIATED タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionReservations | Integer | RESERVATION タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionTutorialsCompleted | Integer | TUTORIAL_COMPLETED タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionAchievementsUnlocked | Integer | ACHIEVEMENT_UNLOCKED タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionSearches | Integer | SEARCH タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionAddToCarts | Integer | ADD_TO_CART タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionPaymentInfoAdditions | Integer | PAYMENT_INFO_ADDITION タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionReEngages | Integer | RE_ENGAGE タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionShares | Integer | SHARE タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionRates | Integer | RATE タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionLogins | Integer | LOGIN タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionUpdates | Integer | UPDATE タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionLevelsAchieved | Integer | LEVEL_ACHIEVED タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionInvites | Integer | INVITE タイプのモバイルコンバージョンのポストビュー、ポストエンゲージメント、whether assisted、注文量、および売上ごとのブレイクダウン。 |
| MobileConversionKeyPageViews | Integer | KEY_VIEW タイプのモバイルコンバージョンのポストビューおよびポストエンゲージメント毎のコンバージョンのブレイクダウン。 |
| LifetimeValuePurchases | Integer | PURCHASE タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueSignUps | Integer | SIGN_UP タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueUpdates | Integer | UPDATE タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueTutorialsCompleted | Integer | TUTORIAL_COMPLETED タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueReservations | Integer | RESERVATION タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueAddToCarts | Integer | ADD_TO_CART タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueAddToWishlists | Integer | ADD_TO_WISHLIST タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueCheckoutsInitiated | Integer | CHECKOUT_INITIATED タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueLevelsAchieved | Integer | LEVEL_ACHIEVED タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueAchievementsUnlocked | Integer | ACHIEVEMENT_UNLOCKED タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueShares | Integer | SHARE タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueInvites | Integer | INVITE タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValuePaymentInfoAdditions | Integer | PAYMENT_INFO_ADDITION タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueSpentCredits | Integer | SPENT_CREDIT タイプのモバイルコンバージョンのブレイクダウン。 |
| LifetimeValueRates | Integer | RATE タイプのモバイルコンバージョンのブレイクダウン。 |
Retrieve all of the advertising-enabled Tweets the authenticating user has access to.
AccountId フィールドはサーバーサイドでフィルタリング可能です。
SELECT * FROM AdTweets WHERE AccountId = '1234'
SELECT * FROM AdTweets WHERE AccountId IN (SELECT Id FROM AdAccounts)
| Name | Type | Description |
| ID [KEY] | String | The Id of the status update or tweet. Set this value when inserting to retweet an existing tweet. |
| IDLong | String | The long type Id of the status update or tweet. |
| SearchTerms | String | The SearchTerms to search against. This cannot be used with the Screen_Name or User_Id inputs. For more information on using the advanced query operators, see the Twitter API documentation here: https://dev.twitter.com/docs/using-search. Roughly 1500 results can be returned using the SearchTerms. |
| Created_At | Datetime | When the tweet was made. |
| Text | String | The text of the tweet. |
| Lang | String | Language code the tweet was made in. |
| Source | String | Source of the tweet. |
| Favorited | Boolean | Boolean indicating if this tweet has been favorited. |
| Favorite_Count | Integer | The approximate number of times this tweet has been favorited. |
| Retweeted | Boolean | Boolean indicating if this tweet has been retweeted. |
| Retweet_Count | Integer | The number of times the tweet has been retweeted. |
| Retweeted_Status_Id | String | Id of the tweet which was retweeted by this one. Empty if the current tweet is not a retweet. |
| Truncated | Boolean | Boolean indicating if this tweet has been truncated. |
| Filter_Level | String | Indicates the maximum value of the Filter_Level parameter that can be used and still stream this tweet. |
| Possibly_Sensitive | String | This field is available only when a tweet contains a link. The meaning of the field does not pertain to the tweet content itself, but instead it is an indicator that the URL contained in the tweet may contain content or media identified as sensitive content. |
| Withheld_Copyright | Boolean | When present and set to true, indicates that this piece of content has been withheld due to a DMCA complaint. |
| Withheld_Scope | String | When present, indicates whether the content being withheld is the status or a user. |
| Withheld_In_Countries | String | A list of uppercase, two-letter country codes this content is withheld from. |
| Contributors | String | An XML collection of user objects (usually only one) indicating users who contributed to the authorship of the tweet, on behalf of the official tweet author. |
| Coordinates_Coordinates | String | The geographic coordinates of this tweet (longitude first, then latitude). |
| Coordinates_Type | String | The type of coordinate, if applicable. |
| Place_Full_Name | String | The full name of the location of this tweet (city and state). |
| Place_Country | String | The country of origin of this tweet. |
| Current_User_Retweet_Id | String | Details the tweet Id of the authenticated user's own retweet (if it exists) of this tweet. |
| Scopes | String | A set of key-value pairs indicating the intended contextual delivery of the containing tweet. Currently used by Twitter's promoted products. |
| In_Reply_To_Status_Id | String | Represents the Id of the original status if this tweet is in reply to another. |
| From_User_Id | String | Id of the user who made the tweet. Use this in the WHERE clause to get tweets for the specified user. |
| From_User_Screen_Name | String | Screen name of the user who made the tweet. Use this in the WHERE clause to get tweets for the specified user. |
| From_User_Name | String | Name of the user who made the tweet. |
| From_User_Location | String | Location of the user who made the tweet. |
| From_User_Profile_URL | String | URL to the user who made the tweet. This is not returned when a SearchTerms is specified. |
| From_User_Profile_Image_Url | String | URL to the profile image for the from user. |
| To_User_Id | String | Id of the user who made the tweet. Use this in the WHERE clause to get tweets for the specified user. |
| To_User_Screen_Name | String | Screen name of the user who made the tweet. |
| User_Mentions | String | Mentions of other users in the tweet, returned as an XML aggregate. |
| URLs | String | URLs in the tweet, returned as an XML aggregate. |
| Hashtags | String | Hashtags in the tweet, returned as an XML aggregate. |
| Media | String | Media in the tweet, returned as an XML aggregate. |
| Name | String | The name of the Tweet, also known as the Ad name in the Twitter Ads UI. This field might be returned as null if no input name is provided when creating tweets using the Tweet composer. The name that is displayed in the UI for these cases is the Card name. |
| AccountId | String | The Id of the advertising account this AdTweet is associated with. |
| Card_Uri | String | The identifier for a Twitter Card attached to this Tweet. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| TimelineType | String | Whether to return nullcasted (a.k.a. 'Promoted-only') Tweets, organic Tweets, or both. Possible values: ALL, NULLCAST, ORGANIC |
| TweetType | String | The Tweet type of the tweets. Possible values: DRAFT, PUBLISHED, SCHEDULED |
ストアドプロシージャはファンクションライクなインターフェースで、Twitter Ads の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずSync App の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにTwitter Ads から関連するレスポンスデータを返します。
| Name | Description |
| ManageAudienceUsers | 特定のカスタムオーディエンスId からユーザーを追加、変更、削除します。 |
Twitter で認証に使用するOAuth アクセストークンを取得します。Windows アプリケーションを使用する場合は、AuthMode をAPP に設定します。Web アプリを使用する場合は、AuthMode をWEB に設定し、GetOAuthAuthorizationUrl によって返されるAuthToken、AuthKey、およびVerifier を指定します。
| Name | Type | Description |
| AuthMode | String | APP またはWEB を入力します。使用する認証モードのタイプ。Windows アプリ(.exe)を介して認証トークンを取得する場合は、APP に設定します。Web アプリを介して認証トークンを取得する場合は、WEB に設定します。
デフォルト値はAPPです。 |
| AuthToken | String | GetOAuthAuthorizationUrl によって返される認証トークン。Web AuthMode でのみ必須。 |
| AuthKey | String | GetOAuthAuthorizationUrl によって返されるAuthKey。Web AuthMode でのみ必須。 |
| Verifier | String | GetOAuthAuthorizationURL で取得したURL を使用した後にTwitter から返されるベリファイアトークン。Web AuthMode でのみ必須。 |
| State | String | コールバックで送信する任意の値。 |
| Name | Type | Description |
| OAuthAccessToken | String | OAuth アクセストークン。 |
| OAuthAccessTokenSecret | String | OAuth アクセストークンシークレット。 |
| ExpiresIn | String | アクセストークンの残りの有効期間。-1は有効期限が切れないことを示します。 |
Twitter から認可URL、AuthToken、およびAuthKey を取得します。インターネットブラウザで認可URL に移動すると、ベリファイアトークンが返されます。このトークンをAuthToken とともにGetOAuthAccessToken ストアドプロシージャの入力として使用する必要があります。
| Name | Type | Description |
| CallbackURL | String | ユーザーがアプリを認可した後にTwitterが戻るURL。 |
| State | String | コールバックで送信する任意の値。 |
| Name | Type | Description |
| URL | String | ベリファイアトークンを取得し、Twitterアプリを認可するためにWebブラウザに入力されるURL。 |
| AuthToken | String | 要求を検証し、OAuthアクセストークンを取得するために、GetOAuthAccessTokenストアドプロシージャの入力として使用されるトークン。 |
| AuthKey | String | 要求を検証し、OAuthアクセストークンを取得するために、GetOAuthAccessTokenストアドプロシージャの入力として使用されるキー。 |
特定のカスタムオーディエンスId からユーザーを追加、変更、削除します。
| Name | Type | Description |
| AudienceId | String | Twitter 広告のカスタムオーディエンスの一意の識別子。 |
| OperationType | String | 実行中のユーザーグループごとの操作タイプ。
使用できる値は次のとおりです。Update, Delete |
| UserEmail | String | ユーザーのE メールアドレス。 |
| UserDeviceID | String | ユーザーのdeviceId:IDFA/AdID/Android ID。 |
| UserHandle | String | ユーザーに属する@handle(s)。 |
| UserTwitterID | String | ユーザーのTwitter Id。 |
| PartnerId | String | パートナーのユーザーId。 |
| EffectiveAt | String | カスタムオーディエンスアソシエーションが有効になるUTC 時間。 |
| ExpiresAt | String | カスタムオーディエンスアソシエーションが期限切れになるUTC 時間。 |
| CSVFilePath | String | バッチデータを含むCSV ファイルの場所。 |
| Name | Type | Description |
| AccountId | String | 場所Id。 |
| AudienceId | String | 場所名。 |
| Success | String | プロシージャが正常に実行された場合はtrue を返します。 |
| UsersAffected | String | 変更 / 削除されたユーザーの数。 |
| ErrorMessage | String | リクエストが成功しなかった場合にAPI からスローされるエラー。それ以外の場合はnull を返します。 |
| プロパティ | 説明 |
| AccountId | 広告アカウントの識別子。このID は、指定されるアカウントの分析情報を取得するために使われます。AddAccounts ビューを使ってID のあるアカウントのリストを取得することができます。 |
| AdsAPIVersion | Twitter API の現在のバージョン。 |
| UseAppOnlyAuthentication | App-Only 認証を使用するかどうかを示すboolean。 |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| AuthToken | The authentication token used to request and obtain the OAuth Access Token. |
| AuthKey | The authentication key used to request and obtain the OAuth Access Token. |
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
| プロパティ | 説明 |
| FirewallType | provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。 |
| FirewallServer | ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。 |
| FirewallPort | プロキシベースのファイアウォールで使用するTCP ポートを指定します。 |
| FirewallUser | プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。 |
| FirewallPassword | プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。 |
| プロパティ | 説明 |
| ProxyAutoDetect | provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。 |
| ProxyServer | HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。 |
| ProxyPort | クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。 |
| ProxyAuthScheme | ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。 |
| ProxyUser | ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。 |
| ProxyPassword | ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。 |
| ProxySSLType | ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。 |
| ProxyExceptions | ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。 |
| プロパティ | 説明 |
| LogModules | ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。 |
| プロパティ | 説明 |
| Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Tables | レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。 |
| Views | レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。 |
| プロパティ | 説明 |
| IsPremiumTwitter | Twitter プレミアムアカウントかどうかを指定します。デフォルトはfalse です。 |
| MaxRateLimitDelay | レートリミットの場合に、リクエストを送信する前にディレイする時間(秒単位)の最大値。 |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Other | 特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| SearchTerms | 何も指定されなかった場合のデフォルトのSearchTerms。SearchTerms を指定できるTweets などの一部のテーブルで使用されます。 |
| StreamPageSize | 返されるページごとのTwitter ストリームから取得されたデータの結果数。 |
| StreamReadDuration | This property represents the maximum time to read streaming data, in seconds. |
| StreamTimeout | ストリーミング中に結果を待つ最長秒数。この値に達して、ツイートが返ってこない場合には、接続は閉じられます。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| UseAsyncAPI | This field sets whether the Twitter Ads Asynchronous API is enabled. |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AccountId | 広告アカウントの識別子。このID は、指定されるアカウントの分析情報を取得するために使われます。AddAccounts ビューを使ってID のあるアカウントのリストを取得することができます。 |
| AdsAPIVersion | Twitter API の現在のバージョン。 |
| UseAppOnlyAuthentication | App-Only 認証を使用するかどうかを示すboolean。 |
広告アカウントの識別子。このID は、指定されるアカウントの分析情報を取得するために使われます。AddAccounts ビューを使ってID のあるアカウントのリストを取得することができます。
広告アカウントの識別子。このID は、指定されるアカウントの分析情報を取得するために使われます。AddAccounts ビューを使ってID のあるアカウントのリストを取得することができます。
Twitter API の現在のバージョン。
Twitter API の現在のバージョン。
App-Only 認証を使用するかどうかを示すboolean。
ユーザーの代わりに、Twitter アプリをTwitter にログインさせるには、これをtrue に設定します。
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| AuthToken | The authentication token used to request and obtain the OAuth Access Token. |
| AuthKey | The authentication key used to request and obtain the OAuth Access Token. |
カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。
このプロパティは2つのケースで必要となります:
(ドライバーが埋め込みOAuth 資格情報を提供する場合、この値はすでにSync App によって設定されており、手動で入力する必要がないことがあります。)
OAuthClientId は、認証付きの接続を構成する際に、OAuthClientSecret やOAuthSettingsLocation などの他のOAuth 関連プロパティと一緒に使用されるのが一般的です。
OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。 この値は、通常、ID プロバイダーのアプリケーション登録設定で確認できます。 Client ID、Application ID、Consumer Key などとラベル付けされた項目を探してください。
クライアントID は、クライアントシークレットのような機密情報とは見なされませんが、アプリケーションの識別情報の一部であるため、慎重に取り扱う必要があります。公開リポジトリや共有設定ファイルでこの値を露出させないようにしてください。
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ)
このプロパティ(アプリケーションシークレットまたはコンシューマシークレットとも呼ばれます)は、安全なクライアント認証を必要とするすべてのフローでカスタムOAuth アプリケーションを使用する場合に必要です。たとえば、Web ベースのOAuth、サービスベースの接続、証明書ベースの認可フローなどが該当します。 組み込みOAuth アプリケーションを使用する場合は必要ありません。
クライアントシークレットは、OAuth フローのトークン交換ステップで使用されます。このステップでは、ドライバーが認可サーバーにアクセストークンを要求します。 この値が欠落しているか正しくない場合、認証はinvalid_client またはunauthorized_client エラーで失敗します。
OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。この値は、OAuth アプリケーションを登録する際にID プロバイダーから取得できます。
Notes:
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
The authentication token used to request and obtain the OAuth Access Token.
This property is required only when performing headless authentication in OAuth 1.0. It can be obtained from the GetOAuthAuthorizationUrl stored procedure.
It can be supplied alongside the AuthKey in the GetOAuthAccessToken stored procedure to obtain the OAuthAccessToken.
The authentication key used to request and obtain the OAuth Access Token.
This property is required only when performing headless authentication in OAuth 1.0. It can be obtained from the GetOAuthAuthorizationUrl stored procedure.
It can be supplied alongside the AuthToken in the GetOAuthAccessToken stored procedure to obtain the OAuthAccessToken.
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
TLS/SSL 接続を使用している場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。このプロパティに値を指定すると、マシンによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
| 説明 | 例 |
| フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| 証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
| 公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| MD5 Thumbprint(hex 値はスペースまたはコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
| SHA1 Thumbprint(hex 値はスペースまたはコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
Note:'*' を使用してすべての証明書を受け入れるように指定することも可能ですが、セキュリティ上の懸念があるため推奨されません。
このセクションでは、本プロバイダーの接続文字列で設定可能なFirewall プロパティの全リストを提供します。
| プロパティ | 説明 |
| FirewallType | provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。 |
| FirewallServer | ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。 |
| FirewallPort | プロキシベースのファイアウォールで使用するTCP ポートを指定します。 |
| FirewallUser | プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。 |
| FirewallPassword | プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。 |
provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
Note:デフォルトでは、Sync App はシステムプロキシに接続します。この動作を無効化し、次のプロキシタイプのいずれかに接続するには、ProxyAutoDetect をfalse に設定します。
次の表は、サポートされている各プロトコルのポート番号情報です。
| プロトコル | デフォルトポート | 説明 |
| TUNNEL | 80 | Sync App がTwitter Ads への接続を開くポート。トラフィックはこの場所のプロキシを経由して行き来します。 |
| SOCKS4 | 1080 | Sync App がTwitter Ads への接続を開くポート。SOCKS 4 は次にFirewallUser 値をプロキシに渡し、接続リクエストが許容されるかどうかを決定します。 |
| SOCKS5 | 1080 | Sync App がTwitter Ads にデータを送信するポート。SOCKS 5 プロキシに認証が必要な場合には、FirewallUser およびFirewallPassword をプロキシが認識する認証情報に設定します。 |
HTTP プロキシへの接続には、ProxyServer およびProxyPort ポートを使ってください。HTTP プロキシへの認証には、ProxyAuthScheme、ProxyUser、およびProxyPassword を使ってください。
ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールで使用するTCP ポートを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
このセクションでは、本プロバイダーの接続文字列で設定可能なProxy プロパティの全リストを提供します。
| プロパティ | 説明 |
| ProxyAutoDetect | provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。 |
| ProxyServer | HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。 |
| ProxyPort | クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。 |
| ProxyAuthScheme | ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。 |
| ProxyUser | ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。 |
| ProxyPassword | ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。 |
| ProxySSLType | ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。 |
| ProxyExceptions | ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。 |
provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。
この接続プロパティをTrue に設定すると、Sync App は既存のプロキシサーバー構成についてシステムプロキシ設定をチェックします(プロキシサーバーの詳細を手動で入力する必要はありません)。
この接続プロパティは他のプロキシ設定より優先されます。特定のプロキシサーバーに接続するためにSync App を構成する場合は、ProxyAutoDetect をFalse に設定します。
HTTP プロキシへの接続には、ProxyServer を参照してください。SOCKS やトンネリングなどの他のプロキシには、FirewallType を参照してください。
HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。
ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたプロキシサーバーを通じてのみHTTP トラフィックをルーティングします。
ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーを介してHTTP トラフィックをルーティングします。
クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。
ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたProxyServer ポートを通じてのみHTTP トラフィックをルーティングします。
ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーポートを介してHTTP トラフィックをルーティングします。
その他のプロキシタイプについては、FirewallType を参照してください。
ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。
サポートされる認証の種類:
NONE 以外のすべての値については、ProxyUser およびProxyPassword 接続プロパティも設定する必要があります。
SOCKS 5 認証のような他の認証タイプを使用するには、FirewallType を参照してください。
ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。
ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。
ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。
| ProxyAuthScheme の値 | ProxyUser に設定する値 |
| BASIC | プロキシサーバーに登録されているユーザーのユーザー名。 |
| DIGEST | プロキシサーバーに登録されているユーザーのユーザー名。 |
| NEGOTIATE | プロキシサーバーが属するドメインまたは信頼されたドメイン内の有効なユーザーであるWindows ユーザーのユーザー名。user@domain またはdomain\user の形式で指定。 |
| NTLM | プロキシサーバーが属するドメインまたは信頼されたドメイン内の有効なユーザーであるWindows ユーザーのユーザー名。user@domain またはdomain\user の形式で指定。 |
| NONE | ProxyPassword 接続プロパティは設定しないでください。 |
Note:Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このユーザー名を使用します。 ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムのプロキシ設定で指定されているユーザー名を使用します。
ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。
ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。
ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。
| ProxyAuthScheme の値 | ProxyPassword に設定する値 |
| BASIC | ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。 |
| DIGEST | ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。 |
| NEGOTIATE | ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。 |
| NTLM | ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。 |
| NONE | ProxyPassword 接続プロパティは設定しないでください。 |
SOCKS 5 認証もしくは、トンネリングは、FirewallType を参照してください。
Note:Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このパスワードを使用します。 ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムのプロキシ設定で指定されているパスワードを使用します。
ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。
このプロパティは、ProxyServer で指定されたHTTP プロキシへの接続にSSL を使用するかどうかを決定します。この接続プロパティには、以下の値を設定できます。
| AUTO | デフォルト設定。ProxyServer がHTTPS URL に設定されている場合、Sync App は、TUNNEL オプションを使用します。ProxyServer がHTTP URL に設定されている場合、コンポーネントはNEVER オプションを使用します。 |
| ALWAYS | 接続は、常にSSL 有効となります。 |
| NEVER | 接続は、SSL 有効になりません。 |
| TUNNEL | 接続はトンネリングプロキシ経由で行われます。プロキシサーバーがリモートホストへの接続を開き、プロキシを経由して通信が行われます。 |
ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。
ProxyServer は、このプロパティで定義されたアドレスを除くすべてのアドレスに使用されます。セミコロンを使用してエントリを区切ります。
Note:Sync App はデフォルトでシステムプロキシ設定を使用するため、それ以上の設定は必要ありません。 この接続にプロキシ例外を明示的に設定する場合は、ProxyAutoDetect をFalse に設定します。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
| プロパティ | 説明 |
| LogModules | ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。 |
ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。
Sync App は、実行する各操作の詳細を Logfile 接続プロパティで指定されたログファイルに書き込みます。
ログに記録される各操作は、モジュールと呼ばれるカテゴリに分類されます。各モジュールには対応する短いコードがあり、個々の Sync App の操作がどのモジュールに属するかを示すラベルとして使用されます。
この接続プロパティにモジュールコードをセミコロン区切りのリストで設定すると、指定したモジュールに属する操作のみがログファイルに書き込まれます。この設定は今後のログ記録にのみ適用され、既存のログファイルの内容には影響しません。例: INFO;EXEC;SSL;META;
デフォルトでは、すべてのモジュールの操作がログに含まれます。
モジュールを明示的に除外するには、先頭に「-」を付けます。例: -HTTP
サブモジュールにフィルターを適用するには、<モジュール名>.<サブモジュール名> の構文で指定します。たとえば、次の値を設定すると、Sync App は HTTP モジュールに属するアクションのみをログに記録し、さらに HTTP モジュールの Res サブモジュールに属するアクションを除外します: HTTP;-HTTP.Res
Verbosity 接続プロパティによるログファイルのフィルタリングは、この接続プロパティによるフィルタリングよりも優先されます。そのため、Verbosity 接続プロパティで指定したレベルよりも高い詳細レベルの操作は、この接続プロパティで指定したモジュールに属していても、ログファイルには出力されません。
使用可能なモジュールとサブモジュールは次のとおりです。
| モジュール名 | モジュールの説明 | サブモジュール |
| INFO | 一般情報。接続文字列、製品バージョン(ビルド番号)、および初期接続メッセージが含まれます。 |
|
| EXEC | クエリ実行。ユーザーが記述した SQL クエリ、解析済み SQL クエリ、正規化済み SQL クエリの実行メッセージが含まれます。クエリおよびクエリページの成功/失敗メッセージもここに表示されます。 |
|
| HTTP | HTTP プロトコルメッセージ。HTTP リクエスト/レスポンス(POST メッセージを含む)、および Kerberos 関連のメッセージが含まれます。 |
|
| WSDL | WSDL/XSD ファイルの生成に関するメッセージ。 | — |
| SSL | SSL 証明書メッセージ。 |
|
| AUTH | 認証関連の失敗/成功メッセージ。 |
|
| SQL | SQL トランザクション、SQL 一括転送メッセージ、および SQL 結果セットメッセージが含まれます。 |
|
| META | メタデータキャッシュとスキーマメッセージ。 |
|
| FUNC | SQL 関数の実行に関連する情報。 |
|
| TCP | TCP トランスポートレイヤーメッセージでの送受信生バイト。 |
|
| FTP | File Transfer Protocol に関するメッセージ。 |
|
| SFTP | Secure File Transfer Protocol に関するメッセージ。 |
|
| POP | Post Office Protocol 経由で転送されるデータに関するメッセージ。 |
|
| SMTP | Simple Mail Transfer Protocol 経由で転送されるデータに関するメッセージ。 |
|
| CORE | 他のモジュールでカバーされていない、さまざまな製品内部操作に関連するメッセージ。 | — |
| DEMN | SQL リモーティングに関連するメッセージ。 | — |
| CLJB | 一括データアップロード(クラウドジョブ)に関するメッセージ。 |
|
| SRCE | 他のモジュールに属さない、製品が生成するその他のメッセージ。 | — |
| TRANCE | 低レベルの製品操作に関する高度なメッセージ。 | — |
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
| プロパティ | 説明 |
| Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Tables | レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。 |
| Views | レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。 |
テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。
Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。
指定しない場合、デフォルトの場所は%APPDATA%\\CData\\TwitterAds Data Provider\\Schema となり、%APPDATA%はユーザーのコンフィギュレーションディレクトリに設定されます:
| プラットフォーム | %APPDATA% |
| Windows | APPDATA 環境変数の値 |
| Linux | ~/.config |
レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。
データベースによっては、利用可能なすべてのテーブルをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にテーブルのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
利用可能なテーブルがたくさんあり、すでに作業したいテーブルが決まっている場合、このプロパティを使用して対象のテーブルのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいテーブルを指定します。各テーブルは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space` です。
Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、表示する各テーブルを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するテーブルが混同されることを防ぎます。
レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。
データベースによっては、利用可能なすべてのビューをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にビューのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
利用可能なビューがたくさんあり、すでに作業したいビューが決まっている場合、このプロパティを使用して対象のビューのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいビューを指定します。各ビューは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space` です。
Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、確認する各ビューを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するビューが混同されることを防ぎます。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| IsPremiumTwitter | Twitter プレミアムアカウントかどうかを指定します。デフォルトはfalse です。 |
| MaxRateLimitDelay | レートリミットの場合に、リクエストを送信する前にディレイする時間(秒単位)の最大値。 |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Other | 特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| SearchTerms | 何も指定されなかった場合のデフォルトのSearchTerms。SearchTerms を指定できるTweets などの一部のテーブルで使用されます。 |
| StreamPageSize | 返されるページごとのTwitter ストリームから取得されたデータの結果数。 |
| StreamReadDuration | This property represents the maximum time to read streaming data, in seconds. |
| StreamTimeout | ストリーミング中に結果を待つ最長秒数。この値に達して、ツイートが返ってこない場合には、接続は閉じられます。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| UseAsyncAPI | This field sets whether the Twitter Ads Asynchronous API is enabled. |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
Twitter プレミアムアカウントかどうかを指定します。デフォルトはfalse です。
Twitter プレミアムアカウントかどうかを指定します。デフォルトはfalse です。
レートリミットの場合に、リクエストを送信する前にディレイする時間(秒単位)の最大値。
Twitter は、異なるエンドポイントに対してレートリミットリクエスト数が異なります。レートリミットには、15分で15リクエストから15分に900リクエストまで幅があります。 内部では、CData Sync App が、与えられたリクエストがレートリミットに当たるかどうかをチェックしています。レートリミットにヒットする場合には、CData Sync App は内部でリミットが当たらない時間までリクエスト送信を遅らせることができます。 ただし、これにより、データのリクエストに数分を待たなければいけない結果となる可能性があり、よい挙動とはいえません。
MaxRateLimitDelay では、CData Sync App がレートリミットが発生することを探知した場合に最大何秒リクエスト送信を遅らせるかをコントロールできます。CData Sync App が待たなければいけない時間が計算できるため、MaxRateLimitDelay で設定した以上の時間を待っている場合には、エラーであると判断できます。
集計やGROUP BY を含まないクエリで返される最大行数を指定します。
このプロパティのデフォルト値である-1 は、クエリに明示的にLIMIT 句が含まれていない限り、行の制限が適用されないことを意味します。 (クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。)
MaxRows を0より大きい整数に設定することで、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し、過剰なリソース消費を防ぐのに役立ちます。
特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。
このプロパティにより、シニアユーザーはサポートチームのアドバイスに基づいて、特定の状況に対応する隠しプロパティを設定できます。 これらの設定は通常のユースケースには必要ありませんが、特定の要件に対応したり、追加の機能を提供したりすることができます。 複数のプロパティを定義するには、セミコロンで区切られたリストを使用します。
Note:特定のシナリオや問題に対処するためにサポートチームから助言があった場合にのみ、これらのプロパティを設定することを強く推奨します。
| プロパティ | 説明 |
| DefaultColumnSize | データソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。 |
| ConvertDateTimeToGMT=True | 日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換します。デフォルト値はFalse(ローカルタイムを使用)です。 |
| RecordToFile=filename | 基底のソケットデータ転送を指定のファイルに記録します。 |
テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。
このプロパティを使用すると、Sync App がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。
Table1=Column1;Table1=Column2;Table2=Column3
すべてのテーブルのすべての擬似カラムを含めるには、次を使用してください:
*=*
何も指定されなかった場合のデフォルトのSearchTerms。SearchTerms を指定できるTweets などの一部のテーブルで使用されます。
何も指定されなかった場合のデフォルトのSearchTerms。SearchTerms を指定できるTweets などの一部のテーブルで使用されます。
返されるページごとのTwitter ストリームから取得されたデータの結果数。
返されるページごとのTwitter ストリームから取得されたデータの結果数。
This property represents the maximum time to read streaming data, in seconds.
Set StreamReadDuration property to consume streaming data for a specific time period. When StreamReadDuration is reached and StreamTimeout is 0, then the connection will be closed.
ストリーミング中に結果を待つ最長秒数。この値に達して、ツイートが返ってこない場合には、接続は閉じられます。
StreamTimeout の値を0 に設定すると、続けて接続を開いていられるようになります。このプロパティの値がゼロよりも大きい場合、StreamPageSize プロパティの値はオーバーライドされ、1に設定されます。
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
タイムアウトはデフォルトで60秒に設定されています。タイムアウトを無効にするには、このプロパティを0に設定します。
タイムアウトを無効にすると、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。
Note: このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。
This field sets whether the Twitter Ads Asynchronous API is enabled.
AdStats is the only table impacted.
Note that when you use the Async API, the Twitter Ads driver polls for a response. How long it waits before timing out is governed by the Timeout connection property. The default is timeout value is 60 seconds, so if you receive a timeout error, increase the value.
カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。
UserDefinedViews を使用すると、UserDefinedViews.json というJSON 形式の構成ファイルを通じてカスタムビューを定義および管理できます。 これらのビューはSync App によって自動的に認識され、標準のデータベースビューのようにカスタムSQL クエリを実行できるようになります。 JSON ファイルは、各ビューをルート要素として定義し、その子要素として"query" を持ちます。この"query" にはビューのSQL クエリが含まれています。
次に例を示します。
{
"MyView": {
"query": "SELECT * FROM AdAudiences WHERE MyColumn = 'value'"
},
"MyView2": {
"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
}
}
このプロパティを使用して、1つのファイルに複数のビューを定義し、ファイルパスを指定できます。
次に例を示します。
UserDefinedViews=C:\Path\To\UserDefinedViews.jsonUserDefinedViews でビューを指定すると、Sync App はそのビューだけを参照します。
詳しくは、ユーザー定義ビュー を参照してください。
LZMA from 7Zip LZMA SDK
LZMA SDK is placed in the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
LZMA2 from XZ SDK
Version 1.9 and older are in the public domain.
Xamarin.Forms
Xamarin SDK
The MIT License (MIT)
Copyright (c) .NET Foundation Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS 3.10
Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.