Hello I am having issues with Google Ads Test accounts.
I have created a test MCC account, and some regular ads test accounts from within the MCC.
I have a production account, and have acquired a Developertoken, and I am able to succesfully query using the Google Ads API Beta.
The issue I am having is that all the test accounts are not activated, which means that no accounts, except the MCC account, will be returned when I query the API for customers (or am I missing something ?)
I Query the search API like so:
var client = new GoogleAdsClient(new Google.Ads.GoogleAds.Config.GoogleAdsConfig
{
DeveloperToken = "Dev Token",
OAuth2AccessToken = "Acess token",
OAuth2RefreshToken = "Refresh token",
OAuth2Scope = "https://www.googleapis.com/auth/adwords",
OAuth2ClientId = "Client ID",
OAuth2ClientSecret = "Client Secret",
OAuth2Mode = Google.Ads.GoogleAds.Util.OAuth2Flow.APPLICATION
});
var adsService = client.GetService(Services.V0.GoogleAdsService);
var request = new SearchGoogleAdsRequest
{
CustomerId = "The MCC Customer Id",
Query = "SELECT customer.id, customer.descriptive_name FROM customer",
PageSize = 1000
};
var result = adsService.SearchAsync(request);
await result.ForEachAsync((row) =>
{
//Iterate through the result and do stuff
});
Is it not possible to get linked accounts using the new API, or is this an issue with the test accounts not being properly activated ?
I have created campaigns on the test accounts as well, and I can see them in the Goggle Ads UI, but when I try to get these nothing is returned (I use the same approach as in the example above)