Re: Exception: Missing SoapHeader

2014-06-12 Thread Josh Radcliff (AdWords API Team)
In case anyone else is following this thread -- this issue was caused by 
sharing instances of *AdWordsSession* across multiple threads, but 
*AdWordsSession* is *not *thread-safe. For more details on thread safety in 
the Java client library, please refer to the Thread Safety page 
 on 
github.

Cheers,
Josh, AdWords API Team

On Tuesday, June 3, 2014 6:17:59 PM UTC-4, Josh Radcliff (AdWords API Team) 
wrote:
>
> Hi Gopi,
>
> That's interesting - I haven't heard of this happening before. Could you 
> share the code you're using to create and submit your requests? If you'd 
> prefer, you can send it only to me by clicking *Reply to Author*. Also, 
> it would be good to know if you are running in a multi-threaded environment 
> and if so, which objects you are sharing across threads.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, June 3, 2014 1:40:21 PM UTC-4, Gopi wrote:
>>
>> Josh, 
>>
>>We are using client libraries -  googleads-java-lib-v1.26.0 
>> 
>>
>> Thanks
>> Gopi
>>
>> On Tuesday, June 3, 2014 7:59:41 AM UTC-7, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi Gopi,
>>>
>>> Are you using one of the client libraries 
>>> ? If 
>>> the request below is your complete request, it is indeed missing the SOAP 
>>> header, as the error indicates.
>>>
>>> If you are using of the client libraries then I'd be interesting in 
>>> knowing which one you are using (including the version) and whether you 
>>> recently downloaded a newer version of the library.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Monday, June 2, 2014 2:47:32 PM UTC-4, Gopi wrote:

 I am getting the below soap response and it doesn't happen all the 
 time. If i retry it will proceed as normal, there is no change in the 
 code. 
 Is there anything i am missing?

 Soap Response: 
 
 http://schemas.xmlsoap.org/soap/envelope/";>
 
 
 soap:Server
 Missing SoapHeader while invoking public 
 abstract 
 com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionPage
  
 com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector)
  
 throws 
 com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.ApiException_Exception
  
 with params 
 [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector@7ee222e4].
 
 
 


 Soap Request:

 
 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
 http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
 http://www.w3.org/2001/XMLSchema-instance";>
  
   https://adwords.google.com/api/adwords/cm/v201309";>

 AgeRangeType
 CampaignId
 CarrierCountryCode
 CarrierName
 ContentLabelType
 CriteriaType
 DisplayType
 GenderType
 GeoPoint
 Id
 KeywordMatchType
 KeywordText
 LanguageCode
 LanguageName
 LocationName
 Operand
 ParentLocations
 Path
 PlacementUrl
 PlatformName
 
  CampaignId
  EQUALS
  142981910
 
 
  0
  1000
 

   
  
 


 Thanks
 Gopi

>>>

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


Re: Exception: Missing SoapHeader

2014-06-03 Thread Josh Radcliff (AdWords API Team)
Hi Gopi,

That's interesting - I haven't heard of this happening before. Could you 
share the code you're using to create and submit your requests? If you'd 
prefer, you can send it only to me by clicking *Reply to Author*. Also, it 
would be good to know if you are running in a multi-threaded environment 
and if so, which objects you are sharing across threads.

Thanks,
Josh, AdWords API Team

On Tuesday, June 3, 2014 1:40:21 PM UTC-4, Gopi wrote:
>
> Josh, 
>
>We are using client libraries -  googleads-java-lib-v1.26.0 
> 
>
> Thanks
> Gopi
>
> On Tuesday, June 3, 2014 7:59:41 AM UTC-7, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Gopi,
>>
>> Are you using one of the client libraries 
>> ? If the 
>> request below is your complete request, it is indeed missing the SOAP 
>> header, as the error indicates.
>>
>> If you are using of the client libraries then I'd be interesting in 
>> knowing which one you are using (including the version) and whether you 
>> recently downloaded a newer version of the library.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Monday, June 2, 2014 2:47:32 PM UTC-4, Gopi wrote:
>>>
>>> I am getting the below soap response and it doesn't happen all the time. 
>>> If i retry it will proceed as normal, there is no change in the code. Is 
>>> there anything i am missing?
>>>
>>> Soap Response: 
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/";>
>>> 
>>> 
>>> soap:Server
>>> Missing SoapHeader while invoking public 
>>> abstract 
>>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionPage
>>>  
>>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector)
>>>  
>>> throws 
>>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.ApiException_Exception
>>>  
>>> with params 
>>> [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector@7ee222e4].
>>> 
>>> 
>>> 
>>>
>>>
>>> Soap Request:
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>
>>>  
>>>   https://adwords.google.com/api/adwords/cm/v201309";>
>>>
>>> AgeRangeType
>>> CampaignId
>>> CarrierCountryCode
>>> CarrierName
>>> ContentLabelType
>>> CriteriaType
>>> DisplayType
>>> GenderType
>>> GeoPoint
>>> Id
>>> KeywordMatchType
>>> KeywordText
>>> LanguageCode
>>> LanguageName
>>> LocationName
>>> Operand
>>> ParentLocations
>>> Path
>>> PlacementUrl
>>> PlatformName
>>> 
>>>  CampaignId
>>>  EQUALS
>>>  142981910
>>> 
>>> 
>>>  0
>>>  1000
>>> 
>>>
>>>   
>>>  
>>> 
>>>
>>>
>>> Thanks
>>> Gopi
>>>
>>

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


