Offer::addTargetCountry Method

Associates an existing offer with a country or with specified regions within a country, for the purposes of geo-targeting. This method does not alter any preexisting country/region associations with the target 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.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
id IntegerID of Offer object
country_code String Country code
regionsArray Region codes within specified country
region_codeString Single region code within specified country
Note: if region parameter is supplied, this parameter is ignored

GET Response Notes

Boolean: true if action succeeds; false otherwise

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.