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.


AuthenticationError.NOT_ADS_USER

2022-01-12 Thread FPAI Dev
Hi,

We are using a third party tool to connect to Google Ads and create the 
audience on Google Ads Manager account. But we are getting the 
authentication error. The user who created all tokens required to connect 
api has admin access to the Business manager account and the Ads account as 
well.

We also tried to use curl to check the authentication.
We have followed all steps mentioned 
in https://developers.google.com/google-ads/api/docs/oauth/playground. 

Here is the curl snippet that we used:
curl \
  -d code= %auth_code_from_playground% \
  -d client_id=%client_id% \
  -d client_secret=%client_secret% \
  -d redirect_uri=https://developers.google.com/oauthplayground \
  -d grant_type=authorization_code 
https://accounts.google.com/o/oauth2/token

We get an error:
{
"error": "invalid_grant",
"error_description": "Bad Request"
}

The app we created on google cloud console is of type web client and not 
the native app. Please let us know if you need any more info.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8a9f6e9a-808c-40f0-a8c2-bb7006ac47f2n%40googlegroups.com.


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.


getting AuthenticationError.NOT_ADS_USER using service accounts.

2019-07-15 Thread Testing ForAds
Hi Team,
My goal is to integrate the ad words api, using service accounts.
> Previously I used Oauth authentication to integrate the ad words api, I
able to perform the all services using this, but the the problem is while
generating the refresh token I'm getting the google authentication pop-up
at every time. So, I moved to service accounts, to avoid the human
authentication.
1)  I created a service accounts, and enabled the gsuite domain delegation
by clicking on the checkbox.
2) 3) I created a G-suite account (free trial for 14 days), 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.*

Please help me to fix this error.
Thanks guys.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAB1qJ997y5xdNpbQxWEVCG1uaa7eRJdxiD%2BTrd2fWbP%2BktgvJA%40mail.gmail.com.


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 
> <https://developers.google.com/adwords/api/docs/common-errors#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 
> <https://developers.google.com/adwords/api/docs/guides/start> or the Google 
> Ads API <https://developers.google.com/google-ads/api/docs/start>?
>
> 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
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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
<https://developers.google.com/adwords/api/docs/guides/authentication>. 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
<https://groups.google.com/d/msgid/adwords-api/3629330b-73b8-40cd-bf09-dcfaf9726f4b%40googlegroups.com?utm_medium=email_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

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


AuthenticationError.NOT_ADS_USER.

2019-03-18 Thread Reports1
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.


Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-29 Thread Yoshimasa Tanabe
Hi,
 
Really sorry for late reply.

> Marc

The way you shared makes sense. We should not store/use the token from 
non-ads user. Thanks!

> Milind

Thanks, I'll send the email/client customer id.

---

Yoshimasa

On Friday, January 4, 2019 at 3:54:20 AM UTC+9, Milind Sankeshware (AdWords 
API Team) wrote:
>
> Hi,
>
> Please find my inline responses below:
>
> 1. On OAuth flow, it's not possible to prevent the users not associated 
> with any AdWords account from log-in/authorizing my application.
> *You will be able to login to the Google API Console Credentials page and 
> generate the OAuth credentials for a non-AdWords account.** If the email 
> is not associated, then the call will fail with the NOT_ADS_USER.*
>
> 2. Adwords API has no way to check whether or not the users are associated 
> with any AdWords account
> *You can use the CustomerService.getcustomers 
> 
>  to 
> check all the customers directly accessible by the user authenticating the 
> call. To check the user emails in your AdWords account, you can check the 
> 'Account Access'  tab under the 'Tool' option.*
>
> Could you please share the email address which you are authenticating the 
> call along with client customer id so that I can assist you further? You 
> can use 'Reply privately to author' option while responding.
>
> Thanks,
> Milind, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/260db110-c582-4ada-8af8-b0d6af4fe15f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-03 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

Please find my inline responses below:

1. On OAuth flow, it's not possible to prevent the users not associated 
with any AdWords account from log-in/authorizing my application.
*You will be able to login to the Google API Console Credentials page and 
generate the OAuth credentials for a non-AdWords account.** If the email is 
not associated, then the call will fail with the NOT_ADS_USER.*

2. Adwords API has no way to check whether or not the users are associated 
with any AdWords account
*You can use the CustomerService.getcustomers 

 to 
check all the customers directly accessible by the user authenticating the 
call. To check the user emails in your AdWords account, you can check the 
'Account Access'  tab under the 'Tool' option.*

Could you please share the email address which you are authenticating the 
call along with client customer id so that I can assist you further? You 
can use 'Reply privately to author' option while responding.

Thanks,
Milind, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5955c20c-7eef-4ad7-9b2b-2cbd5a53d54e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-03 Thread Marc Selman
After finishing the OAuth flow I perform a test call and when I get the 
NOT_ADS_USER error I show an error to the user that it's not a valid Google 
Ads account and don't store the OAuth tokens.

Op donderdag 3 januari 2019 05:46:43 UTC+1 schreef Yoshimasa Tanabe:
>
> Hi Milind,
>
> I want to know if we are on the same page. Is the following my 
> understanding correct?
>
> 1. On OAuth flow, it's not possible to prevent the users not associated 
> with any AdWords account from log-in/authorizing my application.
> * I can't edit the user info as you said because the users are not 
> mine but my customer's.
> 2. Adwords API has no way to check whether or not the users are associated 
> with any AdWords account
>
> On Saturday, December 29, 2018 at 5:09:42 AM UTC+9, Milind Sankeshware 
> (AdWords API Team) wrote:
>>
>> Hi Yoshimasa,
>>
>> You can add the login email as a admin user in the AdWords account. To 
>> add the user, please follow the steps in this 
>>  Help Center 
>> article. After adding the user the API call should work. If you are still 
>> facing an issue, I would suggest to create new OAuth credentials with the 
>> email which is associated with that AdWords account. Please refer to this 
>> steps 
>> 
>>  
>> to create the OAuth credentials. 
>>
>> Thanks,
>> Milind, AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fd64d7e0-a3d4-4909-9bbf-5c47c324124e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-02 Thread Yoshimasa Tanabe
Hi Milind,

I want to know if we are on the same page. Is the following my 
understanding correct?

1. On OAuth flow, it's not possible to prevent the users not associated 
with any AdWords account from log-in/authorizing my application.
* I can't edit the user info as you said because the users are not mine 
but my customer's.
2. Adwords API has no way to check whether or not the users are associated 
with any AdWords account