Re: Exception: Missing SoapHeader

2014-06-03 Thread Gopi
Josh, 

   We are using client libraries -  googleads-java-lib-v1.26.0 


Thanks
Gopi

On Tuesday, June 3, 2014 7:59:41 AM UTC-7, Josh Radcliff (AdWords API Team) 
wrote:
>
> Hi Gopi,
>
> Are you using one of the client libraries 
> ? If the 
> request below is your complete request, it is indeed missing the SOAP 
> header, as the error indicates.
>
> If you are using of the client libraries then I'd be interesting in 
> knowing which one you are using (including the version) and whether you 
> recently downloaded a newer version of the library.
>
> Cheers,
> Josh, AdWords API Team
>
> On Monday, June 2, 2014 2:47:32 PM UTC-4, Gopi wrote:
>>
>> I am getting the below soap response and it doesn't happen all the time. 
>> If i retry it will proceed as normal, there is no change in the code. Is 
>> there anything i am missing?
>>
>> Soap Response: 
>> 
>> http://schemas.xmlsoap.org/soap/envelope/";>
>> 
>> 
>> soap:Server
>> Missing SoapHeader while invoking public 
>> abstract 
>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionPage
>>  
>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector)
>>  
>> throws 
>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.ApiException_Exception
>>  
>> with params 
>> [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector@7ee222e4].
>> 
>> 
>> 
>>
>>
>> Soap Request:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>>  
>>   https://adwords.google.com/api/adwords/cm/v201309";>
>>
>> AgeRangeType
>> CampaignId
>> CarrierCountryCode
>> CarrierName
>> ContentLabelType
>> CriteriaType
>> DisplayType
>> GenderType
>> GeoPoint
>> Id
>> KeywordMatchType
>> KeywordText
>> LanguageCode
>> LanguageName
>> LocationName
>> Operand
>> ParentLocations
>> Path
>> PlacementUrl
>> PlatformName
>> 
>>  CampaignId
>>  EQUALS
>>  142981910
>> 
>> 
>>  0
>>  1000
>> 
>>
>>   
>>  
>> 
>>
>>
>> Thanks
>> Gopi
>>
>

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


Re: Exception: Missing SoapHeader

2014-06-03 Thread Josh Radcliff (AdWords API Team)
Hi Gopi,

Are you using one of the client libraries 
? If the 
request below is your complete request, it is indeed missing the SOAP 
header, as the error indicates.

If you are using of the client libraries then I'd be interesting in knowing 
which one you are using (including the version) and whether you recently 
downloaded a newer version of the library.

Cheers,
Josh, AdWords API Team

On Monday, June 2, 2014 2:47:32 PM UTC-4, Gopi wrote:
>
> I am getting the below soap response and it doesn't happen all the time. 
> If i retry it will proceed as normal, there is no change in the code. Is 
> there anything i am missing?
>
> Soap Response: 
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> 
> soap:Server
> Missing SoapHeader while invoking public abstract 
> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionPage
>  
> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector)
>  
> throws 
> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.ApiException_Exception
>  
> with params 
> [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector@7ee222e4].
> 
> 
> 
>
>
> Soap Request:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>  
>   https://adwords.google.com/api/adwords/cm/v201309";>
>
> AgeRangeType
> CampaignId
> CarrierCountryCode
> CarrierName
> ContentLabelType
> CriteriaType
> DisplayType
> GenderType
> GeoPoint
> Id
> KeywordMatchType
> KeywordText
> LanguageCode
> LanguageName
> LocationName
> Operand
> ParentLocations
> Path
> PlacementUrl
> PlatformName
> 
>  CampaignId
>  EQUALS
>  142981910
> 
> 
>  0
>  1000
> 
>
>   
>  
> 
>
>
> Thanks
> Gopi
>

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


Exception: Missing SoapHeader

2014-06-02 Thread Gopi
I am getting the below soap response and it doesn't happen all the time. If 
i retry it will proceed as normal, there is no change in the code. Is there 
anything i am missing?

Soap Response: 

http://schemas.xmlsoap.org/soap/envelope/";>


soap:Server
Missing SoapHeader while invoking public abstract 
com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionPage
 
com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector)
 
throws 
com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.ApiException_Exception
 
with params 
[com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector@7ee222e4].





Soap Request:


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 
  https://adwords.google.com/api/adwords/cm/v201309";>
   
AgeRangeType
CampaignId
CarrierCountryCode
CarrierName
ContentLabelType
CriteriaType
DisplayType
GenderType
GeoPoint
Id
KeywordMatchType
KeywordText
LanguageCode
LanguageName
LocationName
Operand
ParentLocations
Path
PlacementUrl
PlatformName

 CampaignId
 EQUALS
 142981910


 0
 1000

   
  
 



Thanks
Gopi

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