This is detail logs:

[2024-04-18 10:35:15,204 - DEBUG] Making request: POST 
https://accounts.google.com/o/oauth2/token
[2024-04-18 10:35:15,210 - DEBUG] Starting new HTTPS connection (1): 
accounts.google.com:443
[2024-04-18 10:35:16,281 - DEBUG] https://accounts.google.com:443 "POST 
/o/oauth2/token HTTP/1.1" 200 None
[2024-04-18 10:35:17,891 - 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=7514302876"
}
Request: customer_id: "7514302876"
conversion_adjustments {
  gclid_date_time_pair {
    gclid: 
"Cj0KCQjw2uiwBhCXARIsACMvIU09QWMrJlMZEYJJvGkF-EsoswVYsBNdnfuMr9cqC4kdVmd3cQ0TNJQaAtKtEALw_wcB"
    conversion_date_time: "2024-04-14 14:26:19+08:00"
  }
  order_id: "37693845"
  conversion_action: "customers/7514302876/conversionActions/6793797327"
  adjustment_type: ENHANCEMENT
  user_identifiers {
    hashed_phone_number: 
"384e93de681427a3886d9811f1bc1a080aacfd22f80bbba7126fd8c489d629bd"
  }
}
partial_failure: true


Response
-------
Headers: {
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "date": "Thu, 18 Apr 2024 02:35:17 GMT",
  "request-id": "2I5oafPX0eI_AdJsW8UDyA"
}
Response: partial_failure_error {
  code: 3
  message: "Can\'t use enhanced conversions with the specified conversion 
action., at conversion_adjustments[0].conversion_action"
  details {
    type_url: 
"type.googleapis.com/google.ads.googleads.v16.errors.GoogleAdsFailure"
    value: "\n\263\001\n\003\230\007\020\022DCan\'t use enhanced 
conversions with the specified conversion 
action.\0323*1customers/7514302876/conversionActions/6793797327\"1\022\032\n\026conversion_adjustments\030\000\022\023\n\021conversion_action"
  }
}
results {
}
job_id: 7268831391646773896


[2024-04-18 10:35:17,891 - INFO] Request made: ClientCustomerId: 
7514302876, Host: googleads.googleapis.com, Method: 
/google.ads.googleads.v16.services.ConversionAdjustmentUploadService/UploadConversionAdjustments,
 
RequestId: 2I5oafPX0eI_AdJsW8UDyA, IsFault: False, FaultMessage: None


在2024年4月18日星期四 UTC+8 00:45:58<Google Ads API Forum Advisor> 写道:

> Hi,
>
> What do you mean by "the code doesn't work”? Are you getting any API 
> errors here?
>
> If yes, please get back to us with complete API logs (request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
> and request header 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>  
> generated at your end. So that we can check from our end and assist you 
> accordingly.
>
> If not, please elaborate more on the issue that you are facing when 
> changing to a cross-account. 
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tP3cf:ref" (ADR-00230909)
>
> Thanks,
>   
> [image: Google Logo] 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/7e845e4c-5150-42d7-a15c-b83924c50c7fn%40googlegroups.com.
  • Is... Eric Xu
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Eric Xu
        • ... Eric Xu
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Eric Xu
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to