Help for enhancement conversion upload adjustment

89 views
Skip to first unread message

Eric Xu

unread,
Mar 4, 2024, 2:40:01 AM3/4/24
to Google Ads API and AdWords API Forum
Here are some request infos, kindly help us find the issues
if u need more infos, pls let me know and i will response asap

And by the way, I want to know, we used to use GOOGLE CODE for enhancement conversion, but we did not set orderId, does the `transaction_id` is required? or optional?
the pic shows our code:
googlecode.png

This is one of my completed request info:

 
[2024-03-04 15:25:32,932 - DEBUG] Making request: POST https://accounts.google.com/o/oauth2/token
[2024-03-04 15:25:32,958 - DEBUG] Starting new HTTPS connection (1): accounts.google.com:443
[2024-03-04 15:25:34,059 - DEBUG] https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None
[2024-03-04 15:25:35,630 - 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: "CjwKCAiAuYuvBhApEiwAzq_YiX78qcm_cO93GZoEEXLLL-dYfYudsvqgFa8xw7BFzM3c9wN03efHtxoC1NEQAvD_BwE"
    conversion_date_time: "2024-03-02 15:43:05+08:00"
  }
  order_id: "36009943"
  conversion_action: "customers/6619459227/conversionActions/6731257876"
  adjustment_type: ENHANCEMENT
  user_identifiers {
    hashed_phone_number: "910508e57443e8db8fb98857accc130f2e177f1ee1139953393deb4a08ef601e"
  }
}
partial_failure: true


Response
-------
Headers: {
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "date": "Mon, 04 Mar 2024 07:25:35 GMT",
  "request-id": "M1663a-IdpC4QBCvKSvMUw"
}
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: 1797580944196530883


[2024-03-04 15:25:35,630 - INFO] Request made: ClientCustomerId: 6619459227, Host: googleads.googleapis.com, Method: /google.ads.googleads.v16.services.ConversionAdjustmentUploadService/UploadConversionAdjustments, RequestId: M1663a-IdpC4QBCvKSvMUw, IsFault: False, FaultMessage: None



This is my enabled conversion actions completed info:

[2024-03-04 15:33:06,848 - DEBUG] Making request: POST https://accounts.google.com/o/oauth2/token
[2024-03-04 15:33:06,854 - DEBUG] Starting new HTTPS connection (1): accounts.google.com:443
[2024-03-04 15:33:07,946 - DEBUG] https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None
[2024-03-04 15:33:10,094 - DEBUG] Request
-------
Method: /google.ads.googleads.v16.services.GoogleAdsService/Search
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"
query: "\nSELECT\n  conversion_action.resource_name,\n  conversion_action.name,\n  conversion_action.status\nFROM conversion_action\nWHERE conversion_action.type = \'WEBPAGE\'\nAND conversion_action.status = \'ENABLED\'\n"
page_size: 100


Response
-------
Headers: {
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "date": "Mon, 04 Mar 2024 07:33:09 GMT",
  "request-id": "IhWWZWNP3aFSuzGPq7TKQg"
}
Response: results {
  conversion_action {
    resource_name: "customers/6619459227/conversionActions/6731257876"
    name: "Purchased"
    status: ENABLED
  }
}
results {
  conversion_action {
    resource_name: "customers/6619459227/conversionActions/6731268238"
    name: "Input Number"
    status: ENABLED
  }
}
results {
  conversion_action {
    resource_name: "customers/6619459227/conversionActions/6731301519"
    name: "Pay Clicked"
    status: ENABLED
  }
}
results {
  conversion_action {
    resource_name: "customers/6619459227/conversionActions/6731305845"
    name: "Enroll Click"
    status: ENABLED
  }
}
field_mask {
  paths: "conversion_action.resource_name"
  paths: "conversion_action.name"
  paths: "conversion_action.status"
}


