Re: Serializing adwrods Objects into XML
Hi Anash Thanks for your reply. I tried using XStream, But it seems that while serializing an object, it doesn't take the inharitance into account. eg. While serializing the AdGroupCriterion type of object, it doesn't check which Typeof Criterion it contains. the result is - I don't get the Keyword specific fields in the serialized file. Moreover, we are serializing the data with a high frequency ( say 1000+ times in a second) , so I am not sure if XStream is resource/ time efficient ! Is there a way to use Protocol Object buffer? Thanks Panks On Jun 10, 2:53 pm, "Anash P. Oommen" wrote: > Hi Panks, > > If I remember correctly, all stub classes in the client library are marked > as serializable. Also, couldn't you use a library > likehttp://xstream.codehaus.org/to achieve this? > > Cheers, > Anash P. Oommen, > AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.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
Serializing adwrods Objects into XML
I am using Adwords Java APIs. My requirement is to dump the Network objects (campain, Keywords - Page) into xml file. I am trying hard to use getSerialize method available. public static org.apache.axis.encoding.Serializer getSerializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) No documentation or sample is available to figure out the parameter semantics. Could someone, please give a sample how to use that method and finally serialize the data. Thanks Panks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.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
Re: Partial failure acceptance in v201101
Any takers for this query. Thanks in Advance. Pankaj On May 27, 5:15 pm, Panks wrote: > Hi All, > We recently ported our code to v201101 Apis. I was wondering to what > extant is it possible to support partial failures in v201101. > In v2008 Partials failures were supported for AdGroupCriterions. Do we > have support for partial failures in AdGroupAdService ? > > Is there any chance for supporting Partial Failures in BulkMutate > Operation? Or it exists already ? > > Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.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
Partial failure acceptance in v201101
Hi All, We recently ported our code to v201101 Apis. I was wondering to what extant is it possible to support partial failures in v201101. In v2008 Partials failures were supported for AdGroupCriterions. Do we have support for partial failures in AdGroupAdService ? Is there any chance for supporting Partial Failures in BulkMutate Operation? Or it exists already ? Thanks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.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
Re: does the report, I get from getGzipReportDownloadUrl changes with no change in my adword entities
Hi Anash, Thanks for the reply. But my major concern is to make sure that the custmor hasn't done any changes in his account since the last time, I fetched the report. Is there are way. By comparing two reports seems a bit impossible because reports might not be for the same date range, and It could have staggered entities from previous days. Any pointers, how to avoid the whole effort, if user haven't done any changes in his account ?? Thanks Panks On Oct 27, 9:29 am, AdWords API Advisor wrote: > Hi Panks, > > You need to do an xml comparison, since the reporting doesn't offer a > provision for sorting the records, and hence does not guarantee order > of records. > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Oct 26, 10:14 pm, Panks wrote: > > > In my application, I do some aggregation on all entities of account > > report and store the aggregated data (campaign, keywords, adgroups) > > for a day, hour, and many more grain sizes into my database. > > > I have a few hundred customer accounts for which I want to produce > > this data and the database operations are quite slow. > > > What I want - Is to bypass the whole process if there is no change > > from customer's side. Is it possible to compare the current report > > with the one I had requested, say, 1 hour ago. > > > 1. can I simply do string comparison > > 2. or Compare each row if the order of rows is jumbled > > > The report is in XML format. > > > Thanks in advance > > > Panks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.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
does the report, I get from getGzipReportDownloadUrl changes with no change in my adword entities
In my application, I do some aggregation on all entities of account report and store the aggregated data (campaign, keywords, adgroups) for a day, hour, and many more grain sizes into my database. I have a few hundred customer accounts for which I want to produce this data and the database operations are quite slow. What I want - Is to bypass the whole process if there is no change from customer's side. Is it possible to compare the current report with the one I had requested, say, 1 hour ago. 1. can I simply do string comparison 2. or Compare each row if the order of rows is jumbled The report is in XML format. Thanks in advance Panks -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.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