Hi Peter,

well, since there are already more than 20 unanswered and unassigned open 
issues over there 
<https://github.com/googleads/google-ads-python/issues?q=is%3Aissue+is%3Aopen+sort%3Acreated-desc>,
 
(including one 17 days old of myself), I figured that they might be quite 
shorthanded currently - maybe because of the v6 rollout.

So I thought that even if no one of the Google Ads API Team, then maybe 
someone of the community here already found a solution to my issue.

I've already checked the python protobuf 
<https://googleapis.dev/python/protobuf/latest/> section and tried some new 
approches like

ad_group.target_cpa_micros.Clear("value")
(no error, no change)

... but with no luck.

I'm beginning to suspect that the problem might not be this line of code 
but instead somewhere in the field_mask part:

fm = protobuf_helpers.field_mask(None, ad_group)
ad_group_operation.update_mask.CopyFrom(fm)

I've already googled and found a (3rd party?) "documentation" to the 
protobuf_helpers.field_mask 
<https://www.kite.com/python/docs/google.api_core.protobuf_helpers.field_mask>, 
but still I can't see any issues there.

As it seems, as soon as the ad_group.target_cpa_micros.value ist empty, 0 
or cleared, the field_name is missing in the field_mask and therefore no 
changes are made.
Maybe there's a bug in the protobuf_helper.
I'd like to see the source code of the protobuf_helpers.field_mask to 
check, how the two values are compared, but I couldn't find it. Do you have 
a link for me?

Regards
Mat





adsapiforumadvisor schrieb am Freitag, 6. November 2020 um 08:04:48 UTC+1:

> Hi Mat,
>
> Thank you for your follow up.
>
> Since your concern is now more related on how to implement the bid updates 
> using Python, I would recommend that you reach out to the Python client 
> library owners instead as they are the more appropriate team to provide 
> guidance.
>
> You can reach them via their Github link 
> <https://github.com/googleads/google-ads-python/issues>. I hope this 
> helps.
>
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2777tv: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 [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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/476af97b-9e5f-4178-b587-eb2009834ee6n%40googlegroups.com.

Reply via email to