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>]

objectID*

ID of the object the action applies to.

account

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

Email address that the user's access is registered to.

company

Company name.

firstName

User's first name.

lastName

User's last name.

country

Country.

state

Region.

city

City.

ZIPCode

Postal code.

address1

Address.

address2

Address (continued).

phone

Phone number.

fax

Fax.

Response format

<response>
  <status>
    <code>{integer}</code>
  </status>
</response>

Response parameters

code

Request processing status. A value of 0 means the request was completed successfully. For the key, see Error handling.

Sample request and response

Request:

https://adfox.yandex.com/api/v1?object=advertiser&action=modify&objectID=543&phone=84993334455

Response:

<response>
  <status>
    <code>0</code>
  </status>
</response>

Other actions with the object

Read about other actions with the advertiser object:

ID of the object the action applies to.

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 that the user's access is registered to.

Company name.

User's first name.

g

User's last name.

Country.

Region.

City.

Postal code.

Address.

Address (continued).

Phone number.

Fax.

Required parameter.