Hello,

I am attempting to add a user interest ad group criteria to an existing ad 
group. I am retrieving user interests with the following query:
const query = `
      SELECT 
        user_interest.resource_name,
        user_interest.taxonomy_type,
        user_interest.user_interest_id,
        user_interest.name,
        user_interest.user_interest_parent
      FROM user_interest
      WHERE user_interest.launched_to_all = true
      ORDER BY user_interest.taxonomy_type ASC, user_interest.name ASC
    `;
This ensures returned user interests are available on all channels and 
locales. 

Despite this, when adding the criteria with attached user interest resource 
name, I get error: INVALID_USER_INTEREST. Similar threads point to the need 
of ensuring launched_to_all being true, so now I am out of ideas. 

One thing I have noticed is that the user interests in the Google Ads 
Dashboard under audiences does not have any overlap with the list returned 
from my user_interest query. The dashboards shows much less (maybe 20-30) 
whereas the query returns over 2000.

Any information would be greatly appreciated.

"errors": [
{
"error_code": {
"criterion_error": "INVALID_USER_INTEREST"
},
"message": "Invalid user interest criterion.",
"trigger": {
"int64_value": "1032"
},
"location": {
"field_path_elements": [
{
"field_name": "operations",
"index": 8
},
{
"field_name": "create"
},
{
"field_name": "user_interest"
},
{
"field_name": "user_interest_category"
}
]
}
}

where 1032 corresponds to
    {
      "resource_name": "customers/5790744596/userInterests/1032",
      "id": "1032",
      "name": "South Asian Music",
      "category": "interests",
      "parent": "customers/5790744596/userInterests/593"
  }

I am attaching the resource_name to the user_interest_category argument.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1bcbdc2c-29c0-4611-8348-cd35cc666e52n%40googlegroups.com.
  • Ad... Finn Innes
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to