CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるGoogle Campaign Manager へのアクセスを実現します。MySQL またはSQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してGoogle Campaign Manager に接続できます。
CData Cloud により、他のOData エンドポイントや標準SQL Server / MySQL データベースと同じように、Google Campaign Manager への接続を標準化し、構成することができます。
このページでは、CData Cloud でのGoogle Campaign Manager への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。
接続の確立 は、CData Cloud にデータベースを作成するためのGoogle Campaign Manager への認証方法と必要な接続プロパティの設定方法について示します。
利用可能な標準サービスを経由してGoogle Campaign Manager からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。
Database タブで対応するアイコンを選択して、Google Campaign Manager に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。
認証プロパティを追加する前に、次の接続プロパティを設定してください。
Cloud は、認証にユーザーアカウントおよびGCP インスタンスアカウントの使用をサポートします。
以下のセクションでは、Google Campaign Manager の利用可能な認証スキームについて説明します。
AuthScheme は、すべてのユーザーアカウントフローでOAuth に設定する必要があります。
OAuth アクセストークンの取得
次の接続プロパティを設定し、OAuthAccessToken を取得します。
続いてストアドプロシージャを呼び出し、OAuth 交換を完了します。
アクセストークンとリフレッシュトークンを取得すると、データに接続し、OAuth アクセストークンを自動または手動でリフレッシュすることができるようになります。
OAuth アクセストークンの自動リフレッシュ
ドライバーがOAuth アクセストークンを自動的にリフレッシュするようにするには、最初のデータ接続で次のように設定します。
OAuth アクセストークンの手動リフレッシュ
データ接続時に手動でOAuth アクセストークンをリフレッシュするために必要な値は、OAuth リフレッシュトークンのみです。
GetOAuthAccessToken によって返されたExpiresIn パラメータ値が経過した後に、RefreshOAuthAccessToken ストアドプロシージャを使用し、手動でOAuthAccessToken をリフレッシュします。次の接続プロパティを設定します。
次に、RefreshOAuthAccessToken を呼び出し、OAuthRefreshToken にGetOAuthAccessToken によって返されたOAuth リフレッシュトークンを指定します。新しいトークンが取得できたら、OAuthAccessToken プロパティにRefreshOAuthAccessToken によって返された値を設定し、新しい接続をオープンします。
最後に、OAuth リフレッシュトークンを保存し、OAuth アクセストークンの有効期限が切れた後に手動でリフレッシュできるようにします。
オプション1:Verifier code を取得および交換
Verifier code を取得するには、OAuth Authorization URL で認証する必要があります。
インターネットブラウザに対応したマシンから認証してOAuthVerifier 接続プロパティを取得する方法は次のとおりです。
ヘッドレスマシンでは、次の接続プロパティを設定してOAuth 認証値を取得します。
OAuth 設定ファイルが生成されたら、以下のように接続プロパティをリセットする必要があります。
オプション2:OAuth 設定を転送
ヘッドレスマシンでの接続に先立ち、インターネットブラウザに対応したデバイスでドライバとの接続を作成し、インストールする必要があります。上述の「デスクトップアプリケーション」の説明に従って、接続プロパティを設定します。
「デスクトップアプリケーション」の手順が完了すると、生成された認証値は、OAuthSettingsLocation で指定された場所に暗号化されて書き込まれます。デフォルトのファイル名はOAuthSettings.txt です。
接続が正常にテストされたら、OAuth 設定ファイルをヘッドレスマシンにコピーします。
ヘッドレスマシンで、次の接続プロパティを設定し、データに接続します。
GCP 仮想マシン上で実行している場合は、Cloud は仮想マシンに関連付けられたサービスアカウントを使用して認証できます。 このモードを使用するには、AuthScheme をGCPInstanceAccount に設定します。
サービスアカウントの場合は、必ずカスタムOAuth アプリケーションを作成する必要があります。
以下の場合はユーザー自身のOAuth アプリケーションクレデンシャルを作成することを選択できます。
必要な認証プロパティを取得するには、次の手順に従ってOAuth アプリケーションを作成しプライベートキーを生成します。
DoubleClick Campaign Manager data is organized into various metrics (Clicks, CostPerClick, Impressions, etc.), which can be queried over various dimensions (Country, Month, etc.). Auto-discovering all existing reports for your DCM account is extremely expensive. To work around this, the Cloud exposes five generic tables, one for each type of report, which allow for ad-hoc reporting as well as running your existing reports. There is also the option to create custom schema files for your existing reports so they can be queried as their own tables. These sections will discuss the different strategies for querying your DCM data with the Cloud.
There are five built-in tables in the driver: CrossDimensionReachReport, FloodlightReport, PathToConversionReport, ReachReport, and StandardReport. These generic tables include all possible dimensions and metrics for the given report type but not all combinations of dimensions or metrics are valid in DCM. Therefore, 'SELECT *' queries to these tables are not permitted normally. Instead, you have several options of pulling data from these tables:
SELECT Campaign, CampaignId, Impressions, Clicks, ClickRate, TotalConversions FROM StandardReport
This query involves a multi-step process. First, the report definition is created in DCM and the processing is started. Note that DCM reports can take a very long time to process especially if you have a large volume of data. Once the processing is finished, the report is downloaded and output by the Cloud. Finally, the report definition is deleted from DCM.
SELECT * FROM StandardReport WHERE ReportID='123456789'
The report is executed in real time so note that DCM reports can take a very long time to process especially if you have a large volume of data. The report definition is not deleted in this case.
SELECT * FROM StandardReport WHERE ReportID='123456789' AND FileID='987654321'
Since the report has already been executed in this case, results will return immediately. The RunReport and CheckReportStatus stored procedures along with this method of querying can be used for asynchronous processing of the report in your application.
The Cloud also offers the CreateCustomSchema stored procedure for creating new table definitions for your existing reports in DCM. The stored procedure takes a table name, the report ID, and an output folder as inputs. Calling it will create a new schema file that you can query like any other table. You will need to set the Location connection property to the folder containing the new script files in order to access them after they are created. For example:
EXEC CreateCustomSchema TableName='MyCustomReport', ReportID='123456789', OutputFolder='C:\Users\Administrator\Desktop'
デフォルトでは、Cloud はサーバーの証明書をシステムの信頼できる証明書ストアと照合してSSL / TLS のネゴシエーションを試みます。
別の証明書を指定するには、利用可能なフォーマットについてSSLServerCert プロパティを参照してください。
Windows のシステムプロキシ経由の接続では、接続プロパティを追加で設定する必要はありません。他のプロキシに接続するには、ProxyAutoDetect をfalse に設定します。
さらにHTTP プロキシへの認証には、ProxyServer とProxyPort に加えてProxyAuthScheme、ProxyUser、およびProxyPassword を設定します。
次のプロパティを設定します。
CData Cloud は、Google Campaign Manager エンティティをリレーショナルテーブル、ビュー、およびストアドプロシージャにモデル化します。提供されるテーブルには、ユーザーのアカウント情報およびDoubleClick Campaign Manager クエリで使用できるレポートの概要が示されます。
このセクションでは、API の制限および要件について説明します。
CreateCustomSchema ストアドプロシージャを使用すると、簡単に特定のレポートの新しいスキーマファイルを生成できます。このプロシージャは、TableName とレポートID を受け取り、Cloud で読み取り可能なスキーマファイルを構築します。
Location 接続プロパティが設定されている場合、ファイルはそのフォルダに出力されます。そうでない場合は、OutputFolder 入力を使用して出力フォルダを指定します。これらの新しいファイルをクエリするには、Location 接続プロパティを、新しいスキーマファイルを含むフォルダを設定します。
ビュー は変更ができないテーブルです。一般的には、Read-only で更新が不可能なデータはビューとして表されます。
ストアドプロシージャ は、データソースのファンクションライクなインターフェースです。これらを使用して、データソース内の情報を検索、更新、および変更できます。
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
Name | Description |
CrossDimensionReachReport | Table for running CrossDimensionReach reports saved in DCM or ad-hoc reports. |
Files | Lists all DoubleClick Campaign Manager files for the user. |
FloodlightReport | Table for running Floodlight reports saved in DCM or ad-hoc reports. |
PathToConversionReport | Table for running PathToConversion reports saved in DCM or ad-hoc reports. |
ReachReport | Table for running Reach reports saved in DCM or ad-hoc reports. |
Reports | Lists all DoubleClick Campaign Manager reports for the user. |
StandardReport | Table for running Standard reports saved in DCM or ad-hoc reports. |
UserProfiles | Lists all DoubleClick Campaign Manager user profiles to which the Google user has access. |
Table for running CrossDimensionReach reports saved in DCM or ad-hoc reports.
Name | Type | Dimension | Description |
CookieReachAverageImpressionFrequency | Double | False | |
CookieReachClickReach | Long | False | |
CookieReachDuplicateClickReach | Long | False | |
CookieReachDuplicateClickReachPercent | Double | False | |
CookieReachDuplicateImpressionReach | Long | False | |
CookieReachDuplicateImpressionReachPercent | Double | False | |
CookieReachDuplicateTotalReach | Long | False | |
CookieReachDuplicateTotalReachPercent | Double | False | |
CookieReachExclusiveClickReach | Long | False | |
CookieReachExclusiveClickReachPercent | Double | False | |
CookieReachExclusiveImpressionReach | Long | False | |
CookieReachExclusiveImpressionReachPercent | Double | False | |
CookieReachExclusiveTotalReach | Long | False | |
CookieReachExclusiveTotalReachPercent | Double | False | |
CookieReachImpressionReach | Long | False | |
CookieReachIncrementalClickReach | Long | False |
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ReportID | String | Optional input to pull a specific report by ID. |
FileID | String | Optional input to pull a specific file by ID. |
Lists all DoubleClick Campaign Manager files for the user.
Name | Type | Dimension | Description |
Id [KEY] | Long | The unique ID of the file. | |
ReportId | Long | The ID of the report this file was generated from. | |
FileName | String | The name of the report. | |
Format | String | The output format of the report. If not specified, default format is 'CSV'. Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. 'CSV' will then be the fallback format. | |
Status | String | The status of the report file. Values can be CANCELLED, FAILED, PROCESSING, or REPORT_AVAILABLE. | |
DateRange | String | The date range for which the file has report data. The date range will always be the absolute date range for which the report is run. | |
URLs | String | The URLs where the completed report file can be downloaded. | |
LastModifiedTime | String | The timestamp of when this report was last modified. | |
Kind | String | The kind of resource this is, in this case dfareporting#file. | |
eTag | String | The eTag of this response for caching purposes. |
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Scope | String | The scope that defines which results are returned. Values aer ALL, MINE (default), or SHARED_WITH_ME. |
Table for running Floodlight reports saved in DCM or ad-hoc reports.
Name | Type | Dimension | Description |
CookieReachIncrementalImpressionReach | Long | False | |
CookieReachIncrementalTotalReach | Long | False | |
CookieReachTotalReach | Long | False | |
CookieReachOverlapClickReach | Long | False | |
CookieReachOverlapClickReachPercent | Double | False | |
CookieReachOverlapImpressionReach | Long | False | |
CookieReachOverlapImpressionReachPercent | Double | False | |
CookieReachOverlapTotalReach | Long | False | |
CookieReachOverlapTotalReachPercent | Double | False | |
Activity | String | True | |
ActivityGroup | String | True | |
ActivityGroupId | Long | True | |
ActivityId | Long | True | |
ActivityTime | String | True | |
Ad | String | True | |
AdId | Long | True | |
AdType | String | True | |
Advertiser | String | True | |
AdvertiserGroup | String | True | |
AdvertiserId | Long | True | |
Asset | String | True | |
AssetCategory | String | True | |
AssetId | Long | True | |
AssetOrientation | String | True | |
AudienceTargeted | String | True | |
BrowserPlatform | String | True | |
Campaign | String | True | |
CampaignEndDate | String | True | |
CampaignId | Long | True | |
CampaignStartDate | String | True | |
ChannelMix | String | True | |
City | String | True | |
ClickCount | Long | True | |
ClickThroughUrl | String | True | |
ConnectionType | String | True | |
ConversionReferrer | String | True | |
ConversionUrl | String | True | |
Country | String | True | |
Creative | String | True | |
CreativeGroup1 | String | True | |
CreativeGroup2 | String | True | |
CreativeId | Long | True | |
CreativeSize | String | True | |
CreativeType | String | True | |
CreativeVersion | String | True | |
CustomRichMediaEventCount | Long | True | |
CustomRichMediaEventPathSummary | String | True | |
Date | String | True | |
DaysSinceAttributedInteraction | Long | True | |
DaysSinceFirstInteraction | Long | True | |
DmaRegion | String | True | |
DynamicProfile | String | True | |
DynamicProfileId | Long | True | |
Feed1 | String | True | |
Feed1ReportingDimension1 | String | True | |
Feed1ReportingDimension2 | String | True | |
Feed1ReportingDimension3 | String | True | |
Feed1ReportingLabel | String | True | |
Feed1UniqueId | String | True | |
Feed2 | String | True | |
Feed2ReportingDimension1 | String | True | |
Feed2ReportingDimension2 | String | True | |
Feed2ReportingDimension3 | String | True | |
Feed2ReportingLabel | String | True | |
Feed2UniqueId | String | True | |
Feed3 | String | True | |
Feed3ReportingDimension1 | String | True | |
Feed3ReportingDimension2 | String | True | |
Feed3ReportingDimension3 | String | True | |
Feed3ReportingLabel | String | True | |
Feed3UniqueId | String | True | |
Feed4 | String | True | |
Feed4ReportingDimension1 | String | True | |
Feed4ReportingDimension2 | String | True | |
Feed4ReportingDimension3 | String | True | |
Feed4ReportingLabel | String | True | |
Feed4UniqueId | String | True | |
Feed5 | String | True | |
Feed5ReportingDimension1 | String | True | |
Feed5ReportingDimension2 | String | True | |
Feed5ReportingDimension3 | String | True | |
Feed5ReportingLabel | String | True | |
Feed5UniqueId | String | True | |
FloodlightAttributionType | String | True | |
FloodlightConfigId | Long | True | |
FloodlightVariableDimension1 | String | True | |
FloodlightVariableDimension2 | String | True | |
FloodlightVariableDimension3 | String | True | |
FloodlightVariableDimension4 | String | True | |
FloodlightVariableDimension5 | String | True | |
FloodlightVariableDimension6 | String | True | |
FloodlightVariableDimension7 | String | True | |
FloodlightVariableDimension8 | String | True | |
FloodlightVariableDimension9 | String | True | |
FloodlightVariableDimension10 | String | True | |
FloodlightVariableDimension11 | String | True | |
FloodlightVariableDimension12 | String | True | |
FloodlightVariableDimension13 | String | True | |
FloodlightVariableDimension14 | String | True | |
FloodlightVariableDimension15 | String | True | |
FloodlightVariableDimension16 | String | True | |
FloodlightVariableDimension17 | String | True | |
FloodlightVariableDimension18 | String | True | |
FloodlightVariableDimension19 | String | True | |
FloodlightVariableDimension20 | String | True | |
FloodlightVariableDimension21 | String | True | |
FloodlightVariableDimension22 | String | True | |
FloodlightVariableDimension23 | String | True | |
FloodlightVariableDimension24 | String | True | |
FloodlightVariableDimension25 | String | True | |
FloodlightVariableDimension26 | String | True | |
FloodlightVariableDimension27 | String | True | |
FloodlightVariableDimension28 | String | True | |
FloodlightVariableDimension29 | String | True | |
FloodlightVariableDimension30 | String | True | |
FloodlightVariableDimension31 | String | True | |
FloodlightVariableDimension32 | String | True | |
FloodlightVariableDimension33 | String | True | |
FloodlightVariableDimension34 | String | True | |
FloodlightVariableDimension35 | String | True | |
FloodlightVariableDimension36 | String | True | |
FloodlightVariableDimension37 | String | True | |
FloodlightVariableDimension38 | String | True | |
FloodlightVariableDimension39 | String | True | |
FloodlightVariableDimension40 | String | True | |
FloodlightVariableDimension41 | String | True | |
FloodlightVariableDimension42 | String | True | |
FloodlightVariableDimension43 | String | True | |
FloodlightVariableDimension44 | String | True | |
FloodlightVariableDimension45 | String | True | |
FloodlightVariableDimension46 | String | True | |
FloodlightVariableDimension47 | String | True | |
FloodlightVariableDimension48 | String | True | |
FloodlightVariableDimension49 | String | True | |
FloodlightVariableDimension50 | String | True | |
FloodlightVariableDimension51 | String | True | |
FloodlightVariableDimension52 | String | True | |
FloodlightVariableDimension53 | String | True | |
FloodlightVariableDimension54 | String | True | |
FloodlightVariableDimension55 | String | True | |
FloodlightVariableDimension56 | String | True | |
FloodlightVariableDimension57 | String | True | |
FloodlightVariableDimension58 | String | True | |
FloodlightVariableDimension59 | String | True | |
FloodlightVariableDimension60 | String | True | |
FloodlightVariableDimension61 | String | True | |
FloodlightVariableDimension62 | String | True | |
FloodlightVariableDimension63 | String | True | |
FloodlightVariableDimension64 | String | True | |
FloodlightVariableDimension65 | String | True | |
FloodlightVariableDimension66 | String | True | |
FloodlightVariableDimension67 | String | True | |
FloodlightVariableDimension68 | String | True | |
FloodlightVariableDimension69 | String | True | |
FloodlightVariableDimension70 | String | True | |
FloodlightVariableDimension71 | String | True | |
FloodlightVariableDimension72 | String | True | |
FloodlightVariableDimension73 | String | True | |
FloodlightVariableDimension74 | String | True | |
FloodlightVariableDimension75 | String | True | |
FloodlightVariableDimension76 | String | True | |
FloodlightVariableDimension77 | String | True | |
FloodlightVariableDimension78 | String | True | |
FloodlightVariableDimension79 | String | True | |
FloodlightVariableDimension80 | String | True | |
FloodlightVariableDimension81 | String | True | |
FloodlightVariableDimension82 | String | True | |
FloodlightVariableDimension83 | String | True | |
FloodlightVariableDimension84 | String | True | |
FloodlightVariableDimension85 | String | True | |
FloodlightVariableDimension86 | String | True | |
FloodlightVariableDimension87 | String | True | |
FloodlightVariableDimension88 | String | True | |
FloodlightVariableDimension89 | String | True | |
FloodlightVariableDimension90 | String | True | |
FloodlightVariableDimension91 | String | True | |
FloodlightVariableDimension92 | String | True | |
FloodlightVariableDimension93 | String | True | |
FloodlightVariableDimension94 | String | True | |
FloodlightVariableDimension95 | String | True | |
FloodlightVariableDimension96 | String | True | |
FloodlightVariableDimension97 | String | True | |
FloodlightVariableDimension98 | String | True | |
FloodlightVariableDimension99 | String | True | |
FloodlightVariableDimension100 | String | True | |
HasRichMediaBackupImages | Boolean | True | |
HasRichMediaCustomCounters | Boolean | True | |
HasRichMediaCustomExits | Boolean | True | |
HasRichMediaCustomTimers | Boolean | True | |
HasRichMediaDynamicAdImpressions | Boolean | True | |
HasRichMediaExpansions | Boolean | True | |
HasRichMediaFullScreenImpressions | Boolean | True | |
HasRichMediaFullScreenVideoCompletions | Boolean | True | |
HasRichMediaFullScreenVideoPlays | Boolean | True | |
HasRichMediaFullScreenViews | Boolean | True | |
HasRichMediaHtml5Impressions | Boolean | True | |
HasRichMediaInteractiveImpressions | Boolean | True | |
HasRichMediaManualCloses | Boolean | True | |
HasRichMediaVideoCompanionClicks | Boolean | True | |
HasRichMediaVideoCompletions | Boolean | True | |
HasRichMediaVideoFirstQuartileCompletes | Boolean | True | |
HasRichMediaVideoFullScreens | Boolean | True | |
HasRichMediaVideoInteractions | Boolean | True | |
HasRichMediaVideoMidpoints | Boolean | True | |
HasRichMediaVideoMutes | Boolean | True | |
HasRichMediaVideoPauses | Boolean | True | |
HasRichMediaVideoPlays | Boolean | True | |
HasRichMediaVideoProgressEvents | Boolean | True | |
HasRichMediaVideoReplays | Boolean | True | |
HasRichMediaVideoSkips | Boolean | True | |
HasRichMediaVideoStops | Boolean | True | |
HasRichMediaVideoThirdQuartileCompletes | Boolean | True | |
HasRichMediaVideoUnmutes | Boolean | True | |
HasRichMediaVideoViews | Boolean | True | |
Hour | String | True | |
HoursSinceAttributedInteraction | Long | True | |
HoursSinceFirstInteraction | Long | True | |
ImpressionCount | Long | True | |
InteractionChannel | String | True | |
InteractionCountClickTracker | Long | True | |
InteractionCountMobileRichMedia | Long | True | |
InteractionCountMobileStaticImage | Long | True | |
InteractionCountMobileVideo | Long | True | |
InteractionCountNaturalSearch | Long | True | |
InteractionCountPaidSearch | Long | True | |
InteractionCountRichMedia | Long | True | |
InteractionCountStaticImage | Long | True | |
InteractionCountVideo | Long | True | |
InteractionType | String | True | |
MobileCarrier | String | True | |
Month | String | True | |
NaturalSearchEngineCountry | String | True | |
NaturalSearchEngineProperty | String | True | |
NaturalSearchEngineUrl | String | True | |
NaturalSearchLandingPage | String | True | |
NaturalSearchLandingPageQueryString | String | True | |
NaturalSearchProcessedLandingPage | String | True | |
NaturalSearchProcessedLandingPageQueryString | String | True | |
NaturalSearchQuery | String | True | |
NumValue | String | True | |
OperatingSystem | String | True | |
OperatingSystemVersion | String | True | |
OrdValue | String | True | |
PackageRoadblock | String | True | |
PackageRoadblockId | Long | True | |
PackageRoadblockStrategy | String | True | |
PaidSearchAd | String | True | |
PaidSearchAdGroup | String | True | |
PaidSearchAdGroupId | Long | True | |
PaidSearchAdId | Long | True | |
PaidSearchAdvertiser | String | True | |
PaidSearchAdvertiserId | Long | True | |
PaidSearchAgency | String | True | |
PaidSearchAgencyId | Long | True | |
PaidSearchBidStrategy | String | True | |
PaidSearchBidStrategyId | Long | True | |
PaidSearchCampaign | String | True | |
PaidSearchCampaignId | Long | True | |
PaidSearchEngineAccount | String | True | |
PaidSearchEngineAccountCategory | String | True | |
PaidSearchEngineAccountId | Long | True | |
PaidSearchExternalAdGroupId | Long | True | |
PaidSearchExternalAdId | Long | True | |
PaidSearchExternalCampaignId | Long | True | |
PaidSearchExternalKeywordId | Long | True | |
PaidSearchKeyword | String | True | |
PaidSearchKeywordId | Long | True | |
PaidSearchLabels | String | True | |
PaidSearchLandingPageUrl | String | True | |
PaidSearchLegacyKeywordId | Long | True | |
PaidSearchMatchType | String | True | |
PathLength | Long | True | |
PathType | String | True | |
Placement | String | True | |
PlacementEndDate | String | True | |
PlacementId | Long | True | |
PlacementSize | String | True | |
PlacementStartDate | String | True | |
PlatformType | String | True | |
RenderingId | Long | True | |
RichMediaVideoLength | String | True | |
Site | String | True | |
SiteDirectory | String | True | |
SiteDirectoryId | Long | True | |
SiteId | Long | True | |
SiteKeyname | String | True | |
StandardRichMediaEventCount | Long | True | |
StandardRichMediaEventPathSummary | String | True | |
State | String | True | |
TranValue | String | True | |
UValue | String | True | |
Week | String | True | |
ZipCode | Long | True | |
ActivityClickThroughConversions | Double | False | |
ActivityClickThroughRevenue | Double | False | |
ActivityViewThroughConversions | Double | False | |
ActivityViewThroughRevenue | Double | False | |
FloodlightImpressions | Long | False | |
FloodlightVariableMetric1 | Double | False | |
FloodlightVariableMetric2 | Double | False | |
FloodlightVariableMetric3 | Double | False | |
FloodlightVariableMetric4 | Double | False | |
FloodlightVariableMetric5 | Double | False | |
FloodlightVariableMetric6 | Double | False | |
FloodlightVariableMetric7 | Double | False | |
FloodlightVariableMetric8 | Double | False | |
FloodlightVariableMetric9 | Double | False | |
FloodlightVariableMetric10 | Double | False | |
FloodlightVariableMetric11 | Double | False | |
FloodlightVariableMetric12 | Double | False | |
FloodlightVariableMetric13 | Double | False | |
FloodlightVariableMetric14 | Double | False | |
FloodlightVariableMetric15 | Double | False | |
FloodlightVariableMetric16 | Double | False | |
FloodlightVariableMetric17 | Double | False | |
FloodlightVariableMetric18 | Double | False | |
FloodlightVariableMetric19 | Double | False | |
FloodlightVariableMetric20 | Double | False | |
FloodlightVariableMetric21 | Double | False | |
FloodlightVariableMetric22 | Double | False | |
FloodlightVariableMetric23 | Double | False | |
FloodlightVariableMetric24 | Double | False | |
FloodlightVariableMetric25 | Double | False | |
FloodlightVariableMetric26 | Double | False | |
FloodlightVariableMetric27 | Double | False | |
FloodlightVariableMetric28 | Double | False | |
FloodlightVariableMetric29 | Double | False | |
FloodlightVariableMetric30 | Double | False | |
FloodlightVariableMetric31 | Double | False | |
FloodlightVariableMetric32 | Double | False | |
FloodlightVariableMetric33 | Double | False | |
FloodlightVariableMetric34 | Double | False | |
FloodlightVariableMetric35 | Double | False | |
FloodlightVariableMetric36 | Double | False | |
FloodlightVariableMetric37 | Double | False | |
FloodlightVariableMetric38 | Double | False | |
FloodlightVariableMetric39 | Double | False | |
FloodlightVariableMetric40 | Double | False | |
FloodlightVariableMetric41 | Double | False | |
FloodlightVariableMetric42 | Double | False | |
FloodlightVariableMetric43 | Double | False | |
FloodlightVariableMetric44 | Double | False | |
FloodlightVariableMetric45 | Double | False | |
FloodlightVariableMetric46 | Double | False | |
FloodlightVariableMetric47 | Double | False | |
FloodlightVariableMetric48 | Double | False | |
FloodlightVariableMetric49 | Double | False | |
FloodlightVariableMetric50 | Double | False | |
FloodlightVariableMetric51 | Double | False | |
FloodlightVariableMetric52 | Double | False | |
FloodlightVariableMetric53 | Double | False | |
FloodlightVariableMetric54 | Double | False | |
FloodlightVariableMetric55 | Double | False | |
FloodlightVariableMetric56 | Double | False | |
FloodlightVariableMetric57 | Double | False | |
FloodlightVariableMetric58 | Double | False | |
FloodlightVariableMetric59 | Double | False | |
FloodlightVariableMetric60 | Double | False | |
FloodlightVariableMetric61 | Double | False | |
FloodlightVariableMetric62 | Double | False | |
FloodlightVariableMetric63 | Double | False | |
FloodlightVariableMetric64 | Double | False | |
FloodlightVariableMetric65 | Double | False | |
FloodlightVariableMetric66 | Double | False | |
FloodlightVariableMetric67 | Double | False | |
FloodlightVariableMetric68 | Double | False | |
FloodlightVariableMetric69 | Double | False | |
FloodlightVariableMetric70 | Double | False | |
FloodlightVariableMetric71 | Double | False | |
FloodlightVariableMetric72 | Double | False | |
FloodlightVariableMetric73 | Double | False | |
FloodlightVariableMetric74 | Double | False | |
FloodlightVariableMetric75 | Double | False | |
FloodlightVariableMetric76 | Double | False | |
FloodlightVariableMetric77 | Double | False | |
FloodlightVariableMetric78 | Double | False | |
FloodlightVariableMetric79 | Double | False | |
FloodlightVariableMetric80 | Double | False | |
FloodlightVariableMetric81 | Double | False | |
FloodlightVariableMetric82 | Double | False | |
FloodlightVariableMetric83 | Double | False | |
FloodlightVariableMetric84 | Double | False | |
FloodlightVariableMetric85 | Double | False | |
FloodlightVariableMetric86 | Double | False | |
FloodlightVariableMetric87 | Double | False | |
FloodlightVariableMetric88 | Double | False | |
FloodlightVariableMetric89 | Double | False | |
FloodlightVariableMetric90 | Double | False | |
FloodlightVariableMetric91 | Double | False | |
FloodlightVariableMetric92 | Double | False | |
FloodlightVariableMetric93 | Double | False | |
FloodlightVariableMetric94 | Double | False | |
FloodlightVariableMetric95 | Double | False | |
FloodlightVariableMetric96 | Double | False | |
FloodlightVariableMetric97 | Double | False | |
FloodlightVariableMetric98 | Double | False | |
FloodlightVariableMetric99 | Double | False | |
FloodlightVariableMetric100 | Double | False | |
LastClickAttributedTransactionCount | Double | False | |
LastImpressionAttributedTransactionCount | Double | False | |
RichMediaAverageExpansionTime | Double | False | |
RichMediaAverageFullScreenViewTime | Double | False | |
RichMediaAverageInteractionTime | Double | False | |
RichMediaAverageVideoViewTime | Double | False | |
RichMediaBackupImages | Long | False | |
RichMediaCustomAverageTime | Double | False | |
RichMediaCustomCounters | Long | False | |
RichMediaCustomExits | Long | False | |
RichMediaCustomTimers | Long | False | |
RichMediaDisplayTime | Long | False | |
RichMediaExpansionTime | Long | False | |
RichMediaExpansions | Long | False | |
RichMediaFullScreenImpressions | Long | False | |
RichMediaFullScreenVideoCompletes | Long | False | |
RichMediaFullScreenVideoPlays | Long | False | |
RichMediaHtml5Impressions | Long | False | |
RichMediaInteractionTime | Long | False | |
RichMediaInteractions | Long | False | |
RichMediaInteractiveImpressions | Long | False | |
RichMediaManualCloses | Long | False | |
RichMediaVideoCompanionClicks | Long | False | |
RichMediaVideoCompletions | Long | False | |
RichMediaVideoFirstQuartileCompletes | Long | False | |
RichMediaVideoFullScreens | Long | False | |
RichMediaVideoInteractionRate | Double | False | |
RichMediaVideoInteractions | Long | False | |
RichMediaVideoMidpoints | Long | False | |
RichMediaVideoMutes | Long | False | |
RichMediaVideoPauses | Long | False | |
RichMediaVideoPlays | Long | False | |
RichMediaVideoProgressEvents | Long | False | |
RichMediaVideoReplays | Long | False | |
RichMediaVideoSkips | Long | False | |
RichMediaVideoStops | Long | False | |
RichMediaVideoThirdQuartileCompletes | Long | False | |
RichMediaVideoUnmutes | Long | False | |
RichMediaVideoViewRate | Double | False | |
RichMediaVideoViews | Long | False | |
TotalConversions | Double | False | |
TotalConversionsRevenue | Double | False | |
TransactionCount | Long | False |
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ReportID | String | Optional input to pull a specific report by ID. |
FileID | String | Optional input to pull a specific file by ID. |
Table for running PathToConversion reports saved in DCM or ad-hoc reports.
Name | Type | Dimension | Description |
ConversionId | Long | True | |
Activity | String | True | |
ActivityGroup | String | True | |
ActivityGroupId | Long | True | |
ActivityId | Long | True | |
ActivityTime | String | True | |
BrowserPlatform | String | True | |
ChannelMix | String | True | |
City | String | True | |
ClickCount | Long | True | |
ConnectionType | String | True | |
ConversionReferrer | String | True | |
ConversionUrl | String | True | |
Country | String | True | |
CustomRichMediaEventCount | Long | True | |
CustomRichMediaEventPathSummary | String | True | |
DaysSinceAttributedInteraction | Long | True | |
DaysSinceFirstInteraction | Long | True | |
DmaRegion | String | True | |
FloodlightAttributionType | String | True | |
FloodlightConfigId | Long | True | |
HoursSinceAttributedInteraction | Long | True | |
HoursSinceFirstInteraction | Long | True | |
ImpressionCount | Long | True | |
InteractionCountClickTracker | Long | True | |
InteractionCountMobileRichMedia | Long | True | |
InteractionCountMobileStaticImage | Long | True | |
InteractionCountMobileVideo | Long | True | |
InteractionCountNaturalSearch | Long | True | |
InteractionCountPaidSearch | Long | True | |
InteractionCountRichMedia | Long | True | |
InteractionCountStaticImage | Long | True | |
InteractionCountVideo | Long | True | |
MobileCarrier | String | True | |
NumValue | String | True | |
OperatingSystem | String | True | |
OperatingSystemVersion | String | True | |
OrdValue | String | True | |
PathLength | Long | True | |
PathType | String | True | |
PlatformType | String | True | |
RecalculatedAttributionType | String | True | |
StandardRichMediaEventCount | Long | True | |
StandardRichMediaEventPathSummary | String | True | |
State | String | True | |
TranValue | String | True | |
UValue | String | True | |
ZipCode | Long | True | |
InteractionNumber | Long | True | |
InteractionTime | String | True | |
Ad | String | True | |
AdId | Long | True | |
AdType | String | True | |
Advertiser | String | True | |
AdvertiserGroup | String | True | |
AdvertiserId | Long | True | |
Asset | String | True | |
AssetCategory | String | True | |
AssetId | Long | True | |
AssetOrientation | String | True | |
AudienceTargeted | String | True | |
Campaign | String | True | |
CampaignEndDate | String | True | |
CampaignId | Long | True | |
CampaignStartDate | String | True | |
ClickThroughUrl | String | True | |
Creative | String | True | |
CreativeGroup1 | String | True | |
CreativeGroup2 | String | True | |
CreativeId | Long | True | |
CreativeSize | String | True | |
CreativeType | String | True | |
CreativeVersion | String | True | |
DynamicProfile | String | True | |
DynamicProfileId | Long | True | |
Feed1 | String | True | |
Feed1ReportingDimension1 | String | True | |
Feed1ReportingDimension2 | String | True | |
Feed1ReportingDimension3 | String | True | |
Feed1ReportingLabel | String | True | |
Feed1UniqueId | String | True | |
Feed2 | String | True | |
Feed2ReportingDimension1 | String | True | |
Feed2ReportingDimension2 | String | True | |
Feed2ReportingDimension3 | String | True | |
Feed2ReportingLabel | String | True | |
Feed2UniqueId | String | True | |
Feed3 | String | True | |
Feed3ReportingDimension1 | String | True | |
Feed3ReportingDimension2 | String | True | |
Feed3ReportingDimension3 | String | True | |
Feed3ReportingLabel | String | True | |
Feed3UniqueId | String | True | |
Feed4 | String | True | |
Feed4ReportingDimension1 | String | True | |
Feed4ReportingDimension2 | String | True | |
Feed4ReportingDimension3 | String | True | |
Feed4ReportingLabel | String | True | |
Feed4UniqueId | String | True | |
Feed5 | String | True | |
Feed5ReportingDimension1 | String | True | |
Feed5ReportingDimension2 | String | True | |
Feed5ReportingDimension3 | String | True | |
Feed5ReportingLabel | String | True | |
Feed5UniqueId | String | True | |
FloodlightAttributedInteraction | String | True | |
InteractionChannel | String | True | |
InteractionType | String | True | |
NaturalSearchEngineCountry | String | True | |
NaturalSearchEngineProperty | String | True | |
NaturalSearchEngineUrl | String | True | |
NaturalSearchLandingPage | String | True | |
NaturalSearchLandingPageQueryString | String | True | |
NaturalSearchProcessedLandingPage | String | True | |
NaturalSearchProcessedLandingPageQueryString | String | True | |
NaturalSearchQuery | String | True | |
PackageRoadblock | String | True | |
PackageRoadblockId | Long | True | |
PackageRoadblockStrategy | String | True | |
PaidSearchAd | String | True | |
PaidSearchAdGroup | String | True | |
PaidSearchAdGroupId | Long | True | |
PaidSearchAdId | Long | True | |
PaidSearchAdvertiser | String | True | |
PaidSearchAdvertiserId | Long | True | |
PaidSearchAgency | String | True | |
PaidSearchAgencyId | Long | True | |
PaidSearchBidStrategy | String | True | |
PaidSearchBidStrategyId | Long | True | |
PaidSearchCampaign | String | True | |
PaidSearchCampaignId | Long | True | |
PaidSearchEngineAccount | String | True | |
PaidSearchEngineAccountCategory | String | True | |
PaidSearchEngineAccountId | Long | True | |
PaidSearchExternalAdGroupId | Long | True | |
PaidSearchExternalAdId | Long | True | |
PaidSearchExternalCampaignId | Long | True | |
PaidSearchExternalKeywordId | Long | True | |
PaidSearchKeyword | String | True | |
PaidSearchKeywordId | Long | True | |
PaidSearchLabels | String | True | |
PaidSearchLandingPageUrl | String | True | |
PaidSearchLegacyKeywordId | Long | True | |
PaidSearchMatchType | String | True | |
Placement | String | True | |
PlacementEndDate | String | True | |
PlacementId | Long | True | |
PlacementSize | String | True | |
PlacementStartDate | String | True | |
RecalculatedAttributedInteraction | String | True | |
RenderingId | Long | True | |
RichMediaBackupImagesDimension | Long | True | |
RichMediaCustomCountersDimension | Long | True | |
RichMediaCustomExitsDimension | Long | True | |
RichMediaCustomTimersDimension | Long | True | |
RichMediaDisplayTimeDimension | Long | True | |
RichMediaExpansionTimeDimension | Long | True | |
RichMediaExpansionsDimension | Long | True | |
RichMediaFullScreenImpressionsDimension | Long | True | |
RichMediaFullScreenVideoCompletionsDimension | Long | True | |
RichMediaFullScreenVideoPlaysDimension | Long | True | |
RichMediaHtml5ImpressionsDimension | Long | True | |
RichMediaInteractionTimeDimension | Long | True | |
RichMediaInteractiveImpressionsDimension | Long | True | |
RichMediaManualClosesDimension | Long | True | |
RichMediaVideoCompanionClicksDimension | Long | True | |
RichMediaVideoCompletionsDimension | Long | True | |
RichMediaVideoFirstQuartileCompletesDimension | Long | True | |
RichMediaVideoFullScreensDimension | Long | True | |
RichMediaVideoInteractionsDimension | Long | True | |
RichMediaVideoLength | String | True | |
RichMediaVideoMidpointsDimension | Long | True | |
RichMediaVideoMutesDimension | Long | True | |
RichMediaVideoPausesDimension | Long | True | |
RichMediaVideoPlaysDimension | Long | True | |
RichMediaVideoProgressEventsDimension | Long | True | |
RichMediaVideoReplaysDimension | Long | True | |
RichMediaVideoSkipsDimension | Long | True | |
RichMediaVideoStopsDimension | Long | True | |
RichMediaVideoThirdQuartileCompletesDimension | Long | True | |
RichMediaVideoUnmutesDimension | Long | True | |
RichMediaVideoViewsDimension | Long | True | |
Site | String | True | |
SiteDirectory | String | True | |
SiteDirectoryId | Long | True | |
SiteId | Long | True | |
SiteKeyname | String | True | |
TwitterImpressionId | Long | True | |
WithinFloodlightLookbackWindow | String | True | |
TotalConversions | Double | False | |
TotalConversionsRevenue | Double | False |
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ReportID | String | Optional input to pull a specific report by ID. |
FileID | String | Optional input to pull a specific file by ID. |
Table for running Reach reports saved in DCM or ad-hoc reports.
Name | Type | Dimension | Description |
PaidSearchAverageCostPerAction | Double | False | |
PaidSearchAverageCostPerTransaction | Double | False | |
PaidSearchAverageDfaTransactionAmount | Double | False | |
PaidSearchRevenue | Double | False | |
PaidSearchSpendPerTransactionRevenue | Double | False | |
PaidSearchTransactionConversionPercentage | Double | False | |
PaidSearchTransactionRevenuePerSpend | Double | False | |
PaidSearchTransactions | Double | False | |
TotalConversions | Double | False | |
TotalConversionsRevenue | Double | False | |
Advertiser | String | True | |
Ad | String | True | |
AdId | Long | True | |
AdStatus | String | True | |
AdType | String | True | |
AdvertiserGroup | String | True | |
AdvertiserId | Long | True | |
BrowserPlatform | String | True | |
Campaign | String | True | |
CampaignEndDate | String | True | |
CampaignExternalId | String | True | |
CampaignId | Long | True | |
CampaignStartDate | String | True | |
City | String | True | |
ConnectionType | String | True | |
ContentCategory | String | True | |
Country | String | True | |
Date | String | True | |
DmaRegion | String | True | |
FloodlightConfigId | Long | True | |
Hour | String | True | |
MobileCarrier | String | True | |
Month | String | True | |
OperatingSystem | String | True | |
OperatingSystemVersion | String | True | |
PackageRoadblock | String | True | |
PackageRoadblockId | Long | True | |
PackageRoadblockStrategy | String | True | |
PackageRoadblockTotalBookedUnits | String | True | |
PaymentSource | String | True | |
Placement | String | True | |
PlacementCompatibility | String | True | |
PlacementCostStructure | String | True | |
PlacementEndDate | String | True | |
PlacementExternalId | String | True | |
PlacementId | Long | True | |
PlacementRate | String | True | |
PlacementStartDate | String | True | |
PlacementStrategy | String | True | |
PlacementTotalBookedUnits | String | True | |
PlacementTotalPlannedMediaCost | String | True | |
PlatformType | String | True | |
Site | String | True | |
SiteId | Long | True | |
SiteKeyname | String | True | |
Week | String | True | |
ActiveViewAverageViewableTimeSecond | Double | False | |
ActiveViewCustomMetricMeasurableImpressions | Long | False | |
ActiveViewCustomMetricViewableImpressions | Long | False | |
ActiveViewCustomMetricViewableRate | Double | False | |
ActiveViewEligibleImpressions | Long | False | |
ActiveViewGroupmMeasurableImpressions | Long | False | |
ActiveViewGroupmTrvMeasurableImpressions | Long | False | |
ActiveViewGroupmTrvViewableImpressions | Long | False | |
ActiveViewGroupmViewableImpressions | Long | False | |
ActiveViewImpressionDistributionNotMeasurable | Double | False | |
ActiveViewImpressionDistributionNotViewable | Double | False | |
ActiveViewImpressionDistributionViewable | Double | False | |
ActiveViewImpressionsAudibleAndVisibleAtCompletion | Long | False | |
ActiveViewImpressionsVisible10Seconds | Long | False | |
ActiveViewMeasurableImpressions | Long | False | |
ActiveViewNotMeasurableImpressions | Long | False | |
ActiveViewNotViewableImpressions | Long | False | |
ActiveViewPercentAudibleAndVisibleAtCompletion | Double | False | |
ActiveViewPercentAudibleAndVisibleAtFirstQuartile | Double | False | |
ActiveViewPercentAudibleAndVisibleAtMidpoint | Double | False | |
ActiveViewPercentAudibleAndVisibleAtStart | Double | False | |
ActiveViewPercentAudibleAndVisibleAtThirdQuartile | Double | False | |
ActiveViewPercentAudibleImpressions | Double | False | |
ActiveViewPercentBackground | Double | False | |
ActiveViewPercentFullscreen | Double | False | |
ActiveViewPercentImpressionsAudibleAndFullyOnscreen | Double | False | |
ActiveViewPercentImpressionsAudibleAndFullyOnscreenForHalfDuration | Double | False | |
ActiveViewPercentImpressionsAudibleAndVisibleAtCompletion | Double | False | |
ActiveViewPercentImpressionsAudibleAndVisibleAtFirstQuartile | Double | False | |
ActiveViewPercentImpressionsAudibleAndVisibleAtMidpoint | Double | False | |
ActiveViewPercentImpressionsAudibleAndVisibleAtThirdQuartile | Double | False | |
ActiveViewPercentImpressionsVisibleAtCompletion | Double | False | |
ActiveViewPercentImpressionsVisibleAtFirstQuartile | Double | False | |
ActiveViewPercentImpressionsVisibleAtMidpoint | Double | False | |
ActiveViewPercentImpressionsVisibleAtThirdQuartile | Double | False | |
ActiveViewPercentPlayTimeAudible | Double | False | |
ActiveViewPercentPlayTimeAudibleAndVisible | Double | False | |
ActiveViewPercentPlayTimeVisible | Double | False | |
ActiveViewPercentVisible10Seconds | Double | False | |
ActiveViewPercentVisibleAtCompletion | Double | False | |
ActiveViewPercentVisibleAtFirstQuartile | Double | False | |
ActiveViewPercentVisibleAtMidpoint | Double | False | |
ActiveViewPercentVisibleAtStart | Double | False | |
ActiveViewPercentVisibleAtThirdQuartile | Double | False | |
ActiveViewPercentageMeasurableImpressions | Double | False | |
ActiveViewPercentageViewableImpressions | Double | False | |
ActiveViewViewableImpressionCookieReach | Long | False | |
ActiveViewViewableImpressions | Long | False | |
ActivityClickThroughConversions | Double | False | |
ActivityClickThroughRevenue | Double | False | |
ActivityDeliveryStatus | Double | False | |
ActivityPerClick | Double | False | |
ActivityPerThousandImpressions | Double | False | |
ActivityViewThroughConversions | Double | False | |
ActivityViewThroughRevenue | Double | False | |
BookedActivities | Double | False | |
BookedClicks | Double | False | |
BookedImpressions | Double | False | |
BookedViewableImpressions | Double | False | |
ClickDeliveryStatus | Double | False | |
ClickRate | Double | False | |
Clicks | Long | False | |
CookieReachAverageImpressionFrequency | Double | False | |
CookieReachClickReach | Long | False | |
CookieReachImpressionReach | Long | False | |
CookieReachIncrementalClickReach | Long | False | |
CookieReachIncrementalImpressionReach | Long | False | |
CookieReachIncrementalTotalReach | Long | False | |
CookieReachTotalReach | Long | False | |
CostPerActivity | Double | False | |
CostPerClick | Double | False | |
CostPerRevenue | Double | False | |
CrossDeviceClickThroughConversionQuantity | Long | False | |
CrossDeviceClickThroughConversionRevenue | Double | False | |
CrossDeviceClickThroughConversions | Long | False | |
CrossDeviceTotalConversionQuantity | Long | False | |
CrossDeviceTotalConversionRevenue | Double | False | |
CrossDeviceTotalConversions | Long | False | |
CrossDeviceViewThroughConversionQuantity | Long | False | |
CrossDeviceViewThroughConversionRevenue | Double | False | |
CrossDeviceViewThroughConversions | Long | False | |
DV360Cost | Double | False | |
DV360CostUsd | Double | False | |
DownloadedImpressions | Long | False | |
EffectiveCpm | Double | False | |
ImpressionDeliveryStatus | Double | False | |
Impressions | Long | False | |
MediaCost | Double | False | |
NaturalSearchActions | Double | False | |
NaturalSearchClicks | Long | False | |
NaturalSearchRevenue | Double | False | |
NaturalSearchTransactions | Double | False | |
PaidSearchActionConversionPercentage | Double | False | |
PaidSearchActions | Double | False | |
PaidSearchAveragePosition | Double | False | |
PaidSearchClickRate | Double | False | |
PaidSearchClicks | Long | False | |
PaidSearchCost | Double | False | |
PaidSearchImpressions | Long | False | |
PaidSearchVisits | Long | False | |
PlannedMediaCost | Double | False | |
RevenuePerClick | Double | False | |
RevenuePerThousandImpressions | Double | False | |
RichMediaAverageDisplayTime | Double | False | |
RichMediaAverageExpansionTime | Double | False | |
RichMediaAverageFullScreenViewTime | Double | False | |
RichMediaAverageInteractionTime | Double | False | |
RichMediaAverageVideoViewTime | Double | False | |
RichMediaBackupImages | Long | False | |
RichMediaClickRate | Double | False | |
RichMediaClicks | Long | False | |
RichMediaCodeServes | Long | False | |
RichMediaCustomAverageTime | Double | False | |
RichMediaCustomCounters | Long | False | |
RichMediaCustomExits | Long | False | |
RichMediaCustomTimers | Long | False | |
RichMediaDisplayTime | Long | False | |
RichMediaEngagements | Long | False | |
RichMediaEventCounters | Long | False | |
RichMediaEventTimers | Double | False | |
RichMediaExpansionTime | Long | False | |
RichMediaExpansions | Long | False | |
RichMediaFullScreenImpressions | Long | False | |
RichMediaFullScreenVideoCompletes | Long | False | |
RichMediaFullScreenVideoPlays | Long | False | |
RichMediaHtml5Impressions | Long | False | |
RichMediaImpressions | Long | False | |
RichMediaInteractionRate | Double | False | |
RichMediaInteractionTime | Long | False | |
RichMediaInteractions | Long | False | |
RichMediaInteractiveImpressions | Long | False | |
RichMediaManualCloses | Long | False | |
RichMediaScrolls | Long | False | |
RichMediaTrueViewViews | Long | False | |
RichMediaVideoCompanionClicks | Long | False | |
RichMediaVideoCompletions | Long | False | |
RichMediaVideoFirstQuartileCompletes | Long | False | |
RichMediaVideoFullScreens | Long | False | |
RichMediaVideoInteractionRate | Double | False | |
RichMediaVideoInteractions | Long | False | |
RichMediaVideoMidpoints | Long | False | |
RichMediaVideoMutes | Long | False | |
RichMediaVideoPauses | Long | False | |
RichMediaVideoPlays | Long | False | |
RichMediaVideoProgressEvents | Long | False | |
RichMediaVideoReplays | Long | False | |
RichMediaVideoSkips | Long | False | |
RichMediaVideoStops | Long | False | |
RichMediaVideoThirdQuartileCompletes | Long | False | |
RichMediaVideoUnmutes | Long | False | |
RichMediaVideoViewRate | Double | False | |
RichMediaVideoViews | Long | False | |
RoadblockImpressions | Long | False | |
SocialEmailShares | Long | False | |
SocialEngagementRate | Double | False | |
SocialFollows | Long | False | |
SocialLeadSubmissions | Long | False | |
SocialLikes | Long | False | |
SocialOfferAccepts | Long | False | |
SocialReplies | Long | False | |
SocialTotalEngagements | Long | False | |
TwitterAppClicks | Long | False | |
TwitterBuyNowCardClicks | Long | False | |
TwitterBuyNowPurchaseSuccessfuls | Long | False | |
TwitterOtherEngagements | Long | False | |
TwitterRetweets | Long | False | |
TwitterUrlClicks | Long | False | |
TwitterVideo50PercentInViewFor2Seconds | Long | False | |
TwitterVideo100PercentInViewFor3Seconds | Long | False | |
UniqueReachAverageImpressionFrequency | Double | False | |
UniqueReachClickReach | Long | False | |
UniqueReachImpressionReach | Long | False | |
UniqueReachTotalReach | Long | False | |
VerificationBlockedImpressions | Long | False | |
VerificationClassifiedImpressions | Long | False | |
VerificationMeasurableImpressionsForAudio | Long | False | |
VerificationMeasurableImpressionsForVideoPlayerLocation | Long | False | |
VerificationMeasurableImpressionsForVideoPlayerSize | Long | False | |
VerificationPercentageMeasurableImpressionsForAudio | Double | False | |
VerificationPercentageMeasurableImpressionsForVideoPlayerLocation | Double | False | |
VerificationPercentageMeasurableImpressionsForVideoPlayerSize | Double | False | |
VerificationPublisherProblems | Long | False | |
VerificationReportingProblems | Long | False | |
VerificationServingProblems | Long | False | |
VerificationVerifiableImpressions | Long | False | |
VerificationVideoMutedAtStart | Long | False | |
VerificationVideoPlayerHdSizeImpressions | Long | False | |
VerificationVideoPlayerLargeSizeImpressions | Long | False | |
VerificationVideoPlayerLocationAvgPixelsFromLeft | Long | False | |
VerificationVideoPlayerLocationAvgPixelsFromTop | Long | False | |
VerificationVideoPlayerSizeAvgHeight | Long | False | |
VerificationVideoPlayerSizeAvgWidth | Long | False | |
VerificationVideoPlayerSmallSizeImpressions | Long | False | |
VerificationVideoProminenceScore | Double | False | |
VerificationWarnings | Long | False | |
VideoCompanionClicks | Long | False | |
VideoCompanionImpressions | Long | False |
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ReportID | String | Optional input to pull a specific report by ID. |
FileID | String | Optional input to pull a specific file by ID. |
dateRange | String | Optional input to pull a specific date range. Defaults to LAST_30_DAYS. If startDate and endDate are specified, this is ignored. |
startDate | String | Optional input to pull report from specific start date. |
endDate | String | Optional input to pull report from specific end date. |
Lists all DoubleClick Campaign Manager reports for the user.
Name | Type | Dimension | Description |
Id [KEY] | Long | The unique ID of the report. | |
Name | String | The name of the report. | |
Type | String | The type of the report. | |
FileName | String | The name of the report. | |
Format | String | The output format of the report. If not specified, default format is 'CSV'. Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. 'CSV' will then be the fallback format. | |
Criteria | String | The report criteria for a report of type STANDARD. | |
PathToConversionCriteria | String | The report criteria for a report of type PATH_TO_CONVERSION. | |
ReachCriteria | String | The report criteria for a report of type REACH. | |
CrossDimensionReachCriteria | String | The report criteria for a report of type CROSS_DIMENSION_REACH. | |
FloodlightCriteria | String | The report criteria for a report of type FLOODLIGHT. | |
Schedule | String | The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not 'TODAY'. | |
Delivery | String | The report's email delivery settings. | |
OwnerProfileId | Long | The user profile ID of the owner of this report. | |
AccountId | Long | Account Id to which this report belongs. | |
SubAccountId | Long | Sub account Id to which this report belongs, if applicable. | |
LastModifiedTime | String | The timestamp of when this report was last modified. | |
Kind | String | The kind of resource this is, in this case dfareporting#report. | |
eTag | String | The eTag of this response for caching purposes. |
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Scope | String | The scope that defines which results are returned. Values aer ALL or MINE (default). |
Table for running Standard reports saved in DCM or ad-hoc reports.
Name | Type | Dimension | Description |
ActiveViewCustomMetricId | Long | True | |
ActiveViewCustomMetricName | String | True | |
Activity | String | True | |
ActivityGroup | String | True | |
ActivityGroupId | Long | True | |
ActivityId | Long | True | |
Ad | String | True | |
AdId | Long | True | |
AdStatus | String | True | |
AdType | String | True | |
Advertiser | String | True | |
AdvertiserGroup | String | True | |
AdvertiserId | Long | True | |
App | String | True | |
AppId | String | True | |
Asset | String | True | |
AssetCategory | String | True | |
AssetId | Long | True | |
AssetOrientation | String | True | |
AttributedEventConnectionType | String | True | |
AttributedEventEnvironment | String | True | |
AudienceTargeted | String | True | |
BrowserPlatform | String | True | |
Campaign | String | True | |
CampaignEndDate | String | True | |
CampaignExternalId | String | True | |
CampaignId | Long | True | |
CampaignStartDate | String | True | |
City | String | True | |
ClickThroughUrl | String | True | |
CompanionCreative | String | True | |
CompanionCreativeId | Long | True | |
CompanionCreativeSize | String | True | |
ConnectionType | String | True | |
ContentCategory | String | True | |
ContentClassification | String | True | |
Country | String | True | |
Creative | String | True | |
CreativeEndDate | String | True | |
CreativeField1 | String | True | |
CreativeField2 | String | True | |
CreativeField3 | String | True | |
CreativeField4 | String | True | |
CreativeField5 | String | True | |
CreativeField6 | String | True | |
CreativeField7 | String | True | |
CreativeField8 | String | True | |
CreativeField9 | String | True | |
CreativeField10 | String | True | |
CreativeField11 | String | True | |
CreativeField12 | String | True | |
CreativeGroup1 | String | True | |
CreativeGroup2 | String | True | |
CreativeId | Long | True | |
CreativeSize | String | True | |
CreativeStartDate | String | True | |
CreativeType | String | True | |
CreativeVersion | String | True | |
Date | String | True | |
DV360Advertiser | String | True | |
DV360AdvertiserId | Long | True | |
DV360Creative | String | True | |
DV360CreativeId | Long | True | |
DV360InsertionOrder | String | True | |
DV360InsertionOrderId | Long | True | |
DV360LineItem | String | True | |
DV360LineItemId | Long | True | |
DV360Partner | String | True | |
DV360PartnerId | Long | True | |
DV360Site | String | True | |
DV360SiteId | Long | True | |
DigitalContentLabel | String | True | |
DmaRegion | String | True | |
Domain | String | True | |
DynamicElement | String | True | |
DynamicElement1Field1Value | String | True | |
DynamicElement1Field2Value | String | True | |
DynamicElement1Field3Value | String | True | |
DynamicElement1Field4Value | String | True | |
DynamicElement1Field5Value | String | True | |
DynamicElement1Field6Value | String | True | |
DynamicElement2Field1Value | String | True | |
DynamicElement2Field2Value | String | True | |
DynamicElement2Field3Value | String | True | |
DynamicElement2Field4Value | String | True | |
DynamicElement2Field5Value | String | True | |
DynamicElement2Field6Value | String | True | |
DynamicElement3Field1Value | String | True | |
DynamicElement3Field2Value | String | True | |
DynamicElement3Field3Value | String | True | |
DynamicElement3Field4Value | String | True | |
DynamicElement3Field5Value | String | True | |
DynamicElement3Field6Value | String | True | |
DynamicElement4Field1Value | String | True | |
DynamicElement4Field2Value | String | True | |
DynamicElement4Field3Value | String | True | |
DynamicElement4Field4Value | String | True | |
DynamicElement4Field5Value | String | True | |
DynamicElement4Field6Value | String | True | |
DynamicElement5Field1Value | String | True | |
DynamicElement5Field2Value | String | True | |
DynamicElement5Field3Value | String | True | |
DynamicElement5Field4Value | String | True | |
DynamicElement5Field5Value | String | True | |
DynamicElement5Field6Value | String | True | |
DynamicElement6Field1Value | String | True | |
DynamicElement6Field2Value | String | True | |
DynamicElement6Field3Value | String | True | |
DynamicElement6Field4Value | String | True | |
DynamicElement6Field5Value | String | True | |
DynamicElement6Field6Value | String | True | |
DynamicElement7Field1Value | String | True | |
DynamicElement7Field2Value | String | True | |
DynamicElement7Field3Value | String | True | |
DynamicElement7Field4Value | String | True | |
DynamicElement7Field5Value | String | True | |
DynamicElement7Field6Value | String | True | |
DynamicElement8Field1Value | String | True | |
DynamicElement8Field2Value | String | True | |
DynamicElement8Field3Value | String | True | |
DynamicElement8Field4Value | String | True | |
DynamicElement8Field5Value | String | True | |
DynamicElement8Field6Value | String | True | |
DynamicElement9Field1Value | String | True | |
DynamicElement9Field2Value | String | True | |
DynamicElement9Field3Value | String | True | |
DynamicElement9Field4Value | String | True | |
DynamicElement9Field5Value | String | True | |
DynamicElement9Field6Value | String | True | |
DynamicElement10Field1Value | String | True | |
DynamicElement10Field2Value | String | True | |
DynamicElement10Field3Value | String | True | |
DynamicElement10Field4Value | String | True | |
DynamicElement10Field5Value | String | True | |
DynamicElement10Field6Value | String | True | |
DynamicElement11Field1Value | String | True | |
DynamicElement11Field2Value | String | True | |
DynamicElement11Field3Value | String | True | |
DynamicElement11Field4Value | String | True | |
DynamicElement11Field5Value | String | True | |
DynamicElement11Field6Value | String | True | |
DynamicElement12Field1Value | String | True | |
DynamicElement12Field2Value | String | True | |
DynamicElement12Field3Value | String | True | |
DynamicElement12Field4Value | String | True | |
DynamicElement12Field6Value | String | True | |
DynamicElement13Field1Value | String | True | |
DynamicElement13Field2Value | String | True | |
DynamicElement13Field4Value | String | True | |
DynamicElement13Field5Value | String | True | |
DynamicElement13Field6Value | String | True | |
DynamicElement14Field1Value | String | True | |
DynamicElement14Field2Value | String | True | |
DynamicElement14Field3Value | String | True | |
DynamicElement14Field4Value | String | True | |
DynamicElement14Field5Value | String | True | |
DynamicElement14Field6Value | String | True | |
DynamicElement15Field1Value | String | True | |
DynamicElement15Field2Value | String | True | |
DynamicElement15Field3Value | String | True | |
DynamicElement15Field4Value | String | True | |
DynamicElement15Field5Value | String | True | |
DynamicElement15Field6Value | String | True | |
DynamicElement16Field1Value | String | True | |
DynamicElement16Field2Value | String | True | |
DynamicElement16Field3Value | String | True | |
DynamicElement16Field4Value | String | True | |
DynamicElement16Field5Value | String | True | |
DynamicElement16Field6Value | String | True | |
DynamicElement17Field1Value | String | True | |
DynamicElement17Field2Value | String | True | |
DynamicElement17Field3Value | String | True | |
DynamicElement17Field4Value | String | True | |
DynamicElement17Field5Value | String | True | |
DynamicElement17Field6Value | String | True | |
DynamicElement18Field1Value | String | True | |
DynamicElement18Field2Value | String | True | |
DynamicElement18Field3Value | String | True | |
DynamicElement18Field4Value | String | True | |
DynamicElement18Field5Value | String | True | |
DynamicElement18Field6Value | String | True | |
DynamicElement19Field1Value | String | True | |
DynamicElement19Field2Value | String | True | |
DynamicElement19Field3Value | String | True | |
DynamicElement19Field4Value | String | True | |
DynamicElement19Field5Value | String | True | |
DynamicElement19Field6Value | String | True | |
DynamicElement20Field1Value | String | True | |
DynamicElement20Field2Value | String | True | |
DynamicElement20Field3Value | String | True | |
DynamicElement20Field4Value | String | True | |
DynamicElement20Field5Value | String | True | |
DynamicElement20Field6Value | String | True | |
DynamicElementValue | String | True | |
DynamicElementValueId | String | True | |
DynamicFieldValue1 | String | True | |
DynamicFieldValue2 | String | True | |
DynamicFieldValue3 | String | True | |
DynamicFieldValue4 | String | True | |
DynamicFieldValue5 | String | True | |
DynamicFieldValue6 | String | True | |
DynamicProfile | String | True | |
DynamicProfileId | Long | True | |
Environment | String | True | |
EventPlatformType | String | True | |
ExitUrl | String | True | |
Feed1 | String | True | |
Feed1ReportingLabel | String | True | |
Feed1UniqueId | String | True | |
Feed2 | String | True | |
Feed2ReportingLabel | String | True | |
Feed2UniqueId | String | True | |
Feed3 | String | True | |
Feed3ReportingLabel | String | True | |
Feed3UniqueId | String | True | |
Feed4 | String | True | |
Feed4ReportingLabel | String | True | |
Feed4UniqueId | String | True | |
Feed5 | String | True | |
Feed5ReportingLabel | String | True | |
Feed5UniqueId | String | True | |
Feed6 | String | True | |
Feed6UniqueId | String | True | |
Feed7 | String | True | |
Feed7UniqueId | String | True | |
Feed8 | String | True | |
Feed8UniqueId | String | True | |
Feed9 | String | True | |
Feed9UniqueId | String | True | |
Feed10 | String | True | |
Feed10UniqueId | String | True | |
Feed11 | String | True | |
Feed11UniqueId | String | True | |
Feed12 | String | True | |
Feed12UniqueId | String | True | |
Feed13 | String | True | |
Feed13UniqueId | String | True | |
Feed14 | String | True | |
Feed14UniqueId | String | True | |
Feed15 | String | True | |
Feed15UniqueId | String | True | |
Feed16 | String | True | |
Feed16UniqueId | String | True | |
Feed17 | String | True | |
Feed17UniqueId | String | True | |
Feed18 | String | True | |
Feed18UniqueId | String | True | |
Feed19 | String | True | |
Feed19UniqueId | String | True | |
Feed20 | String | True | |
Feed20UniqueId | String | True | |
FlightBookedCost | String | True | |
FlightBookedRate | String | True | |
FlightBookedUnits | String | True | |
FlightEndDate | String | True | |
FlightStartDate | String | True | |
FloodlightConfigId | Long | True | |
Hour | String | True | |
Keyword | String | True | |
LandingPageUrl | String | True | |
MeasurementSource | String | True | |
MobileCarrier | String | True | |
Month | String | True | |
NaturalSearchEngineCountry | String | True | |
NaturalSearchEngineProperty | String | True | |
NaturalSearchLandingPage | String | True | |
NaturalSearchLandingPageQueryString | String | True | |
NaturalSearchProcessedLandingPage | String | True | |
NaturalSearchProcessedLandingPageQueryString | String | True | |
NaturalSearchQuery | String | True | |
OperatingSystem | String | True | |
OperatingSystemVersion | String | True | |
PackageRoadblock | String | True | |
PackageRoadblockId | Long | True | |
PackageRoadblockStrategy | String | True | |
PackageRoadblockTotalBookedUnits | String | True | |
PaidSearchAd | String | True | |
PaidSearchAdGroup | String | True | |
PaidSearchAdGroupId | Long | True | |
PaidSearchAdId | Long | True | |
PaidSearchAdvertiser | String | True | |
PaidSearchAdvertiserId | Long | True | |
PaidSearchAgency | String | True | |
PaidSearchAgencyId | Long | True | |
PaidSearchBidStrategy | String | True | |
PaidSearchBidStrategyId | Long | True | |
PaidSearchCampaign | String | True | |
PaidSearchCampaignId | Long | True | |
PaidSearchEngineAccount | String | True | |
PaidSearchEngineAccountCategory | String | True | |
PaidSearchEngineAccountId | Long | True | |
PaidSearchExternalAdGroupId | Long | True | |
PaidSearchExternalAdId | Long | True | |
PaidSearchExternalCampaignId | Long | True | |
PaidSearchExternalKeywordId | Long | True | |
PaidSearchKeyword | String | True | |
PaidSearchKeywordId | Long | True | |
PaidSearchLandingPageUrl | String | True | |
PaidSearchLegacyKeywordId | Long | True | |
PaidSearchMatchType | String | True | |
PaymentSource | String | True | |
Placement | String | True | |
PlacementCompatibility | String | True | |
PlacementCostStructure | String | True | |
PlacementEndDate | String | True | |
PlacementExternalId | String | True | |
PlacementId | Long | True | |
PlacementRate | String | True | |
PlacementSize | String | True | |
PlacementStartDate | String | True | |
PlacementStrategy | String | True | |
PlacementTagType | String | True | |
PlacementTotalBookedUnits | String | True | |
PlacementTotalPlannedMediaCost | String | True | |
PlatformType | String | True | |
PlaybackMethod | String | True | |
RenderingId | Long | True | |
RichMediaCustomVariable | String | True | |
RichMediaEvent | String | True | |
RichMediaVideo4asaId | String | True | |
RichMediaVideoLength | String | True | |
ServedPixelDensity | String | True | |
Site | String | True | |
SiteDirectory | String | True | |
SiteDirectoryId | Long | True | |
SiteId | Long | True | |
SiteKeyname | String | True | |
State | String | True | |
TwitterCampaignId | Long | True | |
TwitterCreativeId | Long | True | |
TwitterCreativeMediaId | Long | True | |
TwitterCreativeType | String | True | |
TwitterImpressionType | String | True | |
TwitterLineItemId | Long | True | |
TwitterPlacementType | String | True | |
UserList | String | True | |
UserListCurrentSize | String | True | |
UserListDescription | String | True | |
UserListId | Long | True | |
UserListMembershipLifeSpan | String | True | |
VerificationVideoPlayerSize | String | True | |
VerificationVideoProminenceScoreDimension | String | True | |
Week | String | True | |
ZipCode | Long | True | |
ActiveViewAverageViewableTimeSecond | Double | False | |
ActiveViewCustomMetricMeasurableImpressions | Long | False | |
ActiveViewCustomMetricViewableImpressions | Long | False | |
ActiveViewCustomMetricViewableRate | Double | False | |
ActiveViewEligibleImpressions | Long | False | |
ActiveViewGroupmMeasurableImpressions | Long | False | |
ActiveViewGroupmTrvMeasurableImpressions | Long | False | |
ActiveViewGroupmTrvViewableImpressions | Long | False | |
ActiveViewGroupmViewableImpressions | Long | False | |
ActiveViewImpressionDistributionNotMeasurable | Double | False | |
ActiveViewImpressionDistributionNotViewable | Double | False | |
ActiveViewImpressionDistributionViewable | Double | False | |
ActiveViewImpressionsAudibleAndVisibleAtCompletion | Long | False | |
ActiveViewImpressionsVisible10Seconds | Long | False | |
ActiveViewMeasurableImpressions | Long | False | |
ActiveViewNotMeasurableImpressions | Long | False | |
ActiveViewNotViewableImpressions | Long | False | |
ActiveViewPercentAudibleAndVisibleAtCompletion | Double | False | |
ActiveViewPercentAudibleAndVisibleAtFirstQuartile | Double | False | |
ActiveViewPercentAudibleAndVisibleAtMidpoint | Double | False | |
ActiveViewPercentAudibleAndVisibleAtStart | Double | False | |
ActiveViewPercentAudibleAndVisibleAtThirdQuartile | Double | False | |
ActiveViewPercentAudibleImpressions | Double | False | |
ActiveViewPercentBackground | Double | False | |
ActiveViewPercentFullscreen | Double | False | |
ActiveViewPercentImpressionsAudibleAndFullyOnscreen | Double | False | |
ActiveViewPercentImpressionsAudibleAndFullyOnscreenForHalfDuration | Double | False | |
ActiveViewPercentImpressionsAudibleAndVisibleAtCompletion | Double | False | |
ActiveViewPercentImpressionsAudibleAndVisibleAtFirstQuartile | Double | False | |
ActiveViewPercentImpressionsAudibleAndVisibleAtMidpoint | Double | False | |
ActiveViewPercentImpressionsAudibleAndVisibleAtThirdQuartile | Double | False | |
ActiveViewPercentImpressionsVisibleAtCompletion | Double | False | |
ActiveViewPercentImpressionsVisibleAtFirstQuartile | Double | False | |
ActiveViewPercentImpressionsVisibleAtMidpoint | Double | False | |
ActiveViewPercentImpressionsVisibleAtThirdQuartile | Double | False | |
ActiveViewPercentPlayTimeAudible | Double | False | |
ActiveViewPercentPlayTimeAudibleAndVisible | Double | False | |
ActiveViewPercentPlayTimeVisible | Double | False | |
ActiveViewPercentVisible10Seconds | Double | False | |
ActiveViewPercentVisibleAtCompletion | Double | False | |
ActiveViewPercentVisibleAtFirstQuartile | Double | False | |
ActiveViewPercentVisibleAtMidpoint | Double | False | |
ActiveViewPercentVisibleAtStart | Double | False | |
ActiveViewPercentVisibleAtThirdQuartile | Double | False | |
ActiveViewPercentageMeasurableImpressions | Double | False | |
ActiveViewPercentageViewableImpressions | Double | False | |
ActiveViewViewableImpressions | Long | False | |
ActivityClickThroughConversions | Double | False | |
ActivityClickThroughRevenue | Double | False | |
ActivityDeliveryStatus | Double | False | |
ActivityPerClick | Double | False | |
ActivityPerThousandImpressions | Double | False | |
ActivityViewThroughConversions | Double | False | |
ActivityViewThroughRevenue | Double | False | |
AudioCompanionClicks | Long | False | |
AudioCompanionImpressions | Long | False | |
BookedActivities | Double | False | |
BookedClicks | Double | False | |
BookedImpressions | Double | False | |
BookedViewableImpressions | Double | False | |
ClickDeliveryStatus | Double | False | |
ClickRate | Double | False | |
Clicks | Long | False | |
CostPerActivity | Double | False | |
CostPerClick | Double | False | |
CostPerRevenue | Double | False | |
CrossDeviceClickThroughConversionQuantity | Long | False | |
CrossDeviceClickThroughConversionRevenue | Double | False | |
CrossDeviceClickThroughConversions | Long | False | |
CrossDeviceTotalConversionQuantity | Long | False | |
CrossDeviceTotalConversionRevenue | Double | False | |
CrossDeviceTotalConversions | Long | False | |
CrossDeviceViewThroughConversionQuantity | Long | False | |
CrossDeviceViewThroughConversionRevenue | Double | False | |
CrossDeviceViewThroughConversions | Long | False | |
DV360Cost | Double | False | |
DV360CostUsd | Double | False | |
DownloadedImpressions | Long | False | |
DynamicElementClickRate | Double | False | |
DynamicElementClickThroughConversions | Long | False | |
DynamicElementClicks | Long | False | |
DynamicElementImpressions | Long | False | |
DynamicElementTotalConversions | Long | False | |
DynamicElementViewThroughConversions | Long | False | |
EffectiveCpm | Double | False | |
GeneralInvalidTrafficActiveViewEligibleImpressions | Long | False | |
GeneralInvalidTrafficActiveViewMeasurableImpressions | Long | False | |
GeneralInvalidTrafficActiveViewViewableImpressions | Long | False | |
GeneralInvalidTrafficClicks | Long | False | |
GeneralInvalidTrafficImpressions | Long | False | |
ImpressionDeliveryStatus | Double | False | |
Impressions | Long | False | |
InvalidActiveViewEligibleImpressions | Long | False | |
InvalidActiveViewMeasurableImpressions | Long | False | |
InvalidActiveViewViewableImpressions | Long | False | |
InvalidClicks | Long | False | |
InvalidImpressions | Long | False | |
MediaCost | Double | False | |
NaturalSearchActions | Double | False | |
NaturalSearchClicks | Long | False | |
NaturalSearchRevenue | Double | False | |
NaturalSearchTransactions | Double | False | |
PaidSearchActionConversionPercentage | Double | False | |
PaidSearchActions | Double | False | |
PaidSearchAverageCostPerAction | Double | False | |
PaidSearchAverageCostPerTransaction | Double | False | |
PaidSearchAverageDfaTransactionAmount | Double | False | |
PaidSearchAveragePosition | Double | False | |
PaidSearchClickRate | Double | False | |
PaidSearchClicks | Long | False | |
PaidSearchCost | Double | False | |
PaidSearchImpressions | Long | False | |
PaidSearchRevenue | Double | False | |
PaidSearchSpendPerTransactionRevenue | Double | False | |
PaidSearchTransactionConversionPercentage | Double | False | |
PaidSearchTransactionRevenuePerSpend | Double | False | |
PaidSearchTransactions | Double | False | |
PaidSearchVisits | Long | False | |
PercentInvalidClicks | Double | False | |
PercentInvalidImpressions | Double | False | |
PlannedMediaCost | Double | False | |
RevenuePerClick | Double | False | |
RevenuePerThousandImpressions | Double | False | |
RichMediaAudioCompletions | Long | False | |
RichMediaAudioFirstQuartileCompletes | Long | False | |
RichMediaAudioMidpoints | Long | False | |
RichMediaAudioMutes | Long | False | |
RichMediaAudioPauses | Long | False | |
RichMediaAudioPlays | Long | False | |
RichMediaAudioReplays | Long | False | |
RichMediaAudioThirdQuartileCompletes | Long | False | |
RichMediaAudioUnmutes | Long | False | |
RichMediaAverageDisplayTime | Double | False | |
RichMediaAverageExpansionTime | Double | False | |
RichMediaAverageFullScreenViewTime | Double | False | |
RichMediaAverageInteractionTime | Double | False | |
RichMediaAverageVideoViewTime | Double | False | |
RichMediaBackupImages | Long | False | |
RichMediaClickRate | Double | False | |
RichMediaClicks | Long | False | |
RichMediaCodeServes | Long | False | |
RichMediaCustomAverageTime | Double | False | |
RichMediaCustomCounters | Long | False | |
RichMediaCustomExits | Long | False | |
RichMediaCustomTimers | Long | False | |
RichMediaCustomVariableCount1 | Long | False | |
RichMediaCustomVariableCount2 | Long | False | |
RichMediaDisplayTime | Long | False | |
RichMediaEngagements | Long | False | |
RichMediaEventCounters | Long | False | |
RichMediaEventTimers | Double | False | |
RichMediaExpansionTime | Long | False | |
RichMediaExpansions | Long | False | |
RichMediaFullScreenImpressions | Long | False | |
RichMediaFullScreenVideoCompletes | Long | False | |
RichMediaFullScreenVideoPlays | Long | False | |
RichMediaHtml5Impressions | Long | False | |
RichMediaImpressions | Long | False | |
RichMediaInteractionRate | Double | False | |
RichMediaInteractionTime | Long | False | |
RichMediaInteractions | Long | False | |
RichMediaInteractiveImpressions | Long | False | |
RichMediaManualCloses | Long | False | |
RichMediaScrolls | Long | False | |
RichMediaTrueViewViews | Long | False | |
RichMediaVideoCompanionClicks | Long | False | |
RichMediaVideoCompletions | Long | False | |
RichMediaVideoFirstQuartileCompletes | Long | False | |
RichMediaVideoFullScreens | Long | False | |
RichMediaVideoInteractionRate | Double | False | |
RichMediaVideoInteractions | Long | False | |
RichMediaVideoMidpoints | Long | False | |
RichMediaVideoMutes | Long | False | |
RichMediaVideoPauses | Long | False | |
RichMediaVideoPlays | Long | False | |
RichMediaVideoProgressEvents | Long | False | |
RichMediaVideoReplays | Long | False | |
RichMediaVideoSkips | Long | False | |
RichMediaVideoStops | Long | False | |
RichMediaVideoThirdQuartileCompletes | Long | False | |
RichMediaVideoUnmutes | Long | False | |
RichMediaVideoViewRate | Double | False | |
RichMediaVideoViews | Long | False | |
RoadblockImpressions | Long | False | |
SocialEmailShares | Long | False | |
SocialEngagementRate | Double | False | |
SocialFollows | Long | False | |
SocialLeadSubmissions | Long | False | |
SocialLikes | Long | False | |
SocialOfferAccepts | Long | False | |
SocialReplies | Long | False | |
SocialTotalEngagements | Long | False | |
TotalConversions | Double | False | |
TotalConversionsRevenue | Double | False | |
TwitterAppClicks | Long | False | |
TwitterBuyNowCardClicks | Long | False | |
TwitterBuyNowPurchaseSuccessfuls | Long | False | |
TwitterOtherEngagements | Long | False | |
TwitterRetweets | Long | False | |
TwitterUrlClicks | Long | False | |
TwitterVideo50PercentInViewFor2Seconds | Long | False | |
TwitterVideo100PercentInViewFor3Seconds | Long | False | |
VerificationBlockedImpressions | Long | False | |
VerificationClassifiedImpressions | Long | False | |
VerificationMeasurableImpressionsForAudio | Long | False | |
VerificationMeasurableImpressionsForVideoPlayerLocation | Long | False | |
VerificationMeasurableImpressionsForVideoPlayerSize | Long | False | |
VerificationPercentageMeasurableImpressionsForAudio | Double | False | |
VerificationPercentageMeasurableImpressionsForVideoPlayerLocation | Double | False | |
VerificationPercentageMeasurableImpressionsForVideoPlayerSize | Double | False | |
VerificationPublisherProblems | Long | False | |
VerificationReportingProblems | Long | False | |
VerificationServingProblems | Long | False | |
VerificationVerifiableImpressions | Long | False | |
VerificationVideoMutedAtStart | Long | False | |
VerificationVideoPlayerHdSizeImpressions | Long | False | |
VerificationVideoPlayerLargeSizeImpressions | Long | False | |
VerificationVideoPlayerLocationAvgPixelsFromLeft | Long | False | |
VerificationVideoPlayerLocationAvgPixelsFromTop | Long | False | |
VerificationVideoPlayerSizeAvgHeight | Long | False | |
VerificationVideoPlayerSizeAvgWidth | Long | False | |
VerificationVideoPlayerSmallSizeImpressions | Long | False | |
VerificationVideoProminenceScore | Double | False | |
VerificationWarnings | Long | False | |
VideoCompanionClicks | Long | False | |
VideoCompanionImpressions | Long | False |
SELECT ステートメントのWHERE 句では、疑似列フィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ReportID | String | Optional input to pull a specific report by ID. |
FileID | String | Optional input to pull a specific file by ID. |
dateRange | String | Optional input to pull a specific date range. Defaults to LAST_30_DAYS. If startDate and endDate are specified, this is ignored. |
startDate | String | Optional input to pull report from specific start date. |
endDate | String | Optional input to pull report from specific end date. |
Lists all DoubleClick Campaign Manager user profiles to which the Google user has access.
Name | Type | Dimension | Description |
ProfileId [KEY] | Long | The unique ID of the user profile. | |
AccountId | Long | Account Id to which this profile belongs. | |
SubAccountId | Long | Sub account Id to which this profile belongs, if applicable. | |
AccountName | String | The account name this profile belongs to. | |
SubAccountName | String | The sub account name this profile belongs to, if applicable. | |
UserName | String | The user name. | |
Kind | String | The kind of resource this is, in this case dfareporting#userProfile. | |
eTag | String | The eTag of this response for caching purposes. |
ストアドプロシージャはファンクションライクなインターフェースで、Google Campaign Manager の単純なSELECT 処理にとどまらずCloud の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにGoogle Campaign Manager から関連するレスポンスデータを返します。
Name | Description |
CheckReportStatus | Checks the status of a report. |
CreateCustomSchema | Creates a custom schema file based for the given ReportID. |
RunReport | Runs a given report and returns the file ID which can be used to retrieve the results after processing is complete. |
Checks the status of a report.
Name | Type | Description |
ReportId | String | The ID for the report in DoubleClick Campaign Manager. |
FileId | String | The ID for the report file in DoubleClick Campaign Manager. |
Name | Type | Description |
FileId | String | The unique ID of the file. |
ReportId | String | The ID of the report this file was generated from. |
FileName | String | The name of the report. |
Format | String | The output format of the report. If not specified, default format is 'CSV'. Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. 'CSV' will then be the fallback format. |
Status | String | The status of the report file. Values can be CANCELLED, FAILED, PROCESSING, or REPORT_AVAILABLE. |
DateRange | String | The date range for which the file has report data. The date range will always be the absolute date range for which the report is run. |
URLs | String | The URLs where the completed report file can be downloaded. |
LastModifiedTime | String | The timestamp of when this report was last modified. |
Kind | String | The kind of resource this is, in this case dfareporting#file. |
ETag | String | The eTag of this response for caching purposes. |
Creates a custom schema file based for the given ReportID.
Creates a custom schema file based on the specified Dimensions and Metrics.
A custom schema may be used for a more tailored approach to your data. Custom options may include comma-separated lists for specific data.
Name | Type | Description |
TableName | String | The name for the new table. |
Description | String | An optional description for the table. |
WriteToFile | String | Whether to write to an output file or not. Defaults to true, must be set to false to write to FileStream or FileData. |
ReportID | String | The ID for the report in DoubleClick Campaign Manager. |
Name | Type | Description |
Success | String | Whether or not the schema was created successfully. |
SchemaFile | String | The generated schema file. |
FileData | String | The generated schema encoded in base64. Only returned if WriteToFile set to false and FileStream is not set. |
Runs a given report and returns the file ID which can be used to retrieve the results after processing is complete.
Name | Type | Description |
ReportId | String | The id for the report in DoubleClick Campaign Manager. |
Name | Type | Description |
FileId | String | Whether or not the schema was created successfully. |
このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。
以下のテーブルは、Google Campaign Manager のデータベースメタデータを返します。
以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。
次のテーブルは、データ変更クエリのクエリ統計を返します。
利用可能なデータベースをリストします。
次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。
SELECT * FROM sys_catalogs
Name | Type | Description |
CatalogName | String | データベース名。 |
利用可能なスキーマをリストします。
次のクエリは、すべての利用可能なスキーマを取得します。
SELECT * FROM sys_schemas
Name | Type | Description |
CatalogName | String | データベース名。 |
SchemaName | String | スキーマ名。 |
利用可能なテーブルをリストします。
次のクエリは、利用可能なテーブルおよびビューを取得します。
SELECT * FROM sys_tables
Name | Type | Description |
CatalogName | String | テーブルまたはビューを含むデータベース。 |
SchemaName | String | テーブルまたはビューを含むスキーマ。 |
TableName | String | テーブル名またはビュー名。 |
TableType | String | テーブルの種類(テーブルまたはビュー)。 |
Description | String | テーブルまたはビューの説明。 |
IsUpdateable | Boolean | テーブルが更新可能かどうか。 |
利用可能なテーブルおよびビューのカラムについて説明します。
次のクエリは、CampaignPerformance テーブルのカラムとデータ型を返します。
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='CampaignPerformance'
Name | Type | Description |
CatalogName | String | テーブルまたはビューを含むデータベースの名前。 |
SchemaName | String | テーブルまたはビューを含むスキーマ。 |
TableName | String | カラムを含むテーブルまたはビューの名前。 |
ColumnName | String | カラム名。 |
DataTypeName | String | データ型の名前。 |
DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
Length | Int32 | カラムのストレージサイズ。 |
DisplaySize | Int32 | 指定されたカラムの通常の最大幅(文字数)。 |
NumericPrecision | Int32 | 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
NumericScale | Int32 | カラムのスケール(小数点以下の桁数)。 |
IsNullable | Boolean | カラムがNull を含められるかどうか。 |
Description | String | カラムの簡単な説明。 |
Ordinal | Int32 | カラムのシーケンスナンバー。 |
IsAutoIncrement | String | カラムに固定増分値が割り当てられるかどうか。 |
IsGeneratedColumn | String | 生成されたカラムであるかどうか。 |
IsHidden | Boolean | カラムが非表示かどうか。 |
IsArray | Boolean | カラムが配列かどうか。 |
IsReadOnly | Boolean | カラムが読み取り専用かどうか。 |
IsKey | Boolean | sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。 |
利用可能なストアドプロシージャをリストします。
次のクエリは、利用可能なストアドプロシージャを取得します。
SELECT * FROM sys_procedures
Name | Type | Description |
CatalogName | String | ストアドプロシージャを含むデータベース。 |
SchemaName | String | ストアドプロシージャを含むスキーマ。 |
ProcedureName | String | ストアドプロシージャの名前。 |
Description | String | ストアドプロシージャの説明。 |
ProcedureType | String | PROCEDURE やFUNCTION などのプロシージャのタイプ。 |
ストアドプロシージャパラメータについて説明します。
次のクエリは、GetOAuthAccessToken ストアドプロシージャのすべての入力パラメータについての情報を返します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName='GetOAuthAccessToken' AND Direction=1 OR Direction=2
Name | Type | Description |
CatalogName | String | ストアドプロシージャを含むデータベースの名前。 |
SchemaName | String | ストアドプロシージャを含むスキーマの名前。 |
ProcedureName | String | パラメータを含むストアドプロシージャの名前。 |
ColumnName | String | ストアドプロシージャパラメータの名前。 |
Direction | Int32 | パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。 |
DataTypeName | String | データ型の名前。 |
DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
Length | Int32 | 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。 |
NumericPrecision | Int32 | 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
NumericScale | Int32 | 数値データの小数点以下の桁数。 |
IsNullable | Boolean | パラメータがNull を含められるかどうか。 |
IsRequired | Boolean | プロシージャの実行にパラメータが必要かどうか。 |
IsArray | Boolean | パラメータが配列かどうか。 |
Description | String | パラメータの説明。 |
Ordinal | Int32 | パラメータのインデックス。 |
主キーおよび外部キーについて説明します。
次のクエリは、CampaignPerformance テーブルの主キーを取得します。
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='CampaignPerformance'
Name | Type | Description |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前 |
IsKey | Boolean | カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。 |
IsForeignKey | Boolean | カラムがTableName フィールドで参照される外部キーかどうか。 |
PrimaryKeyName | String | 主キーの名前。 |
ForeignKeyName | String | 外部キーの名前。 |
ReferencedCatalogName | String | 主キーを含むデータベース。 |
ReferencedSchemaName | String | 主キーを含むスキーマ。 |
ReferencedTableName | String | 主キーを含むテーブル。 |
ReferencedColumnName | String | 主キーのカラム名。 |
外部キーについて説明します。
次のクエリは、他のテーブルを参照するすべての外部キーを取得します。
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
名前 | タイプ | 説明 |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前 |
PrimaryKeyName | String | 主キーの名前。 |
ForeignKeyName | String | 外部キーの名前。 |
ReferencedCatalogName | String | 主キーを含むデータベース。 |
ReferencedSchemaName | String | 主キーを含むスキーマ。 |
ReferencedTableName | String | 主キーを含むテーブル。 |
ReferencedColumnName | String | 主キーのカラム名。 |
ForeignKeyType | String | 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。 |
主キーについて説明します。
次のクエリは、すべてのテーブルとビューから主キーを取得します。
SELECT * FROM sys_primarykeys
Name | Type | Description |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前。 |
KeySeq | String | 主キーのシーケンス番号。 |
KeyName | String | 主キーの名前。 |
利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。
次のクエリは、主キーでないすべてのインデックスを取得します。
SELECT * FROM sys_indexes WHERE IsPrimary='false'
Name | Type | Description |
CatalogName | String | インデックスを含むデータベースの名前。 |
SchemaName | String | インデックスを含むスキーマの名前。 |
TableName | String | インデックスを含むテーブルの名前。 |
IndexName | String | インデックス名。 |
ColumnName | String | インデックスに関連付けられたカラムの名前。 |
IsUnique | Boolean | インデックスが固有の場合はTrue。そうでない場合はFalse。 |
IsPrimary | Boolean | インデックスが主キーの場合はTrue。そうでない場合はFalse。 |
Type | Int16 | インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。 |
SortOrder | String | 並べ替え順序:A が昇順、D が降順。 |
OrdinalPosition | Int16 | インデックスのカラムのシーケンスナンバー。 |
利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。
このテーブルをクエリする際は、config 接続文字列を使用する必要があります。
jdbc:cdata:googlecm:config:
この接続文字列を使用すると、有効な接続がなくてもこのテーブルをクエリできます。
次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。
SELECT * FROM sys_connection_props WHERE Value <> ''
Name | Type | Description |
Name | String | 接続プロパティ名。 |
ShortDescription | String | 簡単な説明。 |
Type | String | 接続プロパティのデータ型。 |
Default | String | 明示的に設定されていない場合のデフォルト値。 |
Values | String | 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。 |
Value | String | 設定した値またはあらかじめ設定されたデフォルト。 |
Required | Boolean | プロパティが接続に必要かどうか。 |
Category | String | 接続プロパティのカテゴリ。 |
IsSessionProperty | String | プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。 |
Sensitivity | String | プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。 |
PropertyName | String | キャメルケースの短縮形の接続プロパティ名。 |
Ordinal | Int32 | パラメータのインデックス。 |
CatOrdinal | Int32 | パラメータカテゴリのインデックス。 |
Hierarchy | String | このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。 |
Visible | Boolean | プロパティが接続UI に表示されるかどうかを通知します。 |
ETC | String | プロパティに関するその他のさまざまな情報。 |
Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。
SQL 構文の詳細については、SQL 準拠 を参照してください。
以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。
名前 | 説明 | 有効な値 |
AGGREGATE_FUNCTIONS | サポートされている集計関数。 | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
COUNT | COUNT 関数がサポートされているかどうか。 | YES, NO |
IDENTIFIER_QUOTE_OPEN_CHAR | 識別子をエスケープするための開始文字。 | [ |
IDENTIFIER_QUOTE_CLOSE_CHAR | 識別子をエスケープするための終了文字。 | ] |
SUPPORTED_OPERATORS | サポートされているSQL 演算子。 | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
GROUP_BY | GROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。 | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
OJ_CAPABILITIES | サポートされている外部結合の種類。 | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
OUTER_JOINS | 外部結合がサポートされているかどうか。 | YES, NO |
SUBQUERIES | サブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。 | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
STRING_FUNCTIONS | サポートされている文字列関数。 | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
NUMERIC_FUNCTIONS | サポートされている数値関数。 | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
TIMEDATE_FUNCTIONS | サポートされている日付および時刻関数。 | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
REPLICATION_SKIP_TABLES | レプリケーション中にスキップされたテーブルを示します。 | |
REPLICATION_TIMECHECK_COLUMNS | レプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。 | |
IDENTIFIER_PATTERN | 識別子としてどの文字列が有効かを示す文字列値。 | |
SUPPORT_TRANSACTION | プロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。 | YES, NO |
DIALECT | 使用するSQL ダイアレクトを示します。 | |
KEY_PROPERTIES | Uniform データベースを特定するプロパティを示します。 | |
SUPPORTS_MULTIPLE_SCHEMAS | プロバイダー用に複数のスキームが存在するかどうかを示します。 | YES, NO |
SUPPORTS_MULTIPLE_CATALOGS | プロバイダー用に複数のカタログが存在するかどうかを示します。 | YES, NO |
DATASYNCVERSION | このドライバーにアクセスするために必要な、CData Sync のバージョン。 | Standard, Starter, Professional, Enterprise |
DATASYNCCATEGORY | このドライバーのCData Sync カテゴリ。 | Source, Destination, Cloud Destination |
SUPPORTSENHANCEDSQL | API で提供されている以上の、追加SQL 機能がサポートされているかどうか。 | TRUE, FALSE |
SUPPORTS_BATCH_OPERATIONS | バッチ操作がサポートされているかどうか。 | YES, NO |
SQL_CAP | このドライバーでサポートされているすべてのSQL 機能。 | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
PREFERRED_CACHE_OPTIONS | 使用したいcacheOptions を指定する文字列値。 | |
ENABLE_EF_ADVANCED_QUERY | ドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。 | YES, NO |
PSEUDO_COLUMNS | 利用可能な疑似カラムを示す文字列の配列。 | |
MERGE_ALWAYS | 値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。 | TRUE, FALSE |
REPLICATION_MIN_DATE_QUERY | レプリケート開始日時を返すSELECT クエリ。 | |
REPLICATION_MIN_FUNCTION | サーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
REPLICATION_START_DATE | レプリケート開始日を、プロバイダーが指定できるようになります。 | |
REPLICATION_MAX_DATE_QUERY | レプリケート終了日時を返すSELECT クエリ。 | |
REPLICATION_MAX_FUNCTION | サーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
IGNORE_INTERVALS_ON_INITIAL_REPLICATE | 初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。 | |
CHECKCACHE_USE_PARENTID | CheckCache 構文を親キーカラムに対して実行するかどうかを示します。 | TRUE, FALSE |
CREATE_SCHEMA_PROCEDURES | スキーマファイルの生成に使用できる、ストアドプロシージャを示します。 |
次のクエリは、WHERE 句で使用できる演算子を取得します。
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。
Name | Type | Description |
NAME | String | SQL 構文のコンポーネント、またはサーバー上で処理できる機能。 |
VALUE | String | サポートされるSQL またはSQL 構文の詳細。 |
試行された変更に関する情報を返します。
次のクエリは、バッチ処理で変更された行のId を取得します。
SELECT * FROM sys_identity
Name | Type | Description |
Id | String | データ変更処理から返された、データベース生成Id。 |
Batch | String | バッチの識別子。1 は単一処理。 |
Operation | String | バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。 |
Message | String | SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。 |
プロパティ | 説明 |
AuthScheme | Google Campaign Manager に接続する際に使用する認証の種類。 |
ProfileID | The DFA Profile ID. If not specified, the first Profile returned from the UserProfiles service will be used. |
プロパティ | 説明 |
OAuthJWTCert | JWT 証明書のストア。 |
OAuthJWTCertType | JWT 証明書を格納するキーストアの種類。 |
OAuthJWTCertPassword | OAuth JWT 証明書のパスワード。 |
OAuthJWTCertSubject | OAuth JWT 証明書のサブジェクト。 |
OAuthJWTIssuer | Java Web Token の発行者。 |
OAuthJWTSubject | アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクト。 |
プロパティ | 説明 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
プロパティ | 説明 |
Verbosity | ログファイルの記述をどの程度の詳細さで記載するかを決定するverbosity レベル。 |
プロパティ | 説明 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
プロパティ | 説明 |
APIVersion | The version of the API to use to connect to Campaign Manager. |
MaxRows | クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。 |
PollingInterval | The base time interval in seconds between requests that check the availability of the report response. The default value is 10 seconds. |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
QueryTimeout | The timeout in minutes for which the provider will wait for a asycnchronous report response. The default value is 60 minutes. |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
プロパティ | 説明 |
AuthScheme | Google Campaign Manager に接続する際に使用する認証の種類。 |
ProfileID | The DFA Profile ID. If not specified, the first Profile returned from the UserProfiles service will be used. |
Google Campaign Manager に接続する際に使用する認証の種類。
string
"Auto"
The DFA Profile ID. If not specified, the first Profile returned from the UserProfiles service will be used.
string
""
This value can be retrieved from the UserProfiles table or will be retrieved automatically if this value is not set.
このセクションでは、本プロバイダーの接続文字列で設定可能なJWT OAuth プロパティの全リストを提供します。
プロパティ | 説明 |
OAuthJWTCert | JWT 証明書のストア。 |
OAuthJWTCertType | JWT 証明書を格納するキーストアの種類。 |
OAuthJWTCertPassword | OAuth JWT 証明書のパスワード。 |
OAuthJWTCertSubject | OAuth JWT 証明書のサブジェクト。 |
OAuthJWTIssuer | Java Web Token の発行者。 |
OAuthJWTSubject | アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクト。 |
JWT 証明書のストア。
string
""
クライアント証明書のための証明書ストア名。
OAuthJWTCertType フィールドは、OAuthJWTCert により指定された証明書ストアの種類を指定します。 ストアがパスワードで保護されている場合は、OAuthJWTCertPassword でパスワードを指定します。
OAuthJWTCert は、OAuthJWTCertSubject フィールドとともにクライアント証明書を指定するために使われます。 OAuthJWTCert に値がある場合で、OAuthJWTCertSubject が設定されている場合は、証明書の検索が始まります。 詳しくは、OAuthJWTCertSubject フィールドを参照してください。
証明書ストアの指定はプラットフォームに依存します。
Windows の共通のユーザとシステム証明書ストアの指定は以下のとおりです。
MY | 個人証明書と関連付けられた秘密キーを格納している証明書ストア。 |
CA | 証明機関の証明書。 |
ROOT | ルート証明書。 |
SPC | ソフトウェア発行元証明書。 |
Javaでは、証明書ストアは通常、証明書および任意の秘密キーを含むファイルです。
証明書ストアの種類がPFXFile の場合は、このプロパティにファイル名を設定します。 PFXBlob の場合は、このプロパティをPFX ファイルのバイナリコンテンツ(例えば、PKCS12証明書ストア)に設定する必要があります。
JWT 証明書を格納するキーストアの種類。
string
"PEMKEY_BLOB"
このプロパティには次の値の一つを設定できます。
USER | Windows の場合、現在のユーザーにより所有された証明書ストアであることを指定します。 Note:この種類はJava では利用できません。 |
MACHINE | Windows の場合、この証明書ストアがシステムストアであることを指定します。 Note:この種類はJava では利用できません。 |
PFXFILE | この証明書ストアは、証明書を含むPFX(PKCS12)ファイルの名前です。 |
PFXBLOB | この証明書ストアは、PFX(PKCS12)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 |
JKSFILE | この証明書ストアは、証明書を含むJava key store(JKS)ファイルの名前です。 Note:この種類はJava のみで利用できます。 |
JKSBLOB | この証明書ストアは、Java key store(JKS)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 Note:この種類はJava のみで利用できます。 |
PEMKEY_FILE | この証明書ストアは、秘密キーと任意の証明書を含むPEM でエンコードされたファイルの名前です。 |
PEMKEY_BLOB | この証明書ストアは、秘密キーと任意の証明書を含むBase-64でエンコードされた文字列です。 |
PUBLIC_KEY_FILE | この証明書ストアは、PEM またはDER でエンコードされた公開キーの証明書を含むファイルの名前です。 |
PUBLIC_KEY_BLOB | この証明書ストアは、PEM またはDER でエンコードされた公開キーの証明書を含むBase-64でエンコードされた文字列です。 |
SSHPUBLIC_KEY_FILE | この証明書ストアは、SSH 公開キーを含むファイルの名前です。 |
SSHPUBLIC_KEY_BLOB | この証明書ストアは、SSH 公開キーを含むBase-64でエンコードされた文字列です。 |
P7BFILE | この証明書ストアは、証明書を含むPKCS7 ファイルの名前です。 |
PPKFILE | この証明書ストアは、PuTTY 秘密キー(PPK)を含むファイルの名前です。 |
XMLFILE | この証明書ストアは、XML 形式の証明書を含むファイルの名前です。 |
XMLBLOB | この証明書ストアは、XML 形式の証明書を含む文字列の名前です。 |
GOOGLEJSON | この証明書ストアは、サービスアカウント情報を含むJSON ファイルの名前です。Google サービスに接続する場合にのみ有効です。 |
GOOGLEJSONBLOB | この証明書ストアは、サービスアカウントのJSON を含む文字列です。Google サービスに接続する場合にのみ有効です。 |
OAuth JWT 証明書のパスワード。
string
""
証明書ストアでパスワードが必要である場合、このプロパティを使用してパスワードを指定し、証明書ストアにアクセスできます。
GOOGLEJSON OAuthJWTCertType を使用する場合は必要ありません。Google JSON キーは暗号化されていません。
OAuth JWT 証明書のサブジェクト。
string
"*"
証明書のサブジェクトは、証明書をロードするときにストア内の証明書を検索するために使用されます。
完全に一致するものが見つからない場合、ストアはプロパティの値を含むサブジェクトを検索します。
それでも一致するものが見つからない場合、プロパティは空白で設定され、証明書は選択されません。
"*" に設定すると、証明書ストアの1番目の証明書が選択されます。
証明書のサブジェクトは識別の名前フィールドおよび値のカンマ区切りのリストです。 例えば、"CN=www.server.com, OU=test, C=US, E=support@cdata.com"。共通のフィールドとその説明は以下のとおりです。
フィールド | 説明 |
CN | 共通名。一般的には、www.server.com のようなホスト名です。 |
O | 法人名 |
OU | 法人の部署名 |
L | 法人の住所(市町村名) |
S | 法人の住所(都道府県) |
C | 国名 |
E | Eメールアドレス |
フィールド値にカンマが含まれている場合は、それを引用符で囲む必要があります。
Java Web Token の発行者。
string
""
Java Web Token の発行者。 委任されたユーザーのE メールアドレスの値を入力します。
GOOGLEJSON OAuthJWTCertType を使用する場合は必要ありません。Google JSON キーには、発行者アカウントのコピーが含まれています。
Java Web Token の発行者。 委任されたユーザーのE メールアドレスの値を入力します。
GOOGLEJSON OAuthJWTCertType を使用する場合は必要ありません。Google JSON キーには、発行者アカウントのコピーが含まれています。
アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクト。
string
""
アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクトです。 サービスアカウントE メールの値を入力します。
アプリケーションからデリゲートアクセスの要求対象となるユーザーサブジェクトです。 サービスアカウントE メールの値を入力します。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
プロパティ | 説明 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。
string
""
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 |
これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。
すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
プロパティ | 説明 |
Verbosity | ログファイルの記述をどの程度の詳細さで記載するかを決定するverbosity レベル。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
プロパティ | 説明 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
string
""
スキーマをデータベースからリストすると、負荷がかかる可能性があります。接続文字列でスキーマのリストを提供すると、 パフォーマンスが向上します。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
プロパティ | 説明 |
APIVersion | The version of the API to use to connect to Campaign Manager. |
MaxRows | クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。 |
PollingInterval | The base time interval in seconds between requests that check the availability of the report response. The default value is 10 seconds. |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
QueryTimeout | The timeout in minutes for which the provider will wait for a asycnchronous report response. The default value is 60 minutes. |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
The version of the API to use to connect to Campaign Manager.
string
"v4"
The version of the API to use to connect to Campaign Manager.
クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。
int
-1
クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。
The base time interval in seconds between requests that check the availability of the report response. The default value is 10 seconds.
string
"10"
The base time interval between requests that check the availability of the asynchronous response. For long running reports, the Cloud starts an asycnchronous job in DoubleClick Campaign Manager when running a SELECT query. It then waits for the response by periodically polling the server to check the status of the running report. Exponential backoff is used to reduce the number of API requests made.
このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。
string
""
Entity Framework ではテーブルカラムでない疑似カラムに値を設定できないため、この設定はEntity Framework で特に便利です。この接続設定の値は、"Table1=Column1, Table1=Column2, Table2=Column3" の形式です。"*=*" のように"*" 文字を使用して、すべてのテーブルとすべてのカラムを含めることができます。
The timeout in minutes for which the provider will wait for a asycnchronous report response. The default value is 60 minutes.
string
"60"
The timeout in minutes for which the Cloud will wait for a asycnchronous report response. The default value is 60 minutes. For long running reports, the Cloud starts an asycnchronous job in DoubleClick Campaign Manager when running a SELECT query. It then waits for the response to be ready by periodically polling the server to check status. This property controls the total time the Cloud will wait for a response.
Note that this property is very different from Timeout. The Timeout is an inactivity timeout that controls the time to wait for any response. This property controls the total length of time to wait for a bulk query to execute. ;
タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。
int
60
Timeout が0に設定されている場合は、操作がタイムアウトしません。処理が正常に完了するか、エラー状態になるまで実行されます。
Timeout の有効期限が切れても処理が完了していない場合は、Cloud は例外をスローします。