Class CampaignCreativeAssociationsResource.InsertRequest
Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.
Inheritance
object
CampaignCreativeAssociationsResource.InsertRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dfareporting.v3_5
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class CampaignCreativeAssociationsResource.InsertRequest : DfareportingBaseServiceRequest<CampaignCreativeAssociation>, IClientServiceRequest<CampaignCreativeAssociation>, IClientServiceRequest
Constructors
InsertRequest(IClientService, CampaignCreativeAssociation, long, long)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, CampaignCreativeAssociation body, long profileId, long campaignId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CampaignCreativeAssociation | body | |
long | profileId | |
long | campaignId |
Properties
CampaignId
Campaign ID in this association.
Declaration
[RequestParameter("campaignId", RequestParameterType.Path)]
public virtual long CampaignId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_5.Data.CampaignCreativeAssociation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_5.Data.CampaignCreativeAssociation>.MethodName
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
long |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_5.Data.CampaignCreativeAssociation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_5.Data.CampaignCreativeAssociation>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dfareporting.v3_5.DfareportingBaseServiceRequest<Google.Apis.Dfareporting.v3_5.Data.CampaignCreativeAssociation>.InitParameters()