Edit

AISearchSetting Data Object - Campaign Management

Defines AI Max settings for a Search campaign. AISearchSetting is the V13 contract name for AI Max. For an end-to-end setup guide, see AI Max Campaigns.

Syntax

<xs:complexType name="AISearchSetting" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:Setting">
      <xs:sequence>
        <xs:element minOccurs="0" name="AISearchEnabled" type="xs:boolean" />
        <xs:element minOccurs="0" name="AutoGeneratedImageOptOut" nillable="true" type="xs:boolean" />
        <xs:element minOccurs="0" name="AutoGeneratedTextOptOut" nillable="true" type="xs:boolean" />
        <xs:element minOccurs="0" name="FinalUrlExpansionOptOut" nillable="true" type="xs:boolean" />
        <xs:element minOccurs="0" name="PageFeedIds" nillable="true" type="q9:ArrayOflong" xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <xs:annotation>
            <xs:appinfo>
              <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
            </xs:appinfo>
          </xs:annotation>
        </xs:element>
        <xs:element minOccurs="0" name="SearchTermMatchingOptOut" nillable="true" type="xs:boolean" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

Elements

The AISearchSetting object has the following elements: AISearchEnabled, AutoGeneratedImageOptOut, AutoGeneratedTextOptOut, FinalUrlExpansionOptOut, PageFeedIds, SearchTermMatchingOptOut.

Element Description Data Type
AISearchEnabled Determines whether AI Max is enabled. If false, all child features are opted out.

Add: Optional
Update: Optional. If set to false, all child opt-outs are set to true.
boolean
AutoGeneratedImageOptOut Determines whether to opt out of auto-generated images. Set to false to enable image generation. Separate account eligibility is required.

Add: Optional. The default is true.
Update: Optional. If omitted, the current value is preserved.
boolean
AutoGeneratedTextOptOut Determines whether to opt out of auto-generated text. This value is synchronized with ResponsiveSearchAdsSetting.AutoGeneratedAssetsEnabled.

Add: Optional. The default is true.
Update: Optional. If omitted, the current value is preserved.
boolean
FinalUrlExpansionOptOut Determines whether to opt out of final URL expansion. Set to false to enable expansion. Auto-generated text must also be enabled, and the campaign must use an eligible bid strategy.

Add: Optional. The default is true.
Update: Optional. If omitted, the current value is preserved.
boolean
PageFeedIds The unique page feed identifiers to associate with AI Max. You can specify at most 20 IDs.

Add: Optional
Update: Optional. If omitted or empty, the current associations are preserved.
long array
SearchTermMatchingOptOut Determines whether to opt out of search term matching. Set to false to enable search term matching. The campaign must use an eligible bid strategy.

Add: Optional. The default is true.
Update: Optional. If omitted, the current value is preserved.
boolean

The AISearchSetting object has Inherited Elements.

Inherited Elements

Inherited Elements from Setting

The AISearchSetting object derives from the Setting object, and inherits the following elements: Type. The descriptions below are specific to AISearchSetting, and might not apply to other objects that inherit the same elements from the Setting object.

Element Description Data Type
Type The type of setting.

For more information, see Setting Data Object Remarks.
string

Remarks

AI Max is supported only for Search campaigns and is subject to account eligibility. The AISearchEnabled element is the parent switch. When it is false, final URL expansion, auto-generated text, auto-generated images, and search term matching are all opted out.

AutoGeneratedTextOptOut and ResponsiveSearchAdsSetting.AutoGeneratedAssetsEnabled represent opposite forms of the same text-generation setting. If both are supplied, AutoGeneratedTextOptOut takes precedence. Enabling responsive search ad auto-generated assets, or setting AutoGeneratedTextOptOut to false, enables AI Max if necessary. Disabling responsive search ad auto-generated assets opts out of text generation but does not disable AI Max.

Auto-generated images require separate account eligibility. Page feeds and AI Max URL inclusions also require account eligibility. You can associate at most 20 unique page feed IDs. On update, omitting PageFeedIds or supplying an empty list preserves the current associations.

For AI Max URL inclusion rules, see BiddableAdGroupCriterion Webpage Usage. For brand inclusion requirements, see SharedEntityAssociation.

The following AI Max-specific errors can be returned.

Code Error Description
6901 AccountNotEnabledForAIMax The account is not eligible for AI Max.
6902 InvalidAIMaxSettings The parent and child settings are inconsistent, or URL expansion is enabled while auto-generated text is opted out.
6903 AccountNotEnabledForAIMaxImage The account is not eligible for AI Max image generation.
6906 AccountNotEnabledForAIMaxUrlInclusion The account is not eligible for AI Max URL inclusions or page feeds.

Requirements

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