Perfecto, it worked with this, just an annotation:

When i tried to set the end_time_type, using 

client.get_type(
        "TimeTypeEnum", version="v6"
    ).FOREVER

Does not work, it needs to be setted as a string "FOREVER", but the 
start_date_time does not work with "NOW", needs to be an int. Not sure if 
haveing one as an int, and the other as an String is the expected behavior, 
but may be a little confusing.

Thanks for your help, have a good day.

El martes, 16 de marzo de 2021 a las 13:12:16 UTC-6, adsapiforumadvisor 
escribió:

> Hello,
>
> That is odd. Have you tried setting the 
> https://developers.google.com/google-ads/api/reference/rpc/v6/BillingSetup#start_time_type
>  
> to NOW? That would make it where you don't need to calculate it, and our 
> server would do that at the time of the request. It would be similar to 
> this code example 
> https://developers.google.com/google-ads/api/docs/samples/add-account-budget-proposal#python
>  
> where we are setting the time to NOW for a budget proposal.
>
> Regards,
> Nadine, Google Ads API Team
>
> ref:_00D1U1174p._5004Q2Dui5Y: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/fd21d3dd-921b-4bda-a4b7-70dc1c9b6c6fn%40googlegroups.com.

Reply via email to