Hi, 

Yeah, i'm using that example, and here i only pasted the parte related to 
the date time, which is what marks the error, but my main function is 
something like this:

billing_setup = _create_billing_setup(
            client, customer_id, payments_account_id, payments_profile_id
        )
        _set_billing_setup_date_times(client, customer_id, billing_setup)
        print(billing_setup)
        billing_setup_operation = client.get_type(
            "BillingSetupOperation", version="v6"
        )
        billing_setup_operation.create.CopyFrom(billing_setup)
        billing_setup_service = client.get_service(
            "BillingSetupService", version="v6"
        )
        response = billing_setup_service.mutate_billing_setup(
            customer_id, billing_setup_operation
        )

The payment profile id is setted on the first line, then that setup is the 
one sended on the second one to set the date time, desgracefully i can't 
know which causes the error, since the log only marks: "The error code is 
not in this version." and the farteri can get is that message that it 
happened on the field start_time.
El viernes, 12 de marzo de 2021 a las 13:40:53 UTC-6, adsapiforumadvisor 
escribió:

> Hello,
>
> Thanks for reaching out. It looks like you are using the 
> add_billing_setup.py code example provided in the Python client library. I 
> do not see in your code a reference to the payment profile ID or payment 
> account ID, which is specified as arguments in the _create_billing_setup 
> method in the add_billing_setup sample. As these arguments are missing, it 
> seems likely that the error may be related to this. 
>
> Regards,
> Matt
> Google Ad API Team
>
> [image: Google Logo] 
> Matt 
> 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/c744dd8a-fdee-4e5d-86a2-8cc99c259e36n%40googlegroups.com.

Reply via email to