I can't find information about getting interests

71 views
Skip to first unread message

Marlon Gómez

unread,
Mar 21, 2025, 9:37:15 AM3/21/25
to Google Ads API and AdWords API Forum
Hello Google Team

I am integrating Performance Max Campaigns creation into my application. I am currently in the audience signal part, more specifically in the “Interests & Detailed Demographics” section regarding the Google Ads UI.

Unfortunately I can't find the documentation or the endpoint to get this list of interests / or search for them from a word.

Could you help me with this information? 

Google Ads API Forum Advisor

unread,
Mar 21, 2025, 1:00:11 PM3/21/25
to marlo...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to the Google Ads API support team.

The Google Ads API currently doesn't support getting the detailed demographics and interests. I will raise a request for this feature to become available in the Google Ads API. We cannot provide a scheduled timeline for the availability of this feature in the Google Ads API. I would recommend you to follow our Blog Post and Release Notes for future updates.

I hope this clarifies.

 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-03-21 16:59:23Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vHBpO:ref" (ADR-00295921)



Marlon Gómez

unread,
Mar 21, 2025, 5:56:56 PM3/21/25
to Google Ads API and AdWords API Forum
I understand,

Is it possible from the api to set these demographic values in the signal audience of a pmax campaign?
Screenshot 2025-03-21 160352.png

Google Ads API Forum Advisor

unread,
Mar 23, 2025, 11:01:39 PM3/23/25
to marlo...@gmail.com, adwor...@googlegroups.com
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 Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-24 03:00:37Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vHBpO:ref" (ADR-00295921)



Reply all
Reply to author
Forward
0 new messages