Class PlacementsResource.GeneratetagsRequest
Generates tags for a placement.
Inheritance
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_3
Assembly: Google.Apis.Dfareporting.v3_3.dll
Syntax
public class GeneratetagsRequest : DfareportingBaseServiceRequest<PlacementsGenerateTagsResponse>, IClientServiceRequest<PlacementsGenerateTagsResponse>, IClientServiceRequest
Constructors
GeneratetagsRequest(IClientService, Int64)
Constructs a new Generatetags request.
Declaration
public GeneratetagsRequest(IClientService service, long profileId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.Int64 | profileId |
Properties
CampaignId
Generate placements belonging to this campaign. This is a required field.
Declaration
[RequestParameter("campaignId", RequestParameterType.Query)]
public virtual long? CampaignId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
PlacementIds
Generate tags for these placements.
Declaration
[RequestParameter("placementIds", RequestParameterType.Query)]
public virtual Repeatable<string> PlacementIds { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<System.String> |
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TagFormats
Tag formats to generate for these placements. Note: PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.
Declaration
[RequestParameter("tagFormats", RequestParameterType.Query)]
public virtual PlacementsResource.GeneratetagsRequest.TagFormatsEnum? TagFormats { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PlacementsResource.GeneratetagsRequest.TagFormatsEnum> |
Remarks
Use this property to set a single value for the parameter, or TagFormatsList to set multiple values. Do not set both properties.
TagFormatsList
Tag formats to generate for these placements. Note: PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.
Declaration
[RequestParameter("tagFormats", RequestParameterType.Query)]
public virtual Repeatable<PlacementsResource.GeneratetagsRequest.TagFormatsEnum> TagFormatsList { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<PlacementsResource.GeneratetagsRequest.TagFormatsEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and TagFormats.
Methods
InitParameters()
Initializes Generatetags parameter list.
Declaration
protected override void InitParameters()