Country geoid for analytics segmentation

analytics
api

#1

Hello,
I am trying to pull segmented data from the Ads Analytics API. I have been unable to find a list of Country GEOIDs to use with the segments that require a country parameter. Can you please point me to the list?

Thanks,
Mark


#2

Hey @dmmckelv,

You can get a list of valid GEOIDs to use with analytics from the GET targeting_criteria/locations. You will need to pass the values returned from the response into the country param value on the stats endpoint

Hope that helps!