Offer::removeGeoTargeting Method

Remove locations from an offer's geotargeting definition.

On exclusions: To remove geotargeting exclusion flags, you'll need to use Offer::removeAllGeoTargeting instead.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken String Network token
Target String This calls action target
Method String This calls action method
dry_runBoolean Set to true to return the resulting geotargeting rules this update would cause without actually applying changes
id IntegerID of Offer object
location_ids Object of arraysNested array of location IDs for countries and regions. These IDs will be used as the new geotargeting definition. To get the location ID of a region or country, use Application::findAllRegions or Application::findAllCountries.

GET Response Notes

Array containing: (1) summary of the targeting differences caused by this update, (2) the new Geotargeting for this offer, (3) a flag indicating whether changes were applied

API Call Builder

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