webmaster
Add a user with the “site owner” type. A site owner is a representative of the site where you place ads. A site owner is only granted access to the statistics of their own site.
Request format
https://adfox.yandex.com/api/v1
? object=account
& action=add
& actionObject=webmaster
& 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>]
& [WMZ=<string>]
& [WMZProtection=<string>]
& [YandexMoney=<string>]
& [comments=<string>]
|
|
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. |
|
|
WebMoney wallet number. |
|
|
WebMoney wallet security code. |
|
|
Yandex Money wallet number. |
|
|
Comment. |
Response format
<response>
<status>
<code>{integer}</code>
<ID>{integer}</ID>
</status>
</response>
Response parameters
|
|
Request processing status. If the value is |
|
|
Object ID. |
Sample request and response
Request:
https://adfox.yandex.com/api/v1?object=account&action=add&actionObject=webmasterResponse:
<response> <status> <code>0</code> <ID>39377</ID> </status> </response>
Other actions with the object
See more actions with the webmaster object:
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.
WebMoney wallet number.
WebMoney wallet security code.
Yandex Money wallet number.
Comment.
Required parameter.