I can now get a budget order for an AD account, and the value I get is a 
two-dimensional array, 
so can I get a budget order for multiple AD accounts at once?Please give me 
the instruction. 
Here is my code

 // Generate a refreshable OAuth2 credential for authentication.
            $oAuth2Credential = (new OAuth2TokenBuilder())
                ->fromFile()
                ->build();

            $session = (new AdWordsSessionBuilder())
                ->fromFile()
//                ->withClientCustomerId('728-018-0886')
                ->withClientCustomerId($data['customer_id'])
                ->withOAuth2Credential($oAuth2Credential)
                ->build();

            $adWordsServices = new AdWordsServices();

            $BudgetOrderService = $adWordsServices->get(
                $session, BudgetOrderService::class);

            // Create selector.
            $selector = new Selector();

            $selector->setFields([
                'BillingAccountId','Id', 'BillingAccountName',
                'PoNumber', 'BudgetOrderName', 'PrimaryBillingId', 
'SecondaryBillingId',
                'SpendingLimit', 'TotalAdjustments', 'StartDateTime', 
'EndDateTime'
            ]);

//        $selector->setOrdering([new OrderBy('CustomerId', 
SortOrder::ASCENDING)]);
            $selector->setPaging(new Paging(0, self::PAGE_LIMIT));

            $page= $BudgetOrderService->get($selector);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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/f77c8465-8e94-4e4c-a4dc-d99eb58c0cb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to