Associates an existing offer with one or more countries or with specified regions within countries, for the purposes of geo-targeting. This method overwrites all pre-existing country/region associations to that offer.
See our support article on geo-targeting for more on this topic.
City Targeting Note: This method does not work with city locations, and will fail if used on an offer that has cities in its targeting definition.
|Target||String||This calls action target|
|Method||String||This calls action method|
|id||Integer||ID of Offer object|
|country_codes||Array||List of country codes|
For region-level targeting, pass as an object where each property is a country code and the value for each country code is an array of region codes for that country.
GET Response Notes
Boolean: true if action succeeds; false otherwise