User Permission Denied Error

2024-04-12 Thread 'Jeremy Prestidge' via Google Ads API and AdWords API Forum
Hello, we're getting a user permission denied error, even though we're 
correctly including the login-customer-id and linked-customer-id in the 
headers.

I can provide the logs privately if someone can please review this?

Jeremy

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1883266b-dca4-4fa8-a751-163050c74855n%40googlegroups.com.


Permission denied

2024-04-07 Thread CogniTech Systems
Test app that has been working for over a week now, suddenly API calls 
stopped working with permission denied, we removed the test app, readded 
and generated new tokens, ran our app again, permission denied. Please 
explain what is going on, there is not a single day where there is not 
issues with your platform. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6cafaf4a-4682-4cdb-b5b1-c5df5a2db9ddn%40googlegroups.com.


Re: GOOGLE ADS - PERMISSION DENIED

2023-01-26 Thread Pawankumar Manpuri
FYI, 
I am passing my manager account while fetching all the accounts linked to 
my account...

On Friday, January 27, 2023 at 12:38:01 PM UTC+5:30 Pawankumar Manpuri 
wrote:

> SELECT 
> customer_client.id, 
> customer_client.descriptive_name
> FROM customer_client
> WHERE 
> customer_client.manager = FALSE and
> customer_client.status = 'ENABLED'
>
> I am hitting this query to get all the customer_client ids linked to my 
> manager account... this sometimes gives ids that are not linked and that 
> causing me the permission denied error while fetching campaign report...
>
> Can you please assist me regarding this...
>
> Regards,
> Pawan Manpuri
>
> On Friday, January 27, 2023 at 11:43:13 AM UTC+5:30 Pawankumar Manpuri 
> wrote:
>
>> Hi Darwin, 
>> First of all, thanks for the quick response, the code worked fine when I 
>> executed it after few hours, no changes in the code looks like the issue is 
>> with Google Ads API something weird happens in between,  I have been 
>> noticing this for a while, all the credentials are right...I literally 
>> changed nothing, the code works fine after some time
>>
>> Regards,
>> Pawan Manpuri
>>
>> On Wednesday, January 25, 2023 at 7:31:27 PM UTC+5:30 adsapi wrote:
>>
>>> Hi Pawankumar,
>>>  
>>>
>>> Thanks for reaching out to the Google Ads API team. I hope you are doing 
>>> well today.
>>>
>>>
>>> With regards to your concern, It seems that you are encountering the "
>>> *USER_PERMISSION_DENIED* 
>>> <https://developers.google.com/google-ads/api/reference/rpc/v10/AuthorizationErrorEnum.AuthorizationError?hl=en#user_permission_denied>"
>>>  
>>> which means a user doesn't have permission to access a customer and you’re 
>>> accessing a client customer using 'login-customer-id’ in the request.
>>>
>>>
>>> That being said, you will need to ensure that the user / email address 
>>> you used to generate the credentials indeed has *access* 
>>> <https://support.google.com/google-ads/answer/9978556?visit_id=637628826037447236-382779227&rd=1>
>>>  to 
>>> the account in your request. If the user / email address has access or is 
>>> associated with the MCC / manager account, you will need to specify the 
>>> *MCC 
>>> / manager account's ID* without hyphens (-) as the value of the 
>>> *login-customer-id* 
>>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>>>  field. 
>>>
>>>
>>> If the error still persists, you may provide us with the complete 
>>> *request* 
>>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>>>  and *response* 
>>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>>>  logs, 
>>> with the *request-id* 
>>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>>>  along 
>>> with the *email address* used to generate the OAuth2 credentials.
>>>
>>> You can provide it via Reply privately to the author option. If this 
>>> option is not available, then send it instead on this email address 
>>> googleadsa...@google.com.
>>>
>>>
>>> Regards,
>>> [image: Google Logo] 
>>> Darwin 
>>> Google Ads API Team 
>>>   
>>>
>>>
>>> ref:_00D1U1174p._5004Q2iNWvb: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/f15e505f--49ff-8791-d825c3888adfn%40googlegroups.com.


Re: GOOGLE ADS - PERMISSION DENIED

2023-01-26 Thread Pawankumar Manpuri
SELECT 
customer_client.id, 
customer_client.descriptive_name
FROM customer_client
WHERE 
customer_client.manager = FALSE and
customer_client.status = 'ENABLED'

I am hitting this query to get all the customer_client ids linked to my 
manager account... this sometimes gives ids that are not linked and that 
causing me the permission denied error while fetching campaign report...

Can you please assist me regarding this...

Regards,
Pawan Manpuri

On Friday, January 27, 2023 at 11:43:13 AM UTC+5:30 Pawankumar Manpuri 
wrote:

> Hi Darwin, 
> First of all, thanks for the quick response, the code worked fine when I 
> executed it after few hours, no changes in the code looks like the issue is 
> with Google Ads API something weird happens in between,  I have been 
> noticing this for a while, all the credentials are right...I literally 
> changed nothing, the code works fine after some time
>
> Regards,
> Pawan Manpuri
>
> On Wednesday, January 25, 2023 at 7:31:27 PM UTC+5:30 adsapi wrote:
>
>> Hi Pawankumar,
>>  
>>
>> Thanks for reaching out to the Google Ads API team. I hope you are doing 
>> well today.
>>
>>
>> With regards to your concern, It seems that you are encountering the "
>> *USER_PERMISSION_DENIED* 
>> <https://developers.google.com/google-ads/api/reference/rpc/v10/AuthorizationErrorEnum.AuthorizationError?hl=en#user_permission_denied>"
>>  
>> which means a user doesn't have permission to access a customer and you’re 
>> accessing a client customer using 'login-customer-id’ in the request.
>>
>>
>> That being said, you will need to ensure that the user / email address 
>> you used to generate the credentials indeed has *access* 
>> <https://support.google.com/google-ads/answer/9978556?visit_id=637628826037447236-382779227&rd=1>
>>  to 
>> the account in your request. If the user / email address has access or is 
>> associated with the MCC / manager account, you will need to specify the *MCC 
>> / manager account's ID* without hyphens (-) as the value of the 
>> *login-customer-id* 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>>  field. 
>>
>>
>> If the error still persists, you may provide us with the complete 
>> *request* 
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>>  and *response* 
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>>  logs, 
>> with the *request-id* 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>>  along 
>> with the *email address* used to generate the OAuth2 credentials.
>>
>> You can provide it via Reply privately to the author option. If this 
>> option is not available, then send it instead on this email address 
>> googleadsa...@google.com.
>>
>>
>> Regards,
>> [image: Google Logo] 
>> Darwin 
>> Google Ads API Team 
>>   
>>
>>
>> ref:_00D1U1174p._5004Q2iNWvb: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/c890bce5-7d6d-42b9-990e-9f8bff9b32c3n%40googlegroups.com.


Re: GOOGLE ADS - PERMISSION DENIED

2023-01-26 Thread Pawankumar Manpuri
Hi Darwin, 
First of all, thanks for the quick response, the code worked fine when I 
executed it after few hours, no changes in the code looks like the issue is 
with Google Ads API something weird happens in between,  I have been 
noticing this for a while, all the credentials are right...I literally 
changed nothing, the code works fine after some time

Regards,
Pawan Manpuri

On Wednesday, January 25, 2023 at 7:31:27 PM UTC+5:30 adsapi wrote:

> Hi Pawankumar,
>  
>
> Thanks for reaching out to the Google Ads API team. I hope you are doing 
> well today.
>
>
> With regards to your concern, It seems that you are encountering the "
> *USER_PERMISSION_DENIED* 
> "
>  
> which means a user doesn't have permission to access a customer and you’re 
> accessing a client customer using 'login-customer-id’ in the request.
>
>
> That being said, you will need to ensure that the user / email address you 
> used to generate the credentials indeed has *access* 
> 
>  to 
> the account in your request. If the user / email address has access or is 
> associated with the MCC / manager account, you will need to specify the *MCC 
> / manager account's ID* without hyphens (-) as the value of the 
> *login-customer-id* 
> 
>  field. 
>
>
> If the error still persists, you may provide us with the complete 
> *request* 
> 
>  and *response* 
> 
>  logs, 
> with the *request-id* 
> 
>  along 
> with the *email address* used to generate the OAuth2 credentials.
>
> You can provide it via Reply privately to the author option. If this 
> option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
>
> ref:_00D1U1174p._5004Q2iNWvb: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/23e94549-d773-401c-ae98-81c9a67eb48fn%40googlegroups.com.


RE: GOOGLE ADS - PERMISSION DENIED

2023-01-25 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Pawankumar,

Thanks for reaching out to the Google Ads API team. I hope you are doing well 
today.


With regards to your concern, It seems that you are encountering the 
"USER_PERMISSION_DENIED" which means a user doesn't have permission to access a 
customer and you’re accessing a client customer using 'login-customer-id’ in 
the request.


That being said, you will need to ensure that the user / email address you used 
to generate the credentials indeed has access to the account in your request. 
If the user / email address has access or is associated with the MCC / manager 
account, you will need to specify the MCC / manager account's ID without 
hyphens (-) as the value of the login-customer-id field.


If the error still persists, you may provide us with the complete request and 
response logs, with the request-id along with the email address used to 
generate the OAuth2 credentials.

You can provide it via Reply privately to the author option. If this option is 
not available, then send it instead on this email address 
googleadsapi-supp...@google.com.


Regards,

Darwin
Google Ads API Team
ref:_00D1U1174p._5004Q2iNWvb: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/ZgFV00RP1O9U00jDY1UFNyRxeVCoYtcgr_tQ%40sfdc.net.


Re: GOOGLE ADS - PERMISSION DENIED

2023-01-25 Thread Pawankumar Manpuri
And everytime I run, the ClientCustomerId is different.

On Wednesday, January 25, 2023 at 3:17:27 PM UTC+5:30 Pawankumar Manpuri 
wrote:

> Can anyone help me out for below error, the code was running fine until 
> yesterday, I have specified the login_customer_id while configuring, not 
> getting why it is giving me this error...
>
> I tried refreshing the refresh token, still the issue persists.
>
> Request made: ClientCustomerId: 65x839, Host: googleads.googleapis.com, 
> Method: /google.ads.googleads.v12.services.GoogleAdsService/SearchStream, 
> RequestId: j73hYlP0PfzNclBK8TcWQw, IsFault: True, FaultMessage: User 
> doesn't have permission to access customer. Note: If you're accessing a 
> client customer, the manager's customer id must be set in the 
> 'login-customer-id' header. See 
> https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/993b6857-cc60-4e20-9846-d53bdea54227n%40googlegroups.com.


GOOGLE ADS - PERMISSION DENIED

2023-01-25 Thread Pawankumar Manpuri
Can anyone help me out for below error, the code was running fine until 
yesterday, I have specified the login_customer_id while configuring, not 
getting why it is giving me this error...

I tried refreshing the refresh token, still the issue persists.

Request made: ClientCustomerId: 65x839, Host: googleads.googleapis.com, 
Method: /google.ads.googleads.v12.services.GoogleAdsService/SearchStream, 
RequestId: j73hYlP0PfzNclBK8TcWQw, IsFault: True, FaultMessage: User 
doesn't have permission to access customer. Note: If you're accessing a 
client customer, the manager's customer id must be set in the 
'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/40dd6c4c-ab3d-47bf-a10a-b9c26decc4acn%40googlegroups.com.


RE: Permission denied for first API call

2022-12-28 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Aditya,

Thanks for confirming that issue has been resolved.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2hOdEu: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/yp0Qf0RNLT8I00lFOM7IeyQvq46kDRbnXzZg%40sfdc.net.


RE: Permission denied for first API call

2022-12-28 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Aditya,

Thanks for reaching out to the Google Ads API Forum.

It appears that you have encountered USER_PERMISSION_DENIED error. Could you 
check in this thread if solution provided does help you? If not, you may 
provide us following details via reply privately to author option:

Complete request, request header and response logs, with the request-id in text 
format
Email address used to generate the OAuth2 credentials


You may enable logs for Python client library here so that complete logs will 
be captured.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2hOdEu: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/uGnrj0RNLT4H00CcunIZ3DQliZSCz5q3JSiw%40sfdc.net.


Re: Permission denied for first API call

2022-12-28 Thread Aditya Todkar
I was able to resolve the issue. After giving access to account used to 
generate credentials I was able to get all campaigns for particular 
customer id.

Reference: https://groups.google.com/g/adwords-api/c/sq7EeUt4Sp8/m/NlP-yZSKBAAJ

On Wednesday, December 28, 2022 at 5:18:47 PM UTC+5:30 Aditya Todkar wrote:

