AI-generated Key Takeaways
-
This method associates a creative with a specified campaign, creating a default ad if one doesn't exist.
-
The HTTP request uses a POST method with specific profileId and campaignId path parameters.
-
The request body contains an instance of CampaignCreativeAssociation.
-
The response body contains a newly created instance of CampaignCreativeAssociation upon success.
-
The method requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope for authorization.
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/v5/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
campaignId |
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