On Saturday, December 29, 2018 at 5:09:42 AM UTC+9, Milind Sankeshware 
(AdWords API Team) wrote:
>
> Hi Yoshimasa,
>
> You can add the login email as a admin user in the AdWords account. To add 
> the user, please follow the steps in this 
>  Help Center 
> article. After adding the user the API call should work. If you are still 
> facing an issue, I would suggest to create new OAuth credentials with the 
> email which is associated with that AdWords account. Please refer to this 
> steps 
> 
>  
> to create the OAuth credentials. 
>
> Thanks,
> Milind, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c18ea28b-b485-40b2-aebc-44be7d17e9a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2018-12-28 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Yoshimasa,

You can add the login email as a admin user in the AdWords account. To add 
the user, please follow the steps in this 
 Help Center 
article. After adding the user the API call should work. If you are still 
facing an issue, I would suggest to create new OAuth credentials with the 
email which is associated with that AdWords account. Please refer to this 
steps 

 
to create the OAuth credentials. 

Thanks,
Milind, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/85dbc7bf-3a39-4a1c-a524-bdf6d23b04de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2018-12-28 Thread emag
Hi Milind, thank you for your reply!

I'm sorry I didn't make it clear enough.

My application's users can log in with their Google account which is not 
associated with any AdWords account.

It's almost a human error but I can't find how to prevent it on OAuth flow.

So, I'm looking for any way to check the user whether or not is associated 
with any AdWords account.

Thanks!


On Saturday, December 29, 2018 at 12:24:01 AM UTC+9, Milind Sankeshware 
(AdWords API Team) wrote:
>
> Hi Yoshimasa,
>
> The AuthenticationError.NOT_ADS_USER 
> <https://developers.google.com/adwords/api/docs/common-errors#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 
> <https://developers.google.com/adwords/api/docs/guides/first-api-call#set_up_oauth2_authentication>.
>  
> 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 can use 'Reply privately to author' option while responding. 
>
> Thanks,
> Milind, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bd9029d0-947b-481d-bc30-bb4c8aa9af27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2018-12-28 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Yoshimasa,

The AuthenticationError.NOT_ADS_USER 
<https://developers.google.com/adwords/api/docs/common-errors#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 
<https://developers.google.com/adwords/api/docs/guides/first-api-call#set_up_oauth2_authentication>.
 
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 can use 'Reply privately to author' option while responding. 

Thanks,
Milind, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2f8c9ed2-e397-4d40-8912-e56e17191770%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can I check whether the logged-in user associated AdWords accounts for avoiding AuthenticationError.NOT_ADS_USER?

2018-12-28 Thread emag
Hi,

Can I check whether the logged-in user associated AdWords accounts for 
avoiding AuthenticationError.NOT_ADS_USER?

I'm using the following java library version.

* "com.google.api-ads" % "ads-lib"  % 4.1.0
* "com.google.api-ads" % "adwords-axis" % 4.1.0

My code snippet is here(Scala).

I would like to check if the user associated AdWords accounts before (1) 
invoking CustomerServiceInterface#getCustomers may throw 
com.google.api.ads.adwords.axis.v201806.cm.ApiException with 
AuthenticationError.NOT_ADS_USER.

import com.google.api.ads.adwords.axis.factory.AdWordsServices
import com.google.api.ads.adwords.axis.v201806.mcm.CustomerServiceInterface
import com.google.api.ads.adwords.lib.client.AdWordsSession
import com.google.api.ads.common.lib.auth.OfflineCredentials
import com.google.api.ads.common.lib.auth.OfflineCredentials.Api

val credential = new OfflineCredentials.Builder()
  .forApi(Api.ADWORDS)
  .withRefreshToken(refreshToken)
  .withClientSecrets(, )
  .build()
  .generateCredential()
)

val session = new AdWordsSession.Builder()
.withOAuth2Credential(credential)
.withDeveloperToken()
.build()

val customerService = AdWordsServices.getInstance().get(session, classOf[
CustomerServiceInterface])

// (1)
customerService.getCustomers


Thanks,

Yoshimasa 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/699dd217-084a-4274-b637-c3a4d8db32e4%40googlegroups.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 
<https://developers.google.com/adwords/api/docs/common-errors#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: Trying to run report from api but receive AuthenticationError.NOT_ADS_USER however the user is an adwords user - help please

2018-09-05 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Ngoc Son,

Could you please do me a big favor and start a new thread? There's a chance 
that your issue is a bit different, and it may be confusing to keep it on 
this same thread. One of my teammates will get back to you on that new 
forum thread.

Thanks,
Nadine, AdWords API Team

On Wednesday, September 5, 2018 at 5:48:47 AM UTC-4, 
son.len...@amanotes.com wrote:
>
> Hi Peter, 
>
> I met the same error, could you check for my credentials and MCC account?
>
> Thanks and Best Regards.
>
> Ngoc Son
>
> On Tuesday, June 26, 2018 at 3:14:03 PM UTC+7, Peter Oliquino (AdWords API 
> Team) wrote:
>>
>> Hi Steve,
>>
>> So I can further investigate, could you provide your clientCustomerId and 
>> the email you used to generate the said credentials? You may reply to me 
>> using the *Reply privately to author* option.
>>
>> Thanks and regards,
>> Peter
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d479e7dd-a9b1-4684-b575-41b64893493c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to run report from api but receive AuthenticationError.NOT_ADS_USER however the user is an adwords user - help please

2018-09-05 Thread son . lengoc
Hi Peter, 

I met the same error, could you check for my credentials and MCC account?

Thanks and Best Regards.

Ngoc Son

On Tuesday, June 26, 2018 at 3:14:03 PM UTC+7, Peter Oliquino (AdWords API 
Team) wrote:
>
> Hi Steve,
>
> So I can further investigate, could you provide your clientCustomerId and 
> the email you used to generate the said credentials? You may reply to me 
> using the *Reply privately to author* option.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/215caf83-44cb-46c3-b4b2-f65ed0792791%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AuthenticationError.NOT_ADS_USER

2018-09-05 Thread son . lengoc
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/0e4f1dba-01f9-40bd-b811-60d3551a1313%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to run report from api but receive AuthenticationError.NOT_ADS_USER however the user is an adwords user - help please

2018-06-26 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Steve,

So I can further investigate, could you provide your clientCustomerId and 
the email you used to generate the said credentials? You may reply to me 
using the *Reply privately to author* option.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a6a9ae98-5bce-44d7-b207-eed300ff1147%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to run report from api but receive AuthenticationError.NOT_ADS_USER however the user is an adwords user - help please

2018-06-26 Thread Steven Huddleston
Hi, 

Thank you for your reply. I have tried this and I am still receiving the 
same error. the account being used was already associated with adwords at 
the point of settings up the Oauth on both occasions. 

thanks

Steve 

