Hello,
We are using adwords PHP library for uploading bid adjustment for keywords to adwords server. For this we are using "BiddableAdGroupCriterion" service.
We have some keywords which have the same keywordId (criteriaId), adwordsID and campaignID. They are distinguished ONLY in capitalization. Here is an example. We have "group therapy" and "Group Therapy". When we try to upload bids for those keywords, we are getting this error :
PHP Fatal error: Uncaught Google\\AdsApi\\AdWords\\v201809\\cm\\ApiException: [DistinctError.DUPLICATE_ELEMENT @ operations[37], DistinctError.DUPLICATE_ELEMENT @ operations[44], DistinctError.DUPLICATE_ELEMENT @ operations[82], DistinctError.DUPLICATE_ELEMENT @ operations[84]] in /var/www/html/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43\nStack trace:\n#0 /var/www/html/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43): ReflectionClass->newInstanceArgs(Array)\n#1 /var/www/html/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(202): Google\\AdsApi\\Common\\Util\\Reflection->createInstance('Google\\\\AdsApi\\\\A...', Array)\n#2 /var/www/html/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164): Google\\AdsApi\\Common\\AdsSoapClient->parseApiExceptionFromSoapFault(Object(SoapFault))\n#3 /var/www/html/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201809/cm/AdGroupCriterionService.php(198): Google\\AdsApi\\Com in /var/www/html/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php on line 43
Can you suggest any way so that we can also upload bids for these keywords without getting any error?
Regards,
Hari