EnableSharedAccount (Live)
Enables the shared account for the client and transfers funds to it from all the campaigns.
This method is only available to advertising agencies.
Alert
- It can take a long time to enable the shared account.
- The shared account cannot be enabled if the advertiser does not have a single campaign.
Input data
The input data structure in JSON is shown below.
{
"method": "EnableSharedAccount",
"param": {
/* EnableSharedAccountRequest */
"Login": (string)
}
}
Parameters are described below.
Parameter |
Description |
Required |
EnableSharedAccountRequest object |
||
|
The username of the client to enable the shared account for. |
Yes |
Output data
The output data structure in JSON is shown below.
{
"data": {
/* EnableSharedAccountResponse */
"Login": (string),
"AccountID": (int),
"Errors": [
{ /* Error */
"FaultCode": (int),
"FaultString": (string),
"FaultDetail": (string)
}
...
],
}
}
Parameters are described below.
Parameter |
Description |
EnableSharedAccountResponse object |
|
|
Client username. |
|
ID of the shared account that was created. This parameter is returned if the shared account was enabled successfully. |
|
Array of |
Error object |
|
|
Error code. |
|
Textual message about the error. |
|
Detailed description of the reason for the error. |
Examples of input data
Python
{
'Login': 'agrom'
}
PHP
array(
'Login' ='agrom'
)
Perl
{
'Login' ='agrom'
}