Re: AuthenticationError.NOT_ADS_USER

2022-01-14 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi there,

Thanks for posting your comment on this thread. However, for our team to check 
closely, could you please provide us with complete request and response logs 
with request ID and request header generated via the Reply privately to author 
option, so our team can check better? You may also send details directly to our 
googleadsapi-supp...@google.com alias.

In addition, I had to delete your comment as the email address was posted 
publicly.

Regards,

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


Re: AuthenticationError.NOT_ADS_USER

2022-01-13 Thread 'Investis Digital Analytics' via Google Ads API and AdWords API Forum
I am having the same issue. my user is the one that created the credentials 
but nothing is working to login.  The email for the account is 
phxanalyt...@investis.com . Does this user have the correct rights? 

On Wednesday, January 12, 2022 at 10:43:05 PM UTC-7 adsapi wrote:

> Hi,
>
> Thank you for reaching out to our API support team.
>
> Based on the email subject, the NOT_ADS_USER 
> 
>  
> indicates that you may have used an email address, that is not associated 
> to any Google Ads accounts, to generate the OAuth2 credentials 
>  
> you are using in your API request.
>
> However, since you mentioned that "*The user who created all tokens 
> required to connect api has admin access to the Business manager account 
> and the Ads account as well*", could you share the user / email address 
> that you are referring to, as well as the complete request 
> 
>  
> and response 
> 
>  
> logs, with the request-id 
> 
> ?
>
> For the logs, you may request from the third party tool to provide these 
> to you. If they 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 
> .
>
> If you will be using curl directly, you can simply include the *-i* in 
> your request similar to this one "*curl -i --request.."*, to generate the 
> logs.
>
> You may then send all the requested information via the *Reply privately 
> to author* option. If this option is not available, you may send the 
> details directly to our googleadsa...@google.com alias instead.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2UjPyH: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/e73026ba-6681-4838-ab3e-3014df6aba0bn%40googlegroups.com.


RE: AuthenticationError.NOT_ADS_USER

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

Thank you for reaching out to our API support team.

Based on the email subject, the NOT_ADS_USER indicates that you may have used 
an email address, that is not associated to any Google Ads accounts, to 
generate the OAuth2 credentials you are using in your API request.

However, since you mentioned that "The user who created all tokens required to 
connect api has admin access to the Business manager account and the Ads 
account as well", could you share the user / email address that you are 
referring to, as well as the complete request and response logs, with the 
request-id?

For the logs, you may request from the third party tool to provide these to 
you. If they 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.

If you will be using curl directly, you can simply include the -i in your 
request similar to this one "curl -i --request..", to generate the logs.

You may then send all 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._5004Q2UjPyH: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/mh1-G0R5MVV900XQJNEawMTD-gsJPbYXvIBQ%40sfdc.net.


RE: AuthenticationError.NOT_ADS_USER @

2019-07-31 Thread Google Ads API Forum Advisor Prod
Hi,

The NOT_ADS_USER error is encountered when the service account has not been 
correctly linked to the Google Ads account via OAuth2 assertion flow. Please 
carefully follow this guide on how to create the service account and link it to 
the Google Ads account.

Regarding your concern with tokens, the refresh token process should be a one 
time setup and you may rarely have a need to regenerate one. As for access 
tokens, these should be refreshed automatically when using the client libraries 
as stated here. On that note, I still would strongly recommend that you use the 
installed app or web app flows instead as these are more simpler and easier to 
debug should any issues occur.

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001U8LJRg: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/XRQsq0PVJE4I00JfC9GLAwTLe58qM9TwVSrw%40sfdc.net.


Re: AuthenticationError.NOT_ADS_USER @

2019-07-31 Thread Testing ForAds
Hi Peter,
Sorry for the late replay,
I choose service accounts for mainly because to avoid the human 
authentication while getting the access tokens or refresh tokens in we auth 
flow.
I'm attaching the error log can you please investigate and let me know what 
the error I'm facing

?xml version="1.0" encoding="UTF-8" standalone="no"?>
http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>

https://adwords.google.com/api/adwords/cm/v201809; 
soapenv:mustUnderstand="0">
217-364-0209
REDACTED
Organization (AwApi-Java, AdWords-Axis/4.6.0, 
Common-Java/4.6.0, Axis/1.4, Java/1.8.0_211, maven, SelectorBuilder, 
SelectorField)
false
false



https://adwords.google.com/api/adwords/cm/v201809;>

Id
Name

Name
ASCENDING


0
100






16:09:51.432 [main] INFO 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP response:

http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201809;>
00058ef7bdc67c320aa7984a8a03e00f
CampaignService
get
1
82




soap:Client
[AuthenticationError.NOT_ADS_USER @ ; 
trigger:'null']

https://adwords.google.com/api/adwords/cm/v201809;>
[AuthenticationError.NOT_ADS_USER @ ; 
trigger:'null']

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AuthenticationError">

null

AuthenticationError.NOT_ADS_USER
AuthenticationError
NOT_ADS_USER







Request failed due to ApiException. Underlying ApiErrors:
  Error 0: AuthenticationError{apiErrorType=AuthenticationError, 
errorString=AuthenticationError.NOT_ADS_USER, fieldPath=, 
reason=NOT_ADS_USER, trigger=}

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a0d6a0ed-6769-46cd-85bb-8dae7db9e371%40googlegroups.com.


RE: AuthenticationError.NOT_ADS_USER @

2019-07-25 Thread Google Ads API Forum Advisor Prod
Hi,

My apologies as our team can only provide support through this forum or through 
emails. That being said, could you confirm why you chose to setup service 
accounts for authenticating your AdWords API requests? I asked because we 
usually do not recommend the use of service accounts, unless you need domain 
specific features (for example, impersonation). On that note, we still would 
recommend that you use the installed app oir web app flow instead.

However, if you indeed require to use service accounts, could you point out on 
which step in this guide you are having issues with? Additionally, if there are 
errors, could you provide any error messages, logs or screenshots so I can 
further investigate?

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001U8LJRg: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/kd49l0PV8IYN00IM9lgbAzSXuJgRh3PUaXkQ%40sfdc.net.


Re: AuthenticationError.NOT_ADS_USER @

2019-07-25 Thread Testing ForAds


Hi Yin,

Could you please give the solution to this below's problem.

Please read all.

Actually My target is to Integrate the ad words API.

>> Initially I integrated the adwords api using the oauth authentication, 
by clientId, client secret ID, Here I'm able to perform all the 
functionalities and also I'm the desired results. 
 [  here I'm used a developer token (1 st gmail), Which was not approved  , 
so I created a Test Manager Account with (another gmail ), And I created 
the clients under this, I created the Oauth credentials in the google api 
console with clienID and Client secret key.  Here I'm able to perform all 
the functionalities and also I'm the desired results. 

Here : Developer Token is belongs to separate gmail, and test Manager 
Accounts belongs to Separate account, any way Here I'm able to perform all 
the functionalities and also I'm the desired results, using Oauth 
credentials in the google api console with clienID and Client secret key.

But It is asking the authentication by showing the popup, So I don't need 
that scenario, I moved to Integrating the adwords api using the service 
accounts.

] 

These are the steps I followed to integrate the adwords api using service 
accounts.

> As I said Developer token is not approved, so I created the test manager 
account with another gmail, and I created the client accounts under the 
manager. I created service account with using the test Manager account 
email with enabling the gsuite.  and also I created the gsuite account, and 
given authorize to service accounts by providing the clientId and scope of 
the adwords api in the admin console.]

But I'm unable to integrate adwords api using the service accounts.

Please help me out of 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 
"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/6b175753-febe-4df4-ad33-bda532047452%40googlegroups.com.


Re: AuthenticationError.NOT_ADS_USER @

2019-07-25 Thread Testing ForAds
Sorry for the delay,
Hi peter,

Really I tried a lot to integrate the adwords api using service accounts, I 
have some questions, I need your help please, how can I contact you with 
voice.

But I'm able to integrate the adwords api using the Oauth, But coming to 
the service accounts, I was unable to do that one.

Please I need a Proper suggestion with voice, can you please tell how can I 
contact you?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c472f040-2f45-4c5b-b670-e0ffab540fab%40googlegroups.com.


Re: AuthenticationError.NOT_ADS_USER @

2019-07-16 Thread Google Ads API Forum Advisor Prod
Hi,

Upon checking, the test MCC account which your (test) testingad...@gmail.com 
email address is associated to currently does not have any client accounts in 
its hierarchy. That said, could you confirm which account(s) you specified in 
your request(s)?

So I can further investigate, could you provide the generated SOAP request and 
response logs? You may use the Reply privately to author option when sending 
the information I requested.

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001U8LJRg: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/kNRZE0PURV3E00inCFlQ8KQ-iS3ArOYKdMhQ%40sfdc.net.


Re: AuthenticationError.NOT_ADS_USER @

2019-07-16 Thread Testing ForAds
Hi Peter,
I'm generating the credentials using the Test Manager Account. and Please 
check my email of test manager account is : testingad...@gmail.com 
and where I'm providing the ClientCustomerId as client account(he also has 
the adwords account)  which was created in Test Manager Account.
 Can explain where the issue was?

On Tuesday, July 16, 2019 at 12:08:38 PM UTC+5:30, adsapiforumadvisor wrote:
>
> Hi,
>
> So I can better investigate, could you provide the email you used to 
> generate your (service account) credentials? Do note that the email you use 
> to generate your credentials should be associated or has access to a Google 
> Ads account (your clientCustomerId) in order to avoid authentication issues 
> in your requests using the AdWords API.
>
> You may send the email you used using the *Reply privately to author* 
> option.
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
> ref:_00D1U1174p._5001U8LJRg: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/d7141113-f1f1-4a26-a36b-6828b3c1100b%40googlegroups.com.


Re: AuthenticationError.NOT_ADS_USER @

2019-07-16 Thread Google Ads API Forum Advisor Prod
Hi,

So I can better investigate, could you provide the email you used to generate 
your (service account) credentials? Do note that the email you use to generate 
your credentials should be associated or has access to a Google Ads account 
(your clientCustomerId) in order to avoid authentication issues in your 
requests using the AdWords API.

You may send the email you used using the Reply privately to author option.

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001U8LJRg: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/pL1hZ0PUQ2G4009mLOk4wGRGKPcmHkehzFDA%40sfdc.net.


Re: AuthenticationError.NOT_ADS_USER @

2019-07-15 Thread Testing ForAds
Hi peter, 
Thanks for the replay,
I'm not using O auth credentials, I'm using service account credentials, 
I'm facing AuthenticationError.NOT_ADS_USER error issue,

My target is integrate the ad words API using service accounts, I explain 
below what i done for integrating the adwords API using service accounts, 
plz help me out of this issue.

1) I have a developer Token,  *but it is not approved*, so, I created the 
Test Manager Account with another gmail,* but this account is not linked 
with the account which has that developer token*.
2) I created a service account with the json format and i also enabled the 
gsuite domain deletion by clicking on the check box.
3) I created a G-suite account, but it is not verified, anyway I'm giving 
authorization to service account by *providing the client Id and scope in 
Manage Client API Access, by manually going in to the admin console.*

