Invite email google adwords

406 views
Skip to first unread message

Trường Nguyễn Xuân

unread,
Jun 6, 2018, 5:49:19 AM6/6/18
to AdWords API and Google Ads API Forum
Hi Adwords Team,

I have problem, I have MCC account, I'm using API create sub Account for MCC and I invite email, code example:

public void Run(AdWordsUser user)
        {
            using (ManagedCustomerService managedCustomerService =
                (ManagedCustomerService)user.GetService(
                    AdWordsService.v201802.ManagedCustomerService))
            {

                // Create account.
                ManagedCustomer customer = new ManagedCustomer();
                customer.name = "Customer 01";
                customer.currencyCode = "VND";
                customer.dateTimeZone = "Europe/London";

                // Create operations.
                ManagedCustomerOperation operation = new ManagedCustomerOperation();
                operation.operand = customer;
                operation.@operator = Operator.ADD;

                // For whitelisted users only, uncomment two commands below as part of the
                // ADD operation to invite a user to have access to an account. An email
                // will be sent to that user inviting them to have access to the newlyd
                // created account.
                 operation.inviteeEmail = "truong.n...@haravan.com";
                 operation.inviteeRole = AccessRole.ADMINISTRATIVE;

                try
                {
                    ManagedCustomerOperation[] operations = new ManagedCustomerOperation[] { operation };
                    // Add account.
                    ManagedCustomerReturnValue result = managedCustomerService.mutate(operations);

                    // Display accounts.
                    if (result.value != null && result.value.Length > 0)
                    {
                        ManagedCustomer customerResult = result.value[0];
                        Console.WriteLine("Account with customer ID \"{0}\" was created.",
                            customerResult.customerId);
                    }
                    else
                    {
                        Console.WriteLine("No accounts were created.");
                    }
                }
                catch (Exception e)
                {
                    throw new System.ApplicationException("Failed to create accounts.", e);
                }
            }

But I receive error:

AdWordsApiException: Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was thrown. 

Error reason is unknown.. (Error: RequestError.UNKNOWN, FieldPath: operations[0].inviteeEmail, Trigger: truong.n...@haravan.com)


How to fix this problem?

Thanks,

Dhanya Sundararaju (AdWords API Team)

unread,
Jun 6, 2018, 2:30:41 PM6/6/18
to AdWords API and Google Ads API Forum
Hi Trường,

The inviteeEmail and inviteeRole field is accessible to whitelisted customers only. Could you please reply back with the your MCCid and let me know if it has been whitelisted to use the inviteeEmail and inviteeRole fields?

Regards,
Dhanya, AdWords API Team

Trường Nguyễn Xuân

unread,
Jun 7, 2018, 12:43:00 AM6/7/18
to AdWords API and Google Ads API Forum
Hi  Dhanya,

Thanks for you support. How to check my MCC Id ( 307-855-0798  this is test account) accessible to whitelisted ?

Milind Sankeshware (AdWords API Team)

unread,
Jun 7, 2018, 1:51:25 PM6/7/18
to AdWords API and Google Ads API Forum
Hi Trường,

I am Dhanya's colleague and will be following up on this thread as she is unavailable today. Whitelisting for such features are usually available only for production accounts. If there is a production account that you would like to be whitelisted, please share the CID with me.

Thanks,
Milind, AdWords API Team.

Trường Nguyễn Xuân

unread,
Jun 7, 2018, 11:24:08 PM6/7/18
to adwordsapiad...@google.com, AdWords API and Google Ads API Forum, Tammy Phan, Adam Ohren
Hi  Dhanya's,

Thanks for you support. This is my CID: 1806016198, this is production accounts but I can not use API  inviteeEmail and inviteeRole , please add the CID in to  Whitelisting. Thank you very much.

Best Regards,

Truong Nguyen,
Developer Team of Haravan

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/QqqOyJhqTEg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ce1bd61b-57b2-4bb5-9501-6ae3b05fc626%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Cloonan (AdWords API Team)

unread,
Jun 8, 2018, 10:40:33 AM6/8/18
to AdWords API and Google Ads API Forum
Hello,

I am going to look into the possibility of adding new accounts to this whitelist. The last I heard we are not widely accepting new accounts into the whitelist, but I'll let you know what I hear back.

Regards,
Mike, AdWords API Team

Michael Cloonan (AdWords API Team)

unread,
Jun 8, 2018, 11:26:35 AM6/8/18
to AdWords API and Google Ads API Forum
Hello,

We are not currently accepting new accounts onto this whitelist. I apologize for the inconvenience.

Regards,
Mike, AdWords API Team

Алексей Ягла

unread,
Aug 6, 2018, 6:00:42 AM8/6/18
to AdWords API and Google Ads API Forum
Hello.

I have the same problem.
You still can not accept new accounts in the whitelist?
What should I do if I need to automatically send invites?

Regards, Alexey


пятница, 8 июня 2018 г., 20:26:35 UTC+5 пользователь Michael Cloonan (AdWords API Team) написал:

For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/QqqOyJhqTEg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.

Michael Cloonan (AdWords API Team)

unread,
Aug 6, 2018, 7:50:24 AM8/6/18
to AdWords API and Google Ads API Forum
Hello,

I'm going to check to see if the policy on this has changed recently, but until I find out otherwise it's probably safe to assume that we are still not accepting new accounts onto this whitelist.

I will update here if I find out differently.

Regards,
Mike, AdWords API Team

Van Vu

unread,
Apr 1, 2019, 3:19:39 AM4/1/19
to AdWords API and Google Ads API Forum
Hi there,
I'm running into exact same situation. Please advise what should I do if I need to automatically send invites

Cheers,
Van

googleadsapi...@google.com

unread,
Apr 1, 2019, 8:37:20 AM4/1/19
to bodo...@gmail.com, AdWords API and Google Ads API Forum
Hello,

We are not accepting applications for this whitelist at this time.

Regards,
Mike, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~


For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.

Floky Netpeak

unread,
Mar 25, 2021, 7:51:00 AM3/25/21
to AdWords API and Google Ads API Forum
Hello? I got the same problem - RequestError.UNKNOWN @ operations[0].inviteeEmail
Can you help me ?
my cid - 5363639299

понеділок, 1 квітня 2019 р. о 15:37:20 UTC+3 googleadsapi...@google.com пише:
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.

Google Ads API Forum Advisor Prod

unread,
Mar 25, 2021, 2:58:04 PM3/25/21
to floky....@gmail.com, adwor...@googlegroups.com
Hello,

Please coordinate with your Google account manager to get you added to this list.

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2En6ie:ref
Reply all
Reply to author
Forward
0 new messages