Hi,

Thanks for posting your concern to us. I had to delete your initial post as it 
contained your logs. I am reposting below without the sensitive log information 
for reference :

“Hello

When I try to add a UserInterest, I am getting the following error

61700784,  IsFault: 0, FaultMessage: "None"

Request made: Host: "googleads.googleapis.com", Method: 
"/google.ads.googleads.v7.services.CampaignCriterionService/MutateCampaignCriteria",
 CustomerId: 1861700784, RequestId: "ib6vx9wry5cy7LynWcrgiA", IsFault: 1, 
FaultMessage: "["Invalid user interest criterion."]"

-------

Method Name: 
/google.ads.googleads.v7.services.CampaignCriterionService/MutateCampaignCriteria

Host: googleads.googleapis.com

Request:

{"customerId":"1861700784","operations":[{"create":{"campaign":"customers\/1861700784\/campaigns\/15043066062","negative":true,"userInterest":{"userInterestCategory":"customers\/1861700784\/userInterests\/730"}}}]}

Response

-------

Fault

-------

Status code: 3

Details: Request contains an invalid argument.

Failure: 
{"errors":[{"errorCode":{"criterionError":"INVALID_USER_INTEREST"},"message":"Invalid
 user interest 
criterion.","trigger":{"int64Value":"730"},"location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"user_interest"},{"fieldName":"user_interest_category"}]}}],"requestId":"ib6vx9wry5cy7LynWcrgiA"}

Any Idea why?--

”

Upon checking the request body for a mutate of campaignCriteria, you’ve set 
invalid userInterest criterion. To resolve this issue, you may try to set the 
valid userInterest criterion. To get more information on user interest 
category, you may refer to this guide.

You may also refer to the following references to know the values that you can 
set for the user interest in the API request:

https://developers.google.com/google-ads/api/reference/data/codes-formats#expandable-1
https://developers.google.com/google-ads/api/reference/data/codes-formats#expandable-6


Hope this helps. Let us know if you have any further questions.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2QEgfP:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/uO112000000000000000000000000000000000000000000000R1IY2R000wxEcNN2T5ijOD9NcfVcaw%40sfdc.net.
  • Us... Binu Mathew
    • ... Binu Mathew
      • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
        • ... Binu Mathew
          • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
            • ... Binu Mathew
              • ... Binu Mathew
                • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to