Hi,

I see quite a few differences with the other thread. In my case:
- The problem does not appear consistently. Sometimes a week passes by with 
no problems.
- The problem occurs with different report types
- The problem occurs with multiple accounts
- If the problem occurs, it is always 06:32 CEST. Never another time. Note 
that only a few accounts are scheduled at that time, the bulk is scheduled 
two hours earlier and never had this problem.

I got one again this morning. It is for the same account as I mentioned 
previously (809-081-3184) but this time it occurred with an 
AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT, not ACCOUNT_PERFORMANCE_REPORT. 
The account report is the first report requested, and the automatic 
placement report is about the seventh - which means that the first six were 
OK.

The response headers:
 Content-Length
 983
 Content-Type
 text/html; charset=UTF-8
 Date
 Thu, 12 Dec 2013 05:31:11 GMT
 Server
 GFE/2.0

Report XML:
<reportDefinition> 
  <selector xmlns="https://adwords.google.com/api/adwords/cm/v201306";> 
    <fields>CampaignId</fields> 
    <fields>AdGroupId</fields> 
    <fields>Domain</fields> 
    <fields>Impressions</fields> 
    <predicates> 
      <field>CampaignStatus</field> 
      <operator>IN</operator> 
      <values>ACTIVE</values> 
      <values>PAUSED</values> 
      <values>DELETED</values> 
    </predicates> 
    <predicates> 
      <field>AdGroupStatus</field> 
      <operator>IN</operator> 
      <values>ENABLED</values> 
      <values>PAUSED</values> 
      <values>DELETED</values> 
    </predicates> 
  </selector> 
  <reportName 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>AutomaticPlacementInfo_All_Time</reportName>
 

  <reportType 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT</reportType>
 

  <dateRangeType 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>ALL_TIME</dateRangeType>
 

  <downloadFormat 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>GZIPPED_XML</downloadFormat>
 

  <includeZeroImpressions 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>false</includeZeroImpressions>
 

</reportDefinition>


Finally, you suggested to try this without GZIP - I assume you suspect a 
problem there?
I'm afraid it is not feasible to try without compression. The last time the 
report above succeeded for the same account, it was over 1 MB in size: 
without compression it would become way too big.


Regards,
Zweitze de Vries


