MicrosoftDocs / Advertising-docs

Creative Commons Attribution 4.0 International
15 stars 58 forks source link

Please verify which is the correct variable for submitting Size attribute for product. sizes or size? #539

Closed Simprosys-InfoMedia closed 4 years ago

Simprosys-InfoMedia commented 5 years ago

sizes

<size> The available size of the product. The size value is user-defined but should be based on your target country.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

swhite-msft commented 5 years ago

Depends on whether you're using JSON or XML. If you're using JSON:

"sizes": [ "2T", "3T" ],

And if you're using XML:

2T 3T

Hope that helps.

swhite-msft commented 5 years ago

Sorry, brackets didn't paste correctly.

2T 3T
swhite-msft commented 5 years ago

Grrr. Trying again...

\2T\ \3T\

Simprosys-InfoMedia commented 5 years ago

Hello MicrosoftDocs/BingAds-docs,

I am not concerned about how values to be used. but what should be the correct variable name itself?

In this help doc: https://docs.microsoft.com/en-us/bingads/shopping-content/products-resource. It says "sizes" as well as "size". We are using json for Content API.

[image: image.png]

Please confirm and if needed please correct it in help doc.

Thanks, Milan Vaghela Simprosys InfoMedia

On Sat, Mar 2, 2019 at 2:22 AM Scott White notifications@github.com wrote:

Grrr. Trying again...

2T 3T

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/BingAds-docs/issues/539#issuecomment-468807690, or mute the thread https://github.com/notifications/unsubscribe-auth/Ats1MfJ9G6obmjJKvmZwPqLwMOnfCa7bks5vSZMVgaJpZM4bYhFR .

swhite-msft commented 5 years ago

If you're using JSON, use "sizes". The table's column name says "JSON and XML Name." We'll look into making it more explicit in each table cell. JSON: sizes XML: size