How to get Instagram username or ID with Ad Library API (or other way)
I'm using official Facebbok API for getting ads with /ads_archive endpoint.
Example request:
curl -G \ -d "search_terms='oil'" \ -d "ad_reached_countries=['US']" \ -d "fields=id,ad_creation_time,ad_creative_bodies,ad_creative_link_captions,ad_creative_link_descriptions,ad_creative_link_titles,ad_delivery_start_time,ad_delivery_stop_time,ad_snapshot_url,age_country_gender_reach_breakdown,beneficiary_payers,bylines,currency,delivery_by_region,demographic_distribution,estimated_audience_size,eu_total_reach,impressions,languages,page_id,page_name,publisher_platforms,spend,target_ages,target_gender,target_locations" \ -d "access_token={ACCESS_TOKEN}" \ "https://graph.facebook.com/v19.0/ads_archive"
Response does include Facebook Page ID. It also includes publisher_platforms
field containing Instagram or/and Facebook. But no Instagram ID or username.
I find it weird, because web version of Ad Library (running under private API) shows that data. Example link
How can I get Instagram username using Official Ad Library API?
I've already passed all fields from Archived Ad Schema to my request.
Scraping private API seems hard, because it seems sensitive to proxies.