On Tuesday, 26 June 2018 07:30:15 UTC+1, Peter Oliquino (AdWords API Team) 
wrote:
>
> Hi Steven,
>
> The AuthenticationError.NOT_ADS_USER 
> <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.NOT_ADS_USER>
>  error 
> that you are encountering indicates that the email used to generate your 
> OAuth2 credentials is not associated to any AdWords account. To resolve 
> this, you need to recreate your OAuth2 credentials 
> <https://developers.google.com/adwords/api/docs/guides/authentication> using 
> an email address which has access to your AdWords account.
>
> Let me know if this helps.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/747b58fd-a27d-4206-a1ff-936946ab2bf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to run report from api but receive AuthenticationError.NOT_ADS_USER however the user is an adwords user - help please

2018-06-26 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Steven,

The AuthenticationError.NOT_ADS_USER 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.NOT_ADS_USER>
 error 
that you are encountering indicates that the email used to generate your 
OAuth2 credentials is not associated to any AdWords account. To resolve 
this, you need to recreate your OAuth2 credentials 
<https://developers.google.com/adwords/api/docs/guides/authentication> using 
an email address which has access to your AdWords account.

Let me know if this helps.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2e83e664-12be-4ee6-80e6-442b9037f697%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Trying to run report from api but receive AuthenticationError.NOT_ADS_USER however the user is an adwords user - help please

2018-06-25 Thread Steven Huddleston
I am trying to pull adwords report data into salesforce and I have an OAUTH 
access token and in the header I am including

