Hi, Yes, it's possible to set these demographic values (Gender and Age) in the signal audience of a PMax campaign using the Google Ads API. An Audience is a reusable collection of focused segments, demographic targeting, and exclusions. An AssetGroupSignal lets you specify which Audience is most likely to convert for your AssetGroup. I would recommend you to refer to this documentation for more detailed information. Firstly, you need to create the demographics like age and gender using the customers.audiences method then later you need to pass the audience to the AssetGroupSignal by passing it in the customers.assetGroupSignals method. However, I am sharing you the sample request and response logs for your reference:
Adding the demographics like 'Age', 'Gender' using the audiences method: ========================================================================== 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": [ { "age": { "ageRanges": [ { "maxAge": 64, "minAge": 18 } ] } } ], "assetGroup": "customers/{customerId}/assetGroups/{assetGroupId}", "name": "audience signal 2", "description": "audience group signal pmax campaigns", "scope": "ASSET_GROUP" } } ] } Response: ========== HTTP/1.1 200 content-encoding: gzip content-length: 106 content-type: application/json; charset=UTF-8 date: Mon, 24 Mar 2025 01:14:58 GMT server: ESF vary: Origin, X-Origin, Referer { "results": [ { "resourceName": "customers/{customerId}/audiences/{audienceId}" } ] } Adding the demographic audience ID to the assetGroupSignals method: ============================================================ Request Body: =============== POST https://googleads.googleapis.com/v19/customers/{customerId}/assetGroupSignals:mutate?key=[YOUR_API_KEY] HTTP/1.1 developer-token: ********************** Authorization: Bearer [YOUR_ACCESS_TOKEN] Accept: application/json Content-Type: application/json { "operations": [ { "create": { "assetGroup": "customers/{customerId}/assetGroups/{assetGroupId}", "audience": { "audience": "customers/{customerId}/audiences/{audience_id}" } } } ] } Response: ========== HTTP/1.1 200 content-encoding: gzip content-length: 129 content-type: application/json; charset=UTF-8 date: Mon, 24 Mar 2025 01:16:19 GMT server: ESF vary: Origin, X-Origin, Referer { "results": [ { "resourceName": "customers/{customerId}/assetGroupSignals/{assetGroupId}~{signal_id}" } ] } Note that I have added the Demographics for the 'Age' while creating the audiences. Similarly, you can create the 'Gender' demographic as well while creating the audiences using the Google Ads API. However, you should not include both the demographics 'Age' and 'Gender' using the customers.audiences method instead you need to create them separately. Thanks, Google Ads API Team Feedback How was our support today? [2025-03-24 03:00:37Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vHBpO:ref" (ADR-00295921) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/qMHKr000000000000000000000000000000000000000000000STLXP100gJHqIsa_T1uq3fJujB2omA%40sfdc.net.