[2024-03-04 15:33:10,094 - INFO] Request made: ClientCustomerId: 6619459227, Host: googleads.googleapis.com, Method: /google.ads.googleads.v16.services.GoogleAdsService/Search, RequestId: IhWWZWNP3aFSuzGPq7TKQg, IsFault: False, FaultMessage: None

This is my conversion tracking setting request info:

[2024-03-04 15:34:47,463 - DEBUG] Making request: POST https://accounts.google.com/o/oauth2/token
[2024-03-04 15:34:47,469 - DEBUG] Starting new HTTPS connection (1): accounts.google.com:443
[2024-03-04 15:34:48,517 - DEBUG] https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None
[2024-03-04 15:34:50,284 - DEBUG] Request
-------
Method: /google.ads.googleads.v16.services.GoogleAdsService/Search
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"
query: "\nSELECT\n  customer.id,\n  customer.conversion_tracking_setting.google_ads_conversion_customer,\n  customer.conversion_tracking_setting.conversion_tracking_status,\n  customer.conversion_tracking_setting.conversion_tracking_id,\n  customer.conversion_tracking_setting.cross_account_conversion_tracking_id,\n  customer.conversion_tracking_setting.accepted_customer_data_terms\nFROM customer\n"
page_size: 100


Response
-------
Headers: {
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "date": "Mon, 04 Mar 2024 07:34:50 GMT",
  "request-id": "8UFOdbG6CcQFLqY_5hcKLA"
}
Response: results {
  customer {
    resource_name: "customers/6619459227"
    id: 6619459227
    conversion_tracking_setting {
      conversion_tracking_id: 11464092292
      cross_account_conversion_tracking_id: 11241119912
      accepted_customer_data_terms: true
      conversion_tracking_status: CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER
      google_ads_conversion_customer: "customers/7514302876"
    }
  }
}
field_mask {
  paths: "customer.id"
  paths: "customer.conversion_tracking_setting.google_ads_conversion_customer"
  paths: "customer.conversion_tracking_setting.conversion_tracking_status"
  paths: "customer.conversion_tracking_setting.conversion_tracking_id"
  paths: "customer.conversion_tracking_setting.cross_account_conversion_tracking_id"
  paths: "customer.conversion_tracking_setting.accepted_customer_data_terms"
}


[2024-03-04 15:34:50,284 - INFO] Request made: ClientCustomerId: 6619459227, Host: googleads.googleapis.com, Method: /google.ads.googleads.v16.services.GoogleAdsService/Search, RequestId: 8UFOdbG6CcQFLqY_5hcKLA, IsFault: False, FaultMessage: None

This is offline conversion summary request:

[2024-03-04 15:35:40,201 - DEBUG] Making request: POST https://accounts.google.com/o/oauth2/token
[2024-03-04 15:35:40,208 - DEBUG] Starting new HTTPS connection (1): accounts.google.com:443
[2024-03-04 15:35:41,293 - DEBUG] https://accounts.google.com:443 "POST /o/oauth2/token HTTP/1.1" 200 None
[2024-03-04 15:35:43,082 - DEBUG] Request
-------
Method: /google.ads.googleads.v16.services.GoogleAdsService/Search
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"
query: "\nSELECT customer.id, offline_conversion_upload_client_summary.alerts, \noffline_conversion_upload_client_summary.client, \noffline_conversion_upload_client_summary.daily_summaries, \noffline_conversion_upload_client_summary.job_summaries, \noffline_conversion_upload_client_summary.last_upload_date_time, \noffline_conversion_upload_client_summary.resource_name, \noffline_conversion_upload_client_summary.status, \noffline_conversion_upload_client_summary.success_rate, \noffline_conversion_upload_client_summary.successful_event_count, \noffline_conversion_upload_client_summary.total_event_count FROM \noffline_conversion_upload_client_summary\n"
page_size: 100


