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 On Thursday, 27 January 2022 at 22:11:18 UTC+2 adsapi wrote: > 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 > <https://developers.google.com/google-ads/api/reference/rpc/v9/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 > <https://developers.google.com/google-ads/api/docs/start>, the request > and response appears similar to the JSON Mappings in our REST > documentation > <https://developers.google.com/google-ads/api/rest/design/json-mappings?hl=en>. > > 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 > <https://developers.google.com/google-ads/api/docs/client-libs?hl=en> and > click on "Logging". > > If you are using the AdWords API > <https://developers.google.com/adwords/api/docs/guides/start> , then a > request looks like the 3rd section in request > <https://developers.google.com/adwords/api/docs/guides/call-structure#request> > and > a response looks similar to response > <https://developers.google.com/adwords/api/docs/guides/call-structure#response>. > > Logging instructions are in the read.me on Github of each client library > <https://developers.google.com/adwords/api/docs/clientlibraries>. > > The requested logs can be generated when setting the log level to 'DEBUG'. > > Regards, > > [image: Google Logo] > Aryeh Baker > Google Ads API Team > > > ref:_00D1U1174p._5004Q2VQ4EA:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/35adbfd2-e4ed-49f0-9d9c-d04bd1c393f7n%40googlegroups.com.