Hey Bob,

thanks for joining the conversation.


   - *You are uploading enhanced conversions for leads and NOT 
   web. https://support.google.com/google-ads/answer/9888656#leads 
   <https://support.google.com/google-ads/answer/9888656#leads>*
      - YES, there was maybe quite a misunderstanding (also from my side) 
      during to implementation, but YES, this is what I need to achieve
   - *You are using the REST API.*
      - YES, I have no option to use any library,  and I was recommended to 
      use method customer.uploadClickConversion 
      
<https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers/uploadClickConversions>
      s
   - *You are able execute a REST request without error.*
      - YES, if I turn off debuging (*"debugEnabled": False*). I'm 
      providing whole payload with response below once again.
   - *When you query the summary for the status of your upload you receive 
   the error CLICK_NOT_FOUND for this conversion upload.*
      - It's not quite a clear, as there is a summary of uploads for last 
      week and then jobSummaries. See the example below
   
I've also waited more than 24 hours and then checked the summaries, so this 
is not the case..
The error CLICK_NOT_FOUND has percentage = 1, I'm not sure, but maybe it 
means 100% of jobs listed within the summary failed with this error ?

*You can get this error immediately if in your request you set debug and 
partial failure to true. With these setting, the error will appear in your 
response. This is most useful when developing your application.*
Yes, I was working with this settings. However, then I was recommended to 
set *debugEnabled* to *False.*

Here's a full example of my request & response:

    headers = {
        'content-type': 'application/json',
        'Authorization': 'Bearer ' + {ACCESS_TOKEN},
        "login-customer-id": "{CUSTOMER_ID}",
        "developer-token": "{DEVELOPER_TOKEN}"
    }
    
    
    body = {
        "conversions": [
            {
                "user_identifiers": [
                    {
                      "hashedEmail": {HASHED_EMAIL},
                      "userIdentifierSource": "FIRST_PARTY"
                    }
                ],
                "conversionAction": 
"customers/{CUSTOMER_ID}/conversionActions/{CONVERSION_ACTION_ID}",
                "conversionDateTime": {CONVERSION_DATE_TIME},
                "conversionValue": 10,
                "currencyCode": "CZK"
            }
        ],
        "partialFailure": True,
        "validateOnly": False,
        "debugEnabled": False
    }
  
    
    URL = 
"https://googleads.googleapis.com/v14/customers/{CUSTOMER_ID}:uploadClickConversions";
   
With "debugEnabled": False Google accepts the request with response 200 and 
body:
{
  "results": [
    {
      "conversionAction": 
"customers/{CUSTOMER_ID}/conversionActions/{CONVERSION_ACTION_ID}",
      "conversionDateTime": "2023-08-17 07:58:16+02:00",
      "userIdentifiers": [
        {
          "userIdentifierSource": "FIRST_PARTY",
          "hashedEmail": 
"1216daeb8ce98dd9a47a40c301a32dcdde3a4c663318da09163d0f4b8c0ad8ce"
        }
      ]
    }
  ],
  "jobId": "7191316501863973724"
}

For now it's still not processed by google, so I will not find the jobId in 
*monitor 
summary*, but I've tested very same request few times during past days and 
it's still same:
{
  'results': [
    {
      'customer': {
        'resourceName': 'customers/{CUSTOMER_ID}',
        'conversionTrackingSetting': {
          'googleAdsConversionCustomer': 'customers/{CUSTOMER_ID}'
        },
        'id': '{CUSTOMER_ID}',
        'offlineConversionClientSummaries': [
          {
            'client': 'GOOGLE_ADS_API',
            'status': 'NEEDS_ATTENTION',
            'totalEventCount': '1',
            'lastUploadDateTime': '2023-08-16 08:21:20.75725',
            'dailySummaries': [
              {
                'uploadDate': '2023-08-09',
                'failedCount': '1'
              },
              {
                'uploadDate': '2023-08-10',
                'failedCount': '3'
              },
              {
                'uploadDate': '2023-08-11',
                'failedCount': '6'
              },
              {
                'uploadDate': '2023-08-14',
                'failedCount': '3'
              },
              {
                'uploadDate': '2023-08-15',
                'failedCount': '1'
              },
              {
                'uploadDate': '2023-08-16',
                'failedCount': '1'
              }
            ],
            'jobSummaries': [
              {
                'jobId': '108445157845911769',
                'failedCount': '1'
              },
              {
                'jobId': '2615533122696232816',
                'failedCount': '1'
              },
              {
                'jobId': '4007121670900219769',
                'failedCount': '1'
              },
              {
                'jobId': '4244552316996877552',
                'failedCount': '1'
              },
              {
                'jobId': '4540552247167422733',
                'failedCount': '1'
              },
              {
                'jobId': '7538745964134905049',
                'failedCount': '1'
              },
              {
                'jobId': '8510561100029352245',
                'failedCount': '1'
              }
            ],
            'alerts': [





*              {                'error': {                  
'conversionUploadError': 'CLICK_NOT_FOUND'                },                
'errorPercentage': 1              }*
            ]
          }
        ]
      }
    }
  ],
  'fieldMask': 
'customer.id,customer.conversionTrackingSetting.googleAdsConversionCustomer,customer.offlineConversionClientSummaries'
}

