AccountInfoWithCustomerData 数据对象 - 客户管理

定义一个 对象,该对象包含标识帐户和管理或拥有该帐户的客户的信息。

语法

<xs:complexType name="AccountInfoWithCustomerData" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="CustomerId" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="CustomerName" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="AccountId" type="xs:long" />
    <xs:element minOccurs="0" name="AccountName" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="AccountNumber" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="AccountLifeCycleStatus" type="tns:AccountLifeCycleStatus" />
    <xs:element minOccurs="0" name="PauseReason" nillable="true" type="xs:unsignedByte" />
    <xs:element minOccurs="0" name="AccountMode" nillable="true" type="xs:string">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>

元素

AccountInfoWithCustomerData 对象具有以下元素:AccountIdAccountLifeCycleStatusAccountModeAccountNameAccountNumberCustomerId、CustomerNamePauseReason

元素 说明 数据类型
AccountId 帐户的系统生成的标识符。 long
AccountLifeCycleStatus 帐户的状态。 AccountLifeCycleStatus
AccountMode 帐户模式区分智能帐户和专家帐户。

可能的值包括但不限于:

专家 - 专家模式是全功能Microsoft广告体验。 它使你能够更好地控制市场活动管理,使你能够向广告添加更多内容,并在性能报告和跟踪方面提供更多内容。

智能 - Microsoft广告将使用Microsoft AI 为你创建广告和管理广告活动。

UnifiedSmart - 该帐户支持跨必应、Google 和Facebook进行广告。 还可以管理 Facebook、Instagram 和 LinkedIn 上的社交网络状态。 注意:从 2023 年 4 月 25 日起,UnifiedSmart 不再支持 Twitter。

大多数必应广告 API 操作仅支持专家帐户。 当你请求帐户信息(例如 FindAccountsOrCustomersInfo、GetAccountGetAccountsInfoGetUserSearchAccounts)时,将返回具有任何帐户模式的帐户。

加: 大多数帐户为只读。 已关闭的统一智能市场活动试点的客户可以将帐户模式设置为“UnifiedSmart”。
更新: 只读
string
AccountName 帐户的名称。 string
AccountNumber 系统生成的帐号,用于标识Microsoft广告 Web 应用程序中的帐户。

帐户号的格式为 xxxxxxxx,其中 xxxxxxxx 是任意 8 个字母数字字符的系列。
string
CustomerId 管理或拥有帐户的客户的系统生成的标识符。

如果此帐户是使用 FindAccountsOrCustomersInfo 进行帐户匹配的结果,则客户标识符是拥有该帐户的客户标识符。 但是,如果帐户是客户匹配的结果,则客户标识符是管理帐户的聚合器的标识符(如果帐户由聚合器管理);否则,标识符是拥有帐户的客户的标识符。
long
CustomerName 管理或拥有帐户的客户的名称。 string
PauseReason 指示暂停帐户的人员的标志值。 以下是可能的值:

1 - 用户暂停了帐户。

2 - 计费服务暂停了帐户。

4 - 用户和计费服务暂停了帐户。
unsignedByte

要求

服务: CustomerManagementService.svc v13
Namespace: https://bingads.microsoft.com/Customer/v13/Entities

使用者

FindAccountsOrCustomersInfo