title | ms.service | ms.subservice | ms.topic | author | ms.author | description |
---|---|---|---|---|---|---|
AgeCriterion Data Object - Campaign Management |
bing-ads |
campaign-management-api |
article |
jonmeyers |
jonmeyers |
Defines a criterion that can be used to show ads to users in a specific age range. |
Defines a criterion that can be used to show ads to users in a specific age range.
The AgeCriterion criterion can be included within BiddableAdGroupCriterion, NegativeAdGroupCriterion, and BiddableCampaignCriterion objects. If ad group level age criterions are specified, the campaign level age criterions are ignored for that ad group. In other words the ad group age criterions override the campaign age criterions, and are not applied as a union.
[!INCLUDEtargeting-demographics]
<xs:complexType name="AgeCriterion" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexContent mixed="false">
<xs:extension base="tns:Criterion">
<xs:sequence>
<xs:element minOccurs="0" name="AgeRange" nillable="true" type="tns:AgeRange" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
The AgeCriterion object has the following elements: AgeRange.
Element | Description | Data Type |
---|---|---|
AgeRange | The age range of the people you want to see your ads. Add: Required Update: Not allowed. If you specify this element it must match the existing setting. |
AgeRange |
The AgeCriterion object has Inherited Elements.
The AgeCriterion object derives from the Criterion object, and inherits the following elements: Type. The descriptions below are specific to AgeCriterion, 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 Age when you retrieve an age criterion. For more information about criterion types, see the Criterion Data Object Remarks. Add: Read-only Update: Read-only |
string |
Service: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13