class CampaignCreativeAssociations extends Resource (View source)

The "campaignCreativeAssociations" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $campaignCreativeAssociations = $dfareportingService->campaignCreativeAssociations;

Methods

insert(string $profileId, string $campaignId, CampaignCreativeAssociation $postBody, array $optParams = [])

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. (campaignCreativeAssociations.insert)

listCampaignCreativeAssociations(string $profileId, string $campaignId, array $optParams = [])

Retrieves the list of creative IDs associated with the specified campaign.

Details

CampaignCreativeAssociation insert(string $profileId, string $campaignId, CampaignCreativeAssociation $postBody, array $optParams = [])

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. (campaignCreativeAssociations.insert)

Parameters

string $profileId

User profile ID associated with this request.

string $campaignId

Campaign ID in this association.

CampaignCreativeAssociation $postBody
array $optParams

Optional parameters.

Return Value

CampaignCreativeAssociation

Exceptions

Exception

CampaignCreativeAssociationsListResponse listCampaignCreativeAssociations(string $profileId, string $campaignId, array $optParams = [])

Retrieves the list of creative IDs associated with the specified campaign.

This method supports paging. (campaignCreativeAssociations.listCampaignCreativeAssociations)

Parameters

string $profileId

User profile ID associated with this request.

string $campaignId

Campaign ID in this association.

array $optParams

Optional parameters.

Return Value

CampaignCreativeAssociationsListResponse

Exceptions

Exception