WebpageCondition Data Object - Campaign Management

Defines a condition or criterion that helps determine whether you want to show dynamic search ads.

Syntax

<xs:complexType name="WebpageCondition" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="Argument" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Operand" type="tns:WebpageConditionOperand" />
    <xs:element minOccurs="0" name="Operator" nillable="true" type="tns:WebpageConditionOperator">
      <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>

Elements

The WebpageCondition object has the following elements: Argument, Operand, Operator.

Element Description Data Type
Argument The webpage condition or criterion. The condition is met if the webpage property that is referenced by the operand contains or equals the argument's value.

For example you can set this string to the URL, category, page title, or page content for your site.

Note: For Performance Max campaigns, you can only set argument to the URL.

Add: Required
Update: Not applicable. You cannot update the webpage conditions. To update the conditions you must delete the criterion and add a new criterion.
string
Operand The webpage condition operand.

Add: Required
Update: Not applicable. You cannot update the webpage conditions. To update the conditions you must delete the criterion and add a new criterion.
WebpageConditionOperand
Operator The webpage condition operator.

Add: Optional. Default operator is used when it is not defined. Operator is required only when you use Operand=URL and Operator = Equals
Update: Not applicable. You cannot update the webpage conditions. To update the conditions you must delete the criterion and add a new criterion.

Default values

URL/PageTitle/PageContent - Contains, Category/CustomLabel - Equals.

Supported values

URL - Contains/Equals, PageTitle/PageContent - Contains, CustomLabel/Category - Equals
WebpageConditionOperator

Requirements

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

Used By

WebpageParameter