Update the settings for an advertiser
HTTP method | Endpoint |
PUT | /v1/advertisers/{advertiser_id} |
Path parameters
Parameter | Description |
advertiser_id | The unique id for the advertiser. |
Request body parameters
Note: individual field can be selected when updating. If the selected field is non-empty field, then the field value can not be empty
Field | Type | Description | Nullable | ||
advertiser | |||||
first_name | string | The first_name of the this Advertiser. | No | ||
last_name | string | The last_name of the this Advertiser. | No | ||
string | The email of the this Advertiser. | No | |||
company | string | The company of the this Advertiser. | No | ||
country | string | The country of the Advertiser’s physical address. | |||
status | string | The status of the Advertiser and only fill the active when create . Allowed values when update: active·blocked·deleted | No | ||
instant_message_account | string | Instant messaging account. | Yes | ||
instant_message_type | integer | Types of instant messaging: Allowed values: 0 Other; 1 Skype; 2 Gtalk; 3 QQ; 4 Yahoo; 5 Facebook; 6 WeChat; 7 Twitter; | No | ||
manager_id | integer | Account Manager ID. | No | ||
phone | string | The phone number of the Advertiser. | Yes | ||
website | string | Yes | |||
security_mode | integer | selection to activate security code. 0:close ; 1:open | Yes | ||
password | string | password | No | ||
click_signing_name | string | When you select Appsflyer, the corresponding ID is returned.Possible Values:0 Disabled;ID(Appsflyer) Enabled | |||
advertiser_whitelist | |||||
is_open | integer | open whitelist. 0:close ; 1:open NOTE: when is_open=1, whitelist information cannot be empty. | |||
ip_address | array | ip address | |||
ip | string | ip | |||
ip_range | array | ip range | |||
start | string | start ip | |||
end | string | end ip |
Response body parameters
Field | Type | Description | ||
advertiser | ||||
id | integer | A string that uniquely identifies this advertiser. | ||
first_name | string | The first_name of the this Advertiser. | ||
last_name | string | The last_name of the this Advertiser. | ||
string | The email of the this Advertiser. | |||
company | string | The company of the this Advertiser. | ||
country | string | The country of the Advertiser's physical address. | ||
status | string | Advertiser status. | ||
instant_message_account | string | Instant messaging account. | ||
instant_message_type | integer | types of instant messaging. | ||
manager_id | integer | Account Manager ID. | ||
phone | string | The phone number of the Advertiser. | ||
website | string | |||
security_mode | integer | selection to activate security code. 0:close ; 1:open | ||
security_code | string | conversion security code | ||
create_time | integer | Create time | ||
advertiser_whitelist | ||||
ip_address | array | ip address | ||
ip | string | ip | ||
ip_range | array | ip range | ||
start | string | start ip | ||
end | string | end ip |
Example request
Request POST https://{networkname}.api.offerslook.com/v1/advertisers/4865
Request POST http://{networkname}.api.offerslook.com/v1/advertisers/4865
Example response
Last updated