Re: ACTION_NOT_PERMITTED upload click conversion

2022-11-04 Thread Maria Alejandra Luna Tito
Hello.
Thanks for your help,

What could be the reason for this error?

{
  results: [ { user_identifiers: [], gbraid: '', wbraid: '' } ],
  partial_failure_error: {
details: [ [Object] ],
code: 3,
message: 'No click was found for the provided user identifiers. This 
may be because the conversion did not come from a Google Ads campaign., at 
conversions[0].user_identifiers'
  }
}

Grateful for your support,
María.

El jueves, 3 de noviembre de 2022 a la(s) 10:05:11 UTC-5, adsapi escribió:

> Hi Maria,
>
> Thank you for reaching out to the Google Ads API support team.
>
> *I would like to understand how to make the phone valid for a click 
> conversion?  *You may need to use user_identifiers which contain between 
> one and five identifiers. While using user_identifiers phone numbers must 
> be hashed using the SHA-256 algorithm before being uploaded. In order to 
> standardize the hash results, prior to hashing one of these values you 
> must: 
>
>- Remove leading/trailing whitespaces. 
>- Convert the text to lowercase. 
>- Format phone numbers according to the *E164 standard* 
>. 
>
> *And I would like to know if it is possible not to send the gclid only the 
> phone? *Instead of setting gclid, populate the user_identifiers with the 
> standardized and hashed email address or phone number of the user. You may 
> note that before using *enhanced conversions* 
> 
>  in 
> Google Ads API, you would need to have a *ConversionAction* 
> 
>  with 
> a type of WEBPAGE and enhanced conversions enabled, and this *section of 
> setup* 
> 
>  to 
> be completed. 
>
> Node js library is not supported in the Google Ad API. Please see here 
>  client 
> library.
>
> Let me know if you have any questions.
>
> Thanks, 
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2fzPFL:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8cdb89d7-7be1-4d3a-ba02-b25404f744c5n%40googlegroups.com.


Re: ACTION_NOT_PERMITTED upload click conversion

2022-11-02 Thread Maria Alejandra Luna Tito
Hello team,

Perfect, thank you very much I was able to generate the correct refresh 
token with the mail manager.

Now I am having the following problem, could you give me some help on how 
to solve it

{
  results: [ { user_identifiers: [], gbraid: '', wbraid: '' } ],
  partial_failure_error: {
details: [ [Object] ],
code: 3,
message: 'No click was found for the provided user identifiers. This 
may be because the conversion did not come from a Google Ads campaign., at 
conversions[0].user_identifiers'
  }
}

*I am sending the client's email or what should it be?*
user_identifiers: [{
 hashed_email: 
"f70178b241feaa944ffed4a40746019037362ad034c5b3d0db1a8a660626c514"
   }],

Thank you very much,
Maria.

El miércoles, 2 de noviembre de 2022 a la(s) 14:55:33 UTC-5, adsapi 
escribió:

> Hi Maria,
>
> Thank you for reaching out.
>
> Moving forward to your concern. The *ACTION_NOT_PERMITTED* 
> 
>  
>  is an error message which is related to the Authorization process.Could 
> you also confirm if the said user / email address you used to generate the 
> OAuth2 
> credentials 
>  
> has 
> at least the *standard* access as mentioned in this article 
> ?
>  
> I asked because the said user would need that user access level, in order 
> for their credentials to authenticate and authorize mutate actions to your 
> Google Ads account's entities.
>
> That said, user access can then be managed via the API by referring to 
> this guide 
> ,
>  
> or, you may refer to this other article 
>  instead.
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2fzPFL:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a7a3a75-1866-4426-9d81-bd232493c13bn%40googlegroups.com.


Re: ACTION_NOT_PERMITTED upload click conversion

2022-11-02 Thread Maria Alejandra Luna Tito
Hello Team, excuse me, is there any doubt with my request? I would 
appreciate knowing if I missed putting something in my query.

Thank you very much.

El miércoles, 2 de noviembre de 2022 a la(s) 12:02:21 UTC-5, Maria 
Alejandra Luna Tito escribió:

> 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/26cbdcb5-50d1-4048-9a12-4f6f5d919a07n%40googlegroups.com.


ACTION_NOT_PERMITTED upload click conversion

2022-11-02 Thread Maria Alejandra Luna Tito
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.