I'm using Google Ads API PHP library in my system. But I didn't found following 2 API's in provided API list here https://developers.google.com/google-ads/api/docs/account-management/create-account:
API to find out whether user has already exist Google Ads account using email? If found then returns his 10 digit customer ID.
If user Google Ads account not found then create new Google Ads account (manager account on behalf of customer through our PHP script). So that after creating, I can link it under my manager account.
I have seen same process on few sites. Whenever user visits system, he entering his email address, name, etc.. then script searches for his existing Google Ads account if found return customer id or some data & auto logged-in to system otherwise creates new Google Ads manager account for him.
Please let me know any API or solution for these 2 cases.
1- You can use https://developers.google.com/google-ads/api/docs/account-management/get-account-hierarchy to find out all the ads account under the manager account.
2- You can use https://developers.google.com/google-ads/api/docs/account-management/create-account to create google ad account under manager account
Related
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:
I'm working with Firebase to authenticate my users in my iOS app
I noticed a problem with the Apple provider.
I'll explain better the steps that a user could do:
Create an Apple Provider Account with Hidden Email. Your Firebase account will be created like this
Create an account with Google. We will have 2 different accounts created
The user decides to delete my app from the iCloud settings (on his device) from those that access with Apple
The user creates a new account with Apple provider, but this time he shows the email
When the authentication flow begins, through the Auth.auth().fetchSignInMethods(forEmail: email) method, find the Google account previously created and try the link with Google.
The link does not complete and returns this error:
[ERROR_PROVIDER_ALREADY_LINKED] - User can only be linked to one
identity for the given provider.
This is the problem I'm having when a user decides to use an Apple account with hidden Email
How can we manage authentications with Apple on Firebase in this case?
I need to create a new shopping campaign by using the Google AdWords API. But before that, I wanted to check the end to end flow for shopping campaign with Google Ads and Google Merchant Center UI.
I've completed the following steps:
Created Google Ads Manager and Client account
Created Google merchant center account and linked the above account with it.
Using the content APIs, I uploaded some products to the merchant center
But while creating a shopping campaign from my client account, I'm not able to proceed beyond step 1 i.e providing campaign settings.
Currently, I've not provided any campaign URL as I don't have any website to point to. I am also not sure about how to add the template URL and suffix. Would be great if someone can guide me on this.
Could you please let me know if there is any way to use the existing Google merchant center account as a test account where I don't need to provide the campaign URL?
Our app requires Google OAuth2. When a user, with an existing Google account, authenticates with Google then we use a callback to return users to our App. This is what we want.
The issue is, for those users who do not have a Google account we ask them to create a Google account (gmail address) or connect their existing email address to Google. A user who has to follow either of these flows ends up on the "Thanks for creating a Google account page" and not back at our App.
This is supposed to work as you are expecting. There is a continue button on that page and that should bring the user back.
If that is not working, can you tell us more (about OS, client id, urls and the exact steps) or give us a link to test/reproduce? Is this on the web or on mobile app?
We have some old configurations which make use of an OAuth Client ID, and we're trying to determine which Google Developer account created it.
We have both the client ID and secret. Is is possible for us to determine which Google account they're associated with? We'd prefer to not have to switch to a new account. Any help is appreciated, thanks!
Is this client ID still used on some website for sign-in? If so, you could try to sign-in with an account that hasn't authenticated yet, and in the auth window click on the App name to get the developer info including the email address, which should match the Google account you are looking for.