Hi,
I am trying to process offline conversions. I pull the records from my DB
and then loop them...
foreach ($conversions as $conversion) {
$gclid = $conversion["gclid"];
$convDate = date("Ymd", strtotime($conversion["date"])). " 125959
-06:00";
$convValue = isset($conversion["value"]) ? $conversion["value"] : 0;
$offlineConversion = new OfflineConversionFeed($gclid, $conversionName,
$convDate, $convValue);
$operations[] = new OfflineConversionFeedOperation($offlineConversion,
"ADD");
}
$output = $offlineConversionService->mutate($operations);
return $output;
In case you are wondering, I just have the date (YYYY-MM-DD), so I am
faking the time. When I run this I get this:
An uncaught Exception was encountered
Type: SoapFault
Message: [OfflineConversionError.EXPIRED_CLICK @ operations[0].operand,
OfflineConversionError.CONVERSION_PRECEDES_CLICK @ operations[1].operand,
OfflineConversionError.EXPIRED_CLICK @ operations[4].operand,
OfflineConversionError.EXPIRED_CLICK @ operations[6].operand,
OfflineConversionError.EXPIRED_CLICK @ operations[5].operand,
OfflineConversionError.EXPIRED_CLICK @ operations[3].operand,
OfflineConversionError.EXPIRED_CLICK @ operations[2].operand]
I would like to mark these records as processed in my DB, so I am trying to
figure out how to get the result of each Conversion ADD so I cam mark it as
completed, or log the error. Help!
Thanks in advance for any help.
T
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/4a3b9834-65ae-48a5-93ea-78be2d45e1b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.