Migration version API error cannot use a string pattern on a bytes-like object

65 views
Skip to first unread message

fabrice.b...@ysance.com

unread,
Jun 11, 2018, 4:55:28 AM6/11/18
to AdWords API and Google Ads API Forum
Bonjour,

Nous utilisons la version v201710 de l'api Adwords.

Nous souhaitons passer à la version v201802 mais nous rencontrons un problème bloquant.

Nous faisons :
service = client.GetService('CustomerService', version='v201802')

Puis nous faison:
accounts = service.getCustomers()

Et la nous avons cette erreur:
cannot use a string pattern on a bytes-like object'

Cela fait plusieurs jours que je suis sur ce problème et je n'ai toujours pas trouvé de solution.

Dans l'attente de votre retour.

Cordialement.


Bharani Cherukuri (AdWords API Team)

unread,
Jun 11, 2018, 10:55:11 AM6/11/18
to AdWords API and Google Ads API Forum
Hello Fabrice, 

The "cannot use a string pattern on a bytes-like object" could be a warning thrown by the client library where the byte conversion is not taking place correctly. You may refer to this Stack Overflow post which might be helpful for you. If you continue to have an issue with this, you can post your concern on the Python Github issue tracker and the library owners will be able to take a look.

Thanks,
Bharani, AdWords API Team
Reply all
Reply to author
Forward
0 new messages