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/v4/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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["Associates a creative with a specified campaign, creating a default ad if one doesn't exist."],["Sends a POST request to the specified URL with profile ID and campaign ID as path parameters."],["Requires a request body containing a CampaignCreativeAssociation instance and returns a newly created instance in the response if successful."],["Needs authorization with the `https://www.googleapis.com/auth/dfatrafficking` scope."]]],[]]