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 
> 
>  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 
>  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.


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.