Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_Dfareporting_CampaignCreativeAssociations_Resource Class Reference

The "campaignCreativeAssociations" collection of methods. More...

Inheritance diagram for Google_Service_Dfareporting_CampaignCreativeAssociations_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 insert ($profileId, $campaignId, Google_Service_Dfareporting_CampaignCreativeAssociation $postBody, $optParams=array())
 Associates a creative with the specified campaign.
 
 listCampaignCreativeAssociations ($profileId, $campaignId, $optParams=array())
 Retrieves the list of creative IDs associated with the specified campaign.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "campaignCreativeAssociations" collection of methods.

Typical usage is: $dfareportingService = new Google_Service_Dfareporting(...); $campaignCreativeAssociations = $dfareportingService->campaignCreativeAssociations;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ insert()

Google_Service_Dfareporting_CampaignCreativeAssociations_Resource::insert ( $profileId,
$campaignId,
Google_Service_Dfareporting_CampaignCreativeAssociation $postBody,
$optParams = array() )

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$profileIdUser profile ID associated with this request.
string$campaignIdCampaign ID in this association.
Google_CampaignCreativeAssociation$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Dfareporting_CampaignCreativeAssociation

◆ listCampaignCreativeAssociations()

Google_Service_Dfareporting_CampaignCreativeAssociations_Resource::listCampaignCreativeAssociations ( $profileId,
$campaignId,
$optParams = array() )

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

(campaignCreativeAssociations.listCampaignCreativeAssociations)

Parameters
string$profileIdUser profile ID associated with this request.
string$campaignIdCampaign ID in this association.
array$optParamsOptional parameters.

@opt_param string pageToken Value of the nextPageToken from the previous result page. @opt_param string sortOrder Order of sorted results, default is ASCENDING. @opt_param int maxResults Maximum number of results to return.

Return values
Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse

The documentation for this class was generated from the following file: