Edit

TopicCriterion Data Object - Campaign Management

Defines a criterion that can be used to show ads to users by a specific topic.

Syntax

<xs:complexType name="TopicCriterion" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:Criterion">
      <xs:sequence>
        <xs:element minOccurs="0" name="TopicId" type="xs:long" />
        <xs:element minOccurs="0" name="TopicName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

Elements

The TopicCriterion object has the following elements: TopicId, TopicName.

Element Description Data Type
TopicId The ID of the topic. Possible values include:

  • 1: Games
  • 2: Shopping
  • 3: Business & Industrial
  • 4: Sports
  • 5: Home & Garden
  • 6: News
  • 7: Travel & Transportation
  • 8: Finance
  • 9: Health
  • 10: Jobs & Education
  • 11: Arts & Entertainment
  • 12: Autos & Vehicles
  • 13: Computers & Electronics
  • 14: Real Estate
  • 15: Hobbies & Leisure
  • 16: Beauty & Fitness
  • 17: Internet & Telecom
  • 18: Books & Literature
  • 19: Law & Government
  • 20: Food & Drink
  • 21: People & Society
  • 22: Online Communities
  • 23: Science
  • 24: Pets & Animals
  • 25: Reference
  • 26: World Localities
long
TopicName The name of the topic. string

The TopicCriterion object has Inherited Elements.

Inherited Elements

Inherited Elements from Criterion

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

Element Description Data Type
Type The type of the criterion. This value is Topic when you retrieve a topic criterion. For more information about criterion types, see the Criterion Data Object Remarks.

Add: Read-only
Update: Read-only
string

Requirements

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