Unable to upload cross account conversion

126 views
Skip to first unread message

Rachel Suddeth

unread,
Jun 23, 2022, 12:28:31 PM6/23/22
to Google Ads API and AdWords API Forum
The Documentation for uploading conversions, tells me I need to set the owner customer ID on the request, but it's not clear to me exactly where I need to set the owner customer, and I haven't been able to make it work.

Here are logs from things I've tried:
* First, to make sure I know who the owner_customer is:
---
Method: /google.ads.googleads.v10.services.GoogleAdsService/Search
Host: googleads.googleapis.com
Headers:
{
    "developer-token": "REDACTED",
    "login-customer-id": "xxxx5550",
    "x-goog-api-client": "gl-python/3.8.13 grpc/1.46.3 gax/2.8.1 gccl/16.0.0",
    "x-goog-request-params": "customer_id=xxxx9442"
}

Request: customer_id: "xxxx9442"
query: "SELECT
  customer.resource_name,
  customer.conversion_tracking_setting.google_ads_conversion_customer,
FROM customer
WHERE customer.id = xxx9442"

Response
results {
  customer {
    resource_name: "customers/xxx59442"
    conversion_tracking_setting {
      google_ads_conversion_customer: "customers/xxx5550"
    }
}
* Next, see what conversion are available for this customer id
---
Method: /google.ads.googleads.v10.services.GoogleAdsService/Search
Host: googleads.googleapis.com
Headers:
{
    "developer-token": "REDACTED",
    "login-customer-id": "xxx5550",
    "x-goog-api-client": "gl-python/3.8.13 grpc/1.46.3 gax/2.8.1 gccl/16.0.0",
    "x-goog-request-params": "customer_id=xxx9442"
}

Request: customer_id: "xxx9442"
query: "SELECT conversion_action.id, conversion_action.type, conversion_action.status, conversion_action.category,
 conversion_action.owner_customer, conversion_action.counting_type, conversion_action.primary_for_goal, customer.conversion_tracking_setting.conversion_tracking_id
FROM  conversion_action
WHERE conversion_action.status = 'ENABLED'
AND conversion_action.owner_customer = 'customers/xxx5550'"
-------
Response: results {
  customer {
    resource_name: "customers/xxx9442"
    conversion_tracking_setting {
      conversion_tracking_id: xxxx88142
    }
  }
  conversion_action {
    resource_name: "customers/xxx9442/conversionActions/xxx7242"
    status: ENABLED
    type_: UPLOAD_CALLS
    category: PHONE_CALL_LEAD
    counting_type: MANY_PER_CLICK
    id: xxx7242
    owner_customer: "customers/xxx5550"
    primary_for_goal: false
  }
}
---
Method: /google.ads.googleads.v10.services.ConversionUploadService/UploadCallConversions
Host: googleads.googleapis.com
{
    "developer-token": "REDACTED",
    "login-customer-id": "xxxx5550",
    "x-goog-api-client": "gl-python/3.8.13 grpc/1.46.3 gax/2.8.1 gccl/16.0.0",
    "x-goog-request-params": "customer_id=xxxx5550"
}

Request: customer_id: "xxx5550"
conversions {
 caller_id: "+14405555555"
 call_start_date_time: "2022-06-08 07:50:55-07:00"
 conversion_action: "customers/xxxx9442/conversionActions/xxxx7242"
 conversion_date_time: "2022-06-08 07:50:55-07:00"
}
partial_failure: true
---
Response: partial_failure_error {
 code: 3
 message: "This customer does not have an import conversion action that matches the conversion action provided., at conversions[0].conversion_action"
 details {
   type_url: "type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure"
   value: "\n\307\001\n\003\370\006\t\022dThis customer does not have an import conversion action that matches the conversion action provided.\0322*0customers/xxx9442/conversionActions/xxx7242\"&\022\017\n\013conversions\030\000\022\023\n\021conversion_action"
 }
}
---
* So maybe the resource ID should also use the owner customer?
---
Method: /google.ads.googleads.v10.services.ConversionUploadService/UploadCallConversions
Host: googleads.googleapis.com
{
    "developer-token": "REDACTED",
    "login-customer-id": "xxx5550",
    "x-goog-api-client": "gl-python/3.8.13 grpc/1.46.3 gax/2.8.1 gccl/16.0.0",
    "x-goog-request-params": "customer_id=6xxx5550"
}

Request: customer_id: "xxx5550"
conversions {
 caller_id: "+14407247702"
 call_start_date_time: "2022-06-08 07:50:55-07:00"
 conversion_action: "customers/xxx5550/conversionActions/xxx7242"
 conversion_date_time: "2022-06-08 07:50:55-07:00"
}
partial_failure: true
---
Response: partial_failure_error {
 code: 3
 message: "This customer does not have an import conversion action that matches the conversion action provided., at conversions[0].conversion_action"
 details {
   type_url: "type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure"
   value: "\n\307\001\n\003\370\006\t\022dThis customer does not have an import conversion action that matches the conversion action provided.\0322*0customers/xxx5550/conversionActions/xxx7242\"&\022\017\n\013conversions\030\000\022\023\n\021conversion_action"
 }
}
results
{}
---

So what am I missing?

Google Ads API and AdWords API Forum

unread,
Jun 27, 2022, 9:42:35 AM6/27/22
to Google Ads API and AdWords API Forum
Reposting the last inquiry (https://groups.google.com/g/adwords-api/c/HQtkKamjPok) from the forum as it wasn't routed to our support queue.

Cheers,
Peter Laurence
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
Jun 27, 2022, 1:36:29 PM6/27/22
to Google Ads API and AdWords API Forum
Reposting the last inquiry (https://groups.google.com/g/adwords-api/c/HQtkKamjPok) from the forum as it wasn't routed to our support queue.

Cheers,
Peter Laurence
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
Jun 30, 2022, 6:44:33 AM6/30/22
to Google Ads API and AdWords API Forum
Reposting the last inquiry (https://groups.google.com/g/adwords-api/c/HQtkKamjPok) from the forum as it wasn't routed to our support queue.

Cheers,
Ernie John
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
Jul 5, 2022, 4:27:39 AM7/5/22
to Google Ads API and AdWords API Forum
Hi,

Thank you for posting your concern. I appreciate you patience here. Allow me to provide support.

So that we can address the issue and to answer your questions, could provide the complete request and response logs with request ID and request header generated on their end without redacted fields? You can provide it via this email address googleadsa...@google.com.

Regards,
Ejay
Google Ads API Team

Reply all
Reply to author
Forward
0 new messages