Jump to: GET Response Notes | API Call Builder
Sets locations—cities, countries, and regions—to an offer's geotargeting definition. This overwrites any existing definition.
Name | Type | Description |
---|---|---|
NetworkId | Url | Network ID |
NetworkToken | String | Network token |
Target | String | This calls action target |
Method | String | This calls action method |
id | Integer | ID of Offer object |
location_ids | Object | Nested array of location IDs for cities, countries, and regions. These IDs will be used as the new geotargeting definition. To get the ID of a location, use Application::findCities, Application::findAllRegions, or Application::findAllCountries. |
dry_run | Boolean | Set to "true" to return the resulting geotargeting rules this update would cause without actually applying changes |
exclude | Array | List of location types to excludeShow Supported Values |
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.