You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating customTargeting on lineitems return an googleads.errors.GoogleAdsServerFault: Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element ns0:children. error
#288
This looks like a bug due to the switch to the new SOAP library. It's not looking through for new values to instantiate when it gets a soap type vs a dictionary.
I'm working on a fix right now, but I'd suggest trying zeep.helpers.serialize_object on the returned objects before you mutate them to update.
Hello! I am trying to update some customTargeting on a lineitem via the API and I'm running into an
error:
googleads.errors.GoogleAdsServerFault: Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element ns0:children.
Just to double check, I ran your example located here:
https://github.com/googleads/googleads-python-lib/blob/master/examples/dfp/v201805/line_item_service/target_custom_criteria.py
and I ran into the exact same error. I am running the latest version of officially released package 12.0.0
Thank you!
The text was updated successfully, but these errors were encountered: