Re: First Example of Google Adwords API very very slow

2016-05-26 Thread gianluca . aec

Duplicate of https://groups.google.com/forum/#!topic/adwords-api/RUZ_xg7hHHY

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e13a5725-c3f7-44ae-9f9b-7f4513e780c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Api very slow

2016-05-26 Thread gianluca . aec

I found that the problem is in the curl call. My server Debian says: 

Curl Hostname was NOT found in DNS cacheSomeone says that the problem is 
the version of curl: 
see 
http://stackoverflow.com/questions/27093467/curl-hostname-was-not-found-in-dns-cache-error

Adding:
nameserver 127.0.0.1

to etc/resolv.conf (was only 8.8.8.8, first)

helped..

Any other solution?





Il giorno mercoledì 25 maggio 2016 20:21:52 UTC+2, Shwetha Vastrad (AdWords 
API Team) ha scritto:
>
> Hi, 
>
> Can you profile the program execution using one of the profiling tools to 
> identify which area is taking more time? It might be an issue with the 
> resources available at runtime. 
>
> Thanks,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aed6291b-4516-47c6-90f6-45a15af8fa9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


First Example of Google Adwords API very very slow

2016-05-25 Thread gianluca . aec
I tried to make a first example of GetCampaings.php as the guide said.

It takes very long time to get my campaigns.

The code slow are:
1. download the wsdl
2. GenerateHttpHeaders
3. __soapCall --> it's slow but request time is nice (about 200ms)

It takes about 15 second to get 1 campaign (test).

There isn't connection problem.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f3a47028-d633-4f7e-88e4-8e8aae5c8cfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Api very slow

2016-05-25 Thread gianluca . aec
I just tried the Example GetCampaign and it takes long (about 15 or 20 
seconds).

it takes long in:

1. WSDL download
2. HttpHeaders generation: GenerateHttpHeaders
3. __soapCall

but responseTime is nice (200ms) and there arent connection issue.

Please help me.. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/54deab06-c847-4f5a-a2af-65c596268dd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.