Offer::addTargetCountry Method

This endpoint is being deprecated in favor of Offer::addGeoTargeting.

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 StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
id IntegerID of Offer object
country_code StringCountry code
regionsArrayRegion codes within specified country
region_codeStringSingle 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

Have a Question? Please contact support@tune.com for technical support.