Thanks for replying. As you suggested, I made these changes:

-- change "listing type" changed to "listing_type".  New code:  $item-
>addGbaseAttribute('listing_type', 'for sale', 'text');
-- removed the line of code for "description"

Regarding "dry_run," it is already set to true (it is a constant set
to TRUE at the top of the script)

Regarding the "link", do you mean to set the type to "array" like
this?

  $item->addGbaseAttribute('location', '2100 S Bascom Avenue, San
Jose, CA, 95008, US', 'array');

Now the error I receive is: "Expected response code 200, got 400".

On Feb 19, 10:18 pm, Celebird <[email protected]> wrote:
> - for the namespace error, listing type should be listing_type
> - also, atom:link should be an array;
> - content is the atom: alias for description; use only content
> - always keep dry_run set 'true' for sample, example, or test
> data in google-defined item-types such as housing; otherwise,
> inserting such items can put the item, account, and registered
> website in danger of being disapproved.

-- 
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.

Reply via email to