I'm  thinking that issue is my G-suite account is not verified. Is that the 
reason why I'm getting this error? or Is there is any mistake other than 
this? 

Please help me to fix this error.

On Monday, July 15, 2019 at 12:41:22 PM UTC+5:30, adsapiforumadvisor wrote:
>
> Hi,
>
> The AuthenticationError.NOT_ADS_USER 
> 
>  
> error indicates that you may have generated OAuth credentials using an 
> email which is not associated to any Google Ads accounts. To resolve this, 
> I would recommend that you regenerate your OAuth credentials using a login 
> email that is associated or has access to the account you wish to 
> authenticate against.
>
> Additionally, could you also confirm whether you are completing this setup 
> for the AdWords API 
>  or the Google 
> Ads API ?
>
> Thanks and regards,
> Peter
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001U8LJRg: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/6bc3a62b-8fa2-4d29-83fb-4172f623ea09%40googlegroups.com.


RE: AuthenticationError.NOT_ADS_USER @

2019-07-15 Thread Google Ads API Forum Advisor Prod
Hi,

The AuthenticationError.NOT_ADS_USER error indicates that you may have 
generated OAuth credentials using an email which is not associated to any 
Google Ads accounts. To resolve this, I would recommend that you regenerate 
your OAuth credentials using a login email that is associated or has access to 
the account you wish to authenticate against.

Additionally, could you also confirm whether you are completing this setup for 
the AdWords API or the Google Ads API?

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001U8LJRg: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/KQlyl0PUO9AL00_ja734C1RRqsvTo_jwI90Q%40sfdc.net.


Re: AuthenticationError.NOT_ADS_USER @

2019-07-15 Thread Testing ForAds
Hi Yin, 
Previously I used OAuth authentication, here I'm doing all the operations, 
but coming to service accounts.
I'm using service accounts, I'm getting the 
AuthenticationError.NOT_ADS_USER error, please help me out from this.
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ad9e0c12-20af-45a3-a773-501504112e5f%40googlegroups.com.


RE: AuthenticationError.NOT_ADS_USER.

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


Hi,

The error NOT_ADS_USER
  
is

encountered when the login information provided corresponds to a Google
account that does not have AdWords API enabled. Make sure to log in with a
valid Google Ads account (typically your manager account) for the OAuth
flow.

This can be resolved if you used an email address that is associated to
your Google Ads account to generate your OAuth2 Credentials as stated in
this guide
. If
you have already done this and the error is still encountered, could you
provide the complete SOAP request and response logs that were generated
when you encountered the error as well as the email address you used to
generate your OAuth2 credentials? You may use the *reply privately to
author* option.

Regards,
Dannison
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/19/19 01:34:29 reportsgro...@gmail.com wrote:

Google API team,
I get this error  (Error: AuthenticationError.NOT_ADS_USER, FieldPath: ,
Trigger: )
The email address I used to generate the developer token has "email read"
access in the MCC account and the developer Token was approved to Basic
Level.
I have a second email address that has Standard Access to the MCC account,
do I need to use the second email address get a NEW approved token?
Will be glad to privately send you my MCC Account number to have a look.
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/3629330b-73b8-40cd-bf09-dcfaf9726f4b%40googlegroups.com

.
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/19h5j4g00ku4qs000hjo0sw64mj4d1i68o30c1g68qjadhm%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2018-09-05 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello,

The AuthenticationError.NOT_ADS_USER 

 usually 
occurs when the login used to generate the access token is not associated 
with any AdWords account. Make sure to log in with a valid AdWords account 
(typically your manager account) for the OAuth flow. Please give it a try 
and let me know the user account/email id along with the client customer id 
you are trying to access if the problem persists. You could use reply 
privately to author option while sharing the details.

Regards,
Sai Teja, AdWords API Team.

On Wednesday, September 5, 2018 at 5:48:47 AM UTC-4, son.l...@amanotes.com 
wrote:
>
> Hi, 
>
> When I made process to get Adwords API, I continuously got this errors: 
> "AuthenticationError.NOT_ADS_USER". 
> I tried to grant client ID to admin.google.com and grant access to Google 
> Ads but it didn't work. Anyone has experience with this error can help me.
>
> Thank you so much.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/08c86463-ad4a-4a49-987e-a0b6bb532c01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2018-02-02 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Travis,

The error that you received 'Client is unauthorized to retrieve access 
tokens using this method' implies that the service account needs to be 
authorized properly. This 

 guide 
will help you setup GSuite authorization for service accounts. However, do 
you actually need service account functionality, or could you simply use 
offline access as described in the alternative to service accounts 
section
 
of the guide. Either way, please let me know if you have further questions.

Regards,
Dhanya, 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/302ee35d-1426-4a91-b827-8ad27b7c1163%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2018-02-02 Thread Travis
Damn I've seriously looked through 100 threads related to this and finally 
found one that was helpful. The step I was missing was adding the 
`client_id` from the JSON key to the 'authorized client' list in 
admin.google.com, and also the `oauth2_prn` user to impersonate.

Now I have a new error though... 
`AuthorizationError.USER_PERMISSION_DENIED`. Am I supposed to use the 
global MCC account rather than my test MCC? (My dev token isnt approved 
yet). If I use my master MCC email for `oauth2_prn` I get the above error, 
but if I use my test MCC I made I get this error: `Client is unauthorized 
to retrieve access tokens using this method.`

Here is how I have it set up again:

- **Production** Google developer console (domain-enabled service account 
used for `oauth2_key`, `oauth2_issuer`)
- **Production** GSuite account (enable production service account access 
to `https://www.googleapis.com/auth/adwords`)
- **Production** MCC account (API key used for `developer_token`)
- **Test** MCC account (email for `oauth2_prn`)
- **Test** client account (customer id for `client_customer_id`)

They key takeaway is all this was under the production account. The only 
test stuff I created was MCC/client account (I didnt create a test google 
developer console service or API access or anything like that)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ee79149f-5a8e-41a4-ab1d-0137d300c0fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2018-01-02 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello, 

Thank you for sharing the details. I deleted your previous post because it 
contained sensitive information such as Developer token. You may refer to 
our forum posting guidelines 
 
for 
reference so as to avoid exposing private information in your future posts. 
Also, we strongly recommend that you reset your developer token 
. 

This said, I was able to take a look at the video and it looks fine. To 
investigate the issue further, could you please enable logging and provide 
us the SOAP request and response logs which generated this error? Please 
use *Reply privately to author* option to share the details.

Regards,
Bharani, AdWords API Team

On Friday, December 22, 2017 at 3:47:47 PM UTC-5, 
adwords.mana...@lioncita.com wrote:
>
> Hello there,
>
> I am getting the following error when querying Adwords API:
>
> 
> 
>   
> AuthenticationError.NOT_ADS_USER
> null
> 
>   
> 
>
> I read the troubleshooting part of the documentation, but I am clearly not 
> in the situation that is described in there.
>
> Here is what I did in terms of configuration:
>
>1. I created a Manager Account (adwords.mana...@lioncita.com) to get a 
>developer token.
>2. With that same account, I got from the Google API Console 
>Credentials page, a client id and a client secret.
>3. I created a Manager Test Account (
>adwords.my-test-accoun...@lioncita.com)
>4. From that account, I created a Client Test Account.
>5. I granted myself (leonid.ivanchuk@gmail.com) administrative 
>access to that Client Test Account.
>
> Then, here is how I am trying to query the API:
>
>1. Via OAuth2.0, I authorize my app (identified by the developer 
>token, client id and client secret coming from the Manager Account) to 
>query the Client Test Account on behalf on myself
>2. I do the following query:
>SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
>ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] DURING 
>LAST_7_DAYS
>3. And I receive the error message described above
>
> For more details, see the sequence of HTTP requests and responses below:
>
>
> My app redirects the user (myself) to the following url:
>
>
>
> https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent
>
>
> After the user grants authorization, my app get the code in the callback.
>
> With that code, my app requests an access token:
>
>
>
> Then, with that access token, my app tries to pull the data:
>
>
>
> I have spent a long time trying to figure out what is happening here.
> Thanks in advance for your help,
>
> Best,
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/906bfaae-f8d4-464f-bfa9-0852b8e81003%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2018-01-02 Thread adwords . manager
Anyone?

On Thursday, December 28, 2017 at 1:57:40 PM UTC-8, adwords...@lioncita.com 
wrote:
>
> The animated gif mentioned above, uploaded as a static image.
>
> Here is a link to it:
>
> https://drive.google.com/file/d/14g2sF0cccgb2Y2G27sNbhJZ-IP0F0pD4/view
>
> On Thursday, December 28, 2017 at 1:52:13 PM UTC-8, 
> adwords...@lioncita.com wrote:
>>
>> As requested, I generated another refresh/access token in the condition 
>> that you indicated, but got the same result.
>> I have attached a video of it in this post (cf video.gif)
>>
>> My app is:
>>
>>- Client id: 
>>100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com
>>- Developper Token: Y3dHO32GQ3sxjF3AytWWaQ
>>
>> The test client account that my app tries to query is: 779-751-4042
>>
>> The user who has administrative access to this account and authorizes my 
>> app to query Adwords API is: leonid.ivanchuk@gmail.com
>>
>> Thank you for taking the time to look at it.
>>
>> Best,
>>
>> On Thursday, December 28, 2017 at 6:40:49 AM UTC-8, Bharani Cherukuri 
>> (AdWords API Team) wrote:
>>>
>>> Hello, 
>>>
>>> Thank you for providing more details. The NOT_ADS_USER 
>>> 
>>>  error 
>>> is encountered when the OAuth2 credentials used are *not* associated 
>>> with an AdWords account. Can you please generate another refresh/access 
>>> token, and ensure that you retrieve the authorization code from the browser 
>>> link by logging in as a user who has access to the AdWords account? You 
>>> *must* be logged in as a user who has access to the AdWords account 
>>> against which you want to issue the request. 
>>>
>>> If you continue to have an issue with this, could you provide us the 
>>> email address used to generate the access token, so I can take a look?
>>>
>>> Regards,
>>> Bharani, AdWords API Team 
>>>
>>> On Friday, December 22, 2017 at 3:47:47 PM UTC-5, 
>>> adwords...@lioncita.com wrote:

 Hello there,

 I am getting the following error when querying Adwords API:

 
 
   
 AuthenticationError.NOT_ADS_USER
 null
 
   
 

 I read the troubleshooting part of the documentation, but I am clearly 
 not in the situation that is described in there.

 Here is what I did in terms of configuration:

1. I created a Manager Account (adwords...@lioncita.com) to get a 
developer token.
2. With that same account, I got from the Google API Console 
Credentials page, a client id and a client secret.
3. I created a Manager Test Account (adwords.my-t...@lioncita.com)
4. From that account, I created a Client Test Account.
5. I granted myself (leonid.iv...@gmail.com) administrative access 
to that Client Test Account.

 Then, here is how I am trying to query the API:

1. Via OAuth2.0, I authorize my app (identified by the developer 
token, client id and client secret coming from the Manager Account) 
to query the Client Test Account on behalf on myself
2. I do the following query:
SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] 
 DURING 
