Location targeting question

ads
api

#1

Hi guys,

Currently when a user selects a location, we save their targeting_value such as “00638a3c43eadcf3”.

If the user goes back to the location selection step, how do we load their previous selections?

We tried putting the targeting_value into the parameter ‘q’ of https://dev.twitter.com/ads/reference/get/targeting_criteria/locations. This has not worked. The other method is to save down both the text “Portland (Vic.), Victoria, Australia” and number “00638a3c43eadcf3” however this raises the problem - what if the number or name changes?

Is there a way to do this?

Thanks,
Steve


#2

Don’t worry guys found it!

Need to get the names from the Public API https://dev.twitter.com/rest/reference/get/geo/id/%3Aplace_id

Cheers


#3