voxmedia / tap-instagram

Singer Tap for the Instagram Graph API
Apache License 2.0
5 stars 6 forks source link

Remove unavailable fields and replace with alternatives as necessary #16

Closed diwakarkasi closed 8 months ago

diwakarkasi commented 8 months ago

A handful of metrics have become unavailable or made available as a different metric per the following links

Listed below are all the affected changes.

a. Following are unavailable and will be instead available as different metrics. Please refer to this link and screenshot.

    'carousel_album_engagement',
    'carousel_album_impressions',
    'carousel_album_reach',
    'carousel_album_saved',
    'carousel_album_video_views',

b. For media_type in ("IMAGE", "VIDEO") and media_product_type <> "STORY", engagement is unavailable and the alternative to use instead will be total_interactions. The above mentioned link will have this info as well and sharing a screenshot below with the relevant section. c. For stories, following metrics are unavailable and will be removed from the ingestion pipeline.

exits
taps_forward
taps_back

d. Following audience demographic fields are unavailable and hence removing them from the pipeline.

audience_city
audience_country
audience_gender_age
audience_locale

Above changes will require downstream changes.

Here is an example of a successful run.