advertiser

Add a user with the “advertiser” type. An advertiser is a user who can access campaign statistics. In some cases, the advertiser is also given rights to edit and add/delete banners in their campaign.

Request format

https://adfox.yandex.com/api/v1
  ? object=account
  & action=add
  & actionObject=advertiser
  & 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>]

account*

Account for a new user. 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.

* Required

Response format

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

Response parameters

code

Request processing status. If the value is 0, the request was completed successfully. For the key, see Error handling.

ID

Object ID.

Sample request and response

Request:

https://adfox.yandex.com/api/v1?object=account&action=add&actionObject=advertiser

Response:

<response>
<status>
  <code>0</code>
  <ID>393747</ID>
</status>
</response>

Other actions with the object

See more actions with the advertiser object:

Account for a new user. 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.

User's last name.

Postal code.

Address (continued).

Phone number.

Address.

City.

Country.

Fax.

Required

Region.

Previous