Export (0) Print
Expand All
Expand Minimize

AdDistributionReportFilter Value Set

Defines the ad distribution medium values that you can use to filter the report data. These values are also used as column values in reports that include ad distribution, such as the account performance report.


<xs:simpleType name="AdDistributionReportFilter">
  <xs:list>
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="Search"/>
        <xs:enumeration value="Content"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:list>
</xs:simpleType>

Values

Value

Description

Content

The report will contain content ads.

Search

The report will contain search ads.

This value set is used as a set of flags. You can combine the values when setting an element of this type.

Examples

The following examples show how to specify the ad distribution type for a report filter. In each example, the AdDistribution element of KeywordPerformanceReportFilter is being set.

C#

// Search only.
objKeywordPerfReportRequest.AdDistribution = 
    AdDistributionReportFilter.Search;

// Content only.
objKeywordPerfReportRequest.AdDistribution = 
    AdDistributionReportFilter.Content;

// Both distribution mediums.
objKeywordPerfReportRequest.AdDistribution = 
    AdDistributionReportFilter.Search | 
    AdDistributionReportFilter.Content;

Java

// Search only.
String []distributions=new String[1];
distributions [0]="Search";
objKeywordPerfReportRequest.setAdDistribution(distributions);

// Content only.
String []distributions=new String[1];
distributions[0]="Content";
objKeywordPerfReportRequest.setAdDistribution(distributions);

// Both distribution mediums.
String []distributions=new String[2];
distributions[0]="Search";
distributions[1]="Content";
objKeywordPerfReportRequest.setAdDistribution(distributions);

PHP

// Search only.
"AdDistribution"  => 'Search'

// Content only.
"AdDistribution"  => 'Content'

// Both distribution mediums. Note that there is a space between Search and Content.
"AdDistribution"  => 'Search Content'

Requirements

ReportingService.svc v9

Namespace: https://bingads.microsoft.com/Reporting/v9

Community Additions

ADD
Show:
© 2014 Microsoft