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('link', 'http://www.example.com', 'array');

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

On Feb 19, 10:18 pm, Celebird <supp...@celebird.com> 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 google-base-data-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-base-data-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-base-data-api?hl=en.

Reply via email to