Hi all, I try to migrate to Google Ads API from Google AdWords API (I use googleads/google-ads-php library) and I encountered with an RESOURCE_EXHAUSTED error:
{ "message": "Resource has been exhausted (e.g. check quota).", "code": 8, "status": "RESOURCE_EXHAUSTED", "details": [ { "@type": 0, "data": "type.googleapis.com\/google.ads.googleads.v9.errors.GoogleAdsFailure" }, { "@type": 0, "data": [ { "errorCode": { "quotaError": "RESOURCE_EXHAUSTED" }, "message": "Too many requests. Retry in 84106 seconds.", "details": { "quotaErrorDetails": { "rateScope": "DEVELOPER", "rateName": "Get requests for standard access", "retryDelay": "84106s" } } } ] }, { "@type": 0, "data": "rLZmNhdxJm-nrf17-oUCvw" } ] } But in my code I don't send any get() requests, I use only search() or searchStream() methods. Besides my developer token has standard access so I don't understand why I get this error. Here is my code sample: $client = $this->clientFactory->getClient($this->authIni, $account->getMccId()); $googleAdsServiceClient = $client->getGoogleAdsServiceClient(); $query = "SELECT campaign.id, campaign.name, campaign.status, campaign.serving_status, campaign.campaign_budget " . "FROM campaign " . "WHERE campaign.status IN('PAUSED', 'ENABLED')"; $response = $googleAdsServiceClient->search($account->getCustomerId(), $query, ['pageSize' => 500]); $campaignIds = []; foreach ($response->iteratePages() as $page) { foreach ($page as $googleAdsRow) { // save campaigns into DB } } Could you help me? 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/e4918a95-b3ca-43e9-83c3-ff346716933fn%40googlegroups.com.