AdGroupNegativeSites Data Object - Campaign Management

Defines an object that contains the negative site URLs of an ad group.


<xs:complexType name="AdGroupNegativeSites" xmlns:xs="">
    <xs:element minOccurs="0" name="AdGroupId" type="xs:long" />
    <xs:element minOccurs="0" name="NegativeSites" nillable="true" type="q22:ArrayOfstring" xmlns:q22="" />


Element Description Data Type
AdGroupId The identifier of the ad group to which the negative site URLs belong. long
NegativeSites A list of URLs of the websites on which you do not want your ads displayed. You can specify a maximum of 2,500 URLs. Each URL must specify the domain name e.g., which can include up to three subdomains and two subdirectories. The subdomain count includes the www prefix. For example,, and are valid URLs, whereas (too many subdomains) and (too many subdirectories) are not. Duplicate URLs in the list are not added.

You can only exclude websites for syndicated search websites. The ad group's network must be set to either OwnedAndOperatedAndSyndicatedSearch or SyndicatedSearchOnly. For more information about network distribution, see Network.

Negative site URLs specified at the ad group level are used instead of any negative site URLs specified at the campaign level.

To remove all negative site URLs of the ad group, set this element to null.
string array


Service: CampaignManagementService.svc v13

Used By