On Thursday, December 12, 2013 1:47:32 AM UTC+1, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi Zwelte,
>
> Thanks for letting us know it. 
> Looks similar to this 
> thread<https://groups.google.com/d/msg/adwords-api/c9h4nKqKPV4/N1mnswsDFlIJ>
> .
>
> Can you please try a different download format (CSV, XML) to see if it 
> works?
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, December 5, 2013 3:59:22 AM UTC-8, Zweitze wrote:
>>
>> We got it again today... The good news is that we now log the headers. 
>> This was the request:
>>
>> Request POST to /api/adwords/reportdownload/v201306:
>>
>> <?xml version="1.0"?> 
>> <reportDefinition> 
>>   <selector xmlns="https://adwords.google.com/api/adwords/cm/v201306";> 
>>     <fields>AccountDescriptiveName</fields> 
>>     <fields>AccountCurrencyCode</fields> 
>>     <fields>AccountTimeZoneId</fields> 
>>     <fields>Impressions</fields> 
>>     <fields>AccountId</fields> 
>>   </selector> 
>>   <reportName 
>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>AdwordsReportAccountInfo_All_Time</reportName>
>>  
>>
>>   <reportType 
>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>ACCOUNT_PERFORMANCE_REPORT</reportType>
>>  
>>
>>   <dateRangeType 
>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>ALL_TIME</dateRangeType>
>>  
>>
>>   <downloadFormat xmlns="
>> https://adwords.google.com/api/adwords/cm/v201306";>GZIPPED_XML</downloadFormat>
>>  
>>
>>   <includeZeroImpressions xmlns="
>> https://adwords.google.com/api/adwords/cm/v201306";>true</includeZeroImpressions>
>>  
>>
>> </reportDefinition>
>>
>> Note: the contents were actually URL encoded.
>>
>> Request headers:
>>  Content-Type
>>  application/x-www-form-urlencoded
>>  Authorization
>>  GoogleLogin auth=DQAA....r8eQ
>>  clientCustomerId
>>  8090813184
>>  developerToken
>>  kNkf...qg_g
>>  returnMoneyInMicros
>>  True
>>  User-Agent
>>  Adwords API by Maxlead
>>  Host
>>  adwords.google.com
>>  Content-Length
>>  1097
>>  Accept-Encoding
>>  gzip, deflate
>>
>> Response HTTP 502, "Bad Gateway".
>>
>> Unfortunately the content of the response was lost. Here are the response 
>> headers:
>>  Content-Length
>>  983
>>  Content-Type
>>  text/html; charset=UTF-8
>>  Date
>>  Thu, 05 Dec 2013 05:30:50 GMT
>>  Server
>>  GFE/2.0
>>
>>
>> The developer token is the developer token issued to MCC 437-819-4458.
>> The request was fired four times with 30 seconds in between, the data 
>> above is from the last attempt.
>>
>>
>> Regards
>>
>>
>>
>> On Thursday, November 21, 2013 6:04:39 AM UTC+1, Takeshi Hagikura 
>> (AdWords API Team) wrote:
>>>
>>> Hi Zwelzte,
>>>
>>> Thanks for the input. 
>>>
>>> Can you please send me your following?
>>> - developer token
>>> - (If possible) full request and response logs including HTTP headers
>>>
>>> A developer token is very sensitive info, please make sure you send only 
>>> me using "Reply to author" from the top right corner.
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Wednesday, November 20, 2013 9:22:47 PM UTC+9, Zweitze wrote:
>>>>
>>>> Unfortunately my response headers were lost.
>>>> But I looked a bit further back, I found similar errors on Oct 25 (on 
>>>> three accounts), Nov 7 (two accounts), Nov 9 (1 account), Nov 18 (1 
>>>> account), Nov 19 (1 account).
>>>>
>>>> But: these errors ALWAYS occured at 06:32h CEST!
>>>> Mind you, we get hundreds to thousands of reports each day, but we only 
>>>> get HTTP 502 at 06:32h.
>>>>
>>>> I should mention a 502 qualifies for retries in our software: in all 
>>>> cases the fourth attempt failed. Between the attempts the software waits 
>>>> 30 
>>>> seconds.
>>>>
>>>> Hope this helps.
>>>>
>>>> On Wednesday, November 20, 2013 7:43:38 AM UTC+1, Takeshi Hagikura 
>>>> (AdWords API Team) wrote:
>>>>>
>>>>> Thanks everyone, 
>>>>>
>>>>> I'm not able to reproduce it though, it may happen in a specific time 
>>>>> or sporadically. 
>>>>> To look into this further, can you please share the following?
>>>>>
>>>>> - Do you always see the same error when you get 502?
>>>>> - Can you please share the error response in more detail including 
>>>>> HTTP response headers?
>>>>>
>>>>> Best,
>>>>> - Takeshi, AdWords API Team
>>>>>
>>>>> On Tuesday, November 19, 2013 10:50:22 PM UTC+9, Zweitze wrote:
>>>>>>
>>>>>> I had this on Nov 18 and 19, both at the same time, 06:32h CEST.
>>>>>> Report request:
>>>>>>
>>>>>> <reportDefinition> 
>>>>>> <selector xmlns="https://adwords.google.com/api/adwords/cm/v201306";> 
>>>>>> <fields>AccountDescriptiveName</fields> 
>>>>>> <fields>AccountCurrencyCode</fields> 
>>>>>> <fields>AccountTimeZoneId</fields> 
>>>>>> <fields>Impressions</fields> 
>>>>>> <fields>AccountId</fields> 
>>>>>> </selector> 
>>>>>> <reportName 
>>>>>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>AdwordsReportAccountInfo_All_Time</reportName>
>>>>>>  
>>>>>>
>>>>>> <reportType 
>>>>>> xmlns="https://adwords.google.com/api/adwords/cm/v201306";>ACCOUNT_PERFORMANCE_REPORT</reportType>
>>>>>>  
>>>>>>
>>>>>> <dateRangeType xmlns="
>>>>>> https://adwords.google.com/api/adwords/cm/v201306";>ALL_TIME</dateRangeType>
>>>>>>  
>>>>>>
>>>>>> <downloadFormat xmlns="
>>>>>> https://adwords.google.com/api/adwords/cm/v201306";>GZIPPED_XML</downloadFormat>
>>>>>>  
>>>>>>
>>>>>> <includeZeroImpressions xmlns="
>>>>>> https://adwords.google.com/api/adwords/cm/v201306";>true</includeZeroImpressions>
>>>>>>  
>>>>>>
>>>>>> </reportDefinition>
>>>>>>
>>>>>> This report was tried four times with 30 seconds between the attempts 
>>>>>> - all attempts failed.
>>>>>> Note that in a lot of instances everything goes well, for hundreds of 
>>>>>> reports it was OK (allthough I don't know how many retries were needed 
>>>>>> for 
>>>>>> those...)
>>>>>>
>>>>>> Note that we run the most reports between 04:30h and 05:30h CEST, 
>>>>>> without problems. But at 06:32h we do get problems...
>>>>>>
>>>>>> Hope this helps.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thursday, November 14, 2013 11:40:01 AM UTC+1, Takeshi Hagikura 
>>>>>> (AdWords API Team) wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm not able to reproduce it. 
>>>>>>> If it's still reproducible, please share detailed steps. 
>>>>>>>
>>>>>>> Best,
>>>>>>> - Takeshi, 
>>>>>>>
>>>>>>> On Wednesday, November 13, 2013 11:16:55 AM UTC+9, 
>>>>>>> mobile...@gmail.com wrote:
>>>>>>>>
>>>>>>>> is adwords down right now? getting 502 server error
>>>>>>>>
>>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to