asset = $asset; } /** * @return Asset */ public function getAsset() { return $this->asset; } /** * Optional. The role of this asset for the creative. * * Accepted values: ASSET_ROLE_UNSPECIFIED, ASSET_ROLE_MAIN, * ASSET_ROLE_BACKUP, ASSET_ROLE_POLITE_LOAD, ASSET_ROLE_HEADLINE, * ASSET_ROLE_LONG_HEADLINE, ASSET_ROLE_BODY, ASSET_ROLE_LONG_BODY, * ASSET_ROLE_CAPTION_URL, ASSET_ROLE_CALL_TO_ACTION, * ASSET_ROLE_ADVERTISER_NAME, ASSET_ROLE_PRICE, ASSET_ROLE_ANDROID_APP_ID, * ASSET_ROLE_IOS_APP_ID, ASSET_ROLE_RATING, ASSET_ROLE_ICON, * ASSET_ROLE_COVER_IMAGE, ASSET_ROLE_BACKGROUND_COLOR, * ASSET_ROLE_ACCENT_COLOR, ASSET_ROLE_REQUIRE_LOGO, ASSET_ROLE_REQUIRE_IMAGE, * ASSET_ROLE_ENABLE_ASSET_ENHANCEMENTS * * @param self::ROLE_* $role */ public function setRole($role) { $this->role = $role; } /** * @return self::ROLE_* */ public function getRole() { return $this->role; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AssetAssociation::class, 'Google_Service_DisplayVideo_AssetAssociation');