Creating test client accounts under a test MCC account

801 views
Skip to first unread message

regisedg...@gmail.com

unread,
Jan 7, 2019, 1:14:19 PM1/7/19
to AdWords API and Google Ads API Forum
Hi 

I was able to create a test MCC account however while creating test client accounts using the UI, it automatically cancels the client accounts (and I am unable too see them in any dashboard). I am not sure where I am going wrong. Can you please help. 

This might be a more novice question, but I am trying to wrap my head around this for a long time and am unable to crack it. Thanks for your help.

Best regards 
Abhinav 

Milind Sankeshware (AdWords API Team)

unread,
Jan 7, 2019, 5:44:09 PM1/7/19
to AdWords API and Google Ads API Forum
Hi Regis,

By default, the status of the test account is cancel. This is expected behavior. To check more information on the test account, please refer to this document. Let me know if you have any further questions.

Thanks,
Milind, AdWords API Team

urban...@outlook.com

unread,
Mar 4, 2019, 5:55:02 AM3/4/19
to AdWords API and Google Ads API Forum
Hello.

My test client account was created under a Test Manager (confirmed the red rectangle with "Test account" text). The test client account is visible as cancelled in the UI but I cannot access anything via Google Ads API.


8:53am PDT March 3rd

This code example lists basic information about an advertising account, like the name, currency and time zone.

Failure:

Message: Status(StatusCode=PermissionDenied, Detail="The caller does not have permission")

Failure: { "errors": [ { "errorCode": { "authorizationError": "USER_PERMISSION_DENIED" }, "message": "User doesn't have permission to access customer." } ] }

Request ID: tWJNI2bl8EbsKGOCctiUpA


FWIW I am using a production developer token from a production Manager account i.e., via completely separate Google Ads user account / login. Also I confirmed that I am using the user credentials who owns the TEST manager account. Also note, GetAccessibleCustomers does not return the test client account Customer ID -  the API only returns the Test Manager CIDs  and production test client accounts. Aside: In addition to what I now believe are the expected test client accounts in Cancelled status, I created 2 Test Managers and 2 PROD client accounts via trial and error this weekend. 


Any suggestions how to troubleshoot further? I am happy to send my account details / customer IDs offline as needed.

Thank you,

Eric

googleadsapi...@google.com

unread,
Mar 4, 2019, 3:57:47 PM3/4/19
to AdWords API and Google Ads API Forum
Hello,

In app.config property file, you will need to add login customer id in line below:

<add key="LoginCustomerId" value="INSERT_LOGIN_CUSTOMER_ID_HERE" /> 

In general we specify the login-customer-id(to manager authenticating client's account) in the app.config file and then pass the client customer id to the program from which you are pulling the data. Give a try and let me know if you are still facing the this same error, please share the clientCustomerId, login-customer-id and the email address of the user who is authenticating the API call. 

The GetAccessibleCustomers will return resource names for the customers that the authenticating user has access to. If you are facing any issue, please share the user email address who is authenticating the API call, the login-customer-id specified in the header, the client customer Id and the client accounts you are expecting to see. You can use 'Reply privately to author' option while sending your details. 

For more information, please refer to this blog post. 


Thanks,
Milind, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

urban...@outlook.com

unread,
Mar 4, 2019, 5:10:21 PM3/4/19
to AdWords API and Google Ads API Forum
Thanks, that helps! I can add and retrieve a campaign in my test account now. I suggest please mention login-customer-id in the test accounts quick start doc e.g., with client customer ID in step 4. 

Best regards,
Eric
Reply all
Reply to author
Forward
0 new messages