Edit

Share via


Site Data Object - Campaign Management

Defines a data object for adding a site to an inclusion list.

Syntax

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

Elements

The Site object has the following elements: Id, Url.

Element Description Data Type
Id The unique Microsoft Advertising identifier of the site.

Add: Read-only
Update: Required
long
Url The URL of the site. string

The Site object has Inherited Elements.

Inherited Elements

Inherited Elements from SharedListItem

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

Element Description Data Type
ForwardCompatibilityMap The list of key and value strings for forward compatibility to avoid otherwise breaking changes when new elements are added in the current API version.

Forward compatibility changes will be noted here in future releases. There are currently no forward compatibility changes for this object.
KeyValuePairOfstringstring array
Type The type of the site.

This value is NegativeKeywordList when you retrieve an Negative Keyword List. This value is AccountPlacementInclusionList when you retrieve a AccountPlacementInclusionList.
string

Requirements

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