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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/648db932-8c95-45f1-942c-27096f595119%40googlegroups.com.

Reply via email to