Class PropertiesResource.AudienceExportsResource
The "audienceExports" collection of methods.
Inherited Members
Namespace: Google.Apis.AnalyticsData.v1beta
Assembly: Google.Apis.AnalyticsData.v1beta.dll
Syntax
public class PropertiesResource.AudienceExportsResource
Constructors
AudienceExportsResource(IClientService)
Constructs a new resource.
Declaration
public AudienceExportsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(AudienceExport, string)
Creates an audience export for later retrieval. This method quickly returns the audience export's
resource name and initiates a long running asynchronous request to form an audience export. To export
the users in an audience export, first create the audience export through this method and then send the
audience resource name to the QueryAudienceExport
method. See Creating an Audience
Export for an
introduction to Audience Exports with examples. An audience export is a snapshot of the users currently
in the audience at the time of audience export creation. Creating audience exports for one audience on
different days will return different results as users enter and exit the audience. Audiences in Google
Analytics 4 allow you to segment your users in the ways that are important to your business. To learn
more, see https://support.google.com/analytics/answer/9267572. Audience exports contain the users in
each audience. Audience Export APIs have some methods at alpha and other methods at beta stability. The
intention is to advance methods to beta stability after some feedback and adoption. To give your
feedback on this API, complete the Google Analytics Audience Export API
Feedback form.
Declaration
public virtual PropertiesResource.AudienceExportsResource.CreateRequest Create(AudienceExport body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AudienceExport | body | The body of the request. |
string | parent | Required. The parent resource where this audience export will be created. Format:
|
Returns
Type | Description |
---|---|
PropertiesResource.AudienceExportsResource.CreateRequest |
Get(string)
Gets configuration metadata about a specific audience export. This method can be used to understand an audience export after it has been created. See Creating an Audience Export for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the Google Analytics Audience Export API Feedback form.
Declaration
public virtual PropertiesResource.AudienceExportsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The audience export resource name. Format:
|
Returns
Type | Description |
---|---|
PropertiesResource.AudienceExportsResource.GetRequest |
List(string)
Lists all audience exports for a property. This method can be used for you to find and reuse existing audience exports rather than creating unnecessary new audience exports. The same audience can have multiple audience exports that represent the export of users that were in an audience on different days. See Creating an Audience Export for an introduction to Audience Exports with examples. Audience Export APIs have some methods at alpha and other methods at beta stability. The intention is to advance methods to beta stability after some feedback and adoption. To give your feedback on this API, complete the Google Analytics Audience Export API Feedback form.
Declaration
public virtual PropertiesResource.AudienceExportsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. All audience exports for this property will be listed in the response. Format:
|
Returns
Type | Description |
---|---|
PropertiesResource.AudienceExportsResource.ListRequest |
Query(QueryAudienceExportRequest, string)
Retrieves an audience export of users. After creating an audience, the users are not immediately
available for exporting. First, a request to CreateAudienceExport
is necessary to create an audience
export of users, and then second, this method is used to retrieve the users in the audience export. See
Creating an Audience
Export for an
introduction to Audience Exports with examples. Audiences in Google Analytics 4 allow you to segment
your users in the ways that are important to your business. To learn more, see
https://support.google.com/analytics/answer/9267572. Audience Export APIs have some methods at alpha and
other methods at beta stability. The intention is to advance methods to beta stability after some
feedback and adoption. To give your feedback on this API, complete the Google Analytics Audience Export
API Feedback form.
Declaration
public virtual PropertiesResource.AudienceExportsResource.QueryRequest Query(QueryAudienceExportRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
QueryAudienceExportRequest | body | The body of the request. |
string | name | Required. The name of the audience export to retrieve users from. Format:
|
Returns
Type | Description |
---|---|
PropertiesResource.AudienceExportsResource.QueryRequest |