Problem when uploading an offline conversion.

29 views
Skip to first unread message

walt white

unread,
Feb 11, 2022, 2:41:11 PM2/11/22
to Google Ads API and AdWords API Forum
Hello, google api team, 

According to the documentation, this should be in the code
request.conversions=[click_conversion]
but, if i use this i'm getting this error:
AttributeError: Assignment not allowed to repeated field "conversions" in protocol message object.

And if i use this instead, 
request.conversions.append(click_conversion)
The conversions are going through, but i have some other issues in that, like my repeat_rate is going up, but there isn't any change in conversions.

Are these related? if yes then how do i solve these issues?

Thanks in advance,
W.W.

Google Ads API Forum Advisor

unread,
Feb 14, 2022, 4:55:11 AM2/14/22
to wwal...@gmail.com, adwor...@googlegroups.com

Hello W.W,

Thank you for raising this concern to Google Ads API Team.

Would you be able to provide the documentation that you are referring to in your post? As
for "AttributeError: Assignment not allowed to repeated field "conversions" in protocol message object.", to take a closer look at this error, could you provide more context to repeat_rate and specify what client library you are using? It would be helpful in our investigation if you can also provide the complete request and response logs with the request-id generated on your end where we can see the error.

You can send it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com alias instead.

Best regards,

Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W6Xn4:ref
Reply all
Reply to author
Forward
0 new messages