Hi, 

In my current code we retrieve account budget per customer in a single 
query.
However because one mcc manager many customers, if we get account budget 
per customer, this will cause error with "code = ResourceExhausted desc = 
Resource has been exhausted (e.g. check quota)", so we want to retrieve 
account budget for multiple customers in *one* call. 
Is this possible?

Current example code:
public static function runExample(GoogleAdsClient $googleAdsClient, int 
$customerId)
{
    $googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();
    // Creates a query that retrieves keyword statistics.
    $query =
        "SELECT account_budget.adjusted_spending_limit_micros, 
account_budget.amount_served_micros FROM account_budget";

    // Issues a search stream request.
    /** @var GoogleAdsServerStreamDecorator $stream */
    $stream = $googleAdsServiceClient->searchStream($customerId, $query);


In the example above we have to send a customerId for each customer and a 
request is made per customer. We would like to send an array of customer 
ids and make a query that requests this metrics in one call.

Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/beb4ecec-b3bb-4f34-ad25-ff0c51b4ba1fn%40googlegroups.com.

Reply via email to