Hi support Team,

I'm trying to upload offline click conversions, based roughly on [this 
snippet](https://developers.google.com/google-ads/api/docs/samples/upload-offline-conversion).
 
It's working ok, but I don't know how to set conversion_custom_variable_id, 
and conversion_custom_variable_value, so the API is responding this to me 
when I leave it blank:

Response: partial_failure_error {
  code: 3
  message: "This conversion action is configured to use an external 
attribution model, but the external attribution credit or one of its fields 
is not set., at conversions[0].external_attribution_data"
  details {
    type_url: 
"type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure"
    value: "\n\307\001\n\003\370\006\r\022\217\001This conversion action is 
configured to use an external attribution model, but the external 
attribution credit or one of its fields is not 
set.\".\022\017\n\013conversions\030\000\022\033\n\031external_attribution_data"
  }
}

>From the management account and conversations with colleagues, I've learned 
that for the conversion_action I'm talking to an external model is set up, 
probably by the name of "Fractional Credit". If I set that as the 
conversion_custom_variable_id, and pass something plausible as a 
conversion_custom_variable_value along with it, I get this result:

Response: partial_failure_error {
  code: 3
  message: "Resource name \'Fractional Credit\' is malformed: expected 
\'customers/{customer_id}/conversionCustomVariables/{ConversionCustomVariable.conversion_custom_variable_id}\'.,
 
at conversions[0].custom_variables[0].conversion_custom_variable"
  details {
    type_url: 
"type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure"
    value: "\n\211\002\n\002\010\004\022\246\001Resource name \'Fractional 
Credit\' is malformed: expected 
\'customers/{customer_id}/conversionCustomVariables/{ConversionCustomVariable.conversion_custom_variable_id}\'.\032\023*\021Fractional
 
Credit\"E\022\017\n\013conversions\030\000\022\024\n\020custom_variables\030\000\022\034\n\032conversion_custom_variable"
  }
}

Which looks helpful, except that I don't know what 
{ConversionCustomVariable.conversion_custom_variable_id} 
could resolve to, or where to look it up. I can't find it in my management 
console, and when I use the google ads query language to ask my AdsService 
for details with "SELECT conversion_custom_variable.id FROM 
conversion_custom_variable" it resolves without errors but comes up empty.

I wonder how I can fix my initial ClickConversion client communication, or am 
I doing something fundamentally wrong? I'm happy to supply more details, 
but didn't want to start off by drowning you in code and logs.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f73b2bd3-cb56-41ee-ba97-a379509b0ae3n%40googlegroups.com.
  • up... Arne Caratti
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Arne Caratti

Reply via email to