Upload Click Conversions - Missing Data

122 views
Skip to first unread message

Kyle Vorster

unread,
Jan 27, 2022, 8:34:29 AM1/27/22
to Google Ads API and AdWords API Forum
Hey there,

We're using the API (V8) to upload click conversions from our CRM system. There's a difference between the amount that's reported on the interface and the amount we've uploaded.

For example, if we send 10 and the API returns that all 10 was sucessfully uploaded, the web interface would return only 3.4 conversions for WEBPAGE was uploaded. 

I've checked the numbers after a couple days as well to make sure there's no delay (48 hours that it takes to upload) and that's why the numbers don't match.

We're sending the GCLID and a custom ORDER_ID to the API but there's no way to get any reports from the API that we can use as a recon afterwords that will show the GCLID and ORDER_ID.

I hope the above makes sense and that someone would be willing to assist.

- Kyle

Google Ads API Forum Advisor

unread,
Jan 27, 2022, 3:11:18 PM1/27/22
to ky...@offsight.co.za, adwor...@googlegroups.com
Hi Kyle,

Thank you for reaching out to Google Ads API support. Note that uploaded conversions will be reflected in reports for the impression date of the original click, not the date of the upload request or the date of the conversion_date_time of the ClickConversion. If the above doesn't help you can you privately send us a full log of a conversion upload to the API that didn't reflect in the UI along with a full screen screenshot of the missing data in the UI?

If you are using the Ads API, the request and response appears similar to the JSON Mappings in our REST documentation. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging".

If you are using the AdWords API , then a request looks like the 3rd section in request and a response looks similar to response. Logging instructions are in the read.me on Github of each client library.

The requested logs can be generated when setting the log level to 'DEBUG'.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2VQ4EA:ref

Kyle Vorster

unread,
Jan 28, 2022, 4:50:09 AM1/28/22
to Google Ads API and AdWords API Forum
Hey Aryeh,

Thank you for your response. Before I contact you directly, I would just like to find out how I can enable logging. I've followed the online guide but nothing is being logged. 

Here's a simplied copy of my code in PHP.

<?php

use Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder;
use Google\Ads\GoogleAds\Lib\OAuth2TokenBuilder;
use Monolog\Logger;
use Monolog\Handler\StreamHandler;

$client_id = '';
$client_secret = '';
$developer_token = '';
$login_customer_id = '';
$refreshToken = '';

$log_path = '/var/www/logs/google.log';

$log = new Logger('google-ads', [
new StreamHandler($log_path, Logger::DEBUG)
]);

$token_builder = (new OAuth2TokenBuilder)
->withClientId($client_id)
->withClientSecret($client_secret)
->withRefreshToken($refreshToken)->build();

$client = (new GoogleAdsClientBuilder())
->withDeveloperToken($developer_token)
->withLoginCustomerId($login_customer_id)
->withOAuth2Credential($token_builder)
->withLogger($log)
->withLogLevel('DEBUG')
->build();

$service_client = $client->getConversionUploadServiceClient();

$conversions = [];

$service_client->uploadClickConversions($login_customer_id, $conversions, true, [
'validateOnly' => false
]);

Hope someone can help.
Kyle

Google Ads API Forum Advisor

unread,
Jan 28, 2022, 1:19:36 PM1/28/22
to ky...@offsight.co.za, adwor...@googlegroups.com
Hi Kyle,

If this logging guide didn't help you get the log you may want to reach out to the issue tracker for assistance. After capturing the logs with log level set to 'DEBUG', could you privately send the uploaded click conversions request to us?
Reply all
Reply to author
Forward
0 new messages