Class PropertiesResource.AudienceExportsResource.CreateRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.AnalyticsData.v1beta
Assembly: Google.Apis.AnalyticsData.v1beta.dll
Syntax
public class PropertiesResource.AudienceExportsResource.CreateRequest : AnalyticsDataBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, AudienceExport, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, AudienceExport body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AudienceExport | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The parent resource where this audience export will be created. Format:
properties/{property}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()