Class CampaignCreativeAssociationsResource
The "campaignCreativeAssociations" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class CampaignCreativeAssociationsResource
Constructors
CampaignCreativeAssociationsResource(IClientService)
Constructs a new resource.
Declaration
public CampaignCreativeAssociationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Insert(CampaignCreativeAssociation, long, long)
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. |
long | profileId | User profile ID associated with this request. |
long | campaignId | Campaign ID in this association. |
Returns
Type | Description |
---|---|
CampaignCreativeAssociationsResource.InsertRequest |
List(long, long)
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 |
---|---|---|
long | profileId | User profile ID associated with this request. |
long | campaignId | Campaign ID in this association. |
Returns
Type | Description |
---|---|
CampaignCreativeAssociationsResource.ListRequest |