Using Google Ads API "Get Account Hierarchy" to get all accounts.
https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy?hl=en
Found out that canceled accounts are not being retrieved.
I do see the canceled accounts are being reported in the UI and in their Google Data Studio connector.
I guess both use the old AdWords API.
Is there a way to fetch and report canceled accounts via Google Ads API?
Is it recommended to use the old AdWords API?
Google Ads team answered: Unfortunately, cancelled accounts will not be returned in either of the APIs.
For more information, you may refer to this blog post (https://ads-developers.googleblog.com/2018/03/changes-to-inactive-adwords-accounts.html).
I hope this helps.
Related
I have google oauth2 authorization. To work with google adwords, I need developer token. I can see it on the website in my account, but is there any way to find it programmatically through the api?
google support replied that now there is no such possibility https://groups.google.com/d/msg/adwords-api/RLpvEMFay4s/Wm75mEj9BAAJ
I want to access to the calendar to read/create event from the user if he agrees.
I've followed the guide https://developers.google.com/google-apps/calendar/v3/sync
I've actived the api with my google account. Then use the OAuth 2.0 to get a code and the token.
When I follow the test, I use another account to simulate a random user.
Arrived at the lecture of the agenda, I get this error:
Error calling GET https://www.googleapis.com/calendar/v3/calendars/primary/events?maxResults=10&orderBy=startTime&singleEvents=true&timeMin=2016-06-14T11%3A28%3A25%2B02%3A00: (403) Access Not Configured. Calendar API has not been used in project 1056... before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/calendar/overview?project=1056... then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
It seems legit but I don't want the user to active the api on his side...
What am I missing?
Go to Google Developers console and enable the Google Calendar API. You need to tell Google which APIs your application will be accessing.
I am looking at developing an app using the google adwords api.
I have found here that I need an MCC account to be able to access the google adwords API.
Does this mean that only people with adwords accounts linked to my MCC account can use my app?
Or can my app be accessed by anyone with an adwords account?
Your app will be able to access any AdWords account provided the owner of that account allows it.
The AdWords account does not need to be linked to your MCC.
The user of your app will have to grant permission for your app to access their AdWords account before any calls to the AdWords API are made by your app.
Check these docs on the OAuth2 flow out for further details and then these for installed applications.
If you get a user to log in to your website using Google's authentication, then what information can you get about them? Specifically, can you get their Ad Preferences that Google collects?
I do not know of any Google API that reveals the Ad Preferences of a user. You can see your own Ad Preferences with the Ad Preference Manager, but that doesn't have an API to allow authorized people see someone else's preferences.
What i need to do to use Google AdWords API? Is it real that i must register at My Client Center, pay money and pass stupid tests on google testing service?
in order to use AdWords API, you need to:
have a regular Google AdWords account (not My Client Center - MCC one) with campaigns
have an MCC account... which cannot have campaigns but have an access to API
link your regular AdWords account with the MCC account
ask for API access from your MCC Account (My Profile section)
pay for API use per Google's rate sheet
... you can apply for free API usage, however this does come with a cost. This is where you need to do those stupid tests to get recognized as Certified Partner and fulfill some other requirements. And yes, you need to pay for these tests (last time I checked, it was $50 per test, there are about 4 of them for AdWords altogether, don't know how many you need to pass to get certified though).
P.S.: those 2 accounts (AdWords and MCC) cannot be combined and for some reason only the MCC one has access to API... wierd but that goes "by design" according to API Support (can't find the link at the moment).
You can use the Adwords API without having a MCC or passing any tests, even WITHOUT having an Adwords account, by using the Adwords API sandbox
http://code.google.com/apis/adwords/docs/sandbox.html
Of course this is to be used only for developing and testing purposes..
For getting Google AdWords API access you do not need to give any test.
Google adwords api is free for basic access but billing detail you need to
provide to google adwords.
you can refer this link for sign Up process and how to get approve token,
https://developers.google.com/adwords/api/docs/signingup?hl=en