How do I create a test account in adwords - google-ads-api

I am trying to work with google adwords API. I was able to optain a developer key, but I simply can't create my test account from manager one. I didn't connect the production account to manager one may be that is an issue. All I see in account types while creating new account is only addword one but no option for test. I wander how to create it. Documentation says nothin

Well I got it. I had to create a new adwords account on an other email address and not fund it at all and then it becomes a test account. There for I can use my api key wich is not approved in google against this account.

Try this link
or this link
See that if it helps you
However, StackOverflow is a platform for asking programming question, You may post identical question type to other platform (For example SEO → ProWebmaster)for the next time :D

Related

Test Manager Account Google Ads API

I am trying to Create a Client test account under Test manager account of google ads API but my test manager account is marked as closed. See below
As mentioned in the picture a, we need to use new google account to create test manager account that is not been used in production manager account, I did the same. I created new google account and created test manager account but when I try to generate Refresh token for test account by using OAuth playground, It generates an error. see picture b.
Picture a.
Picture b.
Am I doing something wrong to configure the test manager account? Is there anything I need to follow to enable test account? The request to generate refresh token is getting denied. Is it because my account is closed?
The manager account for test account will always be closed because it is not managing any accounts in production environment.
To create test accounts, sign in as test manager account then follow the screenshots
when you click add button, you will be prompted to ask to create new account.
One you have clicked to create account, you will be asked to fill the details of the account. Follow the instructions to create test account.
When you create an account, you should pay attention to the filter feature. Otherwise, you will not be able to view the account.
This image
You've probably already solved this, but someone else may have the same problem [I did just a few days ago].
So here's my contribution:
Even if you are the developer, you'll need to add your email as a test user to the project on the consent screen in API & Services
Here are 2 screenshots

Is there a way to create a test adwords client account?

I'd like to to create a test adwords client account so I can use it for adwords API calls with a pending developer token.
I have followed the steps in the doc in this link and successfully created a test manager account (with the red label) using the Google Ads UI.
As required, I did that with a different google id than the one I used for the production manager account.
Then it says in the doc "While logged in to Google Ads as your test manager account, any client accounts you create will automatically be test accounts."
But for me those clients accounts were created as production. No red label, and requesting for budget.
Any idea what am I doing wrong, or an alternative way to create a client test account?
Appreciate your help,
Tal
After getting some help from Google Ads API team (see thread here) the answer is:
Create a google adwords manager test account, see here how to
Create a google adwords client test account from within that manager account, see here how to
And then, even if you get the billing error message, and you don't see any client accounts created, it's actually there, but hidden. To show it, enable the 'Canceled accounts' checkbox, as seen here:

Paypal SDK Client ID

I'm confused about the Client ID I have to enter here. I found a few similar answers, but they are all old and don't answer my question.
So I have to enter my Client ID's here:
PayPalMobile.initializeWithClientIds(forEnvironments: [PayPalEnvironmentProduction: "HERE", PayPalEnvironmentSandbox: "HERE"])
But I don't know if I have to create REST API credentials or v.zero SDK credentials
I tried REST API first, but it didn't work.
And do I only need client ID's? So I don't have to enter the secrets to the email addresses anywhere?
All you need is to go to paypal developer account then
1- Go to Dashboard.
2- Create app.
3- you will find two tabs(sandbox and production) each one will give you an id to test on either modes.
you should also create testing accounts to make testing payments in sandbox mode
Here is a good documentation for Paypal mobile.

Is it possible to use multiple adwords account to track conversion in an app?

I have two different adwords account. Can I use both of them in a single app, and track their conversion seperately?
I could not find any specific info at Google.
Thanks,
BR
I'm not sure what you mean by 'single app', but there is Google Adwords Manager account, where you can see all the accounts you have and import separate conversions into it and also for ex. report over both.
It's free and here are the instructions for connecting accounts.
I have no idea in ios but maybe my answer can give you an opinion. In C# if your two different accounts are under the Manager Account you can use both of them in a single app. First you can add ClientCustomerId (Manager Account Id) in App.config or Web.Config after that you can use GetAccountHierarchy() (AdWords.Examples.CSharp > v201609 > AccountManagement > GetAccountHierarchy.cs) function to get all account under Manager Account. You can reach Customer Ids and Customer Names with this function. After you get the Customer Id you can get what data you want with this Customer Ids.
You can check for source code: https://github.com/googleads/googleads-dotnet-lib

can't find where to create adwords developer token

I'm truing to figure out how to create an adwords developer token in new google interface. It was in settings tab formerly (right here at the screenshot http://take.ms/9lBlZ) but now it's gone. I looked through almost all links and didn't find an answer. So I really appreciate your help guys! Thanks!
If you create a campaign in your MCC (manager account), the MCC became normal Account, and you cant find "AdWords API Center" option.
I had to re-create another MCC
This thread is kind of old, but I just went through this so I can highlight the things that were confusing to me.
You need to create a legitimate MCC account, AND a test account. In the real one you need to apply for a developer token. You want to put this token in the properties file here api.adwords.developerToken
From your test MCC you need to create a test client. Use the clientId from the TEST client you just created in api.adwords.clientCustomerId in the properties file.
You need to get an API token for your app (and an OAuth token) through Google's developer console https://console.developers.google.com
Make sure the active google account session for your browser is for the email you registered your TEST Account to. Run the script they give to get the refresh token and put it here api.adwords.refreshToken in the properties file.
Now you're using your test developer token from your real account and given permissions to use the test account.
Google made this way more confusing than it had to be in my opinion...hopefully this helps someone figure it out though!
There are two types of Adwords Manager accounts, normal and testing.
How to get a testing account
With the normal one, I got the developer token but I cannot run nothing throught the API because the account was not approved.
So I created a testing account, which allows to work with the API without the need of being approved.
With the testing account I didn't saw the Adwords API Center link under Account Settings.
Reading documentation I saw the developer token of a normal account can be used with a different Adwords account.
So I'm using the info (client_id, client_secret, oauth_token) of a testing Adwords account and the developer token a normal Adwords account.
To get the Oauth_token you can use the OAuth Playground (remember to set the Playground link for redirection on your Oauth credentials).
Instructions to get a OAuth Playground with Adwords
Please complete the billing details after creating MCC account.
Once that is completed you can see API Center option under Tool Icon.
By filling billing details doesn't charge you but its just for verification purpose.
I just had the same issue.
Go here: https://ads.google.com/home/tools/manager-accounts/
Click "Create a manager account", follow the prompts and voila.

Resources