, 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.
Method: /google.ads.googleads.v10.services.GoogleAdsService/Search
Host:
googleads.googleapis.comHeaders:
{
"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?