LAST_7_DAYS
3. And I receive the error message described above

 For more details, see the sequence of HTTP requests and responses below:


 My app redirects the user (myself) to the following url:



 https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent


 After the user grants authorization, my app get the code in the 
 callback.

 With that code, my app requests an access token:



 Then, with that access token, my app tries to pull the data:



 I have spent a long time trying to figure out what is happening here.
 Thanks in advance for your help,

 Best,

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: AuthenticationError.NOT_ADS_USER

2017-12-28 Thread adwords . manager
The animated gif mentioned above, uploaded as a static image.

Here is a link to it:

https://drive.google.com/file/d/14g2sF0cccgb2Y2G27sNbhJZ-IP0F0pD4/view

On Thursday, December 28, 2017 at 1:52:13 PM UTC-8, adwords...@lioncita.com 
wrote:
>
> As requested, I generated another refresh/access token in the condition 
> that you indicated, but got the same result.
> I have attached a video of it in this post (cf video.gif)
>
> My app is:
>
>- Client id: 
>100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com
>- Developper Token: Y3dHO32GQ3sxjF3AytWWaQ
>
> The test client account that my app tries to query is: 779-751-4042
>
> The user who has administrative access to this account and authorizes my 
> app to query Adwords API is: leonid.ivanchuk@gmail.com
>
> Thank you for taking the time to look at it.
>
> Best,
>
> On Thursday, December 28, 2017 at 6:40:49 AM UTC-8, Bharani Cherukuri 
> (AdWords API Team) wrote:
>>
>> Hello, 
>>
>> Thank you for providing more details. The NOT_ADS_USER 
>> 
>>  error 
>> is encountered when the OAuth2 credentials used are *not* associated 
>> with an AdWords account. Can you please generate another refresh/access 
>> token, and ensure that you retrieve the authorization code from the browser 
>> link by logging in as a user who has access to the AdWords account? You 
>> *must* be logged in as a user who has access to the AdWords account 
>> against which you want to issue the request. 
>>
>> If you continue to have an issue with this, could you provide us the 
>> email address used to generate the access token, so I can take a look?
>>
>> Regards,
>> Bharani, AdWords API Team 
>>
>> On Friday, December 22, 2017 at 3:47:47 PM UTC-5, adwords...@lioncita.com 
>> wrote:
>>>
>>> Hello there,
>>>
>>> I am getting the following error when querying Adwords API:
>>>
>>> 
>>> 
>>>   
>>> AuthenticationError.NOT_ADS_USER
>>> null
>>> 
>>>   
>>> 
>>>
>>> I read the troubleshooting part of the documentation, but I am clearly 
>>> not in the situation that is described in there.
>>>
>>> Here is what I did in terms of configuration:
>>>
>>>1. I created a Manager Account (adwords...@lioncita.com) to get a 
>>>developer token.
>>>2. With that same account, I got from the Google API Console 
>>>Credentials page, a client id and a client secret.
>>>3. I created a Manager Test Account (adwords.my-t...@lioncita.com)
>>>4. From that account, I created a Client Test Account.
>>>5. I granted myself (leonid.iv...@gmail.com) administrative access 
>>>to that Client Test Account.
>>>
>>> Then, here is how I am trying to query the API:
>>>
>>>1. Via OAuth2.0, I authorize my app (identified by the developer 
>>>token, client id and client secret coming from the Manager Account) 
>>>to query the Client Test Account on behalf on myself
>>>2. I do the following query:
>>>SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
>>>ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] 
>>> DURING 
>>>LAST_7_DAYS
>>>3. And I receive the error message described above
>>>
>>> For more details, see the sequence of HTTP requests and responses below:
>>>
>>>
>>> My app redirects the user (myself) to the following url:
>>>
>>>
>>>
>>> https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent
>>>
>>>
>>> After the user grants authorization, my app get the code in the callback.
>>>
>>> With that code, my app requests an access token:
>>>
>>>
>>>
>>> Then, with that access token, my app tries to pull the data:
>>>
>>>
>>>
>>> I have spent a long time trying to figure out what is happening here.
>>> Thanks in advance for your help,
>>>
>>> Best,
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: AuthenticationError.NOT_ADS_USER

2017-12-28 Thread adwords . manager
As requested, I generated another refresh/access token in the condition 
that you indicated, but got the same result.
I have attached a video of it in this post (cf video.gif)

My app is:

   - Client id: 
   100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com
   - Developper Token: Y3dHO32GQ3sxjF3AytWWaQ

The test client account that my app tries to query is: 779-751-4042

The user who has administrative access to this account and authorizes my 
app to query Adwords API is: leonid.ivanchuk@gmail.com

Thank you for taking the time to look at it.

Best,

On Thursday, December 28, 2017 at 6:40:49 AM UTC-8, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello, 
>
> Thank you for providing more details. The NOT_ADS_USER 
> 
>  error 
> is encountered when the OAuth2 credentials used are *not* associated with 
> an AdWords account. Can you please generate another refresh/access token, 
> and ensure that you retrieve the authorization code from the browser link 
> by logging in as a user who has access to the AdWords account? You *must* be 
> logged in as a user who has access to the AdWords account against which you 
> want to issue the request. 
>
> If you continue to have an issue with this, could you provide us the email 
> address used to generate the access token, so I can take a look?
>
> Regards,
> Bharani, AdWords API Team 
>
> On Friday, December 22, 2017 at 3:47:47 PM UTC-5, adwords...@lioncita.com 
> wrote:
>>
>> Hello there,
>>
>> I am getting the following error when querying Adwords API:
>>
>> 
>> 
>>   
>> AuthenticationError.NOT_ADS_USER
>> null
>> 
>>   
>> 
>>
>> I read the troubleshooting part of the documentation, but I am clearly 
>> not in the situation that is described in there.
>>
>> Here is what I did in terms of configuration:
>>
>>1. I created a Manager Account (adwords...@lioncita.com) to get a 
>>developer token.
>>2. With that same account, I got from the Google API Console 
>>Credentials page, a client id and a client secret.
>>3. I created a Manager Test Account (adwords.my-t...@lioncita.com)
>>4. From that account, I created a Client Test Account.
>>5. I granted myself (leonid.iv...@gmail.com) administrative access to 
>>that Client Test Account.
>>
>> Then, here is how I am trying to query the API:
>>
>>1. Via OAuth2.0, I authorize my app (identified by the developer 
>>token, client id and client secret coming from the Manager Account) 
>>to query the Client Test Account on behalf on myself
>>2. I do the following query:
>>SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
>>ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] 
>> DURING 
>>LAST_7_DAYS
>>3. And I receive the error message described above
>>
>> For more details, see the sequence of HTTP requests and responses below:
>>
>>
>> My app redirects the user (myself) to the following url:
>>
>>
>>
>> https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent
>>
>>
>> After the user grants authorization, my app get the code in the callback.
>>
>> With that code, my app requests an access token:
>>
>>
>>
>> Then, with that access token, my app tries to pull the data:
>>
>>
>>
>> I have spent a long time trying to figure out what is happening here.
>> Thanks in advance for your help,
>>
>> Best,
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/616f59f7-bb93-4188-810e-35b67af57f8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2017-12-28 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello, 

Thank you for providing more details. The NOT_ADS_USER 

 error 
is encountered when the OAuth2 credentials used are *not* associated with 
an AdWords account. Can you please generate another refresh/access token, 
and ensure that you retrieve the authorization code from the browser link 
by logging in as a user who has access to the AdWords account? You *must* be 
logged in as a user who has access to the AdWords account against which you 
want to issue the request. 

If you continue to have an issue with this, could you provide us the email 
address used to generate the access token, so I can take a look?

Regards,
Bharani, AdWords API Team 

On Friday, December 22, 2017 at 3:47:47 PM UTC-5, adwords...@lioncita.com 
wrote:
>
> Hello there,
>
> I am getting the following error when querying Adwords API:
>
> 
> 
>   
> AuthenticationError.NOT_ADS_USER
> null
> 
>   
> 
>
> I read the troubleshooting part of the documentation, but I am clearly not 
> in the situation that is described in there.
>
> Here is what I did in terms of configuration:
>
>1. I created a Manager Account (adwords...@lioncita.com ) 
>to get a developer token.
>2. With that same account, I got from the Google API Console 
>Credentials page, a client id and a client secret.
>3. I created a Manager Test Account (adwords.my-t...@lioncita.com 
>)
>4. From that account, I created a Client Test Account.
>5. I granted myself (leonid.iv...@gmail.com ) 
>administrative access to that Client Test Account.
>
> Then, here is how I am trying to query the API:
>
>1. Via OAuth2.0, I authorize my app (identified by the developer 
>token, client id and client secret coming from the Manager Account) to 
>query the Client Test Account on behalf on myself
>2. I do the following query:
>SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
>ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] DURING 
>LAST_7_DAYS
>3. And I receive the error message described above
>
> For more details, see the sequence of HTTP requests and responses below:
>
>
> My app redirects the user (myself) to the following url:
>
>
>
> https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent
>
>
> After the user grants authorization, my app get the code in the callback.
>
> With that code, my app requests an access token:
>
>
>
> Then, with that access token, my app tries to pull the data:
>
>
>
> I have spent a long time trying to figure out what is happening here.
> Thanks in advance for your help,
>
> Best,
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0466263c-a2d3-4488-8189-7a1a8aab0889%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2017-12-27 Thread adwords . manager
Thank you for your reply.

Unfortunately, this is not the source of my problem.

In the "second step one",  authorizes my app 
to query Adwords API on its behalf.
As you can see on the screenshot here attached, 
 has administrative access to the client 
test account  779-751-4042, which is the account my apps tries to query in 
vain.

I also tried to use the manager test account that created the client test 
account 779-751-4042, with the same results.

What else could it be?

Thanks in advance,

