modify
Edit user parameters with the “advertiser” type.
Request format
https://adfox.yandex.com/api/v1
? object=advertiser
& action=modify
& objectID=<integer>
& [account=<string>]
& [eMail=<string>]
& [company=<string>]
& [firstName=<string>]
& [lastName=<string>]
& [country=<string>]
& [state=<string>]
& [city=<string>]
& [ZIPCode=<string>]
& [address1=<string>]
& [address2=<string>]
& [phone=<string>]
& [fax=<string>]
|
|
ID of the object that the action is performed on. |
|
|
User account. The account name must be unique within the system. An entry can contain Russian and Latin letters, numbers, and any special characters. |
|
|
Email address to which the user's access will be registered. |
|
|
Company name. |
|
|
User's first name. |
|
|
User's last name. |
|
|
Country. |
|
|
Region. |
|
|
City. |
|
|
Postal code. |
|
|
Address. |
|
|
Address (continued). |
|
|
Phone. |
|
|
Fax. |
Response format
<response>
<status>
<code>{integer}</code>
</status>
</response>
Response parameters
|
|
Request processing status. If the value is |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=advertiser&action=modify&objectID=543&phone=84993334455Response:
<response> <status> <code>0</code> </status> </response>
Other actions with the object
See more actions with the advertiser object:
- Add an advertiser.
- Get a list of advertisers.
- Delete an advertiser.
- Add an action tracing point for an advertiser.
ID of the object that the action is performed on.
User account.
The account name must be unique within the system.
An entry can contain Russian and Latin letters, numbers, and any special characters.
Email address to which the user's access will be registered.
Company name.
User's first name.
User's last name.
Country.
Region.
City.
Postal code.
Address.
Address (continued).
Phone.
Fax.
Required parameter.