> I am trying to make first API call using this command: 
> python get_campaigns.py --customer_id=352-XX
>
> Error with message "User doesn't have permission to access customer. Note: 
> If you're accessing a client customer, the manager's customer id must be 
> set in the 'login-customer-id' header. See 
> https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid
> ".
>
> I have already created test manager account and after that I have created 
> 2 accounts each having one test campaign. 
>
> I have added test manager account customer id in google.yaml file but when 
> I use customer id of red and blue account in python get_campaigns script it 
> shows above error message. Can someone please let me know what I am missing?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bc2de88d-ccc7-4d2b-8e1d-c5501afa7c0cn%40googlegroups.com.


Permission denied for first API call

2022-12-28 Thread Aditya Todkar
I am trying to make first API call using this command: 
python get_campaigns.py --customer_id=352-XX

Error with message "User doesn't have permission to access customer. Note: 
If you're accessing a client customer, the manager's customer id must be 
set in the 'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid";.

I have already created test manager account and after that I have created 2 
accounts each having one test campaign. 

I have added test manager account customer id in google.yaml file but when 
I use customer id of red and blue account in python get_campaigns script it 
shows above error message. Can someone please let me know what I am missing?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f1d03461-9749-4016-b66d-bc5845aa782an%40googlegroups.com.


RE: Permission Denied Error

2022-11-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Dan,

Thank you for posting your concern. Allow me to provide support to your concern.

To answer your question, I would suggest referring to this document as it 
explains how to authorize Google Ads API request. Also, the error that you 
mentioned occurs when you're not specifying the customer ID of the Google Ads 
Account, where your login user account / email address (that you've used to 
generate Oauth2 credential) has direct access, to the login-customer-id. If 
your login user account / email address has access to the MCC account, then its 
customer id must be set in the login-customer-id header.

Furthermore, I would also suggest referring to this document as it presents 
details specific to REST and explains what you need to know to call the REST 
interface directly.

Regards,

Ernie John
Google Ads API Team
ref:_00D1U1174p._5004Q2g0vp3: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/qRtUu0RKZ9K600YmPCOd00QOOurY4oiDRXRA%40sfdc.net.


Permission Denied Error

2022-11-07 Thread Dan Brady
I'm trying to execute a request to get some metrics data from the Ads API 
on behalf of a client.

If I construct a POST request in postman and post to 
https://googleads.googleapis.com/v12/customers/xxx/googleAds:searchStream, 
the response is what would be expected.

However when I execute using the dotNet client library, specifying the same 
paramaters as above, I get the following error:

"Message": "Status(StatusCode=\"PermissionDenied\", Detail=\"The caller does 
not have permission\")"

Is there some extra level of authorisation the client needs to provide our 
manager account in order to use the client libraries as opposed to a 
straight http POST request?

Thanks for any help on this one,
Dan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bb338276-29a7-4669-bb7a-d31114a0b02cn%40googlegroups.com.


Permission denied on test account

2022-09-29 Thread Stephen Bates
I have followed the steps here to setup a test 
account: 
https://developers.google.com/google-ads/api/docs/first-call/test-accounts 

I then followed the steps here to generate an OAuth2 client secret, client 
ID and refresh 
token: 
https://github.com/googleads/google-ads-dotnet/wiki/API-access-using-own-credentials-(desktop-application-flow)
 

