Facebook広告とスプレッドシートの自動化を行いたい
Facebook広告とスプレッドシートの自動化を行いたい
以下の記事の通り、実行した
https://note.com/bets_inc/n/na4851f1f701b
GASの実行の際、エラーが出てしますので、解決方法を教えて下さい。
発生している問題・エラー
Exception: Request failed for https://graph.facebook.com returned code 400. Truncated server response: {"error":{"message":"Unsupported post request. Object with ID 'undefined' does not exist, cannot be loaded due to missing permissions, or does not ... (use muteHttpExceptions option to examine full response)
getReportByHttpRequest @ コード.gs:18
自分で試したこと
https://developers.facebook.com/docs/graph-api/changelog/versions
バージョンが違うんだと思い、
https://graph.facebook.com/v2.8/
を
https://graph.facebook.com/v10.0/
に変更したが同じ結果になってしまいました。
GASの仕組みなどあまりわかっていない素人なのですが、助言等いただけますと幸いです。

