Comments (3)
Hi,
there are fields for custom attributes in Google Shopping API. I will take a look at it and see how this can get implemented. But can you tell me the reason why you want to upload this?
from googleshoppingapi.
Thanks for your quick answers Schnere!
Because our store has a lot of 'custom goods'.
Google requires the flag 'identifier exists' to be set to 'false' if you send custom goods, and if you do you can withhold the GTIN/MPN and brand attributes.
(Google summary of attribute requirements: https://support.google.com/merchants/answer/1344057 )
Edit:
It seems that custom clothing does not fall under the category 'Custom goods' at google, so i'm trying to map the product as you should map clothing. However the age group mapping keeps giving me the same error as above:
exception 'Google_Service_Exception' with message 'Error calling POST https://www.googleapis.com/content/v2/8980377/products: (400) Unknown field name: age_group' in /vendor/google/apiclient/src/Google/Http/REST.php:83
The age group attribute has the value 'adult' (i tried 'Adult' as well), so the value should be correct.
Mapping like this:
What am i missing here?
from googleshoppingapi.
Okay, age_group should be ageGroup. I've added a line that transforms all attribute names to lower camel case. Should be fixed with next commit.
from googleshoppingapi.
Related Issues (20)
- Inventory is zero when migrate from m1 to m2 HOT 1
- Suddenly invalid values
- GoogleShoppingAPI Error during Magento 2 data import
- Error when open Manage Items HOT 1
- Catchable fatal error: Object of class Mage_Catalog_Model_Resource_Eav_Attribute could not be converted to string in GoogleProductCategory.php on line 30
- Cannot send cache limiter
- Cannot include XXXX HOT 1
- Dont upload/update/insert product without google image
- Fatal error: Class 'Google_Auth_AssertionCredentials' not found HOT 3
- synchronization process fails after upgrade to version 1.9.3.1 HOT 7
- Unkown field name
- Warning: Missing argument 2 HOT 1
- Missing 'shipping weight' attribute. HOT 2
- Google API Client Version HOT 2
- Wrong price in store with a specific currency
- Product Type Mapping Not Working
- facebook catalog feed stop fetching
- Error calling POST
- Unable to locate Google Shopping Category in product page
- this extension is available for magento 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googleshoppingapi.