However, note, that the Email address is not the real conversion, only an 
gmail address.

So, to be more specific. Could you please guide me, or answer the specific 
question:

   - As I'm developing the process, I have no real conversions
      - How am I able to E2E test the integration. I imagine the situation, 
      that I send the request mentioned above, see some success in monitor 
      summary and see some change in Conversion in Google Ads GUI as well. Is 
      this possible, or it does not work like this ?
   - I think I should prepare the RESP API request vith "debugEnabled": True, 
   but I'm not able to get through the CLICK_NOT_FOUND error here. How to do 
   so, or how to replicate real conversion, so I can verify everything with my 
   integration is working properly?


Thank you for any valuable details in advance.
On Wednesday, August 16, 2023 at 8:18:55 PM UTC+2 Google Ads API Forum 
Advisor wrote:

> Hi:
>
> The case was passed to me and I have read all of the correspondence, but 
> I'm not clear on the problem you are trying to solve.
>
> You provided:
>
> "conversionAction": {
>         "resourceName": "customers/ 
> {CUSTOMER_ID}/conversionActions/{CONVERSION_ACTION_ID}",
>         "status": "ENABLED",
>         "type": "WEBPAGE",
>         "category": "DEFAULT",
>         "id": "{CONVERSION_ACTION_ID}",
>         "name": "xXx",
>         "ownerCustomer": "customers/{CUSTOMER_ID}"
>       }
>
> but later:
> You reference uploading enhanced conversions for leads 
> <https://developers.google.com/google-ads/api/docs/conversions/upload-identifiers>.
>  
> This is the latest correspondence. Can you confirm that your attempting to 
> upload enhanced conversions for leads via the REST API?
>
> There has been a lot of back and forth, so please verify that my 
> understanding of the following points are correct: 
>    
>    - You are uploading enhanced conversions for leads and NOT web. 
>    https://support.google.com/google-ads/answer/9888656#leads 
>    - You are using the REST API. 
>    - You are able execute a REST request without error. 
>    - When you query the summary for the status of your upload you receive 
>    the error CLICK_NOT_FOUND for this conversion upload. 
>
>
> A couple of things I notice in the request and response that you sent. The 
> response specifies "jobId": "20887662158502278", but this does is not in 
> the list of jobs in your request for a summary. This is most likely because 
> it has not yet been processed on our side. It generally takes about 24 
> hours.
>
> The alert in the response is, we realize, less than ideal. The error 
> CLICK_NOT_FOUND can not be attributed to a specific job. It means one of 
> the jobs in the summary has this error. Since your job does not appear in 
> the summary, this particular error cannot be attributed to the job in your 
> request.
>
> The most common reason for CLICK_NOT_FOUND it when a non-Google conversion 
> is uploaded. You can get this error immediately if in your request you set 
> debug and partial failure to true. With these setting, the error will 
> appear in your response. This is most useful when developing your 
> application.
>
> I'm sure you have already read it, but I recommend reviewing 
> https://developers.google.com/google-ads/api/docs/conversions/upload-identifiers
>
>  
> This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"
>
> Thanks,
>   
> [image: Google Logo] 
> Bob Hancock 
> Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d9bc1e90-4e10-4527-bffc-01fb5ad405c2n%40googlegroups.com.
  • Re... MKostrosO2
    • ... MKostrosO2
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... MKostrosO2
        • ... Triple A
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... MKostrosO2
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... MKostrosO2
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... MKostrosO2
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... MKostrosO2
        • ... MKostrosO2

Reply via email to