Class CampaignCreativeAssociationsResource
The "campaignCreativeAssociations" collection of methods.
Inheritance
System.Object
CampaignCreativeAssociationsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class CampaignCreativeAssociationsResource
Constructors
CampaignCreativeAssociationsResource(IClientService)
Constructs a new resource.
Declaration
public CampaignCreativeAssociationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Insert(CampaignCreativeAssociation, Int64, Int64)
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.
Declaration
public virtual CampaignCreativeAssociationsResource.InsertRequest Insert(CampaignCreativeAssociation body, long profileId, long campaignId)
Parameters
Type | Name | Description |
---|---|---|
CampaignCreativeAssociation | body | The body of the request. |
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | campaignId | Campaign ID in this association. |
Returns
Type | Description |
---|---|
CampaignCreativeAssociationsResource.InsertRequest |
List(Int64, Int64)
Retrieves the list of creative IDs associated with the specified campaign. This method supports paging.
Declaration
public virtual CampaignCreativeAssociationsResource.ListRequest List(long profileId, long campaignId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | campaignId | Campaign ID in this association. |
Returns
Type | Description |
---|---|
CampaignCreativeAssociationsResource.ListRequest |