Response
-------
Headers: {
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "date": "Mon, 04 Mar 2024 07:35:42 GMT",
  "request-id": "kUGptMjvaSuHfD1Uk7-eog"
}
Response: results {
  customer {
    resource_name: "customers/6619459227"
    id: 6619459227
  }
  offline_conversion_upload_client_summary {
    resource_name: "customers/6619459227/offlineConversionUploadClientSummaries/GOOGLE_ADS_API"
    client: GOOGLE_ADS_API
    status: NEEDS_ATTENTION
    total_event_count: 110
    last_upload_date_time: "2024-03-03 13:12:12.388328"
    daily_summaries {
      failed_count: 71
    }
    daily_summaries {
      failed_count: 104
    }
    daily_summaries {
      failed_count: 49
    }
    daily_summaries {
      failed_count: 90
    }
    daily_summaries {
      failed_count: 72
    }
    daily_summaries {
      failed_count: 110
    }
    job_summaries {
      failed_count: 1
      job_id: 3723169233195715445
    }
    job_summaries {
      failed_count: 1
      job_id: 6640895891963143180
    }
    job_summaries {
      failed_count: 1
      job_id: 4022810838509280038
    }
    job_summaries {
      failed_count: 1
      job_id: 4447413042090517660
    }
    job_summaries {
      failed_count: 1
      job_id: 1641500959566356996
    }
    job_summaries {
      failed_count: 1
      job_id: 6946194292034405246
    }
    job_summaries {
      failed_count: 1
      job_id: 2657742984020876178
    }
    alerts {
      error {
        conversion_adjustment_upload_error: NO_CONVERSION_ACTION_FOUND
      }
      error_percentage: 1
    }
  }
}
field_mask {
  paths: "customer.id"
  paths: "offline_conversion_upload_client_summary.alerts"
  paths: "offline_conversion_upload_client_summary.client"
  paths: "offline_conversion_upload_client_summary.daily_summaries"
  paths: "offline_conversion_upload_client_summary.job_summaries"
  paths: "offline_conversion_upload_client_summary.last_upload_date_time"
  paths: "offline_conversion_upload_client_summary.resource_name"
  paths: "offline_conversion_upload_client_summary.status"
  paths: "offline_conversion_upload_client_summary.success_rate"
  paths: "offline_conversion_upload_client_summary.successful_event_count"
  paths: "offline_conversion_upload_client_summary.total_event_count"
}


[2024-03-04 15:35:43,082 - INFO] Request made: ClientCustomerId: 6619459227, Host: googleads.googleapis.com, Method: /google.ads.googleads.v16.services.GoogleAdsService/Search, RequestId: kUGptMjvaSuHfD1Uk7-eog, IsFault: False, FaultMessage: None

Process finished with exit code 0

Google Ads API Forum Advisor

unread,
Mar 4, 2024, 10:46:52 AM3/4/24
to eric...@gmail.com, adwor...@googlegroups.com

Hi,

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

After reviewing your concern, I understand that you are getting a few errors while adjusting the conversion by utilizing ConversionAdjustmentUploadService.

Please find answers below for your query.

I want to know, we used to use GOOGLE CODE for enhancement conversion, but we did not set orderId, does the `transaction_id` is required? or optional?

You must specify the order_id in the conversion adjustment 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.

Upon checking the provided logs, I noticed that you encountered the error 'NO_CONVERSION_ACTION_FOUND' while adjusting the conversions. This error usually occurs when the conversion action specified in the upload request cannot be found. There are a few prerequisites that should be followed before adjusting the conversions. Make sure all of the prerequisites are satisfied before proceeding to implementation. Kindly refer to the document requirements for more information.

I also observe that CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER as status, this error indicates that the conversion actions are created and managed by a manager different from the customer or manager specified in the request's login-customer-id. If this customer is using cross-account conversion tracking, the value returned will differ based on the login-customer-id of the request. You may refer to this article for more information about cross-account conversion tracking.

I hope it helps. Please get back to us if your issue remains the same even after following the above suggestions and documentation. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02rzdRn:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages