Cannot Mutate Ad Group Criterion - Regs

121 views
Skip to first unread message

Osoftz Tech

unread,
Mar 27, 2021, 8:09:11 AM3/27/21
to AdWords API and Google Ads API Forum
Hi Google Team,

        I'm trying to add user_interest criterion on ad group level, but i cannot mutate it.
I keep getting following error - "TypeError: Parameter to MergeFrom() must be instance of same class: expected google.ads.googleads.v5.services.AdGroupCriterionOperation got google.ads.googleads.v5.resources.AdGroupCriterion"

 I have attached my code and request id.


add_userinterest.py

Google Ads API Forum Advisor Prod

unread,
Mar 29, 2021, 2:43:45 AM3/29/21
to osoftz...@gmail.com, adwor...@googlegroups.com
Hi,

To have a deeper analysis to this issue, could you provide the complete request and response logs with request ID generated on your end via Reply privately to author option?

If you haven't enabled the logging of API transactions, then you may follow this guide.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2EnjyS:ref

Osoftz Tech

unread,
Mar 30, 2021, 7:27:04 AM3/30/21
to AdWords API and Google Ads API Forum
Since, I don't have the option enabled, I continue to reply in this mail thread.
I have attached a file containing request and response log.

Google ads error.txt
Reply all
Reply to author
Forward
0 new messages