Enhancement conversion upload errors

94 views
Skip to first unread message

Eric Xu

unread,
Apr 7, 2024, 8:02:45 AM4/7/24
to Google Ads API and AdWords API Forum
Hello teams, we use conversion api to upload conversion data for enhancement conversion, but I found that the response shows like below:
Kindly help us to find problems
(This is a DEBUG level log details):

[2024-04-07 17:19:07,590 - DEBUG] Making request: POST https://accounts.google.com/o/oauth2/token
[2024-04-07 17:19:07,596 - DEBUG] Starting new HTTPS connection (1): accounts.google.com:443
[2024-04-07 17:19:08,631 - DEBUG] https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None
[2024-04-07 17:19:10,319 - DEBUG] Request
-------
Method: /google.ads.googleads.v16.services.ConversionAdjustmentUploadService/UploadConversionAdjustments
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "7514302876",
  "x-goog-api-client": "gl-python/3.9.6 grpc/1.62.0 gax/2.17.1 gccl/23.1.0 pb/4.25.3",
  "x-goog-request-params": "customer_id=6619459227"
}
Request: customer_id: "6619459227"
conversion_adjustments {
  gclid_date_time_pair {
    gclid: "Cj0KCQjwiMmwBhDmARIsABeQ7xSQS1nOdZQz7zwAQVAwQzYypFBcdp8RGKUv47htsZ06KpmwSkw1hWYaAhAxEALw_wcB"
    conversion_date_time: "2024-04-07 09:05:51+08:00"
  }
  order_id: "37433069"
  conversion_action: "customers/6619459227/conversionActions/6731257876"
  adjustment_type: ENHANCEMENT
  user_identifiers {
    hashed_phone_number: "c7b2db6f1f915b45a4e053067ac1d318087623961b37c995a3bf4f87bb4eb521"
  }
}
partial_failure: true


Response
-------
Headers: {
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "date": "Sun, 07 Apr 2024 09:19:10 GMT",
  "request-id": "u9jLPfDcZezrAbTvB4Oqow"
}
Response: partial_failure_error {
  code: 3
  message: "The conversion action specified in the adjustment request cannot be found. Make sure it\'s available in this account., at conversion_adjustments[0].conversion_action"
  details {
    type_url: "type.googleapis.com/google.ads.googleads.v16.errors.GoogleAdsFailure"
    value: "\n\343\001\n\003\230\007\033\022tThe conversion action specified in the adjustment request cannot be found. Make sure it\'s available in this account.\0323*1customers/6619459227/conversionActions/6731257876\"1\022\032\n\026conversion_adjustments\030\000\022\023\n\021conversion_action"
  }
}
results {
}
job_id: 3700792396033759445


[2024-04-07 17:19:10,320 - INFO] Request made: ClientCustomerId: 6619459227, Host: googleads.googleapis.com, Method: /google.ads.googleads.v16.services.ConversionAdjustmentUploadService/UploadConversionAdjustments, RequestId: u9jLPfDcZezrAbTvB4Oqow, IsFault: False, FaultMessage: None





And I have some questions to be answered:

1. Is the order_id required for google JS code in our business page?
2. Does the order_id and gclid_date_time_pair can be upload together?
3. How can we validate our upload success?

Please help us~, thx again

Google Ads API Forum Advisor

unread,
Apr 8, 2024, 5:41:56 AM4/8/24
to eric...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API Support team.

From the provided logs, I understand that you are encountering the NO_CONVERSION_ACTION_FOUND error. Which means conversion action specified in the adjustment request cannot be found. Make sure it's available in this account. 

You may note that the adjustment fails with a NO_CONVERSION_ACTION_FOUND error if any of these conditions are met:
  • Attempting to upload an adjustment using a different account results in a NO_CONVERSION_ACTION_FOUND error.
  • This error also occurs if the conversion action of the adjustment is not enabled.
In your case, the customer_id (7514302876) is the owner customer of the conversion action "Purchased" (6731257876) but in the request you have mentioned the customer_id as 6619459227 ("customers/6619459227/conversionActions/6731257876") that is the reason you're getting the NO_CONVERSION_ACTION_FOUND error. So note that only the account that manages conversion actions is able to upload adjustments.

Please find the answers for your questions below:
  1. You can specify the order_id in the ConversionAdjustment under any of these conditions:
  • The type of the conversion action is equal to WEBPAGE.
  • The original conversion you are adjusting was assigned an order_id.
      2. Yes, you can upload both order_id and gclid_date_time_pair together in your conversion adjustment request.
      3. You may check these validation rules to keep in mind while adjusting conversions in the API.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tOv2g:ref" (ADR-00230241)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages