# AddProductFlavor(string)

> Adds a product flavor with a given name.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Android.Gradle](/engine/6000.7/script-reference/unity/android/gradle.md)
* **Assembly:** Unity.Android.Gradle

```csharp
public Flavor AddProductFlavor(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Product flavor name.

### Returns

| Type                                                                     | Description               |
| ------------------------------------------------------------------------ | ------------------------- |
| [Flavor](/engine/6000.7/script-reference/unity/android/gradle/flavor.md) | The added product flavor. |