On Wednesday, December 27, 2017 at 12:05:54 AM UTC-8, Zweitze wrote:
>
> That error means that you used a login without an AdWords MCC or AdWords 
> account. Maybe it's also possible with an empty MCC.
>
> So, in your second step one, choose a login which actually has rights to 
> your AdWords account "779-xxx-x". Note that the dialog may not always 
> show the login it will actually use. Usually it has a link "use a different 
> accoount" (or something like that), allowing you to choose a login. Do 
> ensure you use the right login.
>
>
>
> On Tuesday, December 26, 2017 at 8:19:28 PM UTC+1, adwords...@lioncita.com 
> wrote:
>>
>> Anyone?
>>
>> On Friday, December 22, 2017 at 12:47:47 PM UTC-8, 
>> adwords...@lioncita.com wrote:
>>>
>>> Hello there,
>>>
>>> I am getting the following error when querying Adwords API:
>>>
>>> 
>>> 
>>>   
>>> AuthenticationError.NOT_ADS_USER
>>> null
>>> 
>>>   
>>> 
>>>
>>> I read the troubleshooting part of the documentation, but I am clearly 
>>> not in the situation that is described in there.
>>>
>>> Here is what I did in terms of configuration:
>>>
>>>1. I created a Manager Account (adwords...@lioncita.com) to get a 
>>>developer token.
>>>2. With that same account, I got from the Google API Console 
>>>Credentials page, a client id and a client secret.
>>>3. I created a Manager Test Account (adwords.my-t...@lioncita.com)
>>>4. From that account, I created a Client Test Account.
>>>5. I granted myself (leonid.iv...@gmail.com) administrative access 
>>>to that Client Test Account.
>>>
>>> Then, here is how I am trying to query the API:
>>>
>>>1. Via OAuth2.0, I authorize my app (identified by the developer 
>>>token, client id and client secret coming from the Manager Account) 
>>>to query the Client Test Account on behalf on myself
>>>2. I do the following query:
>>>SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
>>>ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] 
>>> DURING 
>>>LAST_7_DAYS
>>>3. And I receive the error message described above
>>>
>>> For more details, see the sequence of HTTP requests and responses below:
>>>
>>>
>>> My app redirects the user (myself) to the following url:
>>>
>>>
>>>
>>> https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent
>>>
>>>
>>> After the user grants authorization, my app get the code in the callback.
>>>
>>> With that code, my app requests an access token:
>>>
>>>
>>>
>>> Then, with that access token, my app tries to pull the data:
>>>
>>>
>>>
>>> I have spent a long time trying to figure out what is happening here.
>>> Thanks in advance for your help,
>>>
>>> Best,
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf27a5a2-1904-4cf5-9149-9be85702b1cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2017-12-27 Thread Zweitze
That error means that you used a login without an AdWords MCC or AdWords 
account. Maybe it's also possible with an empty MCC.

So, in your second step one, choose a login which actually has rights to 
your AdWords account "779-xxx-x". Note that the dialog may not always 
show the login it will actually use. Usually it has a link "use a different 
accoount" (or something like that), allowing you to choose a login. Do 
ensure you use the right login.



On Tuesday, December 26, 2017 at 8:19:28 PM UTC+1, adwords...@lioncita.com 
wrote:
>
> Anyone?
>
> On Friday, December 22, 2017 at 12:47:47 PM UTC-8, adwords...@lioncita.com 
> wrote:
>>
>> Hello there,
>>
>> I am getting the following error when querying Adwords API:
>>
>> 
>> 
>>   
>> AuthenticationError.NOT_ADS_USER
>> null
>> 
>>   
>> 
>>
>> I read the troubleshooting part of the documentation, but I am clearly 
>> not in the situation that is described in there.
>>
>> Here is what I did in terms of configuration:
>>
>>1. I created a Manager Account (adwords...@lioncita.com ) 
>>to get a developer token.
>>2. With that same account, I got from the Google API Console 
>>Credentials page, a client id and a client secret.
>>3. I created a Manager Test Account (adwords.my-t...@lioncita.com 
>>)
>>4. From that account, I created a Client Test Account.
>>5. I granted myself (leonid.iv...@gmail.com ) 
>>administrative access to that Client Test Account.
>>
>> Then, here is how I am trying to query the API:
>>
>>1. Via OAuth2.0, I authorize my app (identified by the developer 
>>token, client id and client secret coming from the Manager Account) 
>>to query the Client Test Account on behalf on myself
>>2. I do the following query:
>>SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
>>ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] 
>> DURING 
>>LAST_7_DAYS
>>3. And I receive the error message described above
>>
>> For more details, see the sequence of HTTP requests and responses below:
>>
>>
>> My app redirects the user (myself) to the following url:
>>
>>
>>
>> https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent
>>
>>
>> After the user grants authorization, my app get the code in the callback.
>>
>> With that code, my app requests an access token:
>>
>>
>>
>> Then, with that access token, my app tries to pull the data:
>>
>>
>>
>> I have spent a long time trying to figure out what is happening here.
>> Thanks in advance for your help,
>>
>> Best,
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1b602d0d-32ad-4ec3-9c6b-1268bc13d6e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2017-12-26 Thread adwords . manager
Anyone?

On Friday, December 22, 2017 at 12:47:47 PM UTC-8, adwords...@lioncita.com 
wrote:
>
> Hello there,
>
> I am getting the following error when querying Adwords API:
>
> 
> 
>   
> AuthenticationError.NOT_ADS_USER
> null
> 
>   
> 
>
> I read the troubleshooting part of the documentation, but I am clearly not 
> in the situation that is described in there.
>
> Here is what I did in terms of configuration:
>
>1. I created a Manager Account (adwords.mana...@lioncita.com) to get a 
>developer token.
>2. With that same account, I got from the Google API Console 
>Credentials page, a client id and a client secret.
>3. I created a Manager Test Account (
>adwords.my-test-accoun...@lioncita.com)
>4. From that account, I created a Client Test Account.
>5. I granted myself (leonid.ivanchuk@gmail.com) administrative 
>access to that Client Test Account.
>
> Then, here is how I am trying to query the API:
>
>1. Via OAuth2.0, I authorize my app (identified by the developer 
>token, client id and client secret coming from the Manager Account) to 
>query the Client Test Account on behalf on myself
>2. I do the following query:
>SELECT CampaignId, AdGroupId, Impressions, Clicks, Cost FROM 
>ADGROUP_PERFORMANCE_REPORT WHERE AdGroupStatus IN [ENABLED, PAUSED] DURING 
>LAST_7_DAYS
>3. And I receive the error message described above
>
> For more details, see the sequence of HTTP requests and responses below:
>
>
> My app redirects the user (myself) to the following url:
>
>
>
> https://accounts.google.com/o/oauth2/auth?client_id=100369740038-n0d6tm4jba0c34ikdcv14rssenr9c5uq.apps.googleusercontent.com_type=code=https://www.googleapis.com/auth/adwords_uri=https://api.lioncita.com/oauth.php_type=offline=consent
>
>
> After the user grants authorization, my app get the code in the callback.
>
> With that code, my app requests an access token:
>
>
>
> Then, with that access token, my app tries to pull the data:
>
>
>
> I have spent a long time trying to figure out what is happening here.
> Thanks in advance for your help,
>
> Best,
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a806a969-c5f7-4a03-af9c-46a2ccb6e0bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: "[AuthenticationError.NOT_ADS_USER @ ; trigger:'']"

2017-12-05 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

The NOT_ADS_USER 

 error 
is noticed when the AdWords API call is made by a user that is 
not associated with an AdWords account. This being said, could you provide 
the complete SOAP request and response that was generated when you 
encountered the error? You may reply via the *Reply privately to author*
 option.

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/c6f86533-776b-4007-b750-2837787dcd2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2017-09-11 Thread Carlos Casasola
Hello Bharani,

This is my clientCustomerId: 903-686-0485 
So I tried with my MCC: 551-497-3203 but it not works

This is a log generated from a PHP Library: 19.0.0 I also try with 25.0.0 
version:

