Is it possible to create a Google Merchant Center test account? - google-ads-api

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?

Related

Fetch customer Id using email & Create new Google Ads Manager account

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

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:

Various users in their normal accounts uploading to one channel

I'm using youtube data api v3, I wanna know if it's possible in some way to upload videos to a brand account with multiple users.
I already know that it's needed to add members as managers to do this, but they need to choose the brand account in the login if they want to upload the video, and for me that's a problem because i'm using firebase auth based on google session and saving name, email and stuff as my app users, but choosing the brand account it will always be "same user" uploading the videos and not the real one.
Best scenario:
Be able to get a token to the request from the brand account like using the client_id and client_secret in background without google authentication of the user.
Good scenario:
The user is a manager and with his normal account (not the brand he manages) he can upload freely.
Worst scenario:
It's impossible to do this.

YouTube API: "no linked youtube account" with a YouTube Business Account

I've got a client who is a business. They are using Google Apps for Business (the paid version), and have created a Google Apps email account. Using this email account, we logged into YouTube and went to create a channel. Because they are a business, we created a BUSINESS YouTube Channel with the associated BUSINESS Google+ Page.
They also have a vendor who is using the YouTube API to upload their videos for them. However when the vendor tries to use the API, they get the error "no linked youtube account". We're thinking that this is because as a Google+ Business Page, the page is not associated with a single Google Account, but rather multiple Google Accounts can be set as "managers" of the page.
When we tried to create a "personal" YouTube Channel/Google+ Page associated with this email address, we tried to put the company name in as the First Name / Last Name and it rejected it because it says that it's a company name and not a real person's name. It also asks for gender and birthdate, and all of those things associated with a person and not a business.
My questions is.... is there a way around this issue? Can you use the YouTube API to upload with a Google+ Business Page and a YouTube Business Channel?
Thanks,
Justin
You should be able to create a Google+ Page and a corresponding YouTube account. Here's a blog post explaining the steps.
To clarify this example, I have a Google+ page (somewhat inactive) for Cloud Hulk, a joke name my old teammates gave me. When I go to the top right corner of YouTube.com, I can select "switch account"
Now when I click on it, the very first time I do it, it asks me to create a channel. If I do not do this step, the YouTube API will return a "no linked YouTube account" error. I confirm the change:
Now that I'm logged in, I should see this in the top corner of YouTube.com:
When I'm doing the OAuth 2.0 authorization flow, I'll be presented with a list of channels to authorize as:
You can test this out by going to the API reference and clicking on "Authorize Requests Using OAuth 2.0" under "Try it Now".

Resources