LinkedIn広告コネクタのリファレンス
ベータ版
この機能はベータ版です。ワークスペース管理者は、 プレビュー ページからこの機能へのアクセスを制御できます。Databricksのプレビューを管理するを参照してください。
This page provides reference information for the managed LinkedIn Ads connector in Lakeflow Connect, including supported tables, column definitions, and data types.
サポートされているテーブル
The LinkedIn Ads connector supports twelve tables in two categories:
- エンティティテーブル:キャンペーンやクリエイティブなど、広告アカウントに関する構成データ。これらのテーブルは、パイプラインの更新ごとに完全に更新されます。
- 事前構築済みレポートテーブル:LinkedInの
adAnalyticsEndpointからのパフォーマンスおよびデモグラフィックメトリクス。これらのテーブルは増分取り込みをサポートしています。
各テーブルは、default 名前空間、またはスポンサー付き広告アカウント ID にちなんで名付けられたアカウントごとの名前空間のいずれかに存在します。ソース名前空間を参照してください。
Entity tables
テーブル名 | Namespace | プライマリーキー | 説明 |
|---|---|---|---|
|
|
| 認可トークンがアクセス可能なスポンサー広告アカウント。 |
| アカウントごと |
| Campaign groups, including budget and objective settings. |
| アカウントごと |
| ターゲティング基準、予算、ランのスケジュールを含むキャンペーン。 |
| アカウントごと |
| Creatives, including content and review status. |
| アカウントごと |
| Per-user roles on the ad account. |
Prebuilt report tables
All seven reports are per-account and support incremental ingestion.
テーブル名 | 粒度 | プライマリーキー | ピボット |
|---|---|---|---|
| 日次 |
|
|
| 日次 |
|
|
| 毎月 |
|
|
| 毎月 |
|
|
| 毎月 |
|
|
| 毎月 |
|
|
| 毎月 |
|
|
データ型の規則
The following conventions apply across all destination tables:
- 主キー列を除くすべての列は NULL 値を許容します。
createdAtおよびlastModifiedAtはLinkedInの監査 Timestampであり、Timestampではなくエポックミリ秒long値として取り込まれます。targetingCriteria,content, andinlineContentare ingested asvariantcolumns. The connector enables Delta's Variant table feature on the tables that carry them.- 金額列は
decimalであり、列名で指定された通貨単位で表示されます。たとえば、cost_in_usdは米ドル、cost_in_local_currencyは広告アカウントの通貨です。
Entity table schemas
account_history
列 | Spark type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
campaign_group_history
列 | Spark type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
On this table, dailyBudget is a bare decimal(19,2) rather than a money struct. On campaign_history, the same column name is a struct<amount, currencyCode>. This asymmetry reflects the shape LinkedIn's API returns for each resource.
campaign_history
列 | Spark type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
creative_history
列 | Spark type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
account_user_history
列 | Spark type |
|---|---|
|
|
|
|
|
|
|
|
|
|
テーブルスキーマのレポート
Every report carries the same 114 metric columns plus its own leading key columns. Metric columns are all nullable, because LinkedIn omits all-zero rows and leaves absent metrics null.
7つのレポートすべてに _sync_timestamp 列が含まれており、これは各レポートのカーソルの一部です。LinkedIn は遅れて到着したコンバージョンに応じて期間のメトリクスをその場で修正するため、再取得された行は同じ day または month を保持します。厳密に増加するコンパニオン値がない場合、送信先の MERGE はリビジョンが変更されていないと見なして破棄します。Timestampは更新のたびに進むため、常に新しいバージョンが優先されます。
日次レポート
各日次レポートには、ピボット対象のディメンション名が付けられたエンティティ列が正確に 1 つ含まれます。
列 | Spark type | 注 |
|---|---|---|
エンティティ列 |
| The pivot value. See the following table. |
|
| ISO日付、 |
|
| 更新のたびにコネクタによって生成されます。 |
114 metric columns |
|
レポート | エンティティ列 | Spark type | Value form |
|---|---|---|---|
|
|
| ピボットURNからのベアID。 |
|
|
| ピボットURNからのベアID。 |
月次会員人口統計レポート
各デモグラフィックレポートには、ピボット対象のディメンション名が付けられたメンバー列が1つだけ含まれます。
列 | Spark type | 注 |
|---|---|---|
|
| コネクタがクエリーを実行したキャンペーンから属性付けされます。 |
Member dimension column |
| The pivot value. See the following table. |
|
| 年と月をゼロ埋めしたもの、 |
|
| 更新のたびにコネクタによって生成されます。 |
114 metric columns |
|
レポート | メンバー列 | Spark type | Value form |
|---|---|---|---|
|
|
|
|
|
|
| ピボットURNからのベアID。 |
|
|
| ピボットURNからのベアID。 |
|
|
| ピボットURNからのベアID。 |
|
|
| ピボットURNからのベアID。 |
メトリクス列
7 つのレポートすべてが同じメトリクスセットを返します。列名は、LinkedIn の camelCase メトリクス名を snake_case に名前変更したものです。たとえば、costInLocalCurrency は cost_in_local_currency になります。次の表は、メトリクスをテーマ別にグループ化したものです。
グループ | Example columns |
|---|---|
コアパフォーマンス |
|
エンゲージメント |
|
サーフェス別のクリック数 |
|
動画 |
|
イベント |
|
ドキュメント |
|
リード、登録、ジョブ |
|
Conversions |
|
Viral | 上記のメトリクスの |
レートと期間はdouble、カウントはlongです。各メトリクスの権威ある意味については、LinkedInの 広告報告スキーマをご覧ください。
Report configuration options
Configure reports per table through connector_options.linkedin_ads_options:
オプション | デフォルト | Bounds | 目的 |
|---|---|---|---|
| 今日から2年前 | 未来の日付であってはならず、レポートの保持期間よりも古いものであってはなりません | 最初の更新が取得する最初の日付 |
|
|
| リビジョンをキャッチするために各インクリメンタル更新が過去に遡って再読み込みする範囲 |
Retention horizons differ by report family. These are LinkedIn's limits, not the connector's:
ファミリー | 保持期間 | 効果 |
|---|---|---|
日次パフォーマンスレポート | 10年間 | A |
月次メンバーデモグラフィックレポート | 2 年間 | 今日から2年以上前の |