Skip to content

Update application settings

POST
/api/v2/client/applications/{application_id}/settings
curl --request POST \
--url https://app.affisemmp.com/api/v2/client/applications/1/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "conversion_postbacks": [ { "conversion_type": "w", "postback_urls": [ "q" ], "events_mapping": "example", "click_filter": [ { "param": "b", "values": {} } ], "geo_filter": { "countries": [ "bn" ], "exclude": true }, "cost": 7, "send_organic": false } ], "cross_postback_url": "http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html", "default_postback_url": "https://www.runte.com/ab-provident-perspiciatis-quo-omnis-nostrum-aut-adipisci", "rejected_postback_url": "https://cronin.com/incidunt-iure-odit-et-et-modi-ipsum.html", "send_organic": false, "cross_postback_for_all_conversions": false, "secure_code": "pscqldzsnrwtujwv", "fingerprint_available": 24, "device_id_available": 3601, "impression_fingerprint_available": 15, "impression_device_id_available": 21, "re_attribution": false, "client_url": "http://gaylord.org/", "settings": null, "storages_links": [ { "store": "google", "link": "n" } ] }'
application_id
required
integer

The ID of the application.

Example
1
Media type application/json
object
conversion_postbacks
Array<object>
object
conversion_type
required

Must not be greater than 255 characters.

string
Example
w
postback_urls

Must not be greater than 4000 characters.

Array<string>
Example
[
"q"
]
events_mapping
string
click_filter
Array<object>
object
param
required

Must not be greater than 256 characters.

string
Example
b
values
required

Must have at least 1 items.

object
Example
{}
geo_filter
object
countries

The code of an existing record in the countries table. Must be 2 characters.

Array<string>
Example
[
"bn"
]
exclude
boolean
Example
true
cost
required

Must not be greater than 99999.99.

number
Example
7
send_organic
boolean
nullable
Example
false
cross_postback_url

Must not be greater than 4000 characters.

string
nullable
Example
http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html
default_postback_url

Must not be greater than 4000 characters.

string
nullable
Example
https://www.runte.com/ab-provident-perspiciatis-quo-omnis-nostrum-aut-adipisci
rejected_postback_url

Must not be greater than 4000 characters.

string
nullable
Example
https://cronin.com/incidunt-iure-odit-et-et-modi-ipsum.html
send_organic
boolean
nullable
Example
false
cross_postback_for_all_conversions
boolean
nullable
Example
false
secure_code

Must be at least 2 characters. Must not be greater than 20 characters.

string
nullable
Example
pscqldzsnrwtujwv
fingerprint_available
required

Must be at least 3600. Must not be greater than 2592000.

integer
Example
24
device_id_available
required

Must be between 3600 and 2592000.

integer
Example
3601
impression_fingerprint_available

Must be at least 3600. Must not be greater than 2592000.

integer
nullable
Example
15
impression_device_id_available

Must be at least 3600. Must not be greater than 2592000.

integer
nullable
Example
21
re_attribution
required
boolean
Example
false
client_url

Must be a valid URL.

string
Example
http://gaylord.org/
settings
object
tracking_block_list
Array<object>
object
param
required

Must not be greater than 256 characters.

string
Example
z
values
Array<string>
Example
[
"architecto"
]
test_device_ids

Must not be greater than 64 characters.

Array<string>
Example
[
"p"
]
eternal_partner
boolean
nullable
Example
true
sdk_events
object
Example
null
api_events
object
Example
null
Example
null
storages_links
Array<object>
object
store
required
string
Allowed values: google apple huawei samsung xiaomi telegram oppo vivo custom
Example
telegram
link
required

Must not be greater than 4000 characters.

string
Example
n
Media type application/json
object
message
string
Example
{
"message": "Application successfully updated"
}