// Updates a Creative Set name using an identifier.
Updates a Creative Set name using an identifier.
// Updates a Creative Set name using an identifier .
func (s *CreativeSetService) EditName(ctx context.Context, creativeSetId int64, name string) (*CreativeSet, *Response, error) {
	putData := map[string]string{
		"name": name,
	}
	u := fmt.Sprintf("creativesets/%d", creativeSetId)
	req, err := s.client.NewRequest("PUT", u, putData)
	if err != nil {
		return nil, nil, err
	}
	c := new(CreativeSet)
	resp, err := s.client.Do(ctx, req, c)
	if err != nil {
		return nil, resp, err
	}
	return c, resp, nil
}
func ( s * CreativeSetService ) EditName ( ctx context . Context , creativeSetId int64 , name string ) ( * CreativeSet , * Response , error ) { putData := map [ string ] string { " " : name , } u := fmt . Sprintf ( " " , creativeSetId ) req , err := s . client . NewRequest ( " " , u , putData ) if err != nil { return nil , nil , err } c := new ( CreativeSet ) resp , err := s . client . Do ( ctx , req , c ) if err != nil { return nil , resp , err } return c , resp , nil }
Updates a Creative Set name using an identifier.
Updates a Creative Set name using an identifier .