POST /api/adwords/reportdownload/v201705 HTTP/1.1
Host: adwords.google.com
User-Agent:  (AwApi-PHP/19.0.0, Common-PHP/19.0.0, PHP/5.6.19, 
ReportDownloader/file)
Accept: */*
Accept-Encoding: gzip
Authorization: 
developerToken: NiQifqf3
clientCustomerId: 903-686-0485
Content-Length: 717
Expect: 100-continue
Content-Type: multipart/form-data; 
boundary=06e0a804f0537787

Parameters:
__rdxml: 
CampaignIdAdGroupIdIdCriteriaCriteriaTypeImpressionsClicksCostStatusNOT_INDELETEDCriteria
 
performance report 
#01CRITERIA_PERFORMANCE_REPORTALL_TIMECSV

Response Code: 400
Error Message: Report download failed. Underlying errors are 
Type = 'AuthenticationError.NOT_ADS_USER', Trigger = '', FieldPath = 
''. 


I tried with this request from this 
link: 
https://developers.google.com/adwords/api/docs/guides/reporting#complete_example
 
setting credentials but return other error:

POST /api/adwords/reportdownload/v201708 HTTP/1.1
Host: adwords.google.com
User-Agent: curl, gzip
Accept: /
Accept-Encoding: gzip
Authorization: Bearer ***
developerToken: NiQifq
clientCustomerId: 903-686-0485
Content-Length: 784
Expect: 100-continue
Content-Type: multipart/form-data; 
boundary=12d01fae60c7b559
 
Parameters:
__rdxml: ?xml version="1.0" encoding="UTF-8"?
https://adwords.google.com/api/adwords/cm/v201708;>
  
CampaignId
AdGroupId
Impressions
Clicks
Cost

  AdGroupStatus
  IN
  ENABLED
  PAUSED

  
  Custom Adgroup Performance Report
  ADGROUP_PERFORMANCE_REPORT
  LAST_7_DAYS
  CSV


Return the next error:

ReportDownloadError.MISSING_PARAMETERMissing
 
report 
definitionReportDownloadError.INVALID_PARAMETERMissing
 
client 
information


Thank you for helping me.


On Monday, September 11, 2017 at 12:21:10 PM UTC-5, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello Carlos, 
>
> Could you provide us the clientCustomerId 
>  of 
> the AdWords client account along with the complete SOAP request and 
> response logs for the recent try so I can take a look? You can respond via 
> *Reply 
> privately to author* option.
>
> Thanks,
> Bharani, AdWords API Team
>
> On Thursday, September 7, 2017 at 5:04:56 AM UTC-4, Carlos Casasola wrote:
>>
>> Hi,
>>
>> I configured my MCC and linked a AdWords account,
>> I get my developer Token, the client ID, client Secret and refresh Token 
>> with the MCC.
>>
>> When I call to API using the PHP library googleads-php-lib": "19.0.0" 
>> return the next error: 
>>
>>  Type = 'AuthenticationError.NOT_ADS_USER', Trigger = '', FieldPath 
>> = ''. 
>>
>> I try use the MCC client ID and the google adwords ID in the request but 
>> not working.
>> Why google errors says: "The login used to generate the access token is 
>> not associated with any AdWords account."? if there is an associated 
>> adwords account
>> .
>> Could anyone help me, please?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/37278b28-d802-4419-b2f1-67ad21221a98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2017-09-11 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello Carlos, 

Could you provide us the clientCustomerId 
 of 
the AdWords client account along with the complete SOAP request and 
response logs for the recent try so I can take a look? You can respond via 
*Reply 
privately to author* option.

Thanks,
Bharani, AdWords API Team

On Thursday, September 7, 2017 at 5:04:56 AM UTC-4, Carlos Casasola wrote:
>
> Hi,
>
> I configured my MCC and linked a AdWords account,
> I get my developer Token, the client ID, client Secret and refresh Token 
> with the MCC.
>
> When I call to API using the PHP library googleads-php-lib": "19.0.0" 
> return the next error: 
>
>  Type = 'AuthenticationError.NOT_ADS_USER', Trigger = '', FieldPath 
> = ''. 
>
> I try use the MCC client ID and the google adwords ID in the request but 
> not working.
> Why google errors says: "The login used to generate the access token is 
> not associated with any AdWords account."? if there is an associated 
> adwords account
> .
> Could anyone help me, please?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/202ef58a-09f4-4891-acb1-1b4a3e413629%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2017-09-08 Thread Carlos Casasola
Hello Bharani.

I configured all credentials again but doesn´t work. 

I use this request 
headers https://developers.google.com/adwords/api/docs/guides/call-structure
I send this param* clientCustomerId *but return the same error.

Thank you.


On Thursday, September 7, 2017 at 3:56:20 PM UTC-5, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello Carlos, 
>
> It is not possible to generate the report at MCC level. This said, for 
> this error, can you try generating the report again with the client 
> customer id of the client account associated with your MCC? If that doesn't 
> work, could you regenerate the OAuth2 credentials and then try again? 
>
> Let me know if that works for you.
>
> Thanks,
> Bharani, AdWords API Team.
>
> On Thursday, September 7, 2017 at 5:04:56 AM UTC-4, Carlos Casasola wrote:
>>
>> Hi,
>>
>> I configured my MCC and linked a AdWords account,
>> I get my developer Token, the client ID, client Secret and refresh Token 
>> with the MCC.
>>
>> When I call to API using the PHP library googleads-php-lib": "19.0.0" 
>> return the next error: 
>>
>>  Type = 'AuthenticationError.NOT_ADS_USER', Trigger = '', FieldPath 
>> = ''. 
>>
>> I try use the MCC client ID and the google adwords ID in the request but 
>> not working.
>> Why google errors says: "The login used to generate the access token is 
>> not associated with any AdWords account."? if there is an associated 
>> adwords account
>> .
>> Could anyone help me, please?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d4b2b12c-d463-427c-8f52-0fef50931685%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER - Java SDK setServiceAccountUser missing?

2017-08-08 Thread 'Peter Oliquino' via AdWords API Forum
Hi John,

My apologies for the difficulty you experienced in setting up your service 
account using the Java library. I could see that you have already gotten in 
touch (here ) 
with the Java library owners and I'm glad that you have found the solution 
and is now able to continue with your work. 

Regarding your suggestion - and thank you by the way, I will be discussing 
this with the team, however, I cannot guarantee if or when this can be 
available in any of the next releases.

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/ca1cd99e-e75a-40be-abfd-53eef6d7dc6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER - Java SDK setServiceAccountUser missing?

2017-08-08 Thread John Reynolds
FYI - I ended up getting that working.

Yes, I followed all of the steps to create the service account and 
authorize it for our Google Apps Domain. That isn't the issue.

All of the sample code and examples for using the Service Account fail to 
show where or how to set the ServiceAccountUser on the GoogleCredential 
returned from OfflineCredentials Builder.

Simply specifying the location of the JSON file in the ads.properties file 
only gets you so far. You can receive an accessToken on the 
GoogleCredential created with the OfflineCredentials Builder, but I could 
not set the serviceAccountUser as that appears to be required at build 
time. It would be ideal to have a property for this user in the 
ads.properties file, or allow for setting this in the OfflineCredentials 
Builder object.

You are correct that there are a lot of ways to configure impersonation and 
I managed to dig into the code and replicate my own builder that pulled 
from the ServiceAccount JSON file and allows for specifying the 
ServiceAccount user, but I'm not sure why OfflineCredentials and the 
Adwords Java library doesn't support this. Again, it looks like some of the 
other SDKs do support specifying the service account user in a property. 
(e.g. Ruby's YAML "ouath2_prn")

Something like this would be a great addition to the next release of the 
Java SDK.

Credential oAuth2Credential = new OfflineCredentials.Builder()
.forApi(OfflineCredentials.Api.ADWORDS)
.fromFile()
*.withServiceAccountUser("u...@domain.com")*
.build()
.generateCredential();


Thanks for the reply!

John


On Monday, August 7, 2017 at 11:14:25 PM UTC-7, Peter Oliquino wrote:
>
> Hi John, 
>
> Could you provide the following details? 
>
>- Do you have a Google Apps Domain? To use service accounts with 
>AdWords, a Google Apps Domain is required (as mentioned on the wiki 
>page for service accounts 
>
> 
>).
>- Have you been granted access to the G Suite (former Google Apps) 
>account that you have? 
>
> Depending on the library you use, impersonation can be configured 
> differently. If you are working with a single user I suggest using installed 
> application 
> .
>  
> With installed application flow you need to authorize each Google account 
> individually. So, you'd need to have each of these users go through the 
> authorization flow and then manage a separate access/refresh token per 
> email address. The authorization step (browser step) for installed 
> application is needed only once and can be done outside of your production 
> environment. All you need is the refresh token which can be cached and 
> deployed with your app. Please see this document 
> 
>  for 
> more information on setting up authentication. 
>
> Best 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/0cac0ba5-ab92-42b0-9b84-f8e8acdefb96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER - Java SDK setServiceAccountUser missing?

2017-08-08 Thread 'Peter Oliquino' via AdWords API Forum
Hi John, 

Could you provide the following details? 

   - Do you have a Google Apps Domain? To use service accounts with 
   AdWords, a Google Apps Domain is required (as mentioned on the wiki page 
   for service accounts 
   

   ).
   - Have you been granted access to the G Suite (former Google Apps) 
   account that you have? 

Depending on the library you use, impersonation can be configured 
differently. If you are working with a single user I suggest using installed 
application 
.
 
With installed application flow you need to authorize each Google account 
individually. So, you'd need to have each of these users go through the 
authorization flow and then manage a separate access/refresh token per 
email address. The authorization step (browser step) for installed 
application is needed only once and can be done outside of your production 
environment. All you need is the refresh token which can be cached and 
deployed with your app. Please see this document 

 for 
more information on setting up authentication. 

Best 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/3181e3ed-2243-4851-a6eb-4c22aaec2957%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER with service account

2017-01-19 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

This is an old forum thread. Could you kindly start a new thread for your 
question?

Thanks,
Shwetha, 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/5d97c798-ae25-4095-a009-18f4389f9292%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER with service account

2017-01-19 Thread km
That property I need to set in case of Java? I filled up 
api.adwords.jsonKeyFilePath, api.adwords.clientCustomerId, 
api.adwords.developerToken 
but no person or anything close to this in config. 


понедельник, 27 октября 2014 г., 19:34:25 UTC+3 пользователь Anash P. 
Oommen (AdWords API Team) написал:
>
> Hi,
>
> You should also set oauth2_prn to identify the OAuth2 user. This should be 
> the login email of your AdWords account, or your AdWords MCC account. If 
> you are setting the email address of your AdWords account, 
> then client_customer_id should contain your AdWords account's CID. If you 
> are setting the email address of your AdWords MCC account, then 
> client_customer_id 
> should be beneath the MCC.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Friday, October 24, 2014 8:01:18 AM UTC-4, Ismary Cruz wrote:
>>
>> I have a services account , I been trying to get adwords data without 
>> success. I have a MCC account.
>>
>> I followed, step by step, the user guide.
>>
>> I created the project, then I created new credentials. I selected 
>> 'services account' and generated public/secret key.
>>
>> I followed the guide to delegating domain-wide authority to the service 
>> account (I used https://www.googleapis.com/auth/adwords as scope).
>>
>> I got the authorization token without any problem. But when I try to call 
>> any service of Adwords, I got the same error: 
>>
>>
>> AdwordsApi::V201409::CampaignService::ApiException at ...
>> [AuthenticationError.NOT_ADS_USER @ ; trigger:'']
>>
>> This is my adwords_api.yml configuration:
>>
>> :authentication:
>>   :method: OAuth2_JWT
>>   :oauth2_client_id: 
>>   :oauth2_issuer: 
>>   :oauth2_keyfile: 
>>   :oauth2_secret: 
>>   :developer_token: 
>>   :client_customer_id: 
>>
>> :service:
>>   :environment: 'PRODUCTION'
>> :connection:
>>   :enable_gzip: false
>> :library:
>>   :log_level: DEBUG
>>
>>
>> Other informations: 
>> gem google-adwords-api (0.13.2)
>> gem oauth2 (1.0.0)
>> API versio v:201409
>>
>> For some reason my service account doesn't have permission for Adwords, 
>> although I had defined them as indicated it in the user guide.
>>
>> If you have any ideas, I will be very grateful you.
>>
>> Thanks in advanced,
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/613fbdd7-931d-4090-8c84-7bac57c80dec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2016-04-29 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

Could you elaborate on why you are not using the reporting utility in the .NET 
client library , as 
shown in the DownloadCriteriaReport example 
?
 
That will handle setting all of the necessary headers, etc. All you have to 
do is configure your *App.config* file as specified in the App.config 
sample in the library 
,
 
and the library will take care of exchanging your refresh token for an 
access token, as well as properly setting up the HTTP request for reports.

Thanks,
Josh, AdWords API Team

On Friday, April 29, 2016 at 9:05:55 AM UTC-4, radley.an...@kellybrady.com 
wrote:
>
> I keep getting this error
> " standalone=\"yes\"?>AuthenticationError.NOT_ADS_USERnull"
>
> I know this error means:
> Reason*NOT_ADS_USER*SummaryThe login used to generate the access token is 
> not associated with any AdWords account.Common causesThe login 
> information provided corresponds to a Google account that does not have 
> AdWords enabled.
> The problem is that* I am able to use these same credentials in the C# 
> sample asp.net  application and get authenticated. *
>
> Why would these credentials work in one instance but not this instance?
>
> Here is my code:
>
> using RestSharp;
> using System;
> using System.Collections.Generic;
> using System.Linq;
> using System.Text;
> using System.Threading.Tasks;
>
> namespace GoogleAdWordsReportPuller
> {
> class FileGrabber
> {
>
> string reportDefinition = @" https://adwords.google.com/api/adwords/cm/v201603";>
>   
> AdGroupName
> Date
> AdGroupStatus
> CampaignName
> Impressions
> Clicks
> Conversions
> Cost
>   
>   Custom Adgroup Performance Report
>   ADGROUP_PERFORMANCE_REPORT
>   YESTERDAY
>   CSV
> ";
>
>
> string developerToken = "x";
> string clientId = "
> xxx.apps.googleusercontent.com";
> string accessToken = 
> "x"; // actually a 
> refresh token
>
>
> string accountId = "585-353-4323"; // client account id
>
> string clientUrl = "
> https://adwords.google.com/api/adwords/reportdownload/v201603;;
>
>
> public void GetReport()
> {
>
> //Host: adwords.google.com
> //User-Agent: curl, gzip
> //Accept: */*
> //Accept-Encoding: gzip
> //Authorization: Bearer [Enter OAuth 2.0 access token here]
> //developerToken: [Enter developerToken here]
> //clientCustomerId: [Enter clientCustomerID here]
> //Content-Length: 784
> //Expect: 100-continue
> //Content-Type: multipart/form-data; 
> boundary=12d01fae60c7b559
>
> var client = new RestClient(clientUrl);
> var request = new RestRequest(Method.POST);
>
> // set http headers
> request.AddHeader("Host", "adwords.google.com");
> request.AddHeader("User-Agent", "curl, gzip");
> request.AddHeader("Accept", "*/*");
> request.AddHeader("Accept-Encoding", "gzip");
> request.AddHeader("Authorization", accessToken); // tried 
>  request.AddHeader("Authorization", "Bearer " + accessToken); 
> request.AddHeader("developerToken", developerToken);
> request.AddHeader("clientCustomerId", accountId);
> request.AddHeader("Content-Length", "784");
> //request.AddHeader("Expect", "100-continue");
> request.AddHeader("Content-Type", "multipart/form-data; 
> boundary=12d01fae60c7b559");
>
> //set request parameters
> request.AddParameter("__rdxml", reportDefinition); // adds to 
> POST or URL querystring based on Method
>
> // execute the request
> IRestResponse response = client.Execute(request);
> var content = response.Content; // raw content as string
>
> }
>
> }
> }
>
>
>
> I'm wondering if I need an access token instead because according to the 
> documentation: 
> https://developers.google.com/adwords/api/docs/guides/reporting#complete-example
> The http header has a field that says: 
>
> POST /api/adwords/reportdownload/v201601 HTTP/1.1
> Host: adwords.google.com
> User-Agent: curl, gzip
> Accept: */*
> Accept-Encoding: gzip
> Authorization: Bearer [Enter OAuth 2.0 access token here]
> developerToken: [Enter developerToken here]
> clientCustomerId: [Enter clientCustomerID here]
> Content-Length: 784
> Expect: 100-continue
> Content-Type: multipart/form-data; 
> boundary=12d01fae60c7b559
>
>
> Can anyone help me?
>
> Thanks
>

Re: AuthenticationError.NOT_ADS_USER @

2016-02-22 Thread 'Yin Niu' via AdWords API Forum
Hi Matt, 

Please send your SOAP request and response header so we could investigate 
further. You can click *Reply privately to author* when responding. 

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/2e232d68-15e6-4f3f-8179-963941b13f96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-02-22 Thread Matthew Trevor
I've tried that but it comes up the same. Going forward and when we are 
live, what if I'm not the MCC on one of our client accounts?

On Monday, 22 February 2016 17:30:20 UTC, Yin Niu wrote:
>
> Hi Matt, 
>
> The MCC accont login requests the token. However, to pull the campaign 
> data, you would have to specify the clientCustomerId 
> 
>  SOAP 
> header. 
>
> For the use case you described, you should use OAuth 2.0 web flow 
> . 
>
> 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/edef9711-e90a-4123-bb2c-bc5e94fae0b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-02-22 Thread 'Yin Niu' via AdWords API Forum
Hi Matt, 

The MCC accont login requests the token. However, to pull the campaign 
data, you would have to specify the clientCustomerId 

 SOAP 
header. 

For the use case you described, you should use OAuth 2.0 web flow 
. 

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/f8ab0f4e-7466-40c8-9338-05193ff700fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-02-22 Thread Matthew Trevor
The scenario is we wish to get clients to log into our website and give us 
authority for our server to download a list of their campaigns.

Currently the developer has logged into Google and created an application 
and we have got the  client id/secret from that login.

who then requests the access token? the developer login or the client login?

Thanks,

matt


On Monday, 22 February 2016 16:45:03 UTC, Yin Niu wrote:
>
> Hi Matt, 
>
> You should use your MCC account to generate client id/secret and refresh 
> token. But when you send the request to pull Campaign data, you need to 
> specify the client account clientCustomerID in the request header. 
>
> If this does not solve your problem, please send the complete SOAP request 
> and response log. You can click *Reply privately to author* when 
> responding. 
>
> 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/8a1415a9-5f29-4dbd-b6ba-7eeb60e09947%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-02-22 Thread 'Yin Niu' via AdWords API Forum
Hi Matt, 

You should use your MCC account to generate client id/secret and refresh 
token. But when you send the request to pull Campaign data, you need to 
specify the client account clientCustomerID in the request header. 

If this does not solve your problem, please send the complete SOAP request 
and response log. You can click *Reply privately to author* when 
responding. 

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/a118ef07-b709-4a6c-9f75-be05705b1e69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-02-22 Thread Matthew Trevor
Hi Yin,

I've just signed in to the TEST Adwords user account and got an 
authorisation code and then the access code and then submitted the request 
again, it came back with:

http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201509;>00052c5e53be27000a8159c489081148CampaignServiceget155soap:Server[AuthenticationError.NOT_ADS_USER
 
@ ; trigger:'null']https://adwords.google.com/api/adwords/cm/v201509;>[AuthenticationError.NOT_ADS_USER
 
@ ; 
trigger:'null']ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AuthenticationError">nullAuthenticationError.NOT_ADS_USERAuthenticationErrorNOT_ADS_USER

Thansk,

Matt

On Monday, 22 February 2016 15:37:35 UTC, Yin Niu wrote:
>
> Hi Matthew, 
>
> NOT_ADS_USER 
> 
>  error 
> occurs when the logged in user is not associated with any AdWords account. 
> In your request, you are logged in as MCC which doesn't have access to 
> campaign service. You need to log onto the client account in order to pull 
> campaign data.
>
> 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/4a294aa8-4d2d-425a-9083-82c481252c62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-02-22 Thread 'Yin Niu' via AdWords API Forum
Hi Matthew, 

NOT_ADS_USER 

 error 
occurs when the logged in user is not associated with any AdWords account. 
In your request, you are logged in as MCC which doesn't have access to 
campaign service. You need to log onto the client account in order to pull 
campaign data.

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/d798fa3f-233b-4b5c-8eac-1eba368f2d84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-02-22 Thread Matthew Trevor
Hi Yin,

Sorry for the late reply but I've been away on holiday.

Thank you for your response.

We have not even got to requesting the refresh token, do you mean the 
access token?

Thanks,

Matthew

On Friday, 22 January 2016 16:29:35 UTC, Yin Niu wrote:
>
> Hi Matt, 
>
> Can you verify that the account with the clientCustomerID that you used 
> for this request has the same login email as the one that you use for 
> requesting refresh token or it is the client account of the same manager 
> account?  
>
> 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/2a4c94f4-611b-42e7-9621-99f1a9f7ca2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-01-22 Thread Matthew Trevor
Hi Yin,

Thanks for the advice, but maybe I'm missing something with the Google app 
as I get back what looks to be a good result.

If I explain the path in more detail:

On our test website, the user (whilst logged into their Google Adwords 
account - a test MCC account at this point) clicks on a form which posts:

https://accounts.google.com/o/oauth2/auth?client_id=XXX-.apps.googleusercontent.com_type=code=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords_uri=https://www.mysite.com/oauth2callback_type=offline_prompt=auto

and then the user gives access to their Adwords account and this returns an 
authorization code:

we then on our web server request the access token with:

c:\Curl\curl -k --request POST "https://accounts.google.com/o/oauth2/token; 
\ --data "code=AUTHORIZATION CODE OBTAINED FROM FIRST 
CALL_id=-.apps.googleusercontent.com_secret=XXX_uri=https://www.mysitye.com/oauth2callback_type=authorization_code;
 
-o c:\Curl\Output2744.txt

and this returns the token:

{
  "access_token" : "ya29.X-X",
  "token_type" : "Bearer",
  "expires_in" : 3600,
  "refresh_token" : "1/XXX"
}

and when our web server uses this token to request the campaigns in the 
account and that is when we get the result:


http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201509;>000529db499dd7780a819c08570880ccCampaignServiceget1877soap:Server[AuthenticationError.NOT_ADS_USER
 
@ ; trigger:'null']https://adwords.google.com/api/adwords/cm/v201509;>[AuthenticationError.NOT_ADS_USER
 
@ ; 
trigger:'null']ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AuthenticationError">nullAuthenticationError.NOT_ADS_USERAuthenticationErrorNOT_ADS_USER


So the user is logged in when they give us access, is this not right?

Thanks,

Matt





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/07b7ad24-9106-4900-be94-3a187907c4fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-01-22 Thread Yin Niu
Hi Matt, 

Can you verify that the account with the clientCustomerID that you used for 
this request has the same login email as the one that you use for 
requesting refresh token or it is the client account of the same manager 
account?  

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/d64d9894-9113-4a5b-959a-aede252e6f11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER @

2016-01-21 Thread Yin Niu
Hi Matt, 

When you get NOT_ADS_USER error, it means the login used to generate the 
access token is not associated with any AdWords account.

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/b6c59dbf-a06b-4539-aa4d-f7762027aa16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: {"[AuthenticationError.NOT_ADS_USER @ ; trigger:'']"} while getting the existing campaigns

2016-01-14 Thread Umesh Dengale
Hi Sarah,

Thanks for providing the request and response logs. The NOT_ADS_USER 

 error 
indicates that the login used to generate the access token is not 
associated with any AdWords account. The common reason may be the login 
information provided corresponds to a Google account that does not have 
AdWords enabled. Please make sure you log in with valid AdWords 
account(typically your manager account) for the OAuth flow.

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/3cbe0f78-1107-4436-93d2-a24414b285fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: {"[AuthenticationError.NOT_ADS_USER @ ; trigger:'']"} while getting the existing campaigns

2016-01-13 Thread Petter
Hi Umesh,
I also saw this case. But I created Client ID and ClientSecret key. And 
then I refresh token and call the API. But this issues still do not 
resolve. I attach file xml SOAP XML request and response. Please check it 
for me.
Thanks and Best Regards,
On Saturday, August 22, 2015 at 4:03:00 AM UTC+7, Umesh Dengale wrote:
>
> Hi Sarah,
>
> You created refresh token before the creation of ClientId and ClientSecret 
> key. You could recreate refresh token and call the API.
>
> 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/7730198f-6d62-45cb-8db0-e053bad9f7a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201506;>
000529427e349d580a4c1264f501c146
CampaignService
get
1
42




soap:Server
[AuthenticationError.NOT_ADS_USER @ ; 
trigger:'null']

https://adwords.google.com/api/adwords/cm/v201506;>

[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AuthenticationError">

null

AuthenticationError.NOT_ADS_USER

AuthenticationError
NOT_ADS_USER






http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201506;>
00052942fa2c5ce80a4c9eaa1c044b9f
CampaignService
get
1
45




soap:Server
[AuthenticationError.NOT_ADS_USER @ ; 
trigger:'null']

https://adwords.google.com/api/adwords/cm/v201506;>

[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="AuthenticationError">

null

AuthenticationError.NOT_ADS_USER

AuthenticationError
NOT_ADS_USER






http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201506;>
00052943383aa3a00abfa143630b33db
CampaignService
get
1
37




soap:Server
[AuthenticationError.NOT_ADS_USER @ ; 
trigger:'null']

https://adwords.google.com/api/adwords/cm/v201506;>

[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']

ApiException
http://www.w3.org/2001/XMLSchema-instance; 

Re: {[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']} while getting the existing campaigns

2015-08-24 Thread Umesh Dengale
Hi Sarah,

Could you provide the SOAP XML request and response logs?  Just click *Reply 
privately to author* in the forum when responding. Don't forget to remove 
the developer token and client customer ID in the output.

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/844c3dba-ae9c-4957-8a39-79c86a53d2f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: {[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']} while getting the existing campaigns

2015-08-23 Thread Sarah N

Now , I just used the Client Library (.Net) for authentication , in 
OAuth2ProviderBase class we have these lines:

 protected string TOKEN_ENDPOINT = 
https://accounts.google.com/o/oauth2/token;;

//.


  WebRequest request = HttpWebRequest.Create(TOKEN_ENDPOINT);
   request.Proxy = config.Proxy;
   request.Method = POST;
   request.ContentType = application/x-www-form-urlencoded;
//...


response = request.GetResponse();


it gets *Error 400 - Bad Request*.

the body is look like this:
 
*client_id=XXXclient_secret=XXXrefresh_token=XXXgrant_type=refresh_token*

Is this because of wrong URL? 





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/336fb38f-69ed-48a7-83ee-2ee3ca04a34b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: {[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']} while getting the existing campaigns

2015-08-23 Thread Sarah N
Thanks Umesh, 
I 've just replace the existing refresh token with the new token created by 
Test MCC Account. and run again, 
the error is changed to this :
Failed to refresh access token.
{   error : unauthorized_client }





On Saturday, August 22, 2015 at 7:03:00 AM UTC+10, Umesh Dengale wrote:

 Hi Sarah,

 You created refresh token before the creation of ClientId and ClientSecret 
 key. You could recreate refresh token and call the API.

 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/6e923017-9031-48e3-b9c1-0411ff050ae1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: {[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']} while getting the existing campaigns

2015-08-21 Thread Umesh Dengale
Hi Sarah,

You created refresh token before the creation of ClientId and ClientSecret 
key. You could recreate refresh token and call the API.

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/ac624b97-4038-4348-aeb2-1e7ca584da03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER Error when integrate adWard to salesforce

2014-11-14 Thread Jamie Brown
If we don't have a Google Apps domain, is it still possible to grant an MCC 
that same user rights access?  

On Wednesday, November 12, 2014 6:12:11 AM UTC-8, Danial Klimkin wrote:

 Hello,


 As the document says, we strongly discourage to use Service Accounts with 
 AdWords. It's much easier to obtain and use an offline refresh token.

 If you are still using it and have a google apps domain, you need to grant 
 a user rights to access the correct account and set impersonation address 
 to this user email address.


 -Danial, AdWords API Team.



 On Tuesday, November 11, 2014 7:04:44 PM UTC+3, jitendra rawat wrote:

 Hi,

 I am using google service account to authentication during authentication 
 follow this document 
 https://developers.google.com/accounts/docs/OAuth2ServiceAccount;.

 If you want then i can provide the apex code. Noted that I am facing this 
 error when try to fetch performance report into salesforce. 

 On Monday, November 10, 2014 7:48:31 PM UTC+5:30, Danial Klimkin wrote:

 Hello,


 This error normally means you have generated the refresh token with a 
 wrong account. Try logging off and re-authorizing your application logging 
 in as your AdWords user.


 -Danial, AdWords API Team.


 On Sunday, November 9, 2014 5:00:39 PM UTC+3, jitendra rawat wrote:

 How I can resolve this issue. What is the possible solution or reasons 
 for this.
 I am fetching performance report from adword and i have developer token 
 and also got the Auth token for scope '
 https://adwords.google.com/api/adwords/; 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a044da00-900c-485c-8ff7-253e25b2dfac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER Error when integrate adWard to salesforce

2014-11-14 Thread Danial Klimkin
Hello Jamie,


Yes, you need to retrieve a refresh token for a user that has access to the 
given AdWords account as described here:

  
https://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-individual-accounts#retrieve_oauth_20_refresh_token_for_individual_adwords_account


-Danial, AdWords API Team.


On Friday, November 14, 2014 11:44:31 AM UTC+3, Jamie Brown wrote:

 If we don't have a Google Apps domain, is it still possible to grant an 
 MCC that same user rights access?  

 On Wednesday, November 12, 2014 6:12:11 AM UTC-8, Danial Klimkin wrote:

 Hello,


 As the document says, we strongly discourage to use Service Accounts with 
 AdWords. It's much easier to obtain and use an offline refresh token.

 If you are still using it and have a google apps domain, you need to 
 grant a user rights to access the correct account and set impersonation 
 address to this user email address.


 -Danial, AdWords API Team.



 On Tuesday, November 11, 2014 7:04:44 PM UTC+3, jitendra rawat wrote:

 Hi,

 I am using google service account to authentication during 
 authentication follow this document 
 https://developers.google.com/accounts/docs/OAuth2ServiceAccount;.

 If you want then i can provide the apex code. Noted that I am facing 
 this error when try to fetch performance report into salesforce. 

 On Monday, November 10, 2014 7:48:31 PM UTC+5:30, Danial Klimkin wrote:

 Hello,


 This error normally means you have generated the refresh token with a 
 wrong account. Try logging off and re-authorizing your application logging 
 in as your AdWords user.


 -Danial, AdWords API Team.


 On Sunday, November 9, 2014 5:00:39 PM UTC+3, jitendra rawat wrote:

 How I can resolve this issue. What is the possible solution or reasons 
 for this.
 I am fetching performance report from adword and i have developer 
 token and also got the Auth token for scope '
 https://adwords.google.com/api/adwords/; 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fb06c905-c3a4-4535-b8c2-b9a874d64a44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER Error when integrate adWard to salesforce

2014-11-12 Thread jitendra rawat
Hi,

I am using google service account to authentication during authentication 
follow this document 
https://developers.google.com/accounts/docs/OAuth2ServiceAccount;.

If you want then i can provide the apex code. Noted that I am facing this 
error when try to fetch performance report into salesforce. 

On Monday, November 10, 2014 7:48:31 PM UTC+5:30, Danial Klimkin wrote:

 Hello,


 This error normally means you have generated the refresh token with a 
 wrong account. Try logging off and re-authorizing your application logging 
 in as your AdWords user.


 -Danial, AdWords API Team.


 On Sunday, November 9, 2014 5:00:39 PM UTC+3, jitendra rawat wrote:

 How I can resolve this issue. What is the possible solution or reasons 
 for this.
 I am fetching performance report from adword and i have developer token 
 and also got the Auth token for scope '
 https://adwords.google.com/api/adwords/; 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d620497b-15b2-43e3-a7c8-03f8b4095cfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER Error when integrate adWard to salesforce

2014-11-12 Thread Danial Klimkin
Hello,


As the document says, we strongly discourage to use Service Accounts with 
AdWords. It's much easier to obtain and use an offline refresh token.

If you are still using it and have a google apps domain, you need to grant 
a user rights to access the correct account and set impersonation address 
to this user email address.


-Danial, AdWords API Team.



On Tuesday, November 11, 2014 7:04:44 PM UTC+3, jitendra rawat wrote:

 Hi,

 I am using google service account to authentication during authentication 
 follow this document 
 https://developers.google.com/accounts/docs/OAuth2ServiceAccount;.

 If you want then i can provide the apex code. Noted that I am facing this 
 error when try to fetch performance report into salesforce. 

 On Monday, November 10, 2014 7:48:31 PM UTC+5:30, Danial Klimkin wrote:

 Hello,


 This error normally means you have generated the refresh token with a 
 wrong account. Try logging off and re-authorizing your application logging 
 in as your AdWords user.


 -Danial, AdWords API Team.


 On Sunday, November 9, 2014 5:00:39 PM UTC+3, jitendra rawat wrote:

 How I can resolve this issue. What is the possible solution or reasons 
 for this.
 I am fetching performance report from adword and i have developer token 
 and also got the Auth token for scope '
 https://adwords.google.com/api/adwords/; 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8f2cd65d-b87b-4754-b2e6-59ba7f4599a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER Error when integrate adWard to salesforce

2014-11-10 Thread Danial Klimkin
Hello,


This error normally means you have generated the refresh token with a wrong 
account. Try logging off and re-authorizing your application logging in as 
your AdWords user.


-Danial, AdWords API Team.


On Sunday, November 9, 2014 5:00:39 PM UTC+3, jitendra rawat wrote:

 How I can resolve this issue. What is the possible solution or reasons for 
 this.
 I am fetching performance report from adword and i have developer token 
 and also got the Auth token for scope '
 https://adwords.google.com/api/adwords/; 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6d26919c-9fb1-4a71-a62d-e27a19f4f037%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER with service account

2014-10-27 Thread Anash P. Oommen (AdWords API Team)
Hi,

You should also set oauth2_prn to identify the OAuth2 user. This should be 
the login email of your AdWords account, or your AdWords MCC account. If 
you are setting the email address of your AdWords account, 
then client_customer_id should contain your AdWords account's CID. If you 
are setting the email address of your AdWords MCC account, then 
client_customer_id 
should be beneath the MCC.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 24, 2014 8:01:18 AM UTC-4, Ismary Cruz wrote:

 I have a services account , I been trying to get adwords data without 
 success. I have a MCC account.

 I followed, step by step, the user guide.

 I created the project, then I created new credentials. I selected 
 'services account' and generated public/secret key.

 I followed the guide to delegating domain-wide authority to the service 
 account (I used https://www.googleapis.com/auth/adwords as scope).

 I got the authorization token without any problem. But when I try to call 
 any service of Adwords, I got the same error: 


 AdwordsApi::V201409::CampaignService::ApiException at ...
 [AuthenticationError.NOT_ADS_USER @ ; trigger:'null']

 This is my adwords_api.yml configuration:

 :authentication:
   :method: OAuth2_JWT
   :oauth2_client_id: service_account_client_id
   :oauth2_issuer: service_account_email
   :oauth2_keyfile: service_account_keyfile
   :oauth2_secret: password_to_keyfile
   :developer_token: developer_token
   :client_customer_id: adwords_account_client_customer_id

 :service:
   :environment: 'PRODUCTION'
 :connection:
   :enable_gzip: false
 :library:
   :log_level: DEBUG


 Other informations: 
 gem google-adwords-api (0.13.2)
 gem oauth2 (1.0.0)
 API versio v:201409

 For some reason my service account doesn't have permission for Adwords, 
 although I had defined them as indicated it in the user guide.

 If you have any ideas, I will be very grateful you.

 Thanks in advanced,




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/436739b2-5849-412f-b475-339a777249ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER

2014-05-27 Thread Anash P. Oommen (AdWords API Team)
Hi Yasin,

AuthenticationError.NOT_ADS_USER usually means that the login email for 
which you generated OAuth2 access token isn't an AdWords user. I'm 
guessing, either the information in the auth.ini is incorrect, or that the 
login email was once valid for the AdWords account, but not any longer?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, May 26, 2014 6:26:24 AM UTC-4, Yasin wrote:

 Hello,

 we are using the php-library to fetch our reports automatically. Since 
 21.05.2014 we have problems with the authentification of our scripts.
 In the logs is following hint:
 An error has occurred: Report download failed. Underlying errors are Type 
 = 'AuthenticationError.NOT_ADS_USER', Trigger = '', FieldPath = ''.

 We checked the clientCustomerId and the developerToken against the 
 account, but all seems to be ok. With the same scripts we can login to 
 another account we manage too. Only then Information in the auth.ini-File 
 is different, of course.
 We use the library version v201402.
 Maybe there are inconsistent information in our account, which must be 
 fixed first.

 Please, is there anyone, who had the same problem and can help us?


 Thanks
 Yasin


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AuthenticationError.NOT_ADS_USER

2011-10-21 Thread Eric Koleda
Hi Fams,

To initialize your sandbox account you should make your first request to 
CampaignService.get(), as described here:

http://code.google.com/apis/adwords/docs/sandbox.html#getting-started

Best,
- Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER

2011-07-26 Thread Eric Koleda
Hi Rina,

More information about this error is available on the troubleshooting guide:

http://code.google.com/apis/adwords/docs/troubleshooting.html#AuthenticationError.NOT_ADS_USER

Best,
- Eric Koleda, AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER

2011-06-23 Thread Danial Klimkin
Hello kath,


Did you initialize the account as the document describes?
  http://code.google.com/apis/adwords/docs/sandbox.html#getting-started

The very first request to a new account in Sandbox needs to be a get request 
to the CampaignService. This will populate account with some generated data. 
If another request was the first one, account in a Sandbox can be in 
inconsistent state and produce internal errors.


-Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER

2011-06-22 Thread kath
Debug output: request_info

# Logfile created on Thu Jun 23 09:55:45 +0930 2011 by /
host=adwords-sandbox.google.com method=get responseTime=445 operations=0 
units=0 requestId=261d7d235e1ec348fa7eec610bc79ed2 isFault=true 
faultMessage=AuthenticationError.NOT_ADS_USER @ ; trigger:'507762239034' 
Service[TrafficEstimatorService.get]

Debug output: soap_xml

# Logfile created on Thu Jun 23 09:55:45 +0930 2011 by /
Wire dump:


= Request


! CONNECT TO adwords-sandbox.google.com:443

! CONNECTION ESTABLISHED

POST /api/adwords/o/v201101/TrafficEstimatorService HTTP/1.1

SOAPAction: 

Content-Type: text/xml; charset=utf-8

User-Agent: SOAP4R/1.5.8 (/, ruby 1.8.6 (2008-08-11) [i386-mswin32])

Date: Thu, 23 Jun 2011 00:25:46 GMT

Content-Length: 2713

Host: adwords-sandbox.google.com



?xml version=1.0 encoding=utf-8 ?
env:Envelope xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:env=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  env:Header
n1:RequestHeader 
xmlns:n1=https://adwords.google.com/api/adwords/o/v201101;
xmlns:n2=https://adwords.google.com/api/adwords/cm/v201101;
env:mustUnderstand=0
  n2:clientEmailclient_1+email_address/n2:clientEmail
  n2:userAgentRuby-AwApi-0.1.2|company_name/n2:userAgent
  n2:developerTokenemail_address++USD/n2:developerToken
  n2:authTokenfoo/n2:authToken
/n1:RequestHeader
  /env:Header
  env:Body
n3:get xmlns:n3=https://adwords.google.com/api/adwords/o/v201101;
  n3:selector
n3:campaignEstimateRequests xsi:type=n3:CampaignEstimateRequest
  n3:adGroupEstimateRequests xsi:type=n3:AdGroupEstimateRequest
n3:keywordEstimateRequests 
xsi:type=n3:KeywordEstimateRequest
  n3:keyword 
xmlns:n4=https://adwords.google.com/api/adwords/cm/v201101;
  xsi:type=n4:Keyword
n4:text1080plcd tv/n4:text
n4:matchTypeEXACT/n4:matchType
  /n3:keyword
/n3:keywordEstimateRequests
n3:keywordEstimateRequests 
xsi:type=n3:KeywordEstimateRequest
  n3:keyword 
xmlns:n5=https://adwords.google.com/api/adwords/cm/v201101;
  xsi:type=n5:Keyword
n5:text1080p lcd tv/n5:text
n5:matchTypeEXACT/n5:matchType
  /n3:keyword
/n3:keywordEstimateRequests
n3:maxCpc xsi:type=n6:Money

xmlns:n6=https://adwords.google.com/api/adwords/cm/v201101;
  n6:microAmount1/n6:microAmount
/n3:maxCpc
  /n3:adGroupEstimateRequests
  n3:targets xsi:type=n7:CountryTarget
  xmlns:n7=https://adwords.google.com/api/adwords/cm/v201101;
n7:countryCodeUS/n7:countryCode
  /n3:targets
  n3:targets xsi:type=n8:LanguageTarget
  xmlns:n8=https://adwords.google.com/api/adwords/cm/v201101;
n8:languageCodeen/n8:languageCode
  /n3:targets
/n3:campaignEstimateRequests
  /n3:selector
/n3:get
  /env:Body
/env:Envelope


= Response


HTTP/1.1 500 Internal Server Error


Content-Type: text/xml; charset=UTF-8


Date: Thu, 23 Jun 2011 00:25:49 GMT


Expires: Thu, 23 Jun 2011 00:25:49 GMT


Cache-Control: private, max-age=0


X-Content-Type-Options: nosniff


X-Frame-Options: SAMEORIGIN


X-XSS-Protection: 1; mode=block


Server: GSE


Transfer-Encoding: chunked





546


soap:Envelope 
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201101; 
xmlns=https://adwords.google.com/api/adwords/o/v201101;ns2:requestId261d7d235e1ec348fa7eec610bc79ed2/ns2:requestIdns2:operations0/ns2:operationsns2:responseTime445/ns2:responseTimens2:units0/ns2:units/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstringAuthenticationError.NOT_ADS_USER
 
@ ; trigger:'507762239034' 
Service[TrafficEstimatorService.get]/faultstringdetailApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/o/v201101; 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201101;ns2:messageAuthenticationError.NOT_ADS_USER
 
@ ; trigger:'507762239034' 
Service[TrafficEstimatorService.get]/ns2:messagens2:ApplicationException.TypeApiException/ns2:ApplicationException.Typens2:errors
 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=ns2:AuthenticationErrorns2:fieldPath/ns2:fieldPathns2:trigger507762239034/ns2:triggerns2:errorStringAuthenticationError.NOT_ADS_USER/ns2:errorStringns2:ApiError.TypeAuthenticationError/ns2:ApiError.Typens2:reasonNOT_ADS_USER/ns2:reason/ns2:errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope


0





! CONNECTION CLOSED





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

Re: AuthenticationError.NOT_ADS_USER

2011-06-20 Thread Danial Klimkin
Hello kath,


Can you give official Ruby AdWords library a try? It can produce more 
helpful details in debug mode.
It is available here:

  http://code.google.com/p/google-api-ads-ruby/downloads/list

or via: rake install google-adwords-api

Please enable debug mode (see README) and send us the output (minus auth 
information).

Also, I would recommend using the latest API version (currently 201101).


-Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER

2011-06-20 Thread kath
Hi Danial,
I am already using v201101 and the latest official ruby client.
Will send debug output tomorrow.
Cheers

On Jun 20, 6:45 pm, Danial Klimkin danial.klim...@google.com wrote:
 Hello kath,

 Can you give official Ruby AdWords library a try? It can produce more
 helpful details in debug mode.
 It is available here:

  http://code.google.com/p/google-api-ads-ruby/downloads/list

 or via: rake install google-adwords-api

 Please enable debug mode (see README) and send us the output (minus auth
 information).

 Also, I would recommend using the latest API version (currently 201101).

 -Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER

2011-06-15 Thread kath
No I have the same problem with a new gmail login

This time the request info is:
host=adwords-sandbox.google.com 
method=get responseTime=74
operations=0 
units=0 
requestId=0535b7d1e1f5032da38779b7e6ebcaa7 
isFault=true 
faultMessage=AuthenticationError.NOT_ADS_USER @ ; trigger:'507762239034' 
Service[TrafficEstimatorService.get]

In the meantime I have updated the local ruby adwords client (to gem version 
1.3.6), but that has made no difference to the error.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER

2011-06-14 Thread Anash P. Oommen
Hi Kath,

I've reported this issue to the TrafficEstimator team. Could you meanwhile 
try using a different gmail login to make your API calls and see if that 
solves the issue for you?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER

2011-06-09 Thread Anash P. Oommen
Hi,

Are you making this call to the adwords api production environment or 
sandbox? Do you have a request id for the failing call that I can lookup in 
the logs?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER

2011-06-09 Thread kath
I am having this same problem using the sandbox with V201101

This is my request info:
host=adwords-sandbox.google.com 
method=get 
responseTime=312 
operations=0 
units=0 
requestId=b208e31839be6d2206d5cd4316abf13e 
isFault=true 
faultMessage=AuthenticationError.NOT_ADS_USER @ ; trigger:'294302386411' 
Service[TrafficEstimatorService.get]

Any ideas?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER???

2011-04-04 Thread David Torres
Hi Suraj,

When downloading a report you need to specify an auth token of the user who 
created the report definition in your HTTP headers, please 
see http://code.google.com/apis/adwords/docs/reportingtopics.html#downloading

Best,

-David Torres - AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER @ ; trigger:'231214396642' Service[CampaignService.get]

2011-02-21 Thread AdWords API Advisor
Hi Tivakr,

Please post the request id for the failed request on this thread. I'll
take a look at the logs and figure out what went wrong with your
request.

You can get the request id for a request by turning on SOAP logging in
the client library. See the library's README to see how this may be
done.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Feb 18, 8:19 pm, Tivakar tivak...@gmail.com wrote:
 Hi,

 I am using the latest Google Adwords client library 201008. I need to
 get all campaigns using CampaignService.
 I am trying to connect to my adwords account. I am not using sandbox.

 I end up with this error.
 AuthenticationError.NOT_ADS_USER @ ; trigger:'231214396642'
 Service[CampaignService.get]

 Request to help on this issue.

 Thanks,
 Tivakar

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: AuthenticationError.NOT_ADS_USER @ ; trigger:'814921032347' Service[TargetingIdeaService.get]

2011-02-11 Thread jmshinn
I just ran into this issue myself today.  You apparently have to make
a call to GetCampaignService first just to initialize your sandbox
account.  My understanding (though I haven't even gotten so far as
testing this latter part out) is that once you've done this you can
cut out the call and just move on as your account will  be set up.

?
// assumes $user is already set with new AdWordsUser()
$CampaignService = $user-GetCampaignService('v201008');
$CampaignSelector = new CampaignSelector();
$CampaignService-get($CampaignSelector); // this initializes your
sandbox account, you can ignore the result
?

On Feb 9, 4:09 pm, Bob infohud...@gmail.com wrote:
 Hello,

 First, let me say I've read through the forum, the knowledge base
 references provided in some links and can't seem to find an answer to
 my issue.

 I'm trying to utilize the aw_api_php_lib_2.4.1 with examples in
 order to access the AdWords API for working with related keywords.
 I am trying to use the sandbox first...

 My auth.ini:
 --
 email = info**...@gmail.com
 password = **
 userAgent = *'s Test User Agent
 applicationToken = ignored
 developerToken = info...@gmail.com++USD

 ; Uncomment to make requests against a client account.
 clientId = client_1+info*...@gmail.com
 --

 I have set the default server in the settings.ini per instructions for
 sandbox usage:
 DEFAULT_SERVER = https://adwords-sandbox.google.com;

 Please tell me what I'm missing here so I can get back on track.

 Much thanks,
 Bob

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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