I have an error when uploading upload click conversion, they recently 
approved the development token with permissions for click conversion, I 
cannot understand what is the reason for the error and to which user they 
refer that they do not have permissions.

I am using the following library for NodeJS google-ads-api

*CODE*

const clickConversion = {
user_identifiers: [{
hashed_email: 
"f70178b241feaa944ffed4a40746019037362ad034c5b3d0db1a8a660626c514"
}],
conversion_action: `customers/${customer_id}/conversionActions/504979107`,
conversion_date_time: (new Date()).toString(),
partial_failure: true
};

const request = new services.UploadClickConversionsRequest({
customer_id,
conversions: [clickConversion],
partial_failure: true
});

await customer.conversionUploads.uploadClickConversions(request)

*ERROR MESSAGE*

GoogleAdsFailure {
  errors: [
    GoogleAdsError {
      error_code: [ErrorCode],
      message: 'The user does not have permission to perform this action on 
the resource or call a method.'
    }
  ],
  request_id: 'MYc1hSgbK5reIxOZa40eFw'
}
---
{
"errors": [
{
"error_code": {
"authorization_error": "ACTION_NOT_PERMITTED"
},
"message": "The user does not have permission to perform this action on the 
resource or call a method."
}
],
"request_id": "MYc1hSgbK5reIxOZa40eFw"
}




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c06dbecc-50ca-4b34-8f7c-bf4ae0c60141n%40googlegroups.com.
  • AC... Maria Alejandra Luna Tito
    • ... Maria Alejandra Luna Tito
      • ... Maria Alejandra Luna Tito
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... Maria Alejandra Luna Tito
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to