CampaignAdGroupIds 数据对象 - 市场活动管理

标识市场活动及其要导入的广告组列表。

语法

<xs:complexType name="CampaignAdGroupIds" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="ActiveAdGroupsOnly" nillable="true" type="xs:boolean">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:element xmlns:q144="http://schemas.microsoft.com/2003/10/Serialization/Arrays" name="AdGroupIds" nillable="true" type="q144:ArrayOflong" />
    <xs:element name="CampaignId" type="xs:long" />
  </xs:sequence>
</xs:complexType>

元素

CampaignAdGroupIds 对象具有以下元素:ActiveAdGroupsOnlyAdGroupIdsCampaignId

元素 说明 数据类型
ActiveAdGroupsOnly 确定是包含暂停的广告组还是仅导入活动广告组。

默认情况下不返回此元素。 若要获取此元素,请在调用 GetImportJobsByIdsGetImportResults 服务操作时,在 ReturnAdditionalFields 元素中包含 ActiveAdGroupsOnly 值。

如果此元素 为 true 且未设置 AdGroupId, 则仅导入市场活动中的活动广告组。 不会导入已暂停的广告组。

如果此元素为 false 或空,则将导入市场活动的所有广告组。

如果在 AdGroupIds 元素中选择了特定广告组,则忽略此元素。
boolean
AdGroupIds 标识要在市场活动中导入的特定广告组的列表。

如果此元素为零或空,请包括市场活动的所有广告组。 ActiveAdGroupsOnly 元素确定是包含暂停的广告组还是仅导入活动广告组。
long 数组
CampaignId 标识要导入的活动。 long

要求

服务: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13

使用者

GoogleImportJob