Re: Unable to upload cross account conversion

2022-06-30 Thread 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

On Tuesday, June 28, 2022 at 1:36:29 AM UTC+8 Google Ads API and AdWords 
API Forum wrote:

> 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
>
> On Monday, June 27, 2022 at 9:42:35 AM UTC-4 Google Ads API and AdWords 
> API Forum wrote:
>
>> 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
>>
>> On Thursday, June 23, 2022 at 12:28:31 PM UTC-4 rsud...@invoca.com wrote:
>>
>>> 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": "5550",
>>> "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=9442"
>>> }
>>>
>>> Request: customer_id: "9442"
>>> 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: 88142
>>> }
>>>   }
>>>   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": "5550",
>>> "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=5550"
>>> }
>>>
>>> Request: customer_id: "xxx5550"
>>> conversions {
>>>  caller_id: "+1440555 <(440)%20555->"
>>>  call_start_date_time: "2022-06-08 07:50:55-07:00"
>>>  conversion_action: "customers/9442/conversionActions/7242"
>>>  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/Uploa

Re: Unable to upload cross account conversion

2022-06-27 Thread 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

On Thursday, June 23, 2022 at 12:28:31 PM UTC-4 rsud...@invoca.com wrote:

> 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": "5550",
> "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=9442"
> }
>
> Request: customer_id: "9442"
> 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: 88142
> }
>   }
>   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": "5550",
> "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=5550"
> }
>
> Request: customer_id: "xxx5550"
> conversions {
>  caller_id: "+1440555 <(440)%20555->"
>  call_start_date_time: "2022-06-08 07:50:55-07:00"
>  conversion_action: "customers/9442/conversionActions/7242"
>  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 <(440)%20724-7702>"
>  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.co