Google_Service_Dfareporting_CreativeAssets_Resource

The "creativeAssets" collection of methods.

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Dfareporting.php  
  1. class Google_Service_Dfareporting_CreativeAssets_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Inserts a new creative asset. (creativeAssets.insert) 
  5. * @param string $profileId User profile ID associated with this request. 
  6. * @param string $advertiserId Advertiser ID of this creative. This is a 
  7. * required field. 
  8. * @param Google_CreativeAssetMetadata $postBody 
  9. * @param array $optParams Optional parameters. 
  10. * @return Google_Service_Dfareporting_CreativeAssetMetadata 
  11. */ 
  12. public function insert($profileId, $advertiserId, Google_Service_Dfareporting_CreativeAssetMetadata $postBody, $optParams = array()) 
  13. $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId, 'postBody' => $postBody); 
  14. $params = array_merge($params, $optParams); 
  15. return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeAssetMetadata");