本記事では CData サポート担当からこんなことを聞かれたらどこを確認すべきか?という観点で、よく頂くお問合せ内容をご紹介します。
記事はこちら →CData Excel Add-In for FacebookAds の関数を使って、スプレッドシートにデータを取り込むことができます。下記の3つの手順では、次のタスクを自動化する方法について説明します:ユーザー定義の値でFacebook Ads を検索し、その結果をExcel スプレッドシートに出力します。
CDATAQUERY 関数の構文は次のとおりです:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
この関数に入力する値は以下の3つです:
Most tables require user authentication as well as application authentication. Facebook uses the OAuth authentication standard. To authenticate to Facebook, you can use the embedded OAuthClientId, OAuthClientSecret, and CallbackURL or you can obtain your own by registering an app with Facebook.
See the Getting Started chapter of the help documentation for a guide to using OAuth.
下記の処理では、すべての関数インプットをひとつ目のカラムでオーガナイズするスプレッドシートができます。
=CDATAQUERY("SELECT * FROM AdAccounts WHERE Name = '"&B1&"'",";Provider=FacebookAds",B2)