diff --git a/tap_facebook/streams/ad_insights.py b/tap_facebook/streams/ad_insights.py index fd18cd47..62ab6074 100644 --- a/tap_facebook/streams/ad_insights.py +++ b/tap_facebook/streams/ad_insights.py @@ -45,6 +45,15 @@ "__module__", "__doc__", "__dict__", + # No longer available >= v19.0: https://developers.facebook.com/docs/marketing-api/marketing-api-changelog/version19.0/ + "age_targeting", + "gender_targeting", + "labels", + "location", + "estimated_ad_recall_rate_lower_bound", + "estimated_ad_recall_rate_upper_bound", + "estimated_ad_recallers_lower_bound", + "estimated_ad_recallers_upper_bound", ] SLEEP_TIME_INCREMENT = 5 diff --git a/tap_facebook/tap.py b/tap_facebook/tap.py index a7177f76..102b7bfb 100644 --- a/tap_facebook/tap.py +++ b/tap_facebook/tap.py @@ -67,7 +67,7 @@ class TapFacebook(Tap): "api_version", th.StringType, description="The API version to request data from.", - default="v18.0", + default="v19.0", ), th.Property( "account_id",