How to pass this data given in below screenshot of asset group audience 
signal part or if you have any payload for the same. 
On Thursday, 21 August 2025 at 13:11:46 UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi Khushboo,
>
> Thank you for reaching out to the Google Ads API support team. 
>
> Kindly note that 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 
> <https://developers.google.com/google-ads/api/docs/remarketing/audiences> is 
> a reusable collection of focused segments, demographic targeting, and 
> exclusions. An AssetGroupSignal 
> <https://developers.google.com/google-ads/api/reference/rpc/v21/AssetGroupSignal>
>  lets 
> you specify which Audience is most likely to convert for your AssetGroup. I 
> would recommend you to refer to this documentation 
> <https://developers.google.com/google-ads/api/performance-max/asset-group-signals#audiences>
>  for 
> more detailed information. Firstly, you need to create the demographics 
> like age and gender using the AudiencesService 
> <https://developers.google.com/google-ads/api/reference/rpc/v21/AudienceService/MutateAudiences?transport=rest&apix=true>
>  method 
> then later you need to pass the audience to the AssetGroupSignalService 
> <https://developers.google.com/google-ads/api/reference/rpc/v21/AssetGroupSignal>
>  by 
> passing it in the AssetGroupSignals 
> <https://developers.google.com/google-ads/api/reference/rpc/v21/AssetGroupSignalService/MutateAssetGroupSignals?transport=rest&apix=true>
>  ​​​​​​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/v21/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 34",
>         "description": "audience group signal pmax campaigns3",
>         "scope": "ASSET_GROUP"
>       }
>     }
>   ]
> }
> *Response:
> ==========
> *HTTP/1.1 200 
> content-encoding: gzip
> content-length: 104
> content-type: application/json; charset=UTF-8
> date: Thu, 21 Aug 2025 06:08:29 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/v21/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/{audienceId}"
>         }
>       }
>     }
>   ]
> }*Response:
> ==========
> *HTTP/1.1 200 
> content-encoding: gzip
> content-length: 128
> content-type: application/json; charset=UTF-8
> date: Thu, 21 Aug 2025 06:10:27 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 
> AudiencesService 
> <https://developers.google.com/google-ads/api/reference/rpc/v21/AudienceService/MutateAudiences?transport=rest&apix=true>
>  method instead 
> you need to create them separately. Using the asset_group_signal 
> <https://developers.google.com/google-ads/api/fields/v21/asset_group_signal> 
> you can retrieve only the audience related information but it's not 
> possible to retrieve the demographics. If you want to retrieve the targeted 
> demographics to a particular asset group then you need to use the audience 
> <https://developers.google.com/google-ads/api/fields/v21/audience> 
> report. However, I am sharing with you the sample GAQL query as per your 
> requirement: 
>
>
> SELECT audience.dimensions, audience.id, audience.name, 
> audience.resource_name, audience.asset_group FROM audience 
> WHERE audience.id = {audienceId}
>
> You can use the search 
> <https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/Search?apix=true&transport=rest>
>  or searchStream 
> <https://developers.google.com/google-ads/api/reference/rpc/v21/GoogleAdsService/SearchStream?transport=rest&apix=true>
>  methods 
> in making the API calls while retrieving the data. Additionally, you can 
> utilize the Google Ads Query Builder 
> <https://developers.google.com/google-ads/api/fields/v21/overview_query_builder>
>  and Query Validator 
> <https://developers.google.com/google-ads/api/fields/v21/query_validator> to 
> build and validate the queries for retrieving the data from the Google Ads 
> API.
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
> Feedback
> How was our support today? 
>
> [image: rating1] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001u4pmRIAQ>
>   
>   [image: rating2] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001u4pmRIAQ>
>   
>   [image: rating3] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001u4pmRIAQ>
>   
>   [image: rating4] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001u4pmRIAQ>
>   
>   [image: rating5] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001u4pmRIAQ>
> [2025-08-21 07:41:01Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!500Ht01u4pmR:ref" (ADR-00330580)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/af79e8de-ca39-4fba-b3f0-c7b636f6bf10n%40googlegroups.com.
  • Go... khushboo
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... khushboo
      • ... khushboo

Reply via email to