HI, i would appreciate if anyone can pitch in for help.

I'm using PHP Adwords API to upload Offline Call Conversion to Ad Account 
automatically.  I confirmed that the phone numbers WHEN manually uploaded  
via xls sheet is working.  But if i try to upload it programatically via 
this code snippet:

                $feed = new OfflineCallConversionFeed();
                $feed->setCallerId($callerId);
                $feed->setConversionName($conversionName);
                //$feed->setConversionTime($conversionTime);
                $feed->setCallStartTime($conversionTime);
                $feed->setConversionValue($conversionValue);
                
                $offlineCallConversionOperation = new 
OfflineCallConversionFeedOperation();
                $offlineCallConversionOperation->setOperator(Operator::ADD);
                $offlineCallConversionOperation->setOperand($feed);
                
                $offlineCallConversionOperations[] = 
$offlineCallConversionOperation;

                $result = 
$offlineCallConversionService->mutate($offlineCallConversionOperations);

it does not work, i was just getting an API ERROR: INVALID_CALL

I already confirmed that the conversionName has the correct value, 
conversionTime is with the correct format and timezone.  Caller ID is the 
10 digit US number.


Can anyone answer why that is happening?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c42d34cc-0c3e-40fa-a7dc-6b8f6c4bba33o%40googlegroups.com.

Reply via email to