Well price=zero certainly get an item disapproved. Now if the return feed would just cop to that fact!!! Using entry.getGoogleBaseMetadata ().hasGmDisapproved() finds nothing and indeed there is nothing in the entire return stream which indicates that the product has been disapproved.
<?xml version='1.0' encoding='UTF-8'?> <atom:feed xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gm='http://base.google.com/ns-metadata/1.0' xmlns:g='http:// base.google.com/ns/1.0' xmlns:batch='http://schemas.google.com/gdata/ batch'> <atom:id>http://www.google.com/base/feeds/items</atom:id> <atom:updated>2009-01-30T00:04:21.641Z</atom:updated> <atom:title type='text'>Batch Feed</atom:title> <atom:link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.google.com/base/feeds/ items'/> <atom:link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='http://www.google.com/base/feeds/ items'/> <atom:link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://www.google.com/base/feeds/ items/batch'/> <atom:entry> <atom:id>http://www.google.com/base/feeds/items/ 5247831623685686673</atom:id> <atom:published>2009-01-30T00:04:21.000Z</atom:published> <atom:updated>2009-01-30T00:04:21.000Z</atom:updated> <app:control xmlns:app='http://purl.org/atom/app#'> <app:draft>yes</app:draft> </app:control> <atom:category scheme='http://base.google.com/categories/ itemtypes' term='products'/> <atom:title type='text'>rejectable is my middle name</atom:title> <atom:content type='html'> </atom:content> <atom:link rel='alternate' type='text/html' href='http:// app.company.com/Shop/Control/Product/fp/vpid/4763809/vpcsid/0/SFV/999'/ > <atom:link rel='self' type='application/atom+xml' href='http:// www.google.com/base/feeds/items/5247831623685686673'/> <atom:link rel='edit' type='application/atom+xml' href='http:// www.google.com/base/feeds/items/5247831623685686673'/> <atom:author> <atom:name>[email protected]</atom:name> <atom:email>[email protected]</atom:email> </atom:author> <g:id type='text'>41f96dfa-b986-4842-bb05-b194e29c2cfd</g:id> <g:application type='text'>test1-lister-1.0</g:application> <g:price type='floatUnit'>0.0 usd</g:price> <g:target_country type='text'>US</g:target_country> <g:expiration_date type='dateTime'>2009-03-01T00:04:21Z</ g:expiration_date> <g:upc type='text'>999000000000</g:upc> <g:customer_id type='int'>5496768</g:customer_id> <g:item_language type='text'>en</g:item_language> <g:item_type type='text'>products</g:item_type> <gd:feedLink xmlns:gd='http://schemas.google.com/g/2005' rel='media' href='http://www.google.com/base/feeds/items/ 5247831623685686673/media' countHint='0'/> <batch:id>BN000001</batch:id> <batch:status code='201' reason='Created'/> <batch:operation type='insert'/> </atom:entry> </atom:feed> On Jan 26, 10:38 am, icebackhaz <[email protected]> wrote: > Thanks Tom. Let's see what happens with a price of zero. > > On Jan 26, 6:35 am, Tom Wilson <[email protected]> wrote: > > > I think price = 0 would be sufficient i wouldn't recommend testing it > > with what you suggested. > > > In my opinion theres two levels of approval, technical where theres > > checks for obvious technical problems and then content which would > > involve in most cases some form of human interaction. > > >http://code.google.com/apis/base/starting-out.html#disapproved > > > There is and there has been a few times documented in this group where > > an account is disapproved and every attempt to add/edit items on > > Google Base is faced with a 500 server side error. > > >http://groups.google.com/group/Google-Base-data-API/browse_thread/thr... > > > Tom Wilson > > Freelance Google Base Developer and Consultantwww.tomthedeveloper.com > > > Google Base Tools -http://dev.tomthedeveloper.com/googlebase > > Featured Project > > :http://google-code-featured.blogspot.com/2008/02/google-base-competit... > > > On Jan 25, 8:36 pm, icebackhaz <[email protected]> wrote: > > > > Need to test my handling of any items in a feed of which Google may > > > "disapprove". Several related questions: > > > > Do items sent with draft=true get checked by the disapproval process? > > > > I'm assuming such entries have a Batch.isSuccess(entry) == true? > > > > I can read the value but I cannot set it with API, true or false? > > > > If so, should I just put category equal 'child pornography' and hope > > > somebody catches it or does something more civil like price = 0 do the > > > trick? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
