{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Amazon Marketing Cloud Export Integration","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"amazon-marketing-cloud-export-integration","__idx":0},"children":["Amazon Marketing Cloud Export Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Amazon Marketing Cloud (AMC)とTreasure Data CDPを統合することで、広告主はAmazon Adsを使用して、Treasure DataからAMCに戦略的なCDPセグメントを仮名化された形式で渡すことができます。広告主は、CDPの入力とAmazon Adsのシグナルを組み合わせて、メディアの影響、オーディエンスセグメンテーション、セグメントの重複、カスタマージャーニーなどのトピックに関する独自のインサイトをプライバシー保護された方法で取得できます。Treasure Data CDPとAMCを統合することで",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://aws.amazon.com/blogs/industries/integrating-cdp-with-amazon-marketing-cloud-to-drive-better-ad-campaigns/"},"children":["広告キャンペーンをより効果的に推進する方法"]},"について詳しく学んでください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このAmazon Marketing Cloud Export Integrationを使用すると、Treasure Dataからジョブ結果を書き込み、仮名化されたオーディエンスデータセットをAmazon Marketing Cloudに直接アップロードできます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["個人を特定できる情報(PII)フィールドは、SHA-256を使用してプログラムで正規化およびハッシュ化されます。PIIフィールドがすでにハッシュ化されている場合は、そのまま転送されます。ハッシュ化される識別子タイプ:EMAIL、FIRST_NAME、LAST_NAME、PHONE、ADDRESS、CITY。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"このintegrationでできること","__idx":1},"children":["このIntegrationでできること"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["仮名化されたオーディエンスデータセットをAmazon Marketing Cloudにアップロードする"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["既存のすべてのデータセット内のIDを削除する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ルールベースのオーディエンスを作成し、Amazon DSPで直接アクティベートする"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Amazon Marketing Cloudは、ハッシュ化または仮名化された情報のみを受け入れます。広告主のAMCインスタンス内のすべての情報は、Amazonのプライバシーポリシーに厳密に従って処理され、広告主のシグナルはAmazonによってエクスポートまたはアクセスされることはありません。広告主は、AMCから集約された匿名の出力のみにアクセスできます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":2},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/"},"children":["TD Toolbelt"]},"を含むTreasure Dataの基本的な知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Amazon Marketing Cloud account"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Amazon Marketing Cloud accountへのアクセスを許可するS3 bucket"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["AMCインスタンスに招待されたAmazon DSP account"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(オプション)Amazon Marketing Cloud Export Integrationを使用する前にdataset定義を作成する。dataset作成workflowの例については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/treasure-data/treasure-boxes/tree/e5d13703022cb6a3f608f9bd0d9ccba07f93229f/scenarios/create_amc_dataset"},"children":["Treasure Boxes"]},"を参照してください。このintegrationは、最初のactivation実行時にdatasetを作成することをサポートしています。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"要件と制限事項","__idx":3},"children":["要件と制限事項"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Queryのカラムは、正確なカラム名(大文字小文字を区別しない)とデータタイプで指定する必要があります"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["AMCインスタンスに紐づく既存のS3 bucketの使用は推奨されません。データアップロード用に新しいS3 bucketを作成してください"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Amazon DSPの最小オーディエンスサイズは2,000 identitiesです"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-data-integration-の静的-ip-アドレス","__idx":4},"children":["Treasure Data Integration の静的 IP アドレス"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セキュリティポリシーで IP ホワイトリストが必要な場合は、接続を成功させるために Treasure Data の IP アドレスを許可リストに追加する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["リージョンごとに整理された静的 IP アドレスの完全なリストは、次のリンクにあります:"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/ip-addresses-integrations-result-workers"},"children":["IP Addresses for Integrations"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"amazon-marketing-cloud情報の取得","__idx":5},"children":["Amazon Marketing Cloud情報の取得"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://advertising.amazon.com/marketing-cloud"},"children":["https://advertising.amazon.com/marketing-cloud"]},"にログインします。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"amazon-marketing-cloud-instance-idとaccount-idの取得","__idx":6},"children":["Amazon Marketing Cloud Instance IDとAccount IDの取得"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Amazon Marketing Cloudインスタンスにログイン後、以下の手順でAmazon Marketing Cloudの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Instance ID"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account ID"]},"、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data upload AWS account ID"]},"情報を取得します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Instance listからAmazon Marketing Cloudの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Instance ID"]},"を取得します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/amc-instance-id.abc2ce38604fb5981160a05d8e500b97dc615cb846db07a6a80964b8c22c0c9f.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["パラメータ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["entityId"]},"に割り当てられたAmazon Marketing Cloudの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account ID"]},"を確認します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/amc-account-id.4f957be8a7083286d9c2efaaae3f84769bc09229d808004a7d75f691d1040462.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Instance Infoページから",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data upload AWS account ID"]},"を取得できます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-5-25_15-59-20.880a33b3c6ecb4eb8922f04975f7514151b85d487df4c53d6feb482cc0a8756a.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"アップロード対象のdatasetの準備","__idx":7},"children":["アップロード対象のDatasetの準備"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["最初のactivation時に、その場でデータセットを作成できます。その後の実行では、手動介入なしでdatasetが再利用されます。これには、dataset定義が設定されている必要があります。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下は、dataset定義の例です。ターゲットdatasetが存在する場合は、このセクションをスキップできます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ハッシュ化されたPIIカラムを含まないシンプルなDimension datasetの例"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このdatasetには、product_asinとproduct_skuの2つのカラムがあります。queryからのスキーマがこれと一致しない場合、アップロードはエラーになります。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{ \"dataSet\": {\"columns\":[{\"name\": \"product_asin\",\"columnType\": \"DIMENSION\",\"dataType\": \"STRING\"},{\"name\": \"product_sku\",\"columnType\": \"METRIC\",\"dataType\": \"STRING\"}],\"dataSetId\": \"mydemosimledimensionds\",\"description\": \"my demo dimension dataset\"}}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ハッシュ化されたPIIとしてのemailとconsent typeとしてのTCFを含むfact datasetの例"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この例では、3つのカラムがあります:email(hashedPIIとして)、record_date(isMainEventTime = Trueはこれがfact datasetであることを示します)、tcf_string(consentのtcf文字列)。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\"dataSet\": {\"dataSetId\": \"mydemofactdswithidentity\",\"columns\": [{\"columnType\": \"DIMENSION\",\"dataType\": \"STRING\",\"externalUserIdType\": {\"hashedPii\": \"EMAIL\"},\"name\": \"email\"},{\"columnType\": \"DIMENSION\",\"dataType\": \"DATE\",\"isMainEventTime\": true,\"name\": \"record_date\"},{\"columnType\": \"DIMENSION\",\"dataType\": \"STRING\",\"name\": \"tcf_string\",\"consentType\": \"TCF\"}],\"countryCode\": \"US\"}}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細なAmazonガイドラインについては、External Referenceセクションを確認してください。サポートが必要な場合は、テクニカルサポートチームにお問い合わせください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"dataset-idとdataset-fields-nameの取得","__idx":8},"children":["Dataset IDとDataset Fields Nameの取得"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このintegrationを使用してdatasetを作成する場合、指定されたDataset IDは次回のactivation実行で再利用されます。Amazon Query editorページから取得する必要はありません。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Amazon Query editorページから、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dataset ID"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dataset Fields Name"]},"を取得できます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-5-13_10-34-51.caee09a878f3fe4aabb0b5fa3ada834586a21ad3f3761f878a928e2b234a716a.56be814e.png","alt":""},"children":[]}," ","2. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["info"]},"アイコンを選択して、各filenameのデータタイプを取得します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-5-13_11-39-11.342805db7ae0f5c91090897bdf58fdf1f4e4d4e481a58442f5677e10f3122189.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"data-upload-aws-account-idからのアクセスを許可するようs3-bucketを設定","__idx":9},"children":["Data upload AWS account IDからのアクセスを許可するようS3 Bucketを設定"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["S3にログインし、bucket > permissionタブに移動し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Bucket policy"]},"の下の",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Edit"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-5-13_10-36-24.5387d4dea8fa1103eed4589b47476ed14b7dadfb8d6396b60761d08617336dfa.56be814e.png","alt":""},"children":[]}," ","2. ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data upload AWS account ID"]},"と",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Bucket"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["name"]},"を置き換えた後、この設定をコピー&ペーストし、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"を選択します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Principal\": {\n        \"AWS\": \"arn:aws:iam::{{Data upload AWS account ID}}:root\"\n      },\n      \"Action\": [\n        \"s3:GetObject\",\n        \"s3:GetObjectVersion\",\n        \"s3:ListBucket\",\n        \"s3:PutObject\",\n        \"s3:PutObjectAcl\",\n        \"s3:GetObjectTagging\",\n        \"s3:GetBucketTagging\"\n      ],\n      \"Resource\": [\n        \"arn:aws:s3:::{{bucket name}}/*\",\n        \"arn:aws:s3:::{{bucket name}}\"\n      ]\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["bucketのtagを定義する"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インスタンスのtagを定義するには、以下の手順を実行します:"]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Amazon S3コンソールに移動し、tagを関連付けるbucket名をクリックします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Properties"]},"をクリックし、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tags"]},"セクションまでスクロールします。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Edit"]},"をクリックします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add tag"]},"をクリックしてtagのkeyを定義し、keyの値を入力します。この目的では、key\" \"instance\"d\"と定義し、データのアップロードに使用するインスタンスの識別子をkeyの値として入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"をクリックします。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細については、https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/advertiser-data-upload/advertiser-data-s3-bucketを参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールを使用してconnectionを作成","__idx":10},"children":["Treasure コンソールを使用してConnectionを作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["queryを実行する前に、Treasure Dataでデータconnectionを作成して設定する必要があります。データconnectionの一部として、integrationにアクセスするためのauthenticationを提供します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しいauthenticationの作成","__idx":11},"children":["新しいAuthenticationの作成"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure コンソール"]},"を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Amazon Marketing Cloudを検索し、Amazon Marketing Cloudを選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-5-13_10-37-51.4ad46ad5c1f770f3fa643704b97b33f5b48c4d3fca39fdbc0340123510f58f4b.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New Authenticationの",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Click here"]},"リンクを選択して、新しいAmazon Accountに接続します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2023-04-24-at-17.29.15.277937262c2647f54bf8d538db9104329274257337aac7c7a1625c23045d81f8.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Amazon Marketing Cloudインスタンスにリダイレクトされ、OAuthを使用してログインできます。usernameとpasswordを入力します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2023-04-24-at-17.33.04.59530de12fc559cc1e7aa5527f50209c153c9d47a35e9cc1a7021ed01b78437e.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow"]},"を選択してconsent screenを承認します。これにより、Treasure コンソールにリダイレクトされます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screen-shot-2023-04-24-at-17.35.48.7ff015ad82656050a4ccd0b4269a763308726ae72b89bf22f3d5d90ef19cf431.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["必要なcredentialsフィールドに入力します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/screenshot-2023-05-25-at-20.17.00.33f32ce1d7ed5fe7440059c27ac544a060c9c00770934f907553fc5a37de1da5.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":8},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Continue"]},"を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["authenticationの名前を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の表は、Amazon Marketing Cloud Export Integrationを設定するためのパラメータを説明しています。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AMC Instance Id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Amazon Marketing Cloud Instance ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AMC Account Id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Amazon Marketing Cloud Account ID。空白のままにすると、instance IDの最初のaccountが使用されます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["S3 Endpoint"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3 service endpointオーバーライド。regionとendpoint情報は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region"},"children":["AWS service endpoints"]},"ドキュメントから確認できます(例:",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://s3.ap-northeast-1.amazonaws.com/"},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["s3.ap-northeast-1.amazonaws.com"]}]},")。指定すると、region設定を上書きします。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["S3 Region"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS Region"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["S3 Authentication Method"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["以下のauthenticationメソッドから選択します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["basic"]},": ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["access_key_id"]},"と",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["secret_access_key"]},"を使用して認証します。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html"},"children":["AWS Programmatic access"]},"を参照してください。",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Access Key ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Secret access key"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["session (推奨)"]},": 一時的に生成された",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["access_key_id"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["secret_access_key"]},"、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["session_token"]},"を使用します。",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Access Key ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Secret access key"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Session token"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["assume_role"]},": roleアクセスを使用します。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html"},"children":["AWS AssumeRoleを参照"]},"。TD's Instance Profile。",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Account ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Your Role Name"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["External ID"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Duration In Seconds"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["anonymous"]},": サポートされていません"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Access Key ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS S3から発行されたAccess Key ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Secret Access Key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS S3から発行されたSecret Access Key"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["S3 Session token"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["一時的なAWS Session Token"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["TD's Instance Profile"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Treasure コンソールがこの値を提供します。値の数値部分が、IAM roleを作成するために使用するAccount IDを構成します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS Account ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Your Role Name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AWS Role Name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Secret External ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Duration In Seconds"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["一時的なCredentialsの期間"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"queryの定義","__idx":12},"children":["Queryの定義"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Queries"]},"に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New Query"]},"を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["queryを実行して、結果セットを検証します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-9-7_15-1-38.a0ef34a3cfb6035eb6a53a758a755062decbb29fac046d1b24440a76d0662c7a.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"result-export-targetの指定","__idx":13},"children":["Result Export Targetの指定"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export Results"]},"を選択します"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-9-7_15-10-56.ee7ed43caab64adefafcc22595462fd8068c974c4f47b5959a7babd7d99972b8.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["既存のintegration authenticationを選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2020-12-18_13-44-6.09e8af43184e33e337bef7c546600eaaa5be9f010b690af1d591c7c2b4bb2df3.56be814e.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["追加のExport Resultsの詳細を定義します。export integrationコンテンツで、integrationパラメータを確認します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"uploadまたはdelete-operation","__idx":14},"children":["UploadまたはDelete Operation"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Dataset Operationに対して",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upload"]},"または",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete"]},"を選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["\"Create new dataset if it does not exist\"をチェックして、その場で新しいdatasetを作成します。\"Prepare Dataset as upload target\"セクションで説明されているdataset定義を提供します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"rule-based-audiencesの作成","__idx":15},"children":["Rule-based Audiencesの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-10-2_15-58-16.9c8652d39d72fd74e5c6f373eb7be55c22902e167be9e11ef76cb2889543bc94.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の表は、Amazon Marketing Cloud export integrationの設定パラメータを説明しています。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Target"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2つのtarget typeをサポート:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["AMC dataset"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Rule-based Audiences"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["For \"AMC Data\" Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["API version"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、デフォルトはLatest"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AMC version。値にはLatestのみが含まれます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dataset Operation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["yes、targetがAMC datasetの場合"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Dataset operation:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upload"]},": datasetにデータをアップロードする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete"]},": 既存のすべてのデータセットからidentitiesを削除する"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Dataset Identifier"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、targetがAMC datasetでdataset operationがuploadの場合"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データがアップロードされるdataset ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Dataset Definition"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"Create dataset if not exist\"オプションがtrueの場合に必要"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ターゲットdatasetをJSON形式で定義する"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Update Strategy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["yes、API versionがlatestの場合"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["値にはADDITIVE、FULL REPLACE、OVERLAP REPLACE、OVERLAP KEEPが含まれます"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細については、https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/advertiser-data-upload/advertiser-data-uploadを参照してください。"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Country Code"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アップロードされたデータのソース国はISO_3166-1_alpha-2形式です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["詳細については、https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elementsを参照してください。"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3 Bucket"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、targetがAMC datasetでdataset operationがuploadの場合"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3 bucket名"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3 Path"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、targetがAMC datasetでdataset operationがuploadの場合"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データアップロードを保存するS3パス"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["File Name Prefix"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ファイルアップロード名のprefix"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Wait Until The Operation Finish?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、targetがAMC datasetでdataset operationがuploadの場合"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AMC側でoperationが完了するまで待機する"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Failed On Upload Status Error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェックすると、AMCからのアップロードステータスレスポンスにエラーがある場合、オペレーションが失敗します。Wait Until The Operation Finish?がチェックされている場合のみ適用されます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Clean Uploaded Files After Done?"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["完了後、S3上のすべてのアップロードされたファイルを削除する"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add The IAB European Transparency & Consent Framework (TCF)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェックすると、TCF同意カラム（tcf_string）がまだ存在しない場合、データセットに追加されます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/amc_consent_management"},"children":["詳細はこちらを参照"]},"。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add The Global Privacy Protocol (GPP)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェックすると、GPP同意カラム（gpp_string）がまだ存在しない場合、データセットに追加されます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/amc_consent_management"},"children":["詳細はこちらを参照"]},"。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add The Amazon Consent Signal (ACS)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェックすると、ACS同意カラム（amazon_ad_storage、amazon_user_data）がまだ存在しない場合、データセットに追加されます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/amc_consent_management"},"children":["詳細はこちらを参照"]},"。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["For \"Rule-based Audiences\" Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audience Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、targetがRule-based Audiencesの場合"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Audience Description"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Advertiser Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、targetがRule-based Audiencesの場合"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Amazon DSP上のAdvertiser ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SQL Statement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["yes、targetがRule-based Audiencesの場合"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["AMCインスタンス上で実行されるquery。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["user_id(大文字小文字を区別)は常にSELECT文の一部である必要があります。オーディエンスはuser_idsから構築されます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["例: select user_id from tbl;"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Start Time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、targetがRule-based Audiencesの場合"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["queryするデータの開始日"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["End Time"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["yes、targetがRule-based Audiencesの場合"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["queryするデータの終了日"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Refresh Rate Days"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["refresh rate daysの値は、SQL queryが再実行される頻度と、既存のAmazon DSPオーディエンスが新しいデータで完全に上書きされる頻度を決定します。0〜21の値のみが有効です。refresh rate daysが0に設定されている場合、オーディエンスは30日後に非アクティブになります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルト値: 21"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Time Window Relative"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["time window relativeパラメータを使用すると、refresh rate daysの値によってSQL queryの日付範囲をインクリメントできます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デフォルト値: false"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"dataset-queryをアップロードするための要件","__idx":16},"children":["Dataset Queryをアップロードするための要件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["datasetにデータをアップロードするには、queryの結果にフィールド名(大文字小文字を区別)と一致するカラム名が必要です。queryカラムとdatasetフィールド間のすべての不一致は無視されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["FACT dataset"]},"にデータをアップロードする場合、メインイベント時刻カラムが必要です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["datasetのすべての",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["non-nullableフィールド"]},"がqueryに必要です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["datasetフィールドがnon-nullableで、このフィールドのresult queriesの行にnull値がある場合、その行はスキップされます。例:"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["メインイベント時刻フィールドとして",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["purchase_time"]},"を持つFACT dataset ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["tutorial_off_amazon_purchases"]},"があります。すべてのフィールドはnon-nullableです。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-5-13_13-6-44.30fd735def984a2517f97c97ab7ab0c84690721227ad9b22fc8abb1d187da405.56be814e.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サンプルquery:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"SQL","header":{"controls":{"copy":{}}},"source":"SELECT\n   product_name,\n   product_sku,\n   product_quantity,\n   purchase_time,\n   purchase_value\nFROM\n   table_name;\n","lang":"SQL"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["また、aliasを使用してqueryカラム名をdatasetフィールドと一致させることもできます。サンプルquery:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"sql","header":{"controls":{"copy":{}}},"source":"SELECT\n  column_a AS product_name,\n  column_b AS product_sku,\n  column_c AS product_quantity,\n  column_d AS purchase_time,\n  column_e AS purchase_value\nFROM\n  table_name\n","lang":"sql"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["注意"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add The IAB European Transparency & Consent Framework (TCF)がチェックされている場合、tcf_stringフィールドがqueryから文字列データ型で必要です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add The Global Privacy Protocol (GPP)がチェックされている場合、gpp_stringフィールドがqueryから文字列データ型で必要です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add The Amazon Consent Signal (ACS)がチェックされている場合、amazon_ad_storageとamazon_user_dataフィールドがqueryから文字列データ型で必要です。amazon_ad_storageとamazon_user_dataフィールドは文字列値「GRANTED」、「DENIED」、または「NULL」を受け付けます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["queryの結果の各カラムのデータタイプは、datasetフィールドと互換性がある必要があります。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Column Data Type"},"children":["Column Data Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Dataset Field Data type"},"children":["Dataset Field Data type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["STRING"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["STRING"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DOUBLE"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DECIMAL"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["LONG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["INTEGER"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["LONG"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["LONG"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIMESTAMP"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIMESTAMP (yyyy-MM-ddThh:mm:ssZ)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIMESTAMP"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DATE (yyyy-MM-dd)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["LONG (epoch second)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIMESTAMP (yyyy-MM-ddThh:mm:ssZ)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["LONG (epoch second)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DATE (yyyy-MM-dd)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"既存のdataset-queryからidentitiesを削除するための要件","__idx":17},"children":["既存のDataset QueryからIdentitiesを削除するための要件"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["既存のすべてのデータセットからidentitiesを削除するには、queryの結果に少なくとも1つのidentityカラム名が必要です。identityカラム名には、",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["first_name、last_name、email、phone、address、city、state、zip"]},"、および",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["country_code"]},"を含める必要があります。他の名前のカラムは無視されます。サンプルquery:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"SQL","header":{"controls":{"copy":{}}},"source":"SELECT\n  first_name,\n  last_name,\n  email\nFROM\n  table_name\n","lang":"SQL"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"rule-based-audiencesを作成するための要件","__idx":18},"children":["Rule-based Audiencesを作成するための要件"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Audienceの作成には、TDからのデータは必要ありません。datasetからqueryを実行し、queryの結果に基づいてaudienceを作成します。したがって、TD側からjobをトリガーするために\"",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select 1"]},"\"のみを使用します。TD側から1行を超える行を返すqueryは許可されません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"audience-studio-で-segment-をアクティベートする","__idx":19},"children":["Audience Studio で Segment をアクティベートする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Audience Studio で activation を作成することで、segment データをターゲットプラットフォームに送信することもできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Audience Studio"]}," に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["parent segment を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ターゲット segment を開き、右クリックして、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Activation"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Details"]}," パネルで、Activation 名を入力し、前述の Configuration Parameters のセクションに従って activation を設定します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output Mapping"]}," パネルで activation 出力をカスタマイズします。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/ouput.b2c7f1d909c4f98ed10f5300df858a4b19f71a3b0834df952f5fb24018a5ea78.8ebdf569.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Attribute Columns",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Export All Columns"]}," を選択すると、変更を加えずにすべての列をエクスポートできます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," を選択して、エクスポート用の特定の列を追加します。Output Column Name には、Source 列名と同じ名前があらかじめ入力されます。Output Column Name を更新できます。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add Columns"]}," を選択し続けて、activation 出力用の新しい列を追加します。"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String Builder",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add string"]}," を選択して、エクスポート用の文字列を作成します。次の値から選択します:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["String: 任意の値を選択します。テキストを使用してカスタム値を作成します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Timestamp: エクスポートの日時。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Id: segment ID 番号。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Segment Name: segment 名。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Audience Id: parent segment 番号。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," を設定します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/snippet-output-connector-on-audience-studio-2024-08-28.a99525173709da1eb537f839019fa7876ffae95045154c8f2941b030022f792c.8ebdf569.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["スケジュールを定義する値を選択し、オプションでメール通知を含めます。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["batch journey の activation を作成する必要がある場合は、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/journey-orchestration/batch/creating-a-batch-journey-activation"},"children":["Creating a Batch Journey Activation"]}," を参照してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"オプション-query-export-ジョブをスケジュールする","__idx":20},"children":["(オプション) Query Export ジョブをスケジュールする"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scheduled Jobs と Result Export を使用して、指定したターゲット宛先に出力結果を定期的に書き込むことができます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data のスケジューラー機能は、高可用性を実現するために定期的なクエリ実行をサポートしています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2 つの仕様が競合するスケジュール仕様を提供する場合、より頻繁に実行するよう要求する仕様が優先され、もう一方のスケジュール仕様は無視されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例えば、cron スケジュールが ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * 1'"]}," の場合、「月の日」の仕様と「週の曜日」が矛盾します。前者の仕様は毎月 1 日の午前 0 時 (00:00) に実行することを要求し、後者の仕様は毎週月曜日の午前 0 時 (00:00) に実行することを要求するためです。後者の仕様が優先されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"treasure-コンソール-を使用してジョブをスケジュールする","__idx":21},"children":["Treasure コンソール を使用してジョブをスケジュールする"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Workbench > Queries"]}," に移動します"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいクエリを作成するか、既存のクエリを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Schedule"]}," の横にある None を選択します。"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-28-51.f1b242f6ecc7666a0097fdf37edd1682786ec11ef80eff68c66f091bc405c371.0f87d8d4.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ドロップダウンで、次のスケジュールオプションのいずれかを選択します:"," ",{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-29-47.45289a1c99256f125f4d887e501e204ed61f02223fde0927af5f425a89ace0c0.0f87d8d4.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"ドロップダウン値"},"children":["ドロップダウン値"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom cron..."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#custom-cron-details"},"children":["Custom cron... の詳細"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["@daily (midnight)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["指定されたタイムゾーンで 1 日 1 回午前 0 時 (00:00 am) に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["@hourly (:00)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎時 00 分に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールなし。"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"custom-cron-の詳細","__idx":22},"children":["Custom cron... の詳細"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-1-15_17-30-23.0f94a8aa5f75ea03e3fec0c25b0640cd59ee48d1804a83701e5f2372deae466c.0f87d8d4.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cron 値"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["説明"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 * * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 時間に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 * * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["1 日 1 回午前 0 時に実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1 * *"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時に 1 回実行します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["\"\""]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["スケジュールされた実行時刻のないジョブを作成します。"]}]}]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":" *    *    *    *    *\n -    -    -    -    -\n |    |    |    |    |\n |    |    |    |    +----- day of week (0 - 6) (Sunday=0)\n |    |    |    +---------- month (1 - 12)\n |    |    +--------------- day of month (1 - 31)\n |    +-------------------- hour (0 - 23)\n +------------------------- min (0 - 59)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の名前付きエントリを使用できます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Day of Week: sun, mon, tue, wed, thu, fri, sat."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Month: jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各フィールド間には単一のスペースが必要です。各フィールドの値は、次のもので構成できます:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"fixed-table"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"35%","data-label":"フィールド値"},"children":["フィールド値 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"例"},"children":["例 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"45%","data-label":"例の説明"},"children":["例の説明 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["各フィールドに対して上記で表示された制限内の単一の値。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["フィールドに基づく制限がないことを示すワイルドカード"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]},"。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["範囲 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2-5'"]}," ","フィールドの許可される値の範囲を示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 1-10 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日から 10 日までの午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["カンマ区切りの値のリスト ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,3,4,5'"]}," ","フィールドの許可される値のリストを示します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["0 0 1,11,21 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、11 日、21 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["周期性インジケータ ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*/5'"]}," ","フィールドの有効な値の範囲に基づいて、"," ","スケジュールが実行を許可される頻度を表現します。"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'30 */2 1 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 1 日、00:30 から 2 時間ごとに実行するようにスケジュールを設定します。"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 */5 * *'"]}," は、毎月 5 日から 5 日ごとに午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'*'"]}," ","ワイルドカードを除く上記の"," ","いずれかのカンマ区切りリストもサポートされています"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'2,*/5,8-10'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["'0 0 5,*/10,25 * *'"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["毎月 5 日、10 日、20 日、25 日の午前 0 時 (00:00) に実行するようにスケジュールを設定します。"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"クエリを実行する","__idx":23},"children":["クエリを実行する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリに名前を付けて保存して実行するか、単にクエリを実行します。クエリが正常に完了すると、クエリ結果は指定された宛先に自動的にエクスポートされます。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定エラーにより継続的に失敗するスケジュールジョブは、複数回通知された後、システム側で無効化される場合があります。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["(オプション) Delay execution を有効にすることで、クエリの開始時刻を遅延させることができます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"オプション-workflowでexport-resultsを設定","__idx":24},"children":["(オプション) WorkflowでExport Resultsを設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure ワークフロー内で、このintegrationの使用を指定してデータをエクスポートできます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.treasuredata.com/smart/project-product-documentation/exporting-data-with-parameters"},"children":["Exporting Data with Parameters"]},"について詳しく学んでください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"datasetをアップロードするためのworkflowの例","__idx":25},"children":["datasetをアップロードするためのWorkflowの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: amc_db\n\n+amc_task:\n  td>: upload.sql\n  database: ${td.database}\n  result_connection: new_amc_auth\n  result_settings:\n    type: amazon_marketing_cloud\n    target: dataset\n    operation: upload\n    dataset_id: dataset_id\n    bucket: bucket_name\n    path_prefix: path_prefix/\n    file_name_prefix: file_name_prefix\n    wait_until_finish: true\n    failed_on_upload_status_error: false\n    clean_upload_file: true\n    add_consent_tcf: true\n    add_consent_gpp: true\n    add_consent_acs: true\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"datasetを作成してアップロードするためのworkflowの例","__idx":26},"children":["datasetを作成してアップロードするためのWorkflowの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: amc_db\n\n\n+amc_task:\n  td>: upload.sql\n  database: ${td.database}\n  result_connection: new_amc_auth\n  result_settings:\n    type: amazon_marketing_cloud\n    target: dataset\n    operation: upload\n    dataset_id: dataset_id\n    create_dataset: true\n    dataset_definition: dataset_definition_in_json_string\n    bucket: bucket_name\n    path_prefix: path_prefix\n    file_name_prefix: file_name_prefix\n    wait_until_finish: true\n    failed_on_upload_status_error: false\n    clean_upload_file: true\n    add_consent_tcf: true\n    add_consent_gpp: true\n    add_consent_acs: true\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"datasetを削除するためのworkflowの例","__idx":27},"children":["datasetを削除するためのWorkflowの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: amc_db\n\n+amc_task:\n  td>: delete.sql\n  database: ${td.database}\n  result_connection: new_amc_auth\n  result_settings:\n    type: amazon_marketing_cloud\n    target: dataset\n    operation: delete\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"rule-based-audiencesを作成するためのworkflowの例","__idx":28},"children":["rule-based audiencesを作成するためのWorkflowの例"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"_export:\n  td:\n    database: amc_db\n\n+amc_task:\n  td>: audience.sql\n  database: ${td.database}\n  result_connection: new_amc_auth\n  result_settings:\n    type: amazon_marketing_cloud\n    target: rule_based_audiences\n    amc_instance_id: amc_instance_id\n    amc_account_id: amc_account_id\n    audience_name: \"test_audience\"\n    audience_description: \"test audience description\"\n    advertiser_id: 123\n    query: \"SELECT user_id FROM dsp_impressions\"\n    time_window_start: \"2023-06-25T00:00:00\"\n    time_window_end: \"2023-07-25T00:00:00\"\n    refresh_rate_days: 1\n    time_window_relative: false\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"external-reference","__idx":29},"children":["External Reference"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Fact vs. Dimension datasets: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/advertiser-data-upload/advertiser-data-prepare-data"},"children":["https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/advertiser-data-upload/advertiser-data-prepare-data"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Dataset creation guideline: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/advertiser-data-upload/advertiser-data-sets"},"children":["https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/advertiser-data-upload/advertiser-data-sets"]}]}]}]},"headings":[{"value":"Amazon Marketing Cloud Export Integration","id":"amazon-marketing-cloud-export-integration","depth":1},{"value":"このIntegrationでできること","id":"このintegrationでできること","depth":2},{"value":"前提条件","id":"前提条件","depth":2},{"value":"要件と制限事項","id":"要件と制限事項","depth":2},{"value":"Treasure Data Integration の静的 IP アドレス","id":"treasure-data-integration-の静的-ip-アドレス","depth":2},{"value":"Amazon Marketing Cloud情報の取得","id":"amazon-marketing-cloud情報の取得","depth":2},{"value":"Amazon Marketing Cloud Instance IDとAccount IDの取得","id":"amazon-marketing-cloud-instance-idとaccount-idの取得","depth":2},{"value":"アップロード対象のDatasetの準備","id":"アップロード対象のdatasetの準備","depth":2},{"value":"Dataset IDとDataset Fields Nameの取得","id":"dataset-idとdataset-fields-nameの取得","depth":2},{"value":"Data upload AWS account IDからのアクセスを許可するようS3 Bucketを設定","id":"data-upload-aws-account-idからのアクセスを許可するようs3-bucketを設定","depth":2},{"value":"Treasure コンソールを使用してConnectionを作成","id":"treasure-コンソールを使用してconnectionを作成","depth":2},{"value":"新しいAuthenticationの作成","id":"新しいauthenticationの作成","depth":3},{"value":"Queryの定義","id":"queryの定義","depth":3},{"value":"Result Export Targetの指定","id":"result-export-targetの指定","depth":3},{"value":"UploadまたはDelete Operation","id":"uploadまたはdelete-operation","depth":3},{"value":"Rule-based Audiencesの作成","id":"rule-based-audiencesの作成","depth":3},{"value":"Dataset Queryをアップロードするための要件","id":"dataset-queryをアップロードするための要件","depth":3},{"value":"既存のDataset QueryからIdentitiesを削除するための要件","id":"既存のdataset-queryからidentitiesを削除するための要件","depth":3},{"value":"Rule-based Audiencesを作成するための要件","id":"rule-based-audiencesを作成するための要件","depth":3},{"value":"Audience Studio で Segment をアクティベートする","id":"audience-studio-で-segment-をアクティベートする","depth":2},{"value":"(オプション) Query Export ジョブをスケジュールする","id":"オプション-query-export-ジョブをスケジュールする","depth":3},{"value":"Treasure コンソール を使用してジョブをスケジュールする","id":"treasure-コンソール-を使用してジョブをスケジュールする","depth":4},{"value":"Custom cron... の詳細","id":"custom-cron-の詳細","depth":4},{"value":"クエリを実行する","id":"クエリを実行する","depth":3},{"value":"(オプション) WorkflowでExport Resultsを設定","id":"オプション-workflowでexport-resultsを設定","depth":2},{"value":"datasetをアップロードするためのWorkflowの例","id":"datasetをアップロードするためのworkflowの例","depth":3},{"value":"datasetを作成してアップロードするためのWorkflowの例","id":"datasetを作成してアップロードするためのworkflowの例","depth":3},{"value":"datasetを削除するためのWorkflowの例","id":"datasetを削除するためのworkflowの例","depth":3},{"value":"rule-based audiencesを作成するためのWorkflowの例","id":"rule-based-audiencesを作成するためのworkflowの例","depth":3},{"value":"External Reference","id":"external-reference","depth":2}],"frontmatter":{"seo":{"title":"Amazon Marketing Cloud Export Integration"}},"lastModified":"2026-06-01T09:47:58.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/amazon-marketing-cloud-export-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}