Offline conversion

47 views
Skip to first unread message

Maxime

unread,
Oct 13, 2015, 9:01:41 AM10/13/15
to AdWords API Forum
Hi,

I try to user OfflineConversionFeed, my code seems to work (no error) but there is no display on adwords, I search on group but each post have'nt the solution.
Can you help me ?

Best Regards.

My code :

$offlineConversionService = $user->GetService("OfflineConversionFeedService", ADWORDS_VERSION);
$operations = array();
foreach($conversionData as $obj)
{
    $offlineConversion = new OfflineConversionFeed($obj->{'Google Click Id'}, $obj->{'Conversion Name'}, $obj->{'Conversion Time'}, $obj->{'Conversion Value'}, $obj->{'Conversion Currency'});
    $operations[] = new OfflineConversionFeedOperation($offlineConversion, "ADD");
}
$result = $offlineConversionService->mutate($operations);
print_r($result);

Give the result object
--
OfflineConversionFeedReturnValue Object
(
    [value] => Array
        (
            [0] => OfflineConversionFeed Object
                (
                    [googleClickId] => ***
                    [conversionName] => Paiement
                    [conversionTime] => 20151008 000000 +00:00
                    [conversionValue] => 736
                    [conversionCurrencyCode] => EUR
                )

            [1] => OfflineConversionFeed Object
                (
                    [googleClickId] => ***
                    [conversionName] => Paiement
                    [conversionTime] => 20151009 000000 +00:00
                    [conversionValue] => 536
                    [conversionCurrencyCode] => EUR
                )

            [2] => OfflineConversionFeed Object
                (
                    [googleClickId] => ***
                    [conversionName] => Paiement
                    [conversionTime] => 20151009 000000 +00:00
                    [conversionValue] => 736
                    [conversionCurrencyCode] => EUR
                )

            [3] => OfflineConversionFeed Object
                (
                    [googleClickId] => ***
                    [conversionName] => Paiement
                    [conversionTime] => 20151008 000000 +00:00
                    [conversionValue] => 448
                    [conversionCurrencyCode] => EUR
                )

            [4] => OfflineConversionFeed Object
                (
                    [googleClickId] => ***
                    [conversionName] => Paiement
                    [conversionTime] => 20151008 000000 +00:00
                    [conversionValue] => 448
                    [conversionCurrencyCode] => EUR
                )

            [5] => OfflineConversionFeed Object
                (
                    [googleClickId] => ***
                    [conversionName] => Paiement
                    [conversionTime] => 20151009 000000 +00:00
                    [conversionValue] => 352
                    [conversionCurrencyCode] => EUR
                )

            [6] => OfflineConversionFeed Object
                (
                    [googleClickId] => ***
                    [conversionName] => Paiement
                    [conversionTime] => 20151009 000000 +00:00
                    [conversionValue] => 448
                    [conversionCurrencyCode] => EUR
                )

        )

    [partialFailureErrors] => 
    [ListReturnValueType] => OfflineConversionFeedReturnValue
    [_parameterMap:ListReturnValue:private] => Array
        (
            [ListReturnValue.Type] => ListReturnValueType
        )

)

Umesh Dengale

unread,
Oct 13, 2015, 2:59:31 PM10/13/15
to AdWords API Forum
Hello,

Have you waited three hours before checking offline conversions in the AdWords?  It takes up to three hours for imported conversions statistics to show up in your AdWords account. Please make sure you set the timezone Id while setting up conversionTime and check validation rules for offline conversion. 

If you waited for three hours before checking the conversions in the AdWords then please provide me privately the clientCustomerId. Just click Reply privately to author in the forum when responding. Don't forget to remove the developer token and client customer ID in the output.

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