Hi,
Kindly note that its not possible to add the detailed demographics to the display campaigns either campaign level or adGroup level. However, you can add detailed demographics to the demand gen campaigns using the Google Ads API. As stated in
this section of the guide, if you are using demand gen campaigns, can you try creating another AdGroup, this time set the
use_audience_grouped to true upon creation of the AdGroup record. You may follow the steps in
this guide for adding audience ad group criterion for Demand gen campaigns. Demand gen campaign uses AdGroupCriterion to target audiences. However, I am sharing you sample request and response logs to add detailed demographics to the Demand Gen campaigns using the Google Ads API:
Request Body:
==============
POST https://googleads.googleapis.com/v19/customers/{customerId}/audiences:mutate?key=[YOUR_API_KEY] HTTP/1.1
developer-token: **********************
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json
{
"operations": [
{
"create": {
"dimensions": [
{
"audienceSegments": {
"segments": [
{
"detailedDemographic": {
"detailedDemographic": "customers/{customerId}/detailedDemographics/30032" //Sample criterion ID
}
}
]
}
}
],
"name": "audience 2"
}
}
]
}
Response:
===========
HTTP/1.1 200
content-encoding: gzip
content-length: 106
content-type: application/json; charset=UTF-8
date: Fri, 18 Apr 2025 22:55:01 GMT
server: ESF
vary: Origin, X-Origin, Referer
{
"results": [
{
"resourceName": "customers/{customerId}/audiences/{audienceId}"
}
]
}
The you need to use the adGroupCriteria method and attach that detailed demographic audience using the Google Ads API:
Request Body:
===============
POST https://googleads.googleapis.com/v19/customers/{customerId}/adGroupCriteria:mutate?key=[YOUR_API_KEY] HTTP/1.1
developer-token: **********************
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json
{
"operations": [
{
"create": {
"adGroup": "customers/{customerId}/adGroups/{adGroupId}",
"audience": {
"audience": "customers/{customerId}/audiences/{audienceId}"
}
}
}
]
}
Response:
===========
HTTP/1.1 200
content-encoding: gzip
content-length: 129
content-type: application/json; charset=UTF-8
date: Fri, 18 Apr 2025 23:10:26 GMT
server: ESF
vary: Origin, X-Origin, Referer
{
"results": [
{
"resourceName": "customers/{customerId}/adGroupCriteria/{adGroupId}~{adGroupCriterionId}"
}
]
}
Note that this approach only supports the demand gen campaign but this doesn't support the display campaigns as per your requirement.