I apologize if this ends up being a duplicate, but my first attempt didn't
appear.
I am trying to build my first app that pulls campaign data from AdWords,
but I am having a bit of trouble. Here is where I'm at:
1. Installed the AdWords API NuGet package
2. Created an MCC Test account and an AdWords Test account
3. Created an AdWords API developer account (on LIVE adwords account)
4. Created a Project, as well as a Service Account within my test
account in the Google Developers Console.
5. Wired up my Web.config with the Service Account OAuth credentials/p12
file location.
When I run the app, I get the following response:
Failed to get access token for service account.{
"error" : "access_denied",
"error_description" : "Requested scopes not allowed:
https://adwords.google.com/api/adwords/"}
Since AdWords isn't an option in the "APIs" tab in Google Developers
Console project, I'm not sure where to go.
The documentation (here:
https://developers.google.com/adwords/api/docs/guides/service-accounts)
says to go to https://www.google.com/a/cpanel/YOUR_DOMAIN/ManageOauthClientsand
replace YOUR_DOMAIN with your domain, however I don't have a domain
necessarily. Note that I'm not that familiar with AdWords, so it's possible
I'm missing something obvious, but I really didn't set up a domain with my
test account. Also, I tried to go through My Account => Preferences => API
to see if setting up a Developer Token on the test side would help, but it
appears you need a real CC# to continue, and the response here mentions
that Test Developer Tokens don't work:
https://groups.google.com/forum/#!topic/adwords-api/EChRX1RFaUk.
Any suggestions are greatly appreciated.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.