Re: batchjobService exmaple code without client library

2016-01-26 Thread Javeed Syed

Hi Yin,

I understand Java client library is having a good way for doing it with its 
XML parsing. But we have all the code set for SOAP requests and it was 
working normally. 
But when am trying to migrated to Batchjobservice it has some issue with 
uplaoding xml body. I have changed the tag and provided separate tag for 
campaign. But it is still the same issue, nothing changed.

Is there any thing you can find more from the above..

/Javeed


On Wednesday, 20 January 2016 22:02:06 UTC+1, Yin Niu wrote:
>
> Hi Javeed, 
>
> I would recommend you use the Java library because it has encapsulated the 
> XML parsing for you. For the XML request you have, the only place that I 
> found could be an issue is the  tag. Please take a look at 
> BatchJobOps.xsd 
>  file. 
> You might want to make campaignOperation in a separate tag. 
>
> Thanks,
> Yin, 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/f4d18032-e3ff-4e6e-9102-8b623d31fc3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: batchjobService exmaple code without client library

2016-01-26 Thread Nadine Sundquist (AdWords API Team)
Hello Javeed,

Hopefully, you've had a chance to check out the Batch Processing guide 
 while 
putting this together. I would highly recommend just taking the code you 
need from the Java library because there are a few gotchas. If you are not 
going to use the client library, then please at least check out the code 
here 

 to 
help structure your own code. You'll see that one of the things you need is 
that each upload needs to be an increment of 256K. Little things like that 
can result in error such as the FILE_FORMAT_ERROR.

Best,
Nadine, AdWords API Team

On Tuesday, January 26, 2016 at 9:35:08 AM UTC-5, Javeed Syed wrote:
>
>
> Hi Yin,
>
> I understand Java client library is having a good way for doing it with 
> its XML parsing. But we have all the code set for SOAP requests and it was 
> working normally. 
> But when am trying to migrated to Batchjobservice it has some issue with 
> uplaoding xml body. I have changed the tag and provided separate tag for 
> campaign. But it is still the same issue, nothing changed.
>
> Is there any thing you can find more from the above..
>
> /Javeed
>
>
> On Wednesday, 20 January 2016 22:02:06 UTC+1, Yin Niu wrote:
>>
>> Hi Javeed, 
>>
>> I would recommend you use the Java library because it has encapsulated 
>> the XML parsing for you. For the XML request you have, the only place that 
>> I found could be an issue is the  tag. Please take a look at 
>> BatchJobOps.xsd 
>>  
>> file. 
>> You might want to make campaignOperation in a separate tag. 
>>
>> Thanks,
>> Yin, 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/2ca3e7aa-ec2b-4b26-8c3b-c926d3614562%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: batchjobService exmaple code without client library

2016-01-20 Thread Yin Niu
Hi Javeed, 

I would recommend you use the Java library because it has encapsulated the 
XML parsing for you. For the XML request you have, the only place that I 
found could be an issue is the  tag. Please take a look at 
BatchJobOps.xsd 
 file. 
You might want to make campaignOperation in a separate tag. 

Thanks,
Yin, 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/c5abd95e-165e-48d7-a928-140d675b5137%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.