The Campaign Manager 360 API v3.3 is deprecated and will be sunset on June 30th, 2021. All users must migrate to a newer API version by that date.

Method: campaignCreativeAssociations.insert

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.

HTTP request

POST https://dfareporting.googleapis.com/dfareporting/v3.4/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

campaignId

string (int64 format)

Campaign ID in this association.

Request body

The request body contains an instance of CampaignCreativeAssociation.

Response body

If successful, the response body contains a newly created instance of CampaignCreativeAssociation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking