BatchJobDelegate v201809 using deprecated Symfony version

15 views
Skip to first unread message

Andjel Boskovic

unread,
May 21, 2019, 11:13:40 AM5/21/19
to AdWords API and Google Ads API Forum
Hello,

I'm using function BatchJobs to upload Ad Customizer Feed updates and I'me receiving the following error in my server log:

2019-05-21 08:10:27 --> Severity: 16384 --> Passing configuration options directly to the constructor is deprecated since Symfony 4.2, use the default context instead. /var/www/prod/vendor/symfony/serializer/Encoder/XmlEncoder.php 80
I've managed to trace the error back to

File: v201809/BatchJobsDelegate

121  $this->batchJobSerializer = new Serializer(
122 [$adWordsNormalizer, new ArrayDenormalizer()],
123 [new XmlEncoder('ns1:mutate')]
124 );

Line 123 ^^^

Since the version of Symfony is dependent on the one defined in composer.json how do you suggest I approach solving the issue?

Thanks in advance,
Andjel

Google Ads API Forum Advisor Prod

unread,
May 21, 2019, 5:15:47 PM5/21/19
to andjel....@fishingbooker.com, adwor...@googlegroups.com
Hello Andjei,

Looks like the concern is related to the PHP client library. I recommend you to create a new issue on the issue tracker from here . Our client library owners are better equipped to answer this concern.

Regards,
Sai Teja, Google Ads API Team

ref:_00D1U1174p._5001UAqF83:ref
Reply all
Reply to author
Forward
0 new messages