Creating a copy of Campaign when I'm creating the criterion I recibe the error "Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element ns1:lhsOperand."

18 views
Skip to first unread message

Raul Pinedo

unread,
May 25, 2018, 6:21:49 AM5/25/18
to AdWords API and Google Ads API Forum
Hi

I'm creating a copy of a campaign that I had, but when I'm creating the criterion for the campaign I get this error, Do you know why this could be?

I'm using the PHP Libs.

"google/apiclient": "^2.2",
"googleads/googleads-php-lib": "^33.1",


The error is: Unmarshalling Error: cvc-type.2: The type definition cannot be abstract for element ns1:lhsOperand.


Thank you for your answer.


Dhanya Sundararaju (AdWords API Team)

unread,
May 25, 2018, 1:33:08 PM5/25/18
to AdWords API and Google Ads API Forum
Hi Raul,

Could you please reply back with client customer id, complete error logs and code snippets if possible, so that we can troubleshoot further?

Regards,
Dhanya, AdWords API Team

Raul Pinedo

unread,
Jun 4, 2018, 9:34:02 PM6/4/18
to AdWords API and Google Ads API Forum
thnks Dhanya I already found the error, it was my mistake, because I send a null instead of an array for a property object. 
Reply all
Reply to author
Forward
0 new messages