CustomerRole Data Object - Customer Management

Defines the role a user has for one customer or list of accounts within a customer.

If a user has access to multiple customers, then multiple CustomerRole objects are returned via the GetUser operation.


<xs:complexType name="CustomerRole" xmlns:xs="">
    <xs:element minOccurs="0" name="RoleId" type="xs:int" />
    <xs:element minOccurs="0" name="CustomerId" type="xs:long" />
    <xs:element minOccurs="0" name="AccountIds" nillable="true" type="q5:ArrayOflong" xmlns:q5="" />
    <xs:element minOccurs="0" name="LinkedAccountIds" nillable="true" type="q6:ArrayOflong" xmlns:q6="" />
    <xs:element minOccurs="0" name="CustomerLinkPermission" nillable="true" type="xs:string" />


Element Description Data Type
AccountIds The list of accounts that the user can access in the customer.

If this element is nil, the user has access to all of the accounts (current and future) in the customer.
long array
CustomerId The identifier of the Customer that the user can access. long
CustomerLinkPermission Reserved for future use. string
LinkedAccountIds The list of linked accounts that the user can access as an agency on behalf of another customer. long array
RoleId The role that the user has for each customer or list of accounts.

Possible values include the following:
16 - The user has the Advertiser Campaign Manager role.
33 - The user has the Aggregator role.
41 - The user has the Super Admin role.
100 - The user has the ClientViewer role.
203 - The user has the Standard role.

For more information, see User Roles and Available Service Operations.


Service: CustomerManagementService.svc v13

Used By