Hi , I'm getting permissions error when trying to add billing to new accounts created and i keep getting CUSTOMER_NOT_WHITELISTED_FOR_API ?
Can somebody please check if I'm doing something wrong in my code : //create Billing for account $session = $this->createSession($customer->getCustomerId()); $BudgetService = $this->adWordsServices->get($session, BudgetOrderService::class ); $newBudget = new BudgetOrder(); //USD billing account $newBudget->setBillingAccountId('xxxx-xxxx-xxxx-xxxx'); $newBudget->setPrimaryBillingId('xxxx-xxxx-xxxx'); $BudgetOperation = new BudgetOrderOperation(); $BudgetOperation->setOperator(Operator::ADD); $BudgetOperation->setOperand($newBudget); $res = $BudgetService->mutate([$BudgetOperation]); -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@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 the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@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/b3d0cd59-9916-4e93-b6e9-1e0f0abd9fa2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.