Hello

I have seen this question raised by some other folks in the past, but it 
seems it is more a configuration question linked to our particular 
accounts. Anyway:

We do use consolidated billing since a month or so, and for this, our top 
MCC account has been granted permission by Google.So far, we have been 
manually linking the active accounts we create to our centralized billing 
account, with success.

Now, we are trying to automate this through the Adwords API. Situation is 
as follows (with fake ids):

111-111-1111 ROOT MCC  <---- is centralized billing enabled
               |           |---- and owner of our API key
               |
               |---has----- Payments account ID 9999-9999-9999-9999 (16 
digits)
               |       |--- Payments profile ID 8888-8888-8888 (12 digits)
               |
222-222-2222 CHILD MCC
               |
333-333-3333 test account

I issue the following API call:
  clientCustomerId=333-333-3333
 APIserviceName=BudgetOrderService 
 opWord=mutate 
 operations=[
      {"operator":"ADD",
       "operand":
            {"billingAccountId":"9999-9999-9999-9999",
             "billingAccountName":"xxxxxxxxxxxxx",
             "primaryBillingId":"8888-8888-8888",
             "spendingLimit":
                    {"microAmount":-1000000},
             "startDateTime":"20191119 171212 Europe/Paris",
             "endDateTime":"20371230 000000 Europe/Paris"}
      }
 ]

and I get the following error message:
Error: soap:Server: [NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API @ 
; 
                    trigger:'Manager 2222222222 is not whitelisted under 
RESELLER or AGENCY']


So:

   - I issue the call on the clientCustomerId of the test account (3333...)
   - I get an errror message regarding whitelisting which (for me) means 
   that the request is not malformed (although I am not completely confident 
   of the exact meaning of billingAccountId and primaryBillingId...)
   - the whitelisting message refers to '2222....' which is the direct 
   parent MCC (CHILD MCC) of the test account and not the ROOT MCC, which is 
   weird

My personal guess would be that although 1111... is 
consolidated-billing-enables, it is not whitelisted from an API standpoint.

Could anyone from the Google Ads team help on this ?

many thanks

jfp

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cf852eef-2765-4a70-99fa-7722b66aa68a%40googlegroups.com.

Reply via email to