Re: CampaignService->get extremely slow (131 seconds)

2018-11-21 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Martijn, 

There are no issues currently that we are aware of. The PHP client library 
is on v38.0.0 with AdWords API v201809. It could be an intermittent issue. 
Could you try making the API call again and see if you're seeing the issue? 
Please share us the complete SOAP request and response logs along with the 
exact timestamp so I can take a look? You can refer to this guide 
 on how to enable 
logging for the PHP client library. Please share the details privately via 
Reply privately to author option. 

Thanks,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/abc41d5a-33c2-4c65-bf41-74d4f73bd894%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CampaignService->get extremely slow (131 seconds)

2018-11-21 Thread Martijn Scheffer
sunday evening, without changing a line of code, my calls 
sot CampaignService->get suddenly became incredibly slow
i have just 6 campaigns, that werent changed either.
every request takes between 130 and 132 seconds, no exceptions.

this is the code (copied from googles sample code):
   $campaignService = $adWordsServices->get($session, 
CampaignService::class);
   $selector = new Selector();
   $selector->setFields(['Id', 'Name']);
   $selector->setOrdering([new OrderBy('Name', SortOrder::DESCENDING)]);
   $selector->setPaging(new Paging(0, self::PAGE_LIMIT));
   $page = $campaignService->get($selector);

there is nothing wrong with my server, requests to other web services 
return in less than 100 ms

i tried other accounts, some without any campaigns, same 130 second wait

the response is valid, on my main account i get 6 names and id's, probably 
around 1K of XML
i isolated the code, im doing nothing else, just the code above (with the 
standard loop for paging
(but, it stalls for 130 seconds in the call to "get" so the paging code is 
irrelevant.

was adwords updated, this week-end ? that would be unusual.
im using version 36.0.0 (i think, thats the highest number in the 
chanelog.md file)
or is it v201802 ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/11905c51-8a02-415d-9026-70902418a9c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.