I used all of those credentials (in addition to a developer token generated 
on our main production manager account) to try to make a call using the 
Google API (C# client library) to retrieve a list of campaigns in the test 
using the customer ID of the test client account created in the first step.

Unfortunately, I keep getting a Permission Denied error and I've exhausted 
all my options for troubleshooting. Full error stacktrace:

Grpc.Core.RpcException: 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGrpc.Core.RpcException%3A> 
Status(StatusCode="PermissionDenied", 
Detail="The caller does not have permission")
at Grpc.Net.Client.Internal.HttpContentClientStreamReader`2.MoveNextCore 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGrpc.Net.Client.Internal.HttpContentClientStreamReader%602.MoveNextCore>(CancellationToken
 
cancellationToken)
at Google.Ads.Gax.Interceptors.StreamingRpcInterceptor`1.MoveNext 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGoogle.Ads.Gax.Interceptors.StreamingRpcInterceptor%601.MoveNext>(CancellationToken
 
cancellationToken)
at Google.Api.Gax.Grpc.AsyncResponseStream`1.MoveNextAsync 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGoogle.Api.Gax.Grpc.AsyncResponseStream%601.MoveNextAsync>(CancellationToken
 
cancellationToken)
at 
Google.Ads.GoogleAds.V11.Services.GoogleAdsServiceClient.<>c__DisplayClass32_0.<b__0>d.MoveNext
 
<http://www.google.com/url?sa=D&q=http%3A%2F%2FGoogle.Ads.GoogleAds.V11.Services.GoogleAdsServiceClient.%3C%3Ec__DisplayClass32_0.%3C%3CSearchStreamAsync%3Eb__0%3Ed.MoveNext>
()

Any suggestions on what I should do?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/170944a7-b064-42cb-99f2-6c3baab538f2n%40googlegroups.com.


RE: Google Ads API V11 - Permission Denied

2022-08-25 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Phil,

Thank you for raising this concern to the Google Ads API Forum.

I completely understand that you are having issues regarding the Permission 
Denied. To have a clearer view to this, we will be needing the complete API 
logs within the format of request and response logs with the request-id that 
generated on your end also where we can see the "The caller does not have 
permission" error. This information will help our team to better check and have 
an accurate solution here. If you haven't yet, logging can be enabled by 
navigating to the Client libraries > Your client library (ex. Java) > Logging 
documentation, which you can access from this link.

For security purposes, you can provide it via the Reply privately to author 
option. If this option is not available, then send it instead on this email 
address googleadsapi-supp...@google.com.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2dncUy: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/8uzov0RH6R7L00Eo8M2zgcS9GjpR5EfgEiNg%40sfdc.net.


Google Ads API V11 - Permission Denied

2022-08-25 Thread Phil Konsor
I am trying to get Google Ads API up and running for an internal 
application. 

Currently, I have set up:
- developer token on Google MCC
- client id and secret through Google Cloud OAuth credentials 
- have a script that retrieves a new access token based off my refresh 
token (which works)

My problem is now I'm trying to hit 

https://googleads.googleapis.com/v11/customers/{CUSTOMERNUMBER}/campaigns:mutate

and I keep getting a 403 - "The caller does not have permission" error. I 
have everything set up like I see in the documentations. 

my headers look like: 

'Content-Type' => 'application/json',
'developer-token' => env('GA_DEVELOPER_TOKEN'),
'login-customer-id' => env('GA_MCC_ACCOUNT_ID'),
'linked-customer-id' => env('GA_ADS_ACCOUNT_ID'),
'Authorization' => 'Bearer ' . $access_token

What could I be missing? The MCC account is linked to the Google Ads 
account. I see the data coming through on the MCC dashboard. 

Currently using the Google REST API as our application does not support the 
Google API clients. 

Any help would be appreciated! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8611dd8b-d28b-47ba-a1e2-3e21c2c3ad62n%40googlegroups.com.


RE: permission denied error

2022-06-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Ajay,

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

Please make sure that the login_customer_id you are setting in your config_dict 
belongs to a manager account that is linked to the account you want to get 
campaigns for.

Also make sure that you remove the hyphens from your manager account id when 
setting it in the login_customer_id field, i.e. 123-456-7890 should be set as 
1234567890.

In case the issue persists, I would kindly ask you to please provide us with 
the complete logs (request and response with request-id) via the Reply 
privately to the author option.

To enable logging on the Python client library, you can follow this guide.

Thanks,

Mattia Tommasone
Google Ads API Team
ref:_00D1U1174p._5004Q2b61J4: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/ivzQg0RD7KWB003Vnj_d1ATWCgdYyht1897g%40sfdc.net.


permission denied error

2022-06-09 Thread Ajay.R
Hi,

Using python client,
I am getting campaigns with load_from_dict method of 'GoogleAdsService', 
I have given the login_customer_id in the config_dict, but getting 
permission denied 
error,

error:"User doesn't have permission to access customer. Note: If you're 
accessing a client customer, the manager's customer id must be set in the 
'login-customer-id' header.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/27832b9e-5402-41f7-bfc0-4429df6226ecn%40googlegroups.com.


Re: Google ads api permission denied ERROR

2022-05-31 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Anil,

Thanks for getting back to us.

With regards to the concern of the Production Google Ads Manager account that 
holds the developer token and not showing it as a user in Google Ads -> "Tools 
& Security" -> "Access and Security" section for some customers, your concern 
is related to accounts, and I would recommend that you seek assistance with the 
Google Ads Product Support team, via this link.

If you’ve used the ListAccessibleCustomers method in CustomerService to list 
customers accessible to you, then note that the resulting list of customers is 
based on your OAuth credentials. The request returns a list of all accounts 
that you are able to act upon directly given your current credentials. This 
will not necessarily include all accounts within the account hierarchy; rather, 
it will only include accounts where your authenticated user has been added with 
admin or other rights in the account.

Since each top-level manager account can branch out to manage client accounts 
or other manager accounts. Those manager accounts can then branch out to manage 
more client accounts or other manager accounts, and so on. You can get the 
account hierarchy of your manager account, by building a Google Ads Query 
Language statement to query all the child accounts specified by the 
client_customer field from CustomerClient, and executing it recursively on the 
sub-manager accounts. You'll be able to check which accounts are directly 
linked to your manager account and which are indirectly linked through 
sub-managers. For more information, you may refer to this guide.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2bEVzM: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/YX4cU0RCR43K00WnXYXinWSw--ZYtdtcMOyg%40sfdc.net.


Re: Google ads api permission denied ERROR

2022-05-30 Thread Anil
 Hello,

What we noticed that the MCC account we used to create API token was not 
showing it as a user in Google Ads -> "Tools & Security" -> "Access and 
Security" section for some customers. These are the same customers those 
were missing in "list of customers" through API.

Then we added MCC account as a user to customer accounts through "Give 
others access to an account" section and then those missing customers 
started to show in "list of customers" through API.

But it doesn't allow us to do for more than 20 customers. 
Error "*Your google account can only access up to 20 Google Ads accounts at 
a time*" and so we are still not able to get list of all MCC customers yet 
through API.

Please suggest what can be done here.


On Monday, May 30, 2022 at 11:41:01 AM UTC+5:30 adsapi wrote:

> Hi Anil,
>
> Thank you for reaching out to our API support team.
>
> Could you please elaborate on the *The caller does not have permission* to 
> take a closer look at the issue, problems you've been having?
>
> To assist you even further, could you please send us the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end where we can see the error? You can provide it via *Reply 
> privately to author* option. If this option is not available, then send 
> it instead on this email address googleadsa...@google.com.
>
> Please let me know also if you have further concerns and our team will be 
> happy to provide support
>
>
> Best,
> [image: Google Logo] 
> Anthony Cyril 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bEVzM: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/9619d7a0-825a-463f-9bad-fb41b9af5fa4n%40googlegroups.com.


RE: Google ads api permission denied ERROR

2022-05-29 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Anil,

Thank you for reaching out to our API support team.

Could you please elaborate on the The caller does not have permission to take a 
closer look at the issue, problems you've been having?

To assist you even further, could you please send us the complete request and 
response logs with request ID and request header generated on your end where we 
can see the error? You can provide it via Reply privately to author option. If 
this option is not available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Please let me know also if you have further concerns and our team will be happy 
to provide support


Best,

Anthony Cyril
Google Ads API Team
ref:_00D1U1174p._5004Q2bEVzM: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/ZFAD10RCOMHS00k-A_QMnbRSi1TeI3oD9nLw%40sfdc.net.


Google ads api permission denied ERROR

2022-05-27 Thread Anil
Hello,

Our manager account has almost 40 active customers out which we are able to 
get data through API for 15 customers only. Rest all shows "Permission 
Denied" issue.

API error "*The caller does not have permission" *error.

Could you please help with this?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f926493a-3e3f-4f6d-b6b0-2fa868a757a1n%40googlegroups.com.


Re: Permission Denied

2022-05-03 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out.

We have received logs. Upon taking look at your logs, I can see that the client 
have encountered the AuthorizationError.USER_PERMISSION_DENIED error. Kindly 
note that you may receive the error ‘USER_PERMISSION_DENIED’ when a user 
doesn't have permission to access a customer and you’re accessing a client 
customer using 'login-customer-id’ in the request.

That being said, you will need to ensure that the user / email address you used 
to generate the credentials indeed has access to the account in your request. 
If the user / email address has access or is associated with the MCC / manager 
account, you will need to specify the MCC / manager account's ID as the value 
of the login-customer-id field.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2aO4QV: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/1oyhF0RBBH6200JM-jAj0pQ0GgUtpVzvEXAg%40sfdc.net.


Re: Permission Denied

2022-04-28 Thread 'Dmitry Trager' via Google Ads API and AdWords API Forum
Please, confirm that you've received my private response

On Wednesday, April 27, 2022 at 10:55:00 PM UTC+4 adsapi wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team. 
>
> To investigate the issue further, could you please provide the complete 
> request 
> 
>  
> and response 
> 
>  
> logs, with the request-id 
> ?
>  
> If you haven't yet, logging can be enabled by navigating to the Client 
> libraries > Your client library (ex. Java) > Logging documentation, which 
> you can access from this link 
> . 
> You can provide it via Reply privately to author option. If this option is 
> not available, then send it instead on this email address 
> googleadsa...@google.com .
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2aO4QV: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/54442ec8-5a0f-4b4b-85e1-54f1f2d2d28bn%40googlegroups.com.


Re: Permission Denied

2022-04-27 Thread 'Dmitry Trager' via Google Ads API and AdWords API Forum
We are using *google-ads-ruby 
 *by the way.

On Wednesday, April 27, 2022 at 9:35:35 AM UTC+4 Dmitry Trager wrote:

> After switching from AdWords API to Google Ads API we started to get a lot 
> of error for our clients:
>
> *{"created":"@1651037629.519404470","description":"Error received from 
> peer ipv4:172.253.122.95:443 
> ","file":"src/core/lib/surface/call.cc","file_line":1074,"grpc_message":"The
>  
> caller does not have permission","grpc_status":7}*
>
> This happens for many simple search requests to google_ads service.
> There were no errors before.
> What should we do? It is possible to fix?
>
> Thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/024536ce-d036-4299-80eb-a9ddeb43090cn%40googlegroups.com.


Permission Denied for Customer

2022-04-03 Thread Rukesh Prajapati
Hello all,

I am working on shifting an API from Adwords API to Google Ads API.

I have followed the process as in below documents
https://github.com/googleads/google-ads-php/tree/main

However, when I use the Customer ID (https://prnt.sc/rwbfXMfHoat0) that I 
have been using in the Adwords API, it gave me an permission issue below:

Request with ID 'XXX' has failed. Google Ads failure details: 
authorization_error: User doesn't have permission to access customer. Note: 
If you're accessing a client customer, the manager's customer id must be 
set in the 'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid

I also tried to use the Manager ID (https://prnt.sc/IbYFdyuIAzVe). It too 
gave me an empty result.

Which Customer ID should I use?

Please Help.

Regards,
Rukesh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/36cd83b8-8567-4af8-89c2-df12aef07cbdn%40googlegroups.com.


RE: USER PERMISSION DENIED AND CUSTOMER_NOT_ENABLED

2022-02-28 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Rita,

Thanks for reaching out to the Google Ads API Forum.

Upon checking the logs you’ve provided with us, it appears that you’ve 
encountered the CUSTOMER_NOT_ENABLED error. The CUSTOMER_NOT_ENABLED error 
indicates that the customer ID specified in your API request could be either 
inactive or canceled. With this, upon checking the ClientCustomerId 6779690595 
used in the request, you use the disabled account. Moving forward, I will 
suggest not including inactive / canceled accounts in API requests to avoid 
this error.

One way to check the status of the Google Ads account, especially if it is 
inactive / canceled, is to login the account as you can see its status in the 
UI. Also, you have an option to activate this account by following this guide 
in the event that you want to include it in the request header of the API 
transaction. If you want to reactivate your account, you can reach out to the 
Google Ads Product Support team, via this link, for further assistance.

Let us know if you have any further questions.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2Wz28m: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/2mnhI0R80NNP00DQyVgujbSVizp8O-Sk56mw%40sfdc.net.


USER PERMISSION DENIED AND CUSTOMER_NOT_ENABLED

2022-02-24 Thread rita quaglietta

---
Headers: {
  "google.ads.googleads.v10.errors.googleadsfailure-bin": 
"\n:\n\u0002H\u0018\u00124The customer can't be used because it isn't 
enabled.\u0012\u0016FWYpqK--Bku_y89pw6lAsg",
  "grpc-status-details-bin": "\b\u0007\u0012#The caller does not have 
permission\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure\u0012T\n:\n\u0002H\u0018\u00124The
 
customer can't be used because it isn't 
enabled.\u0012\u0016FWYpqK--Bku_y89pw6lAsg",
  "request-id": "FWYpqK--Bku_y89pw6lAsg"
}
Fault: errors {
  error_code {
authorization_error: CUSTOMER_NOT_ENABLED
  }
  message: "The customer can\'t be used because it isn\'t enabled."
}
request_id: "FWYpqK--Bku_y89pw6lAsg"
[2022-02-25 08:42:50,064 - WARNING] Request made: ClientCustomerId: 
6779690595, Host: googleads.googleapis.com, Method: 
/google.ads.googleads.v10.services.GoogleAdsService/SearchStream, 
RequestId: FWYpqK--Bku_y89pw6lAsg, IsFault: True, FaultMessage: The 
customer can't be used because it isn't enabled.
Traceback (most recent call last):
  File 
"C:\Users\rita.quaglietta\Documents\GADSv02\venv\lib\site-packages\google\ads\googleads\interceptors\response_wrappers.py",
 
line 85, in __next__
message = next(self._underlay_call)
  File 
"C:\Users\rita.quaglietta\Documents\GADSv02\venv\lib\site-packages\grpc\_channel.py",
 
line 426, in __next__
return self._next()
  File 
"C:\Users\rita.quaglietta\Documents\GADSv02\venv\lib\site-packages\grpc\_channel.py",
 
line 642, in _next
return self._next_response()
  File 
"C:\Users\rita.quaglietta\Documents\GADSv02\venv\lib\site-packages\grpc\_channel.py",
 
line 617, in _next_response
raise self
grpc._channel._SingleThreadedRendezvous: <_SingleThreadedRendezvous of RPC 
that terminated with:
status = StatusCode.PERMISSION_DENIED
details = "The caller does not have permission"
debug_error_string = 
"{"created":"@1645774969.61300","description":"Error received from peer 
ipv4:142.250.180.138:443","file":"src/core/lib/surface/call.cc","file_line":904,"grpc_message":"The
 
caller does not have permission","grpc_status":7}"
>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "", line 92, in 
  File "", line 54, in main

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3d72d7c5-22b0-4682-a6e9-6fe6d6f6abd4n%40googlegroups.com.


Re: Permission Denied error received in Google Ads API, but not for AdWords API

2022-02-20 Thread gardella...@gmail.com
Solved. The problem was I was create credentials using the customer id. In 
order to fix it, I create the credential using the root account id and 
during queries, I have to choose the login-customer-id. By playing with 
https://developers.google.com/google-ads/api/docs/migration/login-customer-id 
was useful. Example:

  static GoogleAdsClient getClient() {
return GoogleAdsClient.newBuilder().setCredentials(getCredential())//
.setLoginCustomerId(rootCustomerId)//
.setDeveloperToken(developerToken).build();
  }

  private static Credentials getCredential() {
return 
UserCredentials.newBuilder().setClientId(clientId).setRefreshToken(refreshToken)
.setClientSecret(clientSecret).build();
  }

And when doing the queries, choose the proper loginCustomerId

SearchGoogleAdsStreamRequest request = 
SearchGoogleAdsStreamRequest.newBuilder().setCustomerId(
Long.toString(loginCustomerId)).setQuery(query).build();


On Sunday, February 20, 2022 at 11:44:23 AM UTC-3 gardella...@gmail.com 
wrote:

> Hi,
>
> I am having the same issue. How did you solve it?
>
> Thanks,
> Juan
>
> On Friday, November 22, 2019 at 1:59:54 PM UTC-3 Google Ads API Forum 
> Advisor Prod wrote:
>
>> Hi Paul,
>>
>> When we make an API request it is very important that we make sure there 
>> is a link between the manager account authenticated in the request and the 
>> client account specified in the headers. Also you have to make sure the 
>> *OAuth2 
>> credentials* that are being used belong to the manager account you are 
>> authenticating. Could you please provide your main MCC customer Id and 
>> specify the ones that are working and the ones that you encounter issues 
>> with? Please reply to us with the above information via the *Reply 
>> privately to author* option.
>>
>>
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>
>>
>> ref:_00D1U1174p._5001UOCwYj: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/25bed54e-cd1c-4690-a670-8c7aaee16da3n%40googlegroups.com.


Re: Permission Denied error received in Google Ads API, but not for AdWords API

2022-02-20 Thread gardella...@gmail.com
Hi,

I am having the same issue. How did you solve it?

Thanks,
Juan

On Friday, November 22, 2019 at 1:59:54 PM UTC-3 Google Ads API Forum 
Advisor Prod wrote:

> Hi Paul,
>
> When we make an API request it is very important that we make sure there 
> is a link between the manager account authenticated in the request and the 
> client account specified in the headers. Also you have to make sure the 
> *OAuth2 
> credentials* that are being used belong to the manager account you are 
> authenticating. Could you please provide your main MCC customer Id and 
> specify the ones that are working and the ones that you encounter issues 
> with? Please reply to us with the above information via the *Reply 
> privately to author* option.
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>
> ref:_00D1U1174p._5001UOCwYj: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/f41c4e01-eba0-4203-8005-bc1a1b6a6eben%40googlegroups.com.


RE: Permission Denied: Being requested to Enable the Google Ads API in the wrong GCP account.

2021-12-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Nelle,

Can you confirm that you followed the steps in this guide? You should be able 
to see your project IDs by clicking on the project in the top left-hand corner 
of the screen. You can also try creating a new project and enabling it then 
using those credentials for your API call. If that doesn't work, could you 
please share the MCC Id and the email address used to create the new project 
for me to investigate further? Also, please provide the complete request and 
response logs with request ID as well.

Kindly send the requested details via Reply privately to author option. If this 
option is not available, please send it directly to 
googleadsapi-supp...@google.com instead.

Regards,

Teejay Wennie Pimentel
Google Ads API Team
ref:_00D1U1174p._5004Q2TLsy5: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 
"AdWords API and Google Ads 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/bRKur0R48URT00wIRd0ocsSOS5NI-XwsBovw%40sfdc.net.


Re: Permission Denied: Being requested to Enable the Google Ads API in the wrong GCP account.

2021-12-16 Thread Nellle Rickchards

PS: I'm connecting via the OAuth Desktop Application method 
(https://developers.google.com/google-ads/api/docs/client-libs/python/oauth-desktop).
  
I was connecting fine with the old Google Adwords API.
On Thursday, December 16, 2021 at 11:46:24 AM UTC-5 Nellle Rickchards wrote:

> Hello, I'm running into the following error when 
> calling campaign_budget_service.mutate_campaign_budgets
>
> ```
> FaultMessage: Google Ads API has not been used in project  before or 
> it is disabled. Enable it by visiting 
> https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=
>  
> xxx
>  
> then retry ```
>
> The issue is, the project ID mentioned and in the error and URL is not 
> correct. How do I tell the API what GCP account to use? I've already setup 
> the correct account via gcloud commands.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/07c2725f-31b5-4919-8517-2ff89d824477n%40googlegroups.com.


Permission Denied: Being requested to Enable the Google Ads API in the wrong GCP account.

2021-12-16 Thread Nellle Rickchards
Hello, I'm running into the following error when 
calling campaign_budget_service.mutate_campaign_budgets

```
FaultMessage: Google Ads API has not been used in project  before or it 
is disabled. Enable it by visiting 
https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=
 
xxx
 
then retry ```

The issue is, the project ID mentioned and in the error and URL is not 
correct. How do I tell the API what GCP account to use? I've already setup 
the correct account via gcloud commands.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/a67a816e-28e0-4391-8e98-46c0b13e88bdn%40googlegroups.com.


RE: ERROR: USER PERMISSION DENIED

2021-11-22 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Bipul,

Thanks for reaching out to us.

Kindly note that you may receive error ‘USER_PERMISSION_DENIED’ if you’re 
incorrectly setting the 'login-customer-id’ in the request or when a user 
doesn't have permission to access a customer and you’re accessing a client 
customer using 'login-customer-id’ in the request.

That being said, you will need to ensure that the user / email address you used 
to generate the credentials indeed has access to the account in your request. 
If the user / email address has access or is associated with the MCC / manager 
account, you will need to specify the said MCC / manager account's ID as the 
value of the login-customer-id field.

In addition, you may see this guide to generate OAuth credentials using OAuth 
Desktop Application Flow for the PHP Java library.

Should the issue persist, you may provide the user / email address you used to 
generate the credentials, complete request and response logs with the 
request-id via the Reply privately to author option, so our team can better 
check.

If you haven't yet, logging can be enabled by navigating to the Client 
libraries > Your client library (ex. Java) > Logging documentation, which you 
can access from this link.

Regards,
Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2Rv99b: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 
"AdWords API and Google Ads 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/alWTo0R2YSOV00irCYaKMxSwG8xxi88xy4xg%40sfdc.net.


Re: ERROR: USER PERMISSION DENIED

2021-11-21 Thread 'Bipul Kumar' via AdWords API and Google Ads API Forum
Hi Team, 

Can someone please respond to the above mail?

Thanks

On Monday, November 22, 2021 at 10:15:04 AM UTC+5:30 Bipul Kumar wrote:

> error_code {
> authorization_error: USER_PERMISSION_DENIED
>   }
>   message: "User doesn\'t have permission to access customer. Note: If 
> you\'re accessing a client customer, the manager\'s customer id must be set 
> in the \'login-customer-id\' header.
>
> I am getting this error while i am adding customer id in header request. 
> For your reference adding screenshot.
>
> Thanks
>

-- 
***
This communication is confidential, may be privileged, and is meant 
only for the intended recipient and purpose. No part of this email or any 
files transmitted with it can be shared, copied, forwarded, published 
online or offline, or used in any unauthorised manner. If you are not the 
intended recipient, please preserve the confidentiality of the contents, 
delete the e-mail and attachments (if any) from your system, and inform the 
sender immediately.
***

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/89ee5a84-d893-4344-8435-d1d7a788c853n%40googlegroups.com.


Re: Permission Denied

2021-09-02 Thread Google Ads API Forum Advisor
Hello,

It appears you did not receive our last message. Our team member, Ernie, 
provided the message below:
Thank you for providing more details to your concern. I am also a member of 
Google Ads API team and let me provide support to your concern.

Upon further checking on my end, the "ad...@thegoinggroup.com" is not 
associated to any Google Ads accounts. With this, it appears that there might 
be an issue on the UI that causing to not add the said user account. With this, 
I would suggest to reach out to the product team via this link to address the 
issue on adding user account in the UI that causing the issue on the API.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2JYkvJ: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 
"AdWords API and Google Ads 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/nV9jx0QYTIIU00SioC99THRnGRwQ0y0s_Fkg%40sfdc.net.


Re: Permission Denied

2021-08-31 Thread goingdev
My latest response was August 27th. I did not receive any response after 
that. 
Please advise.
On Friday, August 6, 2021 at 2:10:49 PM UTC-4 adsapi wrote:

> Hi,
>
> My colleague responded privately to your message on July 29th and it 
> appears it didn't reach you so I will post his message with some redaction 
> in the forum:
>
>
> Hi,
>
> Thank you for sharing which user was used to generate the OAuth2 
> credentials.
>
> Upon checking, the said "admin@thegoinggroup" user does not appear to have 
> access to both the 89xx420 client and the 61x16 MCC accounts. You 
> can check which users has access to your accounts by navigating to the *TOOLS 
> & SETTINGS > Access and security > USERS > User (column)* view.
>
> This is now the reason why you are encountering the *permission denied* 
> error. 
> To resolve this, you will need to identify a user from the UI view and 
> generate 
> credentials 
> <https://developers.google.com/google-ads/api/docs/oauth/cloud-project> using 
> that user.
>
> Best regards,
>   
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2JYkvJ: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 
"AdWords API and Google Ads 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/4f9c75fd-28cd-4474-8567-06002779d6e0n%40googlegroups.com.


Re: Permission Denied

2021-08-05 Thread goingdev
I responded to this comment over a week ago with the user / email info. I 
haven't gotten a response.

I'm disappointed with the response times on this forum.
On Tuesday, July 27, 2021 at 3:24:06 PM UTC-4 adsapi wrote:

> Hello,
>
> It seems possible you did not receive the most recent message from our 
> team. Please let us know if you have received this message. Our response to 
> your message where you provided your logs is below: 
>
> The USER_PERMISSION_DENIED 
> 
>  error 
> usually indicates that you are authenticating as a user that does not have 
> access to the account (896-946-5420) specified in your  API request.
>
> Also, since you specified the "login-customer-id": "6139401816 
> <(613)%20940-1816>", could you confirm if the user / email address you 
> used to generate your OAuth2 credentials 
>  
> indeed 
> has access to the said 6139401816 <(613)%20940-1816> MCC / manager 
> account?
>
> To avoid the above error, you will need to ensure that the user / email 
> address you used to generate the credentials indeed has access 
> 
>  to 
> the account in your request. If the user / email address has access or is 
> associated to the MCC / manager account, you will need to specify the said 
> MCC / manager account's ID as the value of the login-customer-id 
> 
>  field.
>
> If the issue persists, could you also share which user / email address it 
> was you used when you generated your credentials?
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
>
> ref:_00D1U1174p._5004Q2JYkvJ: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 
"AdWords API and Google Ads 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/d33fd8a2-d399-4a08-9dea-350e7e674256n%40googlegroups.com.


RE: User Permission Denied

2021-07-28 Thread Google Ads API Forum Advisor
Hi Jan,

Thank you for reaching out.

Could you confirm if the OAuth2 credentials were generated using a user / email 
address that has access to the Google Ads account (customer ID) specified in 
your API request? If the user / email address is one that has access, or is 
associated to the MCC / manager account, then you will need to specify that 
account ID as the login-customer-id.

That said, if the above is already the current setup and so that our team can 
take a closer look, could you provide the complete request and response logs, 
with the request-id? You may also send the user / email address that you used 
when you generated the credentials.

If you haven't yet, logging can be enabled by navigating to the Client 
libraries > Your client library (ex. Java) > Logging documentation, which you 
can access from this link.

You may then send the requested information via the Reply privately to author 
option. If this option is not available, you may send the details directly to 
our googleadsapi-supp...@google.com alias instead.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2JEV3s: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 
"AdWords API and Google Ads 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/iTzkg0QWY2UE00oVnzP1o9QHOGyVSZgex4FA%40sfdc.net.


User Permission Denied

2021-07-27 Thread Jan Dranreb Balangue
Why it still appear USER_PERMISSION_DENIED even though i follow the 
instruction in linked-customer-id 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/646d8551-f481-4461-a568-a225f5e1cbe4n%40googlegroups.com.


Re: Permission Denied

2021-07-27 Thread Google Ads API Forum Advisor
Hello,

It seems possible you did not receive the most recent message from our team. 
Please let us know if you have received this message. Our response to your 
message where you provided your logs is below:

The USER_PERMISSION_DENIED error usually indicates that you are authenticating 
as a user that does not have access to the account (896-946-5420) specified in 
your  API request.

Also, since you specified the "login-customer-id": "6139401816", could you 
confirm if the user / email address you used to generate your OAuth2 
credentials indeed has access to the said 6139401816 MCC / manager account?

To avoid the above error, you will need to ensure that the user / email address 
you used to generate the credentials indeed has access to the account in your 
request. If the user / email address has access or is associated to the MCC / 
manager account, you will need to specify the said MCC / manager account's ID 
as the value of the login-customer-id field.

If the issue persists, could you also share which user / email address it was 
you used when you generated your credentials?

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2JYkvJ: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 
"AdWords API and Google Ads 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/nTo880QWX4JL00F3MMCnoMTPSW5ZwsN73jUQ%40sfdc.net.


Re: Permission Denied

2021-07-26 Thread goingdev
I sent in the full request and response logs last week. Have you received 
it?

On Tuesday, July 13, 2021 at 1:51:58 AM UTC-4 adsapi wrote:

> Hello there,
>
> Thank you for getting back to us and for sharing the logs.
>
> However, the logs provided aren't the logs that we're expecting. In the 
> Google Ads API, you can enable logging by navigating to the *Client 
> libraries > Your client library (ex. Java) > Logging* documentation, 
> which you can access from this link 
> 
> .
>
> Once those logs are available, please share with us the complete request 
> 
>  and response 
> 
>  logs 
> with the request ID 
> 
>  generated 
> (via *Reply privately to author* option or via this email: 
> *googleadsa...@google.com*).
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2JYkvJ: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 
"AdWords API and Google Ads 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/f49cf8c4-9a51-4fdb-802b-91de57df1956n%40googlegroups.com.


Re: Permission Denied

2021-07-12 Thread Google Ads API Forum Advisor
Hello there,

Thank you for getting back to us and for sharing the logs.

However, the logs provided aren't the logs that we're expecting. In the Google 
Ads API, you can enable logging by navigating to the Client libraries > Your 
client library (ex. Java) > Logging documentation, which you can access from 
this link.

Once those logs are available, please share with us the complete request and 
response logs with the request ID generated (via Reply privately to author 
option or via this email: googleadsapi-supp...@google.com).

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2JYkvJ: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 
"AdWords API and Google Ads 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/n-4Xs0QW65M600TdR4doZKR2OLY4PQxlXxkA%40sfdc.net.


Re: Permission Denied

2021-07-09 Thread goingdev
Any update on this? I sent a private response 3 days ago.

On Tuesday, July 6, 2021 at 1:31:43 AM UTC-4 adsapi wrote:

> Hello there,
>
> Thank you for reaching out to us.
>
> As for the error, can you try following this guide 
>  when 
> generating your OAuth2 credentials?
>
> If the issue still persists, please share with us the complete request 
> 
>  and response 
> 
>  logs 
> with the request ID 
> 
>  generated 
> (via *Reply privately to author* option or via this email: 
> *googleadsa...@google.com*) so our team can better check on our end.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2JYkvJ: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 
"AdWords API and Google Ads 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/8e85c0d5-d20a-48d5-9fd2-e76c283b28f7n%40googlegroups.com.


RE: Permission Denied

2021-07-05 Thread Google Ads API Forum Advisor
Hello there,

Thank you for reaching out to us.

As for the error, can you try following this guide when generating your OAuth2 
credentials?

If the issue still persists, please share with us the complete request and 
response logs with the request ID generated (via Reply privately to author 
option or via this email: googleadsapi-supp...@google.com) so our team can 
better check on our end.

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2JYkvJ: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 
"AdWords API and Google Ads 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/1C3pi0QVT60G00XJTqZjgpT32EqgAVA5ssMQ%40sfdc.net.


Permission Denied

2021-07-05 Thread goingdev
I'm inmiddle of converting from the old Google Adwords API to the new 
Google Ads API.
I'm getting this error using the Google Ads API:

Google.Ads.GoogleAds.V7.Errors.GoogleAdsException: 
'Status(StatusCode="PermissionDenied", Detail="The caller does not have 
permission", 

Please advise.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/4c2eb317-56f9-4e5d-a99f-0ba1ca16e4d3n%40googlegroups.com.


Re: Permission Denied error received in Google Ads API, but not for AdWords API

2019-11-22 Thread Google Ads API Forum Advisor Prod
Hi Paul,

When we make an API request it is very important that we make sure there is a 
link between the manager account authenticated in the request and the client 
account specified in the headers. Also you have to make sure the OAuth2 
credentials that are being used belong to the manager account you are 
authenticating. Could you please provide your main MCC customer Id and specify 
the ones that are working and the ones that you encounter issues with? Please 
reply to us with the above information via the Reply privately to author option.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UOCwYj: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 
"AdWords API and Google Ads 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/42C6O0Q1DR7200uNdIE2sMT0K7ak_Z2a2fpg%40sfdc.net.


Re: Permission Denied error received in Google Ads API, but not for AdWords API

2019-11-22 Thread Paul Cooper
Hi Xiaoming,

Sorry it wasn't clear but we are currently using both APIs simultaneously 
as we test and develop for the new API.

The customers from MCC (let's say, ID 123-123-4567) using their account 
level oauth credentials receive 'USER PERMISSION DENIED' (works fine in the 
old AdWords API).

Other customer from the same MCC, using MCC level oauth credentials are 
fine.

Another MCC, which is also the manager of ID 123-123-4567 and our MAIN mcc, 
has customers that authenticate with account level credentials, and can use 
the new API. They can also use MCC oauth credentials fine as well.

So there is just a small subset of customer, authenticating in a particular 
way on a specific MCC that currently have issues with the new API - but can 
use the old one fine!

Regards,
Paul

On Thursday, 21 November 2019 20:44:16 UTC+1, adsapiforumadvisor wrote:
>
> Hi Paul,
>
> Thanks for reaching out. The error USER_PERMISSION_DENIED 
> <https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED>
>  
> usually occurs when there is no link between the manager account 
> authenticated in the request and the client account specified in the 
> headers. If the link between the manager and client account was removed or 
> you don’t have access to the client customer ID specified or any of its 
> manager accounts, you may encounter this error. To resolve this issue, you 
> will need to use the OAuth2 Credentials 
> <https://developers.google.com/adwords/api/docs/guides/authentication> 
> that were generated using an email address which has access to the account 
> indicated in your request header. If you are using Google Ads API you need 
> to include the login-customer-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>  
> in the header as mentioned in this blog post 
> <https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html>
> . 
>
> Please let us know if you have any further questions.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UOCwYj: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 
"AdWords API and Google Ads 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/10234799-bc41-4cf9-939d-8854e8e661dc%40googlegroups.com.


RE: Permission Denied error received in Google Ads API, but not for AdWords API

2019-11-21 Thread Google Ads API Forum Advisor Prod
Hi Paul,

Thanks for reaching out. The error USER_PERMISSION_DENIED usually occurs when 
there is no link between the manager account authenticated in the request and 
the client account specified in the headers. If the link between the manager 
and client account was removed or you don’t have access to the client customer 
ID specified or any of its manager accounts, you may encounter this error. To 
resolve this issue, you will need to use the OAuth2 Credentials that were 
generated using an email address which has access to the account indicated in 
your request header. If you are using Google Ads API you need to include the 
login-customer-id in the header as mentioned in this blog post.

Please let us know if you have any further questions.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UOCwYj: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 
"AdWords API and Google Ads 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/S0XIG0Q1C45A00T_13kd-2TtC9BPxMgQUKzA%40sfdc.net.


Permission Denied error received in Google Ads API, but not for AdWords API

2019-11-21 Thread Paul Cooper
Hi,

As we began to integrate parts of the new google ads api into our current 
solution, we have run into an issue with certain accounts being unable to 
use the new API (receiving a USER_PERMISSION_DENIED). The accounts with 
this issue all have a mcc link with a particular mcc, but use their 
individual oauth credentials to connect to the API. With AdWords, there is 
no issues.

Other accounts linked to the same mcc, but use the mcc oauth credentials 
have no permissions. We also have another MCC 'above' the one in question. 
Accounts using account OR mcc oauth credentials can access the new API fine 
when linked to this parent MCC.

Any insight, ideas or help with this issue would be greatly appreciated.

Paul

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/a5a56337-8056-4f5b-b65e-66476a1a8216%40googlegroups.com.


Re: Permission denied (Google Ads API)

2019-11-19 Thread Google Ads API Forum Advisor Prod
Hi Aoi,

Would you be able to re-send the complete XML request and response logs along 
with the configuration file via Reply privately to author? Please set the 
logging  level to DEBUG. Thank you!

Regards,
Mitchell
Google Ads API Team
ref:_00D1U1174p._5001UJahYp: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 
"AdWords API and Google Ads 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/MP_L40Q184Z300Z4R1RMvcTbuYk4c8Hz7sjA%40sfdc.net.


Re: Permission denied (Google Ads API)

2019-11-18 Thread 高嶋葵
Thank you your help.

I replied to you directly.

1) RequestLog
2) ResponseLog
3) AdManager ID (Test Account)
4) Client ID (Test Account)

Did the email that I sent the other day arrive? 

Thanks,
Aoi Takashima

On Friday, November 15, 2019 at 1:10:38 AM UTC+9, adsapiforumadvisor wrote:
>
> Hi,
>
>  
>
> Thank you for reaching out. Please make sure you are calling GetCampaigns 
> from a client account, not a manager account. If you are still getting an 
> error after doing this, please provide the client customer ID you are using 
> to make the call and the complete request and response logs *via reply 
> privately to author *so that I can investigate the issue further. Please 
> see here  
> for
>  
> information on how to enable logging.
>
>  
>
> Regards,
>
> Mitchell
>
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UJahYp: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 
"AdWords API and Google Ads 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/7394ebb3-4885-4d03-b780-f4556903769a%40googlegroups.com.


Re: Permission denied after changing von AdWords API (Test) to Ads API (Test)

2019-11-17 Thread Benni S.
Thank you adsapiforumadvisor 

I replied to you directly and gave you 
1.) AdManager ID (to get API access and create developer token)
2.) AdManager ID (Test Account w red test label)
3.) Client ID (Test Account w red test label).

However,  if I run the command ( php 
examples/BasicOperations/GetCampaigns.php --customerId  ) with my 
account id 3.) I see the above error. When I run it with my account id 2.) 
I get nothing back, not even an error

Using the old AdWords test approach ( described here: 
https://github.com/googleads/googleads-php-lib 

 ) 
I am still able to get/return the test campaigns.

Thanks,
Ben







Am Montag, 11. November 2019 16:37:46 UTC+1 schrieb adsapiforumadvisor:
>
> Hi Benni,
>
>  
>
> Thank you for reaching out. Can you please provide the client customer ID 
> of the test manager and test client accounts *via reply privately to 
> author*? Additionally, which account did you use to make the call to 
> GetCampaigns?
>
>  
>
> Regards,
>
> Mitchell
>
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UJaEED: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 
"AdWords API and Google Ads 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/498fe3d5-f0d1-4628-813c-efb23c9997d2%40googlegroups.com.


RE: Permission denied (Google Ads API)

2019-11-14 Thread Google Ads API Forum Advisor Prod
Hi,


Thank you for reaching out. Please make sure you are calling GetCampaigns from 
a client account, not a manager account. If you are still getting an error 
after doing this, please provide the client customer ID you are using to make 
the call and the complete request and response logs via reply privately to 
author so that I can investigate the issue further. Please see here for 
information on how to enable logging.


Regards,

Mitchell

Google Ads API Team
ref:_00D1U1174p._5001UJahYp: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 
"AdWords API and Google Ads 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/kDR5F0Q0YVL400g30xE-muR-KdVLTKpyogIg%40sfdc.net.


Permission denied (Google Ads API)

2019-11-13 Thread 高嶋葵
Hello.

I am currently migrating from AdwordsAPI to GoogleAdsAPI.
'CreateCustomer' succeeded in test account.
https://github.com/googleads/google-ads-php/blob/master/examples/AccountManagement/CreateCustomer.php#L99

However, due to a permision error, 'GetCampaigns' cannot succeed.
https://github.com/googleads/google-ads-php/blob/master/examples/BasicOperations/GetCampaigns.php#L93

```
message: "{
"message": "The caller does not have permission",
"code": 7,
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "google.ads.googleads.v2.errors.googleadsfailure-bin",
"data": "",
{
"@type": "grpc-status-details-bin",
"data": ""
},
{
"@type": "request-id",
"data": "UaS6TmrXdr_hTfa-_H5Pmw"
}
}
]
}
```

Thanks for your help.

Best regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/9958f221-6167-4081-ba1a-a8843d23a53f%40googlegroups.com.


RE: Permission denied after changing von AdWords API (Test) to Ads API (Test)

2019-11-11 Thread Google Ads API Forum Advisor Prod
Hi Benni,


Thank you for reaching out. Can you please provide the client customer ID of 
the test manager and test client accounts via reply privately to author? 
Additionally, which account did you use to make the call to GetCampaigns?


Regards,

Mitchell

Google Ads API Team
ref:_00D1U1174p._5001UJaEED: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 
"AdWords API and Google Ads 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/k4BbI0Q0TA2D00q0FiFe6sSYqkbxpmkuFFCQ%40sfdc.net.


Permission denied after changing von AdWords API (Test) to Ads API (Test)

2019-11-10 Thread Benni S.
I managed to get test access to the Google AdWords API (described here: 
https://github.com/googleads/googleads-php-lib 
)
 
by setting up

   - an Ads Manager Account with a developer token (test)
   - a Test Ads Manager Account (with the red label "Test")
   - a Test Client Account (with the red labale "Test")


After Setting Up OAUTH credentials and downloading 
adwords-examples-41.0.0.tar.gz, I was able to make a test call 
"GetCampaigns" via terminal. When I set up the laravel project, that was 
included in the above download, I got noticed that the above approach is 
deprecated.

Thus, I followed this approach to use the updated library: 
https://github.com/googleads/google-ads-php/blob/master/README.md 



After I run 
php examples/BasicOperations/GetCampaigns.php --customerId XYZXYZXYZX

I get the following: Do I need to completely start over and discard my 3 
test accounts?

ApiException was thrown with message '{
"message": "The caller does not have permission",
"code": 7,
"status": "PERMISSION_DENIED",
"details": [
{
"@type": 0,
"data": "type.googleapis.com
\/google.ads.googleads.v2.errors.GoogleAdsFailure"
},
{
"@type": 0,
"data": [
{
"errorCode": {
"authorizationError": "USER_PERMISSION_DENIED"
},
"message": "User doesn't have permission to access 
customer. Note: If you're accessing a client customer, the manager's 
customer id must be set in the 'login-customer-id' header. See https:\/\/
developers.google.com
\/google-ads\/api\/docs\/concepts\/call-structure#login-customer-id"
}
]
}
]
}'.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/72a59a1d-3039-41bf-b664-92409d2a6ff7%40googlegroups.com.


RE: Permission denied error on running an example get_campaigns.py after installing Google Ads API with same tokens that were used for Adwords

2019-09-19 Thread Google Ads API Forum Advisor Prod
Hi Namrata,

Thank you for reaching out. Could you please try visiting the Google API 
Console via the link received in the error response and enable Google Ads API 
in your project using the steps mentioned in this guide? Please give this a try 
and if the issue persists, could you please share the MCC Id and the email 
address used while enabling the Google Ads API in developer's console for me to 
investigate further? Please use Reply privately to the author option while 
sharing the details.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UHHH47: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 
"AdWords API and Google Ads 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/-PljU0PY3HSP00bhKJFaUFQW2sRWJhJ_uT6w%40sfdc.net.


Permission denied error on running an example get_campaigns.py after installing Google Ads API with same tokens that were used for Adwords

2019-09-18 Thread Namrata Gandhi

Hi All,

We migrated from Google Adwords to Google Ads API using the installation 
guide. On trying to run a simple get_campaigns.py example from the library, 
I am getting the following error. Please note we used the same client ID, 
developer token, refresh token and client secret that we have been using 
for Adwords


[2019-09-18 14:20:22 - WARNING] Request made: ClientCustomerId: 
599-595-4159, Host: googleads.googleapis.com:443, Method: 
/google.ads.googleads.v2.services.GoogleAdsService/Search, RequestId: None, 
IsFault: True, FaultMessage: Google Ads API has not been used in project 
865728966170 before or it is disabled. Enable it by visiting 
https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=865728966170
 
then retry. If you enabled this API recently, wait a few minutes for the 
action to propagate to our systems and retry.


Full stack trace



Request

---

Method: /google.ads.googleads.v2.services.GoogleAdsService/Search

Host: googleads.googleapis.com:443

Headers: {

  "developer-token": "REDACTED",

  "x-goog-api-client": "gl-python/2.7.14 grpc/1.23.0 gax/1.14.2 
gapic/3.2.0",

  "x-goog-request-params": "customer_id=599-595-4159"

}

Request: customer_id: "599-595-4159"

query: "SELECT campaign.id, campaign.name FROM campaign ORDER BY 
campaign.id"

page_size: 1000



Response

---

Headers: {

  "google.rpc.help-bin": "\n?\u0001\n(Google developers console API 
activation\u0012ehttps://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=865728966170";,

  "grpc-status-details-bin": "\b\u0007\u0012?\u0002Google Ads API has not 
been used in project 865728966170 before or it is disabled. Enable it by 
visiting 
https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=865728966170
 
then retry. If you enabled this API recently, wait a few minutes for the 
action to propagate to our systems and 
retry.\u001a?\u0001\n#type.googleapis.com/google.rpc.Help\u0012?\u0001\n?\u0001\n(Google
 
developers console API 
activation\u0012ehttps://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=865728966170";

}

Fault: {

  "created": "@1568841622.311250421",

  "description": "Error received from peer 
ipv6:[2401:db00:11ff:ff46:face:b00c:0:1e10]:8080",

  "file": "src/core/lib/surface/call.cc",

  "file_line": 1052,

  "grpc_message": "Google Ads API has not been used in project 865728966170 
before or it is disabled. Enable it by visiting 
https://console.developers.google.com/apis/api/googleads.googleapis.com/overview?project=865728966170
 
then retry. If you enabled this API recently, wait a few minutes for the 
action to propagate to our systems and retry.",

  "grpc_status": 7

}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/b5feff13-8468-488e-9eda-94b6efa0180c%40googlegroups.com.


RE: GetCustomer from Services.V2.CustomerService throws permission denied error

2019-08-14 Thread Google Ads API Forum Advisor Prod
Hi Vinitha,

I'm afraid, it is not possible to identify if the accounts are in draft or 
completely setup through the API. If you are making an API call against the 
account that is not completely setup, this might fail with an error.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEIuRk: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 
"AdWords API and Google Ads 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/2uJSb0PW8UMX00SZDlVlq0R0GicO1cJuz-OA%40sfdc.net.


RE: GetCustomer from Services.V2.CustomerService throws permission denied error

2019-08-14 Thread vinitha
Hello ,

 

Thank you for your response. I understand that the account is not completely 
set up. But is there any field that I can bring back from following query to 
check if that condition

Query = "SELECT 
customer.id,customer.descriptive_name,customer_client.resource_name, 
customer_client.descriptive_name,customer_client.client_customer,customer_client.level,customer_client.hidden
 FROM customer_client" ?

 

I am only interested in getting back the completely setup accounts. Is there 
any way I can check that (filter completely set up accounts) before I can make 
a call to  GetCustomer?

 

Thank you,

Vinitha.

 

From: Google Ads API Forum Advisor Prod  
Sent: Wednesday, August 14, 2019 6:12 AM
To: vini...@closedloop.com
Cc: adwords-api@googlegroups.com
Subject: RE: GetCustomer from Services.V2.CustomerService throws permission 
denied error

 

Hi Vinitha, 

The error CUSTOMER_NOT_ENABLED usually occurs if the API call is made against 
an account which is not completely setup. Could you please complete the account 
setup and retry the API request? If you're encountering any issues, could you 
please share the request and response logs using Reply privately to author 
option to investigate further?

Thanks,
Bharani, Google Ads API Team  
<http://google-dev-relations.my.salesforce.com/servlet/servlet.ImageServer?oid=00D1U01174p&esid=0181U00b9ld>
 

ref:_00D1U1174p._5001UEIuRk: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 
"AdWords API and Google Ads 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/047501d552ba%24847ce530%248d76af90%24%40closedloop.com.


RE: GetCustomer from Services.V2.CustomerService throws permission denied error

2019-08-14 Thread Google Ads API Forum Advisor Prod
Hi Vinitha,

The error CUSTOMER_NOT_ENABLED usually occurs if the API call is made against 
an account which is not completely setup. Could you please complete the account 
setup and retry the API request? If you're encountering any issues, could you 
please share the request and response logs using Reply privately to author 
option to investigate further?

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEIuRk: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 
"AdWords API and Google Ads 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/VAj1w0PW89ZG00vVz7zF-bRDmvO9czHKxEBg%40sfdc.net.


GetCustomer from Services.V2.CustomerService throws permission denied error

2019-08-13 Thread Vinitha
Hello ,

So the below query returns a list of customer clients
Query = "SELECT 
customer.id,customer.descriptive_name,customer_client.resource_name, 
customer_client.descriptive_name,customer_client.client_customer,customer_client.level,customer_client.hidden
 
FROM customer_client"


But when i try to  a customerService.GetCustomer(x) for each 
customerClient, if fails for one customer_client in the iteration with the 
following error
Failure:
Message: Status(StatusCode=PermissionDenied, Detail="The caller does not 
have permission")
Failure: { "errors": [ { "errorCode": { "authorizationError": 
"CUSTOMER_NOT_ENABLED" }, "message": "The customer can't be used because it 
isn't enabled." } ] }

Then why does it bring it in the first place from Customer_Clients if i do 
not have access? Even if it does how can i check the permission before i do 
a GetCustomer call on it so i can prevent the call from crashing and 
halting my application?


Thanks,
Vinitha.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/be13d84b-c552-4dc5-87ad-4cf8bf2eea1c%40googlegroups.com.


RE: Google Ads V1 user permission denied

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Looks like the attachment is missing. If you are using our new Google Ads
API  and
facing the user_permission_denied error. Mostly it could be the reason that
not setting the login-customer-id

in the headers while making the API call. You could refer this blog post

for more information. If you are facing the error even after setting
login-customer-id

as your manager account authenticating the call, please share the Client
Customer Id, login-customer-id

and email address of the user authenticating the API call along with the
complete error logs to investigate further. Please use reply privately to
the user option while sharing the information requested.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12hpr8o01g10cg8001nrf08w6cmjce1n74o30c1g68r36cpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads V1 user permission denied

2019-03-29 Thread rentcafedev1
Hello,

I'm receiving a user_permission_denied when I try to access 
conversion_action information for one of my test accounts.  I have access 
to this account via Awords UI.  I have create campaigns for this account 
using Google Ads API (C# client library), but am unable to get any 
information about this account by using cURL.  Please see attached for more 
information.



KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c7536ec7-a337-4e63-a64a-832cf7018d24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UserPermissionDenied.docx
Description: MS-Word 2007 document


RE: Internal and Permission denied error

2019-03-07 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Aneri,

Could you *reply privately to author* with client customer id and logs so
that I can check further? This section
<https://github.com/googleads/google-ads-php#logging> of guide may be handy.

Regards,
Dhanya, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/07/19 07:33:04 anerigandhit...@gmail.com wrote:

Hello team,

I have just started using Ads API V1 with the PHP Client Library. I am
attempting to get the customer stats for all customers under an MCC account
using the search function of GoogleAdsService after getting all the
customer ids using CustomerClientService.

But search is sometimes failing due to Internal error and sometimes due to
Permission denied error.

Please help me in what can be done.

Regards,
Aneri Gandhi

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/CAC_cLNuWXSuJ0joujvKgnHM1JMpKkGOCN5dhgLHV7dFbeE62ag%40mail.gmail.com
<https://groups.google.com/d/msgid/adwords-api/CAC_cLNuWXSuJ0joujvKgnHM1JMpKkGOCN5dhgLHV7dFbeE62ag%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/08p11g000400gdmd38002gd5r0x6omj0dhn6go30c1g68qjgc1j%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Internal and Permission denied error

2019-03-07 Thread Aneri Gandhi
Hello team,

I have just started using Ads API V1 with the PHP Client Library. I am
attempting to get the customer stats for all customers under an MCC account
using the search function of GoogleAdsService after getting all the
customer ids using CustomerClientService.

But search is sometimes failing due to Internal error and sometimes due to
Permission denied error.

Please help me in what can be done.

Regards,
Aneri Gandhi

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAC_cLNuWXSuJ0joujvKgnHM1JMpKkGOCN5dhgLHV7dFbeE62ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Permission denied

2019-01-31 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Niels,

Yesterday the Google Ads API team starting enforcing a a new header
  
that

was originally announced
  
in

the v0_6 release. If this header is not set you can get
USER_PERMISSION_DENIED errors. The change is in the process of being rolled
back since many users were not ready, yet. Please monitor the Google Ads
API blog  for details on when this
change will be released and how to prepare.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ijlio0qmug010aeb260050524qx6omj6chl6go30c1g68qj8c1h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Permission Denied error

2019-01-31 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Everyone,

Yesterday the Google Ads API team starting enforcing a a new header
  
that

was originally announced
  
in

the v0_6 release. If this header is not set you can get
*USER_PERMISSION_DENIED* errors. The change is in the process of being
rolled back since many users were not ready, yet. Please monitor the Google
Ads API blog  for details on when
this change will be released and how to prepare.

Regards,
Sai Teja, Google Ads API Team.


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12hpsm8010ha17k003os750y68mj8e1p60o30c1g68qj4chl%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Permission Denied error

2019-01-31 Thread jairo

Hello, I have a similar problem USER_PERMISSION_DENIED, a few days ago 
everything works fine,

El Jueves, 31 de Enero de 2019, 3:46:19 (UTC-5), nikolay...@ostrovok.ru 
escribió:
>
> when I make a request via google-ads==0.6.0 I get an error PERMISSION 
> DENIED. But when i try to make a request with googleads library all goes 
> well.
>
> Ubuntu 18.04LTS
> Python 2.7.15
> google-ads 0.6.0
> googleads 15.0.2
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/32be5098-4173-4d00-820c-03d61f8db17a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Permission Denied error

2019-01-31 Thread Inspired UM
Not sure if its related, but I cannot acces any of my accounts data through 
Google Ads API Beta as well.
*I get error "403 The caller does not have permission"*

On Thursday, 31 January 2019 10:46:19 UTC+2, nikolay...@ostrovok.ru wrote:
>
> when I make a request via google-ads==0.6.0 I get an error PERMISSION 
> DENIED. But when i try to make a request with googleads library all goes 
> well.
>
> Ubuntu 18.04LTS
> Python 2.7.15
> google-ads 0.6.0
> googleads 15.0.2
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f7523233-7f94-4a00-8551-880b814f140d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Permission denied

2019-01-31 Thread Niels van der Molen
Today, I suddenly got a permission denied error on all calls of the Google 
Ads API to my test accounts.

I tried with a new OAuth refresh token. I do not get the error when using 
the manager's customer id but you have to get to the client id directly to 
manage campaigns. Also tried to create a new test client but the same 
permission denied error. I do have access to the client from the Google 
Adwords UI.

Test manager id: 8136493746
Test client id: 3211402788

Is there anything that has changed on your side, it was working two days 
ago?

root@be730853d71a:/var/www/project# php 
examples/BasicOperations/GetCampaigns.php --customerId 8136493746   #no 
results
root@be730853d71a:/var/www/project# php 
examples/BasicOperations/GetCampaigns.php --customerId 3211402788 
Request with ID 'MK7EvGmZpXVu-j_6BEmFyA' has failed.
Google Ads failure details:
authorization_error: User doesn't have permission to access customer.

"code": 7,
"status": "PERMISSION_DENIED",
User doesn't have permission to access customer.

Thanks,

Niels

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/20c3566d-a654-44ed-97cf-50a9a86c87c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Permission Denied error

2019-01-31 Thread nikolay . makurin
I do not have access to any client account
my manager account is 370-817-0796

On Thursday, January 31, 2019 at 11:46:19 AM UTC+3, nikolay...@ostrovok.ru 
wrote:
>
> when I make a request via google-ads==0.6.0 I get an error PERMISSION 
> DENIED. But when i try to make a request with googleads library all goes 
> well.
>
> Ubuntu 18.04LTS
> Python 2.7.15
> google-ads 0.6.0
> googleads 15.0.2
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0996d877-01ba-4f21-98de-0677743b8048%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Permission Denied error

2019-01-31 Thread nikolay . makurin
when I make a request via google-ads==0.6.0 I get an error PERMISSION 
DENIED. But when i try to make a request with googleads library all goes 
well.

Ubuntu 18.04LTS
Python 2.7.15
google-ads 0.6.0
googleads 15.0.2

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9c20675b-d471-44f9-a9dc-762d8bc5c020%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Analytics API Permission Denied Issue

2018-08-30 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello,

In this forum we will discuss concerns related to AdWords API 

 only. 
If you have concerns related to Google Analytics API 
 
please 
reach out to them via the support channels mentioned here 
.

Regards,
Sai Teja, AdWords API Team.

On Thursday, August 30, 2018 at 11:48:24 AM UTC-4, ser...@mansionselect.com 
wrote:
>
> Hi,
>  We are trying to get the report using Google Analytics API. Yesterday I 
> was able to authorize the google account through oAuth and get back the 
> reports successfully.
>
> Today I getting the below error,
> { "error": { "code": 403, "message": "User does not have sufficient 
> permissions for this profile.", "errors": [ { "message": "User does not 
> have sufficient permissions for this profile.", "domain": "global", 
> "reason": "forbidden" } ], "status": "PERMISSION_DENIED" } } 
>
> I have checked many related stack overflow posts and with those helps, I 
> have linked my google console email to analytics users. And provided all 
> permission to the users under User Management in Google Analytics account 
> level setting.
>
> Still I getting the issue, please provide me some suggestions to fix this 
> issue.
>
> Thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9a88f552-24dd-447e-8fd6-d1dab755dd46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Analytics API Permission Denied Issue

2018-08-30 Thread service
Hi,
 We are trying to get the report using Google Analytics API. Yesterday I 
was able to authorize the google account through oAuth and get back the 
reports successfully.

Today I getting the below error,
{ "error": { "code": 403, "message": "User does not have sufficient 
permissions for this profile.", "errors": [ { "message": "User does not 
have sufficient permissions for this profile.", "domain": "global", 
"reason": "forbidden" } ], "status": "PERMISSION_DENIED" } } 

I have checked many related stack overflow posts and with those helps, I 
have linked my google console email to analytics users. And provided all 
permission to the users under User Management in Google Analytics account 
level setting.

Still I getting the issue, please provide me some suggestions to fix this 
issue.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/67509798-ab62-4c30-9034-ff7a0ea5ab3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Update API version, now get permission denied trying to download reports

2017-10-13 Thread 'Peter Oliquino' via AdWords API Forum
Hi Andrew,

The error message you specified appears to indicate that you have not fully 
migrated to the latest AdWords API version and the new client library 
version, rather being an OAuth2 credentials issue. This being said, you may 
refer to our migration guide 
 to 
get familiar with the changes in the different services and reports 
included in the latest AdWords API version and apply further changes in 
your code if necessary. 

If you are still encountering other issues that you suspect are related to 
your OAuth2 credentials, you may send to me privately (via the *Reply 
privately to author* option) the generated SOAP request and response logs 
so I can further investigate.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a38836ba-be34-4e3d-aa6f-5f74f4a1145e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Update API version, now get permission denied trying to download reports

2017-10-12 Thread andrew . searls
We've been downloading AdWords reports using a server app over OAuth2 for a 
while, now.  We're using the Google AdWords NuGet library 
(https://github.com/googleads/googleads-dotnet-lib/) to handle the raw 
interface, and it works fine, though updating API versions are very 
painful.  We started getting the dreaded error again:

You are accessing an AdWords API version v201609 that has been discontinued.


I installed the latest version of the NuGet library and updated our refresh 
token using adwords_dotnet_lib_v22.2.0 version of OAuthTokenGenerator.  
This is using the same client ID and secret that's been working for a year, 
but suddenly I'm getting permission denied errors with the new library.

How do I get reports to download again?  Our marketing department relies on 
this data to do their jobs.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/89ea48ca-e4a7-429e-91f9-bd3f56a57339%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER permission denied issue

2016-04-18 Thread 'Umesh Dengale' via AdWords API Forum
Hello,

For OAuth2Exception (Token has been revoked) error occurs when user has revoked 
access 
 to 
an application. Please contact your AdWords user for more details. 

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/223e40e9-9b7b-4a19-9610-20ff379beed1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER permission denied issue

2016-04-18 Thread xinghua . wang
Yin, are you saying we need to generate a new developer token on MCC 
account? Will the new one be workable immediately?

On Friday, April 15, 2016 at 11:08:42 PM UTC+8, Yin Niu wrote:
>
> Hi, 
>
> These are different errors. 
>
> USER_PERMISSION_DENIED 
> 
>  error 
> occurs when there is no link between the manager account and client 
> account.  
>
> If token was revoked, you would have to generate a new token. Please 
> follow the OAuth 2.0 Authentication guide 
> .
>  
> You can also try to generate token using OAuth playground 
> . 
>  
>
> Thanks,
> Yin, AdWords API Team. 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6bc91cac-b724-4b4a-8d01-b6b352897d45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER permission denied issue

2016-04-15 Thread 'Yin Niu' via AdWords API Forum
Hi, 

These are different errors. 

USER_PERMISSION_DENIED 

 error 
occurs when there is no link between the manager account and client 
account.  

If token was revoked, you would have to generate a new token. Please follow 
the OAuth 2.0 Authentication guide 
.
 
You can also try to generate token using OAuth playground 
.  

Thanks,
Yin, AdWords API Team. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8e111532-3bbd-4d30-bf2e-12b2bb917317%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


USER permission denied issue

2016-04-15 Thread jessica . qi
We have been running adwords reporting API for couple of months. However, 
today, we failed to get data. 

Basically, 2 errors
1.  [SoapFault][AuthorizationError.USER_PERMISSION_DENIED @ ; 
trigger:'']
2. [OAuth2Exception]  
  {  
"error" : "invalid_grant",   
"error_description" : "Token has been revoked."  
  }

What we tried:
1. upgraded PHP SDK from 201509 to 201603 - no luck
2. regenerate refresh token - no luck
3. re-generate developer client id, client secret - no luck

Can anyone shed some light?

thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c6697b44-0332-4455-88f6-8a5b185d410d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


User Permission Denied when I try download criteria report

2016-01-07 Thread pedro
Hi, I am making a POST request to download criteria report, but when I put 
a client id of a real campaign (which I have permission) I receive this 
message. However, if I to put the id of a test campaign (that I created), I 
receive "200".

Take a look below, I made this request using "Advance Rest Console" Chrome 
app :


Post to:

https://adwords.google.com/api/adwords/reportdownload/v201509?=

Header:

Authorization: (my authorization access token that works with other client 
id)
developerToken: (my developer token that works)
clientCustomerId: (the client id of a real campaign that I have access)

Body:

__rdxml=https://adwords.google.com/api/adwords/cm/v201509";>
Week Date 
FinalUrls CampaignName 
AdGroupName Clicks 
Cost Impressions  
  Status   IN   
ENABLED   PAUSED
   Custom Adgroup Performance Report   
CRITERIA_PERFORMANCE_REPORT   
LAST_7_DAYS   
CSV 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f0a4bbe5-aa7d-43cb-a860-eaf3a42637fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


User Permission Denied when I try download criteria report

2016-01-07 Thread pedro
I am trying to make a POST request to one campaign which has real data. 
When I make it to a test campaign (which I created) this works, but, when I 
try to make to this real campaign (which the admin give me basic 
permission) I receive this message.

Take a look below:

POST with Advance Rest Console Chrome App

https://adwords.google.com/api/adwords/reportdownload/v201509?=

(raw):

Authorization: Bearer 
ya29.YgLq7Fs4Tp8GZQ7wF0SV4dkA6rnjF8Sprvnk1nQyfcYKqF6mB0OtAaY_toRU4lkA6Wk2
developerToken: L0vlocChKHkIe_Zh_qidcg
clientCustomerId: 451-342-9318

(body)

__rdxml=https://adwords.google.com/api/adwords/cm/v201509";>
Week Date 
FinalUrls CampaignName 
AdGroupName Clicks 
Cost Impressions  
  Status   IN   
ENABLED   PAUSED
   Custom Adgroup Performance Report   
CRITERIA_PERFORMANCE_REPORT   
LAST_7_DAYS   
CSV 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7d929e3f-9672-4839-a8fb-8a6c7352e9f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Permission Denied Different Client Library

2015-08-31 Thread Umesh Dengale
Hi Mark,

The OAuth2.0 client id and client secret key are specific to the 
application. You need to create new client id and client secret key for 
.NET library selecting *Application Type* as *Web application 
.
 *Please 
check out our OAuth2.0 guide 
 of .NET 
library for details information.

Thanks,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eaab2a43-b641-4e5a-a559-8b8a9aa79476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Permission Denied Different Client Library

2015-08-28 Thread Mark Hill
Hi Umesh,

The values that are defined in the php config file, and that are also in 
the .net config file are:

User Agent
Developer Token
Client Customer Id

OAuth2 Client Id
OAuth2 Client Secret 
OAuth2 Refresh Token


The only difference is that the .net config file specifies that the Oauth 
mode is "application." Do I need different OAuth2 credentials for each 
application? Or should everything be working correctly with all of the 
settings being copied over?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/64a0e0a5-f6af-4e0b-9114-568224ea33cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Permission Denied Different Client Library

2015-08-25 Thread Umesh Dengale
Hi Mark,

For your .NET API request, your OAuth credentials don't match the client ID 
specified in the request, or any of its MCCs. Please check you have set 
your OAuth2.0 credential properly. You could refer the OAuth2.0 guide 
 for details.

Regards,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/367a4264-46e3-4c54-9e31-f8582a395cf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


User Permission Denied Different Client Library

2015-08-24 Thread Mark Hill
I've created a small application with the php client library. Now i'm 
considering the possibility of using the .NET library but i'm running into 
an issue. Every time I attempt to perform any basic actions I get a "user 
permission denied trigger null" error. However, I can access a test account 
I setup fine, but the problems happen when I use the exact same 
OAUTH/Developer info that is being used by the currently running 
application. Any idea on what the problem might be?

Thank You,
Mark Hill

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9729a701-de83-4725-a836-aa8c84a93311%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Permission Denied for Test MCC

2015-07-08 Thread Danial Klimkin
Hello Paulo,


This error means you are trying to add a campaign under an MCC account. 
Please make sure you send an advertiser account ID in the clientCustomerId 
field.

The OAuth token can be of an MCC account.


-Danial, AdWords API Team.


On Wednesday, July 8, 2015 at 3:00:42 PM UTC+2, PAULO JOSE Castro wrote:
>
> Having an ADD_OPERATION_NOT_PERMITTED error too
>
> On Friday, February 6, 2015 at 7:36:02 AM UTC+8, Jon Weinstock wrote:
>>
>> Hi Adwords,
>>
>> I created a production MCC with an account under email address A. I 
>> requested a developer token under this account.
>>
>> I created a test MCC with multiple accounts under email address B. 
>>
>> I authorized B through the Google Developer's Console and used the client 
>> id and secret to generate a refresh token. Unfortunately when I try to 
>> access any API operation I'm getting a User Permission Denied. Can you 
>> advise? 
>>
>> Thank You
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1461fb7b-f4fc-48a4-a230-ce680f70a979%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Permission Denied for Test MCC

2015-07-08 Thread PAULO JOSE Castro
Having an ADD_OPERATION_NOT_PERMITTED error too

On Friday, February 6, 2015 at 7:36:02 AM UTC+8, Jon Weinstock wrote:
>
> Hi Adwords,
>
> I created a production MCC with an account under email address A. I 
> requested a developer token under this account.
>
> I created a test MCC with multiple accounts under email address B. 
>
> I authorized B through the Google Developer's Console and used the client 
> id and secret to generate a refresh token. Unfortunately when I try to 
> access any API operation I'm getting a User Permission Denied. Can you 
> advise? 
>
> Thank You
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/81f9ffdf-705b-4428-9d79-8dc5c7298713%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Python: IOError: [Errno 13] Permission denied & RAdwords Error 400 (OAuth2Error)!!1

2015-04-23 Thread atrombley
Josh,

I can now paste in the URL and get a verifaction value to paste back into 
python - however, when I paste that back into python i get the 
following IOError: [Errno 13] Permission denied?  Thanks for your help

After approving the token enter the verification code (if specified).
Code: 
4/8KoOM2TfSyTb6cSSe59bAZFaPM5s0ABLW3aS896xkbU.giHmKxQYIQYUEnp6UAPFm0H4pVvRmQI

Traceback (most recent call last):
  File "", line 2, in 
main()
  File "", line 18, in main
credential = flow.step2_exchange(code)
  File 
"/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/util.py",
 
line 135, in positional_wrapper
return wrapped(*args, **kwargs)
  File 
"/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
 
line 1932, in step2_exchange
headers=headers)
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 1593, in request
(response, content) = self._request(conn, authority, uri, request_uri, 
method, body, headers, redirections, cachekey)
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 1335, in _request
(response, content) = self._conn_request(conn, request_uri, method, 
body, headers)
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 1257, in _conn_request
conn.connect()
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 1021, in connect
self.disable_ssl_certificate_validation, self.ca_certs)
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 80, in _ssl_wrap_socket
cert_reqs=cert_reqs, ca_certs=ca_certs)
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", 
line 891, in wrap_socket
ciphers=ciphers)
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", 
line 507, in __init__
self._context.load_verify_locations(ca_certs)
IOError: [Errno 13] Permission denied

On Friday, March 6, 2015 at 10:34:16 AM UTC-8, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> I noticed in your stacktrace that you are creating a *DfpClient*. For 
> AdWords, however, you should create an *AdWordsClient*.
>
> It may be helpful to review the following resources:
>
>- Using OAuth 2.0 guide 
><https://github.com/googleads/googleads-python-lib/wiki/Using-OAuth-2.0> 
> for 
>the Python library
>- generate_refresh_token.py example 
>
> <https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/generate_refresh_token.py>
>  (for 
>generating your OAuth refresh token)
>- get_campaigns.py example 
>
> <https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/basic_operations/get_campaigns.py#L76>
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, March 6, 2015 at 12:18:22 PM UTC-5, Austin Trombley wrote:
>>
>> I'm trying to connect to adwords api, and my authentication is failing 
>> when attempting with both Python and R.  
>>
>> For Python:
>>
>> >>> if __name__ == '__main__':
>>   # Initialize client object.
>>   dfp_client = dfp.DfpClient.LoadFromStorage()
>>   main(dfp_client)
>>
>>   
>>
>> Traceback (most recent call last):
>>   File "", line 4, in 
>> main(dfp_client)
>>   File "", line 15, in main
>> statement.ToStatement())
>>   File "/Library/Python/2.7/site-packages/googleads/common.py", line 294, 
>> in MakeSoapRequest
>> self._header_handler.SetHeaders(self.suds_client)
>>   File "/Library/Python/2.7/site-packages/googleads/dfp.py", line 309, in 
>> SetHeaders
>> headers=self._dfp_client.oauth2_client.CreateHttpHeader())
>>   File "/Library/Python/2.7/site-packages/googleads/oauth2.py", line 150, 
>> in CreateHttpHeader
>> self.Refresh()
>>   File "/Library/Python/2.7/site-packages/googleads/oauth2.py", line 166, 
>> in Refresh
>> self.disable_ssl_certificate_validation)))
>>   File 
>> "/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
>>  
>> line 573, in refresh
>> self._refresh(http.request)
>>   File 
>> "/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
>>  
>> line 744, in _refresh
>> self._do_refresh_request(http_request)
>>   File 
>> "/Library/Python/2.7/site-packages/oauth2clie

Re: Python: IOError: [Errno 13] Permission denied & RAdwords Error 400 (OAuth2Error)!!1

2015-03-06 Thread Josh Radcliff (AdWords API Team)
Hi,

I noticed in your stacktrace that you are creating a *DfpClient*. For 
AdWords, however, you should create an *AdWordsClient*.

It may be helpful to review the following resources:

   - Using OAuth 2.0 guide 
   <https://github.com/googleads/googleads-python-lib/wiki/Using-OAuth-2.0> for 
   the Python library
   - generate_refresh_token.py example 
   
<https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/generate_refresh_token.py>
 (for 
   generating your OAuth refresh token)
   - get_campaigns.py example 
   
<https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/basic_operations/get_campaigns.py#L76>
   
Cheers,
Josh, AdWords API Team

On Friday, March 6, 2015 at 12:18:22 PM UTC-5, Austin Trombley wrote:
>
> I'm trying to connect to adwords api, and my authentication is failing 
> when attempting with both Python and R.  
>
> For Python:
>
> >>> if __name__ == '__main__':
>   # Initialize client object.
>   dfp_client = dfp.DfpClient.LoadFromStorage()
>   main(dfp_client)
>
>   
>
> Traceback (most recent call last):
>   File "", line 4, in 
> main(dfp_client)
>   File "", line 15, in main
> statement.ToStatement())
>   File "/Library/Python/2.7/site-packages/googleads/common.py", line 294, 
> in MakeSoapRequest
> self._header_handler.SetHeaders(self.suds_client)
>   File "/Library/Python/2.7/site-packages/googleads/dfp.py", line 309, in 
> SetHeaders
> headers=self._dfp_client.oauth2_client.CreateHttpHeader())
>   File "/Library/Python/2.7/site-packages/googleads/oauth2.py", line 150, 
> in CreateHttpHeader
> self.Refresh()
>   File "/Library/Python/2.7/site-packages/googleads/oauth2.py", line 166, 
> in Refresh
> self.disable_ssl_certificate_validation)))
>   File 
> "/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
>  
> line 573, in refresh
> self._refresh(http.request)
>   File 
> "/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
>  
> line 744, in _refresh
> self._do_refresh_request(http_request)
>   File 
> "/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
>  
> line 773, in _do_refresh_request
> self.token_uri, method='POST', body=body, headers=headers)
>   File 
> "/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
>  
> line 1593, in request
> (response, content) = self._request(conn, authority, uri, request_uri, 
> method, body, headers, redirections, cachekey)
>   File 
> "/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
>  
> line 1335, in _request
> (response, content) = self._conn_request(conn, request_uri, method, 
> body, headers)
>   File 
> "/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
>  
> line 1257, in _conn_request
> conn.connect()
>   File 
> "/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
>  
> line 1021, in connect
> self.disable_ssl_certificate_validation, self.ca_certs)
>   File 
> "/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
>  
> line 80, in _ssl_wrap_socket
> cert_reqs=cert_reqs, ca_certs=ca_certs)
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", 
> line 891, in wrap_socket
> ciphers=ciphers)
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", 
> line 507, in __init__
> self._context.load_verify_locations(ca_certs)
> IOError: [Errno 13] Permission denied
> >>> if __name__ == '__main__':
>   # Initialize client object.
>   dfp_client = dfp.DfpClient.LoadFromStorage()
>   main(dfp_client)
>
>
> For R with RAdwords, a browser opens after I enter in my client_id, 
> client_secret, and developer token and says Error 400 (OAuth2Error)!!1 and 
> that I should email MYSELF for help
>
> library(RAdwords)
> google_auth <- doAuth()
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email 

Python: IOError: [Errno 13] Permission denied & RAdwords Error 400 (OAuth2Error)!!1

2015-03-06 Thread Austin Trombley
I'm trying to connect to adwords api, and my authentication is failing when 
attempting with both Python and R.  

For Python:

>>> if __name__ == '__main__':
  # Initialize client object.
  dfp_client = dfp.DfpClient.LoadFromStorage()
  main(dfp_client)

  

Traceback (most recent call last):
  File "", line 4, in 
main(dfp_client)
  File "", line 15, in main
statement.ToStatement())
  File "/Library/Python/2.7/site-packages/googleads/common.py", line 294, 
in MakeSoapRequest
self._header_handler.SetHeaders(self.suds_client)
  File "/Library/Python/2.7/site-packages/googleads/dfp.py", line 309, in 
SetHeaders
headers=self._dfp_client.oauth2_client.CreateHttpHeader())
  File "/Library/Python/2.7/site-packages/googleads/oauth2.py", line 150, 
in CreateHttpHeader
self.Refresh()
  File "/Library/Python/2.7/site-packages/googleads/oauth2.py", line 166, 
in Refresh
self.disable_ssl_certificate_validation)))
  File 
"/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
 
line 573, in refresh
self._refresh(http.request)
  File 
"/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
 
line 744, in _refresh
self._do_refresh_request(http_request)
  File 
"/Library/Python/2.7/site-packages/oauth2client-1.4.6-py2.7.egg/oauth2client/client.py",
 
line 773, in _do_refresh_request
self.token_uri, method='POST', body=body, headers=headers)
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 1593, in request
(response, content) = self._request(conn, authority, uri, request_uri, 
method, body, headers, redirections, cachekey)
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 1335, in _request
(response, content) = self._conn_request(conn, request_uri, method, 
body, headers)
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 1257, in _conn_request
conn.connect()
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 1021, in connect
self.disable_ssl_certificate_validation, self.ca_certs)
  File 
"/Library/Python/2.7/site-packages/httplib2-0.9-py2.7.egg/httplib2/__init__.py",
 
line 80, in _ssl_wrap_socket
cert_reqs=cert_reqs, ca_certs=ca_certs)
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", 
line 891, in wrap_socket
ciphers=ciphers)
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", 
line 507, in __init__
self._context.load_verify_locations(ca_certs)
IOError: [Errno 13] Permission denied
>>> if __name__ == '__main__':
  # Initialize client object.
  dfp_client = dfp.DfpClient.LoadFromStorage()
  main(dfp_client)


For R with RAdwords, a browser opens after I enter in my client_id, 
client_secret, and developer token and says Error 400 (OAuth2Error)!!1 and 
that I should email MYSELF for help

library(RAdwords)
google_auth <- doAuth()

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e7d9f245-feda-4d55-b9fc-d25941ad1809%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Permission Denied for Test MCC

2015-02-09 Thread Danial Klimkin
Hello Jon,


Please make sure you was logged in under login B when doing the OAuth flow. 
Most common reason for this error is when you were logged into a different 
google account (like your personal gmail) and accidentally authorized for 
the API calls with it.


-Danial, AdWords API Team.


On Friday, February 6, 2015 at 2:36:02 AM UTC+3, Jon Weinstock wrote:
>
> Hi Adwords,
>
> I created a production MCC with an account under email address A. I 
> requested a developer token under this account.
>
> I created a test MCC with multiple accounts under email address B. 
>
> I authorized B through the Google Developer's Console and used the client 
> id and secret to generate a refresh token. Unfortunately when I try to 
> access any API operation I'm getting a User Permission Denied. Can you 
> advise? 
>
> Thank You
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/90ed019f-f060-4f23-9254-a9398c6b0eeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


User Permission Denied for Test MCC

2015-02-09 Thread Jon Weinstock
Hi Adwords,

I created a production MCC with an account under email address A. I 
requested a developer token under this account.

I created a test MCC with multiple accounts under email address B. 

I authorized B through the Google Developer's Console and used the client 
id and secret to generate a refresh token. Unfortunately when I try to 
access any API operation I'm getting a User Permission Denied. Can you 
advise? 

Thank You

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/841d0f94-2c89-4244-b275-374181e1278a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GetRefreshToken.php - Permission denied

2014-06-16 Thread Ray Tsang (AdWords API Team)
Laci,

Please provide some more detailed screenshots and/or error details (you can 
reply to author w/ this information).
Secondly, have you had a chance to follow through the AdWords API OAuth 2.0 
guide <https://developers.google.com/adwords/api/docs/guides/authentication>
?

Thanks,

On Monday, June 16, 2014 2:53:47 PM UTC-4, Laci Várkondi wrote:
>
> I'm (first time) trying to use my test account, but it failed.
> I created test MCC, and generated OAuth with that account
> When I try to run /examples/AdWords/Auth/GetRefreshToken.php it display 
> permission denied.
> I don't have console access in my host, but I used a script (PHP Shell 
> Terminal <http://sourceforge.net/projects/phpterm/>), which is able to 
> simulate that.
>
> What should I do?
>
> Thank you in advance
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


GetRefreshToken.php - Permission denied

2014-06-16 Thread Laci Várkondi
I'm (first time) trying to use my test account, but it failed.
I created test MCC, and generated OAuth with that account
When I try to run /examples/AdWords/Auth/GetRefreshToken.php it display 
permission denied.
I don't have console access in my host, but I used a script (PHP Shell 
Terminal <http://sourceforge.net/projects/phpterm/>), which is able to 
simulate that.

What should I do?

Thank you in advance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [KeywordPerformance v201109] Unexplainable "Authorization: User permission denied"

2013-09-26 Thread Paul Matthews (AdWords API Team)
Hi Bhavesh,

We believe we fixed this issue in the past. If you are seeing this problem 
again, please can you file a bug in the dotnet 
library. 
This will help to ensure we have all the relevant information required to 
fix the bug.

Regards,

- Paul, AdWords API Team.

On Tuesday, 24 September 2013 06:39:34 UTC+1, bhavesh thakker wrote:
>
> facing the same issue. Sometimes it works and sometimes it doesnt. Please 
> let me knw if there is any proper solution for the same
>
> On Tuesday, January 31, 2012 8:28:54 PM UTC+5:30, AdWhiz wrote:
>>
>> Hi All, 
>>
>> I get this error for some specific customer/day combinations (no error 
>> on other cases): 
>>
>> Report contents are invalid. - !!!2|||-1||| AuthorizationError.USER_PERMISSION_DENIED 
>> @ ??? 
>>
>> Error is always the same with different customer IDs/days. 
>>
>> I suspect bad generated report by .NET client library (I am using most 
>> recent version, updated yesterday) OR corrupted report downloaded from 
>> Google AdWords API servers (it would not be the 1st time). 
>>
>> Can you offer any advice/insight on this specific issue? 
>>
>> Thanks in advance. 
>>
>> Kind regards, 
>> -- 
>>   Giuseppe 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [KeywordPerformance v201109] Unexplainable "Authorization: User permission denied"

2013-09-24 Thread bhavesh thakker
facing the same issue. Sometimes it works and sometimes it doesnt. Please 
let me knw if there is any proper solution for the same

On Tuesday, January 31, 2012 8:28:54 PM UTC+5:30, AdWhiz wrote:
>
> Hi All, 
>
> I get this error for some specific customer/day combinations (no error 
> on other cases): 
>
> Report contents are invalid. - !!!2|||-1||| AuthorizationError.USER_PERMISSION_DENIED 
> @ ??? 
>
> Error is always the same with different customer IDs/days. 
>
> I suspect bad generated report by .NET client library (I am using most 
> recent version, updated yesterday) OR corrupted report downloaded from 
> Google AdWords API servers (it would not be the 1st time). 
>
> Can you offer any advice/insight on this specific issue? 
>
> Thanks in advance. 
>
> Kind regards, 
> -- 
>   Giuseppe 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


  1   2   >