req.setHeader('Authorization', 'bearer '+ accesstoken)
req.setHeader('Content-Type', 'application/x-www-form-urlencoded' );
req.setHeader('developerToken', 'XXX' );
req.setHeader('clientCustomerId', 'X' );
req.setHeader('client_id', 'XX' );
req.setHeader('Client_secret', 'Xx' );
req.setHeader('user-agent' ,');
req.setHeader('reportDefinition', 
'https://adwords.google.com/api/adwords/cm/v201806' );
req.setHeader('Cache-Control' , 'no-cache');

but I am getting AuthenticationError.NOT_ADS_USER - I have tried having the 
clientCustomerId as both MCC level id and also individual account level but 
the error continues. please can anyone help?

Thanks

Steven

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9447ed10-2302-40f5-a1a9-71a6860367ea%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.


AuthenticationError.NOT_ADS_USER

2018-02-02 Thread Travis
I've followed the directions best I could and when I run the following test 
command I get this error:

Fault message: [AuthenticationError.NOT_ADS_USER @ ; trigger:'']

Here is how I'm authenticating (JSON key parsed via `OpenSSL::PKey::RSA`):

json = JSON.parse(Rails.application.secrets.adwords[:oauth2_key])
key = OpenSSL::PKey::RSA.new(json['private_key'])

@client = AdwordsApi::Api.new({
  authentication: {
method: 'OAUTH2_SERVICE_ACCOUNT',
user_agent: 'AdManager/1.0.0',
oauth2_key: key,
oauth2_issuer:  
Rails.application.secrets.adwords[:oauth2_issuer],
developer_token:
Rails.application.secrets.adwords[:developer_token],
client_customer_id: customer_id
  },
  service: {
environment: 'PRODUCTION'
  },
  connection: {
enable_gzip: false
  },
  library: {
log_level: 'INFO'
  }
})

@client.service(:CampaignService, :v201708).get({:fields => ['Id', 
'Name', 'Status']}

Here are the steps I did in order:

1. Log into my MCC AdWords account
2. Visit Google Developer Console
3. Create a new Project
4. Create a Service Account key. Make sure the domain checkbox is checked. 
I use the email address it generates above in `oauth2_issuer`
5. Download the JSON key
6. Get an MCC account (I actually had one I use for live campaigns, so I 
skipped this step)
7. Generate an AdWords API key from within MCC (i used it above in 
`developer_token`).
8. Create a new test manager account.
9. Inside the new test manager account, create a new test client account, 
and take that customer ID and place it above in `client_customer_id.

I'm not sure where I went wrong, from what I can tell I followed the steps 
exactly.

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bc627756-fc81-4d23-a0d3-27adcd965c0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AuthenticationError.NOT_ADS_USER

2018-02-02 Thread Travis
I've followed the directions best I could and when I run the following test 
command I get this error:

Fault message: [AuthenticationError.NOT_ADS_USER @ ; trigger:'']

Here is how I'm authenticating (JSON key parsed via `OpenSSL::PKey::RSA`):

json = JSON.parse(Rails.application.secrets.adwords[:oauth2_key])
key = OpenSSL::PKey::RSA.new(json['private_key'])

@client = AdwordsApi::Api.new({
  authentication: {
method: 'OAUTH2_SERVICE_ACCOUNT',
user_agent: 'AdManager/1.0.0',
oauth2_key: key,
oauth2_issuer:  
Rails.application.secrets.adwords[:oauth2_issuer],
developer_token:
Rails.application.secrets.adwords[:developer_token],
client_customer_id: customer_id
  },
  service: {
environment: 'PRODUCTION'
  },
  connection: {
enable_gzip: false
  },
  library: {
log_level: 'INFO'
  }
})

@client.service(:CampaignService, :v201708).get({:fields => ['Id', 
'Name', 'Status']}

Here are the steps I did in order:

1. Log into my MCC AdWords account
2. Visit Google Developer Console
3. Create a new Project
4. Create a Service Account key. Make sure the domain checkbox is checked. 
I use the email address it generates above in `oauth2_issuer`
5. Download the JSON key
6. Get an MCC account (I actually had one I use for live campaigns, so I 
skipped this step)
7. Generate an AdWords API key from within MCC (i used it above in 
`developer_token`).
8. Create a new test manager account.
9. Inside the new test manager account, create a new test client account, 
and take that customer ID and place it above in `client_customer_id`.

I'm not sure where I went wrong, from what I can tell I followed the steps 
exactly.

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/94e61de7-598f-4694-b9ab-835deac7c74c%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 
<https://groups.google.com/forum/#!msg/adwords-api/bBdNvBqDx1I/YA6Sz4pZXkEJ> 
for 
reference so as to avoid exposing private information in your future posts. 
Also, we strongly recommend that you reset your developer token 
<https://developers.google.com/adwords/api/docs/guides/reset-devtoken>. 

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 
>>> <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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 ac

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 
>> <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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
=~=~=~

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 
> <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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", <leonid.ivanchuk@gmail.com> authorizes my app 
to query Adwords API on its behalf.
As you can see on the screenshot here attached, 
<leonid.ivanchuk@gmail.com> 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 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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.


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

2017-12-05 Thread teamvadwordstest
getting exception while call the get campaigns in c#

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b7634f64-974c-4051-b277-431485d13c4b%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 
> <https://developers.google.com/adwords/api/docs/guides/call-structure> 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 
<https://developers.google.com/adwords/api/docs/guides/call-structure> 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.


AuthenticationError.NOT_ADS_USER - Java SDK setServiceAccountUser missing?

2017-08-07 Thread John Reynolds
I'm having issues getting a Service Account to access our MCC account. I 
have followed all of the setup steps in the guide, here:
https://developers.google.com/adwords/api/docs/guides/authentication#oauth2_service_accounts

I have the app created in the Dev Console and have placed the JSON in my 
project directory. The scope is authorized in the G Suite console. I am 
using this code to generate the credential:

Credential oAuth2Credential = new OfflineCredentials.Builder()
.forApi(OfflineCredentials.Api.ADWORDS)
.fromFile()
.build()
.generateCredential();


This works and I am returned an Access Token.

What I believe the issue to be, and I'm racking my brain attempting to find 
anything in the docs or source code for the Java client, is the 
specification of the ServiceAccountUser to impersonate.

Can anybody provide assistance on that specification? I'm assuming this is 
where the breakdown is that is causing the AuthenticationError.NOT_ADS_USER 
to arise.

I see that the Ruby SDK supports a property for "oauth2_prn" in the YAML 
file, but I don't see any specifications in the Java SDK as to how to do 
something similar.

Please help.  :)

Thanks!
John

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1ebe2313-e312-4864-80e6-8a7b8b66362e%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: SoapFault [AuthenticationError.NOT_ADS_USER @ ; trigger:'']

2016-06-17 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

The email account used to generate the credentials should be associated 
with an AdWords account. Could you provide the clientCustomerId and the 
email account associated with credentials being used? Please use *Reply 
privately to author* when responding. 

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/b5612581-ecc5-43a8-801e-7fcdf79ac1a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-16 Thread 方胜
Hi,

Google Adowrds Api, How judgment is not Adwords Account?


在 2016年6月17日星期五 UTC+8上午12:11:17,Shwetha Vastrad (AdWords API Team)写道:
>
> Hi,
>
> The NOT_ADS_USER 
> <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.NOT_ADS_USER>
>  error 
> occurs when the login used to generate the client credentials is not 
> associated with an AdWords account. Could you check if you have provided 
> the correct client credentials in the auth.ini 
> <https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/auth.ini>
>  file? 
> Could you also check if the client credentials were created using the 
> included customerID or one of its managers?
>
> Please recreate the credentials for your account by following the 
> instructions provided here 
> <https://developers.google.com/adwords/api/docs/guides/authentication#generate_oauth2_credentials>.
>  
> If the problem still persists, please provide the steps you followed along 
> with your clientCustomerId. Please use *Reply privately to author* when 
> responding. 
>
> 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/74a05e3c-a869-4915-ab5a-a9b8c709bdc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-16 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

The NOT_ADS_USER 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.NOT_ADS_USER>
 error 
occurs when the login used to generate the client credentials is not 
associated with an AdWords account. Could you check if you have provided 
the correct client credentials in the auth.ini 
<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/auth.ini>
 file? 
Could you also check if the client credentials were created using the 
included customerID or one of its managers?

Please recreate the credentials for your account by following the 
instructions provided here 
<https://developers.google.com/adwords/api/docs/guides/authentication#generate_oauth2_credentials>.
 
If the problem still persists, please provide the steps you followed along 
with your clientCustomerId. Please use *Reply privately to author* when 
responding. 

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/ffd69682-c053-4e62-a882-bd7ecb6b388e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-16 Thread 方胜

$user = new AdWordsUser(null, null, null, null, null, $oauth2Info);
$Service = $user->GetService('CustomerService', ADWORDS_VERSION);
$CustomerService = $Service->getCustomers();

Error:
SoapFault [AuthenticationError.NOT_ADS_USER @ ; trigger:'']

How judgment is not MCC Account?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/371e2c79-933e-4b77-bde9-fea08d2db5ca%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
>

AuthenticationError.NOT_ADS_USER

2016-04-29 Thread radley . anaya
I keep getting this error
"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


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/72cab096-9d2b-4737-a36a-a2f21564df63%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, 

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 
> <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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.


AuthenticationError.NOT_ADS_USER @

2016-01-21 Thread Matthew Trevor
I'm rather new to the Google Adwords API but I'm struggling with the 
authentication.

I've looked at the other posts that people have put on but they don't seem 
to relate to my issue, I think.

The process so far:

In the web app we get the Google authorisation code and this comes back 
fine.
We then get the Google access token fine
But when sending the soap request to get the campaign names it comes back 
with the following error:

 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


Please can anyone help?

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/0089321b-c158-42f7-9c48-e26b0c86576a%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 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.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']

ApiEx

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.


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

2015-08-21 Thread Sarah N
I'm trying to get access and refresh token in OAuth2 for GoogleAdWords:
I've done these steps before:

1)Create  manager Account 
2)Create developer Token from manager Account.
3)Create Test MCC account  
4)Use the *Test MCC account* for creating *RefreshToken *by 
running OAuthTokenGenerator.exe
5)Create AdWords account , and Use this account for creating *ClientId *and 
*ClientSecret 
.*

use these values in Web.config of my project.
but when I try to Get the campaigns with this code:
  //
  page = campaignService.get(selector); 

it gets the error 
{[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']}

I'm very new to GoogleAdwords , so maybe something I'm missing from setting 
 or sth else.
could anyone help me with 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7c2d1014-8fe7-4a24-bfb9-e78a23f300b6%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: KEYWORDS_PERFORMANCE_REPORT returns AuthenticationError.NOT_ADS_USER with trigger null

2015-06-03 Thread Thanet Knack Praneenararat (AdWords API Team)
Hello,

I think what you would like to do is impersonation as your AdWords account 
user.

This guide 
https://developers.google.com/identity/protocols/OAuth2ServiceAccount may 
be useful to what you are trying to achieve. 
Search for *impersonate* in the page and try following the steps.

Hope this help and please let me know if that doesn't work.

Cheers,
Thanet, AdWords API Team

On Tuesday, June 2, 2015 at 7:37:01 PM UTC+9, Guilherme Nassim wrote:

 Hi Thanet,

 Thanks for your answer but I am using OAuth 2.0 for Server to Server 
 Applications therefore the user that request is a server account email 
 address. The owner of this application, the one that generated the OAuth 
 client Id and the key, is the same owner of the Adwords account. How can I 
 associate this server account email address to my Adwords account?

 Regards,
 Guilherme Nassim

 On Tuesday, June 2, 2015 at 9:58:28 AM UTC+2, Thanet Knack Praneenararat 
 (AdWords API Team) wrote:

 Hi Guilherme,

 The NOT_ADS_USER error means that the user whose OAuth credentials you 
 are using is not associated with an AdWords account. 
 Please generate another refresh/access token, making sure you are signed 
 in as a user with access to your test account.

 Also, please take a look at the SOAP Primer guide 
 https://developers.google.com/adwords/api/docs/guides/soapsince it 
 explains which HTTP header you will need to use when you pass the access 
 token.

 Cheers,
 Thanet, AdWords API Team

 On Tuesday, June 2, 2015 at 6:27:17 AM UTC+9, Guilherme Nassim wrote:

 Hi,

 I am developing an application to daily download a Keyword Performance 
 report using the Adwords API. To get the OAuth 2.0 I pass the followed 
 values:

 {
  iss = x...@developer.gserviceaccount.com,
  scope = https://www.googleapis.com/auth/adwords;,
  aud = https://www.googleapis.com/oauth2/v3/token;,
  iat = times[0],
  exp = times[1],
 }

 And I receive an access_token back that I use to make an Http request 
 with this headers:

  request.Headers.Add(Authorization, Bearer  + access_token);
  request.Headers.Add(developerToken, );
  request.Headers.Add(clientCustomerId, xxx-xxx-);
  request.Method = POST;
  request.ContentType = application/x-www-form-urlencoded;

 With this body:

 __rdxml=reportDefinition xmlns=
 https://adwords.google.com/api/adwords/cm/v201502
 selectorfieldsAccountDescriptiveName/fields
 fieldsAccountCurrencyCode/fields
 fieldsImpressions/fields
 fieldsClicks/fields
 fieldsCost/fields
 fieldsAveragePosition/fields
 predicates
   fieldImpressions/field
   operatorGREATER_THAN/operator
   values0/values
 /predicates
   /selector
   reportNameCustom Keyword Performance Report/reportName
   reportTypeKEYWORDS_PERFORMANCE_REPORT/reportType
   dateRangeTypeYESTERDAY/dateRangeType
   downloadFormatCSV/downloadFormat
 /reportDefinition

 the response that I get back is:
 ?xml version=1.0 encoding=UTF-8 standalone=yes?
 reportDownloadError
   ApiError
 typeAuthenticationError.NOT_ADS_USER/type
 triggerlt;nullgt;/trigger
 fieldPath/fieldPath
   /ApiError
 /reportDownloadError

 Using OAuth 2.0 Playground application ( 
 https://developers.google.com/oauthplayground/ ) passing the post body 
 with developerToken and clientCustomerId it works.
 What should I do?

 Thanks,

 Guilherme Foz Nassim



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e6c1ad32-7075-4eef-8b84-d603ec7d7c70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: KEYWORDS_PERFORMANCE_REPORT returns AuthenticationError.NOT_ADS_USER with trigger null

2015-06-02 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi Guilherme,

The NOT_ADS_USER error means that the user whose OAuth credentials you are 
using is not associated with an AdWords account. 
Please generate another refresh/access token, making sure you are signed in 
as a user with access to your test account.

Also, please take a look at the SOAP Primer guide 
https://developers.google.com/adwords/api/docs/guides/soapsince it 
explains which HTTP header you will need to use when you pass the access 
token.

Cheers,
Thanet, AdWords API Team

On Tuesday, June 2, 2015 at 6:27:17 AM UTC+9, Guilherme Nassim wrote:

 Hi,

 I am developing an application to daily download a Keyword Performance 
 report using the Adwords API. To get the OAuth 2.0 I pass the followed 
 values:

 {
  iss = x...@developer.gserviceaccount.com,
  scope = https://www.googleapis.com/auth/adwords;,
  aud = https://www.googleapis.com/oauth2/v3/token;,
  iat = times[0],
  exp = times[1],
 }

 And I receive an access_token back that I use to make an Http request with 
 this headers:

  request.Headers.Add(Authorization, Bearer  + access_token);
  request.Headers.Add(developerToken, );
  request.Headers.Add(clientCustomerId, xxx-xxx-);
  request.Method = POST;
  request.ContentType = application/x-www-form-urlencoded;

 With this body:

 __rdxml=reportDefinition xmlns=
 https://adwords.google.com/api/adwords/cm/v201502
 selectorfieldsAccountDescriptiveName/fields
 fieldsAccountCurrencyCode/fields
 fieldsImpressions/fields
 fieldsClicks/fields
 fieldsCost/fields
 fieldsAveragePosition/fields
 predicates
   fieldImpressions/field
   operatorGREATER_THAN/operator
   values0/values
 /predicates
   /selector
   reportNameCustom Keyword Performance Report/reportName
   reportTypeKEYWORDS_PERFORMANCE_REPORT/reportType
   dateRangeTypeYESTERDAY/dateRangeType
   downloadFormatCSV/downloadFormat
 /reportDefinition

 the response that I get back is:
 ?xml version=1.0 encoding=UTF-8 standalone=yes?
 reportDownloadError
   ApiError
 typeAuthenticationError.NOT_ADS_USER/type
 triggerlt;nullgt;/trigger
 fieldPath/fieldPath
   /ApiError
 /reportDownloadError

 Using OAuth 2.0 Playground application ( 
 https://developers.google.com/oauthplayground/ ) passing the post body 
 with developerToken and clientCustomerId it works.
 What should I do?

 Thanks,

 Guilherme Foz Nassim



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7bc80007-ebff-49fd-8780-37dde321fa47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: KEYWORDS_PERFORMANCE_REPORT returns AuthenticationError.NOT_ADS_USER with trigger null

2015-06-02 Thread Guilherme Nassim
Hi Thanet,

Thanks for your answer but I am using OAuth 2.0 for Server to Server 
Applications therefore the user that request is a server account email 
address. The owner of this application, the one that generated the OAuth 
client Id and the key, is the same owner of the Adwords account. How can I 
associate this server account email address to my Adwords account?

Regards,
Guilherme Nassim

On Tuesday, June 2, 2015 at 9:58:28 AM UTC+2, Thanet Knack Praneenararat 
(AdWords API Team) wrote:

 Hi Guilherme,

 The NOT_ADS_USER error means that the user whose OAuth credentials you are 
 using is not associated with an AdWords account. 
 Please generate another refresh/access token, making sure you are signed 
 in as a user with access to your test account.

 Also, please take a look at the SOAP Primer guide 
 https://developers.google.com/adwords/api/docs/guides/soapsince it 
 explains which HTTP header you will need to use when you pass the access 
 token.

 Cheers,
 Thanet, AdWords API Team

 On Tuesday, June 2, 2015 at 6:27:17 AM UTC+9, Guilherme Nassim wrote:

 Hi,

 I am developing an application to daily download a Keyword Performance 
 report using the Adwords API. To get the OAuth 2.0 I pass the followed 
 values:

 {
  iss = x...@developer.gserviceaccount.com,
  scope = https://www.googleapis.com/auth/adwords;,
  aud = https://www.googleapis.com/oauth2/v3/token;,
  iat = times[0],
  exp = times[1],
 }

 And I receive an access_token back that I use to make an Http request 
 with this headers:

  request.Headers.Add(Authorization, Bearer  + access_token);
  request.Headers.Add(developerToken, );
  request.Headers.Add(clientCustomerId, xxx-xxx-);
  request.Method = POST;
  request.ContentType = application/x-www-form-urlencoded;

 With this body:

 __rdxml=reportDefinition xmlns=
 https://adwords.google.com/api/adwords/cm/v201502
 selectorfieldsAccountDescriptiveName/fields
 fieldsAccountCurrencyCode/fields
 fieldsImpressions/fields
 fieldsClicks/fields
 fieldsCost/fields
 fieldsAveragePosition/fields
 predicates
   fieldImpressions/field
   operatorGREATER_THAN/operator
   values0/values
 /predicates
   /selector
   reportNameCustom Keyword Performance Report/reportName
   reportTypeKEYWORDS_PERFORMANCE_REPORT/reportType
   dateRangeTypeYESTERDAY/dateRangeType
   downloadFormatCSV/downloadFormat
 /reportDefinition

 the response that I get back is:
 ?xml version=1.0 encoding=UTF-8 standalone=yes?
 reportDownloadError
   ApiError
 typeAuthenticationError.NOT_ADS_USER/type
 triggerlt;nullgt;/trigger
 fieldPath/fieldPath
   /ApiError
 /reportDownloadError

 Using OAuth 2.0 Playground application ( 
 https://developers.google.com/oauthplayground/ ) passing the post body 
 with developerToken and clientCustomerId it works.
 What should I do?

 Thanks,

 Guilherme Foz Nassim



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/03d94e88-3106-4936-b453-29e55876ce1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


KEYWORDS_PERFORMANCE_REPORT returns AuthenticationError.NOT_ADS_USER with trigger null

2015-06-01 Thread Guilherme Nassim
Hi,

I am developing an application to daily download a Keyword Performance 
report using the Adwords API. To get the OAuth 2.0 I pass the followed 
values:

{
 iss = x...@developer.gserviceaccount.com,
 scope = https://www.googleapis.com/auth/adwords;,
 aud = https://www.googleapis.com/oauth2/v3/token;,
 iat = times[0],
 exp = times[1],
}

And I receive an access_token back that I use to make an Http request with 
this headers:

 request.Headers.Add(Authorization, Bearer  + access_token);
 request.Headers.Add(developerToken, );
 request.Headers.Add(clientCustomerId, xxx-xxx-);
 request.Method = POST;
 request.ContentType = application/x-www-form-urlencoded;

With this body:

__rdxml=reportDefinition 
xmlns=https://adwords.google.com/api/adwords/cm/v201502;selectorfieldsAccountDescriptiveName/fields
fieldsAccountCurrencyCode/fields
fieldsImpressions/fields
fieldsClicks/fields
fieldsCost/fields
fieldsAveragePosition/fields
predicates
  fieldImpressions/field
  operatorGREATER_THAN/operator
  values0/values
/predicates
  /selector
  reportNameCustom Keyword Performance Report/reportName
  reportTypeKEYWORDS_PERFORMANCE_REPORT/reportType
  dateRangeTypeYESTERDAY/dateRangeType
  downloadFormatCSV/downloadFormat
/reportDefinition

the response that I get back is:
?xml version=1.0 encoding=UTF-8 standalone=yes?
reportDownloadError
  ApiError
typeAuthenticationError.NOT_ADS_USER/type
triggerlt;nullgt;/trigger
fieldPath/fieldPath
  /ApiError
/reportDownloadError

Using OAuth 2.0 Playground application ( 
https://developers.google.com/oauthplayground/ ) passing the post body with 
developerToken and clientCustomerId it works.
What should I do?

Thanks,

Guilherme Foz Nassim

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/17a881f4-9179-46c5-9823-ecc7242d6457%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


KEYWORDS_PERFORMANCE_REPORT with AuthenticationError.NOT_ADS_USER response

2015-06-01 Thread Guilherme Nassim
Hi,

I am developing an application that daily download a Keyword Performance 
Report as CSV file. To request the OAuth 2.0 token I pass this values:

{
iss = xx...@developer.gserviceaccount.com,
scope = https://www.googleapis.com/auth/adwords;,
aud = https://www.googleapis.com/oauth2/v3/token;,
iat = times[0],
exp = times[1],
}

It returns an access token (to retrieve the access token is not a problem 
because I have already used the code to get other tokens with different 
scopes). I use this token with the following head to make a Http request to 
https://adwords.google.com/api/adwords/reportdownload/v201502:

request.Headers.Add(Authorization, Bearer  + access_token);
request.Headers.Add(developerToken, xx);
request.Headers.Add(clientCustomerId, --);
request.Method = POST;
request.ContentType = application/x-www-form-urlencoded;

with this body:

__rdxml=reportDefinition 
xmlns=https://adwords.google.com/api/adwords/cm/v201502;selectorfieldsAccountDescriptiveName/fields
fieldsAccountCurrencyCode/fields
fieldsImpressions/fields
fieldsClicks/fields
fieldsCost/fields
fieldsAveragePosition/fields
predicates
  fieldImpressions/field
  operatorGREATER_THAN/operator
  values0/values
/predicates
  /selector
  reportNameCustom Keyword Performance Report/reportName
  reportTypeKEYWORDS_PERFORMANCE_REPORT/reportType
  dateRangeTypeYESTERDAY/dateRangeType
  downloadFormatCSV/downloadFormat
/reportDefinition

And I get this response back

?xml version=1.0 encoding=UTF-8 
standalone=yes?reportDownloadErrorApiErrortypeAuthenticationError.NOT_ADS_USER/typetriggerlt;nullgt;/triggerfieldPath/fieldPath/ApiError/reportDownloadError

I am new at Google Group Forum,so if this post is a duplicate sorry.What 
should I do?

Thanks,

Guilherme Nassim

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/78158b97-31e3-4218-b1e3-2ec2d9518d9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Click Performance Report return AuthenticationError.NOT_ADS_USER

2015-03-09 Thread Anash P. Oommen (AdWords API Team)
Hi Hisashi,

Could you use the Reply to Author option to send me a full HTTP request 
and response for a failed request?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, March 9, 2015 at 9:30:17 AM UTC-4, Hisashi Hayashi wrote:

 Hi!

 AuthenticationError.NOT_ADS_USER has occurred when I tried to get day 
 before yesterday's Click Performance Report.

 ?xml version=1.0 encoding=UTF-8 standalone=yes?reportDefinition 
 xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406;
  ns2:selector
   
 ns2:fieldsDate/ns2:fieldsns2:fieldsGclId/ns2:fieldsns2:fieldsCampaignId/ns2:fieldsns2:fieldsAdGroupId/ns2:fieldsns2:fieldsCreativeId/ns2:fieldsns2:fieldsCriteriaId/ns2:fieldsns2:fieldsCriteriaParameters/ns2:fieldsns2:fieldsDevice/ns2:fieldsns2:fieldsRegionCriteriaId/ns2:fieldsns2:fieldsCityCriteriaId/ns2:fieldsns2:fieldsClickType/ns2:fieldsns2:fieldsPage/ns2:fieldsns2:fieldsSlot/ns2:fields
   
 ns2:dateRangens2:min20150305/ns2:minns2:max20150305/ns2:max/ns2:dateRange
  /ns2:selector
  ns2:reportNameClick performance report #1425699546605/ns2:reportName
  ns2:reportTypeCLICK_PERFORMANCE_REPORT/ns2:reportType
  ns2:dateRangeTypeCUSTOM_DATE/ns2:dateRangeType
  ns2:downloadFormatGZIPPED_CSV/ns2:downloadFormat
 /reportDefinition

 But, I could get yesterday's report(dateRange = 20150306 to 20150306) 
 successfully.

 There was no problem until yesterday.
 Today, This problem is occurring half of my accounts(ex. 400-472-9569).



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7f58eb93-9b9a-4a40-8c7e-33170e6e4903%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JAVA] AuthenticationError.NOT_ADS_USER with trigger is null

2015-03-09 Thread Brandon
Hi,

I got this error messages when I'm reviewing my logs on the server this 
morning.

This error occurs only when the it try to download GEO_PERFORMANCE_REPORT 
from 8858817267.

So I'm sure it''s not the login problem(with MCC account) and it's not a 
test account.

Here are the request and response xml:

Request:
https://drive.google.com/open?id=0Bw03qlsABJ1YQWk0RENYQzR5Q28authuser=0

Resonse:
https://drive.google.com/open?id=0Bw03qlsABJ1YcUNtNGozTjVlTFkauthuser=0

Thanks,
Brandon

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/54319283-b686-42ff-b2e3-7eb3db0ff539%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Click Performance Report return AuthenticationError.NOT_ADS_USER

2015-03-09 Thread Hisashi Hayashi
Hi!

AuthenticationError.NOT_ADS_USER has occurred when I tried to get day 
before yesterday's Click Performance Report.

?xml version=1.0 encoding=UTF-8 standalone=yes?reportDefinition 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406;
 ns2:selector
  
ns2:fieldsDate/ns2:fieldsns2:fieldsGclId/ns2:fieldsns2:fieldsCampaignId/ns2:fieldsns2:fieldsAdGroupId/ns2:fieldsns2:fieldsCreativeId/ns2:fieldsns2:fieldsCriteriaId/ns2:fieldsns2:fieldsCriteriaParameters/ns2:fieldsns2:fieldsDevice/ns2:fieldsns2:fieldsRegionCriteriaId/ns2:fieldsns2:fieldsCityCriteriaId/ns2:fieldsns2:fieldsClickType/ns2:fieldsns2:fieldsPage/ns2:fieldsns2:fieldsSlot/ns2:fields
  
ns2:dateRangens2:min20150305/ns2:minns2:max20150305/ns2:max/ns2:dateRange
 /ns2:selector
 ns2:reportNameClick performance report #1425699546605/ns2:reportName
 ns2:reportTypeCLICK_PERFORMANCE_REPORT/ns2:reportType
 ns2:dateRangeTypeCUSTOM_DATE/ns2:dateRangeType
 ns2:downloadFormatGZIPPED_CSV/ns2:downloadFormat
/reportDefinition

But, I could get yesterday's report(dateRange = 20150306 to 20150306) 
successfully.

There was no problem until yesterday.
Today, This problem is occurring half of my accounts(ex. 400-472-9569).

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/911cba5f-21fe-41d3-83fb-ca3e7163be67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Click Performance Report return AuthenticationError.NOT_ADS_USER

2015-03-09 Thread Anash P. Oommen (AdWords API Team)
Folks,

I need logs to confirm if this is related to the issue 
on 
https://groups.google.com/forum/?utm_medium=emailutm_source=footer#!topic/adwords-api/uaZm0MRFP7M.
 
That thread is talking only about Geo performance report, but this one seem 
to suggest that Click performance report may be affected too.

Please respond privately by using the Reply to Author option if you are 
sending the logs.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, March 9, 2015 at 10:26:16 AM UTC-4, joel wrote:

 This issue has been occurring to us as well, since at least 2 days ago.

 On Monday, March 9, 2015 at 9:30:17 AM UTC-4, Hisashi Hayashi wrote:

 Hi!

 AuthenticationError.NOT_ADS_USER has occurred when I tried to get day 
 before yesterday's Click Performance Report.

 ?xml version=1.0 encoding=UTF-8 standalone=yes?reportDefinition 
 xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406;
  ns2:selector
   
 ns2:fieldsDate/ns2:fieldsns2:fieldsGclId/ns2:fieldsns2:fieldsCampaignId/ns2:fieldsns2:fieldsAdGroupId/ns2:fieldsns2:fieldsCreativeId/ns2:fieldsns2:fieldsCriteriaId/ns2:fieldsns2:fieldsCriteriaParameters/ns2:fieldsns2:fieldsDevice/ns2:fieldsns2:fieldsRegionCriteriaId/ns2:fieldsns2:fieldsCityCriteriaId/ns2:fieldsns2:fieldsClickType/ns2:fieldsns2:fieldsPage/ns2:fieldsns2:fieldsSlot/ns2:fields
   
 ns2:dateRangens2:min20150305/ns2:minns2:max20150305/ns2:max/ns2:dateRange
  /ns2:selector
  ns2:reportNameClick performance report #1425699546605/ns2:reportName
  ns2:reportTypeCLICK_PERFORMANCE_REPORT/ns2:reportType
  ns2:dateRangeTypeCUSTOM_DATE/ns2:dateRangeType
  ns2:downloadFormatGZIPPED_CSV/ns2:downloadFormat
 /reportDefinition

 But, I could get yesterday's report(dateRange = 20150306 to 20150306) 
 successfully.

 There was no problem until yesterday.
 Today, This problem is occurring half of my accounts(ex. 400-472-9569).



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5152f782-2a7d-41b7-ab01-b69abee3678e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Click Performance Report return AuthenticationError.NOT_ADS_USER

2015-03-09 Thread joel
This issue has been occurring to us as well, since at least 2 days ago.

On Monday, March 9, 2015 at 9:30:17 AM UTC-4, Hisashi Hayashi wrote:

 Hi!

 AuthenticationError.NOT_ADS_USER has occurred when I tried to get day 
 before yesterday's Click Performance Report.

 ?xml version=1.0 encoding=UTF-8 standalone=yes?reportDefinition 
 xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201406;
  ns2:selector
   
 ns2:fieldsDate/ns2:fieldsns2:fieldsGclId/ns2:fieldsns2:fieldsCampaignId/ns2:fieldsns2:fieldsAdGroupId/ns2:fieldsns2:fieldsCreativeId/ns2:fieldsns2:fieldsCriteriaId/ns2:fieldsns2:fieldsCriteriaParameters/ns2:fieldsns2:fieldsDevice/ns2:fieldsns2:fieldsRegionCriteriaId/ns2:fieldsns2:fieldsCityCriteriaId/ns2:fieldsns2:fieldsClickType/ns2:fieldsns2:fieldsPage/ns2:fieldsns2:fieldsSlot/ns2:fields
   
 ns2:dateRangens2:min20150305/ns2:minns2:max20150305/ns2:max/ns2:dateRange
  /ns2:selector
  ns2:reportNameClick performance report #1425699546605/ns2:reportName
  ns2:reportTypeCLICK_PERFORMANCE_REPORT/ns2:reportType
  ns2:dateRangeTypeCUSTOM_DATE/ns2:dateRangeType
  ns2:downloadFormatGZIPPED_CSV/ns2:downloadFormat
 /reportDefinition

 But, I could get yesterday's report(dateRange = 20150306 to 20150306) 
 successfully.

 There was no problem until yesterday.
 Today, This problem is occurring half of my accounts(ex. 400-472-9569).



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e7f57135-9fc5-4cf4-9d03-f7e1837a7a42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [JAVA] AuthenticationError.NOT_ADS_USER with trigger is null

2015-03-09 Thread Anash P. Oommen (AdWords API Team)
Hi Brandon,

We are tracking this 
on 
https://groups.google.com/forum/?utm_medium=emailutm_source=footer#!topic/adwords-api/uaZm0MRFP7M,
 
could you pls follow on that thread?

Cheers,
Anash P. Oommen,
AdWords API Advisor

On Monday, March 9, 2015 at 10:14:36 AM UTC-4, Brandon wrote:

 Hi,

 I got this error messages when I'm reviewing my logs on the server this 
 morning.

 This error occurs only when the it try to download GEO_PERFORMANCE_REPORT 
 from 8858817267.

 So I'm sure it''s not the login problem(with MCC account) and it's not a 
 test account.

 Here are the request and response xml:

 Request:
 https://drive.google.com/open?id=0Bw03qlsABJ1YQWk0RENYQzR5Q28authuser=0

 Resonse:
 https://drive.google.com/open?id=0Bw03qlsABJ1YcUNtNGozTjVlTFkauthuser=0

 Thanks,
 Brandon


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a72403f3-f116-462b-a4a8-822d71e7b0ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


faultString: [AuthenticationError.NOT_ADS_USER @ ; trigger:'lt;nullgt;']

2015-03-05 Thread Vibhav Agarwal
I am new to APIs. I started working on AdWords API recently and my task is 
to find trending words on google or finding traffic estimate for specific 
words. I did OAuth 2.0 and entered Client Id, ClientSecret and refresh 
token in ads.properties file. But when i run EstimateKeywordTraffic.java i 
get the following Exception-

Exception in thread main AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [AuthenticationError.NOT_ADS_USER @ ; trigger:'lt;nullgt;']
 faultActor: 
 faultNode: 
 faultDetail: 

{https://adwords.google.com/api/adwords/cm/v201409}ApiExceptionFault:message[AuthenticationError.NOT_ADS_USER
 
@ ; 
trigger:'lt;nullgt;']/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=AuthenticationErrorfieldPath/triggerlt;nullgt;/triggererrorStringAuthenticationError.NOT_ADS_USER/errorStringApiError.TypeAuthenticationError/ApiError.TypereasonNOT_ADS_USER/reason/errors

[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at 
org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201409.cm.ApiException.getDeserializer(ApiException.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
 
Source)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
 
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown 
Source)
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201409.cm.CampaignServiceSoapBindingStub.get(CampaignServiceSoapBindingStub.java:1350)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method

Re: faultString: [AuthenticationError.NOT_ADS_USER @ ; trigger:'lt;nullgt;']

2015-03-05 Thread Danial Klimkin
Hello Vibhav,


Please make sure to be logged in under the AdWords account when generating 
the refresh token.


-Danial, AdWords API Team.


On Thursday, March 5, 2015 at 5:03:46 PM UTC+3, Vibhav Agarwal wrote:

 I am new to APIs. I started working on AdWords API recently and my task is 
 to find trending words on google or finding traffic estimate for specific 
 words. I did OAuth 2.0 and entered Client Id, ClientSecret and refresh 
 token in ads.properties file. But when i run EstimateKeywordTraffic.java i 
 get the following Exception-

 Exception in thread main AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
  faultSubcode: 
  faultString: [AuthenticationError.NOT_ADS_USER @ ; trigger:'lt;nullgt;']
  faultActor: 
  faultNode: 
  faultDetail: 
 
 {https://adwords.google.com/api/adwords/cm/v201409}ApiExceptionFault:message[AuthenticationError.NOT_ADS_USER
  
 @ ; 
 trigger:'lt;nullgt;']/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=AuthenticationErrorfieldPath/triggerlt;nullgt;/triggererrorStringAuthenticationError.NOT_ADS_USER/errorStringApiError.TypeAuthenticationError/ApiError.TypereasonNOT_ADS_USER/reason/errors

 [AuthenticationError.NOT_ADS_USER @ ; trigger:'null']
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
 Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown 
 Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
 Source)
 at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at java.lang.Class.newInstance(Unknown Source)
 at 
 org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:104)
 at 
 org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:90)
 at 
 com.google.api.ads.adwords.axis.v201409.cm.ApiException.getDeserializer(ApiException.java:143)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at 
 org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
 at 
 org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
 at 
 org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
 at 
 org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
 at 
 org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
 at 
 org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
 at 
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
  
 Source)
 at 
 com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
  
 Source)
 at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
  
 Source)
 at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
 Source)
 at 
 com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown 
 Source)
 at 
 com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
  
 Source)
 at 
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
 Source)
 at 
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
 Source)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown 
 Source)
 at 
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown 
 Source)
 at 
 com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
  
 Source)
 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown 
 Source)
 at 
 org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
 at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
 at 
 org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796)
 at 
 org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
 at 
 org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443

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.


AuthenticationError.NOT_ADS_USER Error when integrate adWard to salesforce

2014-11-10 Thread jitendra rawat
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/f4955b7e-57f0-4b64-a999-f3cb60fea09e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   >