// Fetches assets used with Creative Sets.
Fetches assets used with Creative Sets.
// Fetches assets used with Creative Sets .
func (s *AppAssetService) List(ctx context.Context, adamId int, opt *AppAssetOpt) (*CreativeSetAssetsDetail, *Response, error) {
	req, err := s.client.NewRequest("POST", fmt.Sprintf("creativeappassets/%d", adamId), opt)
	if err != nil {
		return nil, nil, err
	}
	CreativeSet := CreativeSetAssetsDetail{}
	resp, err := s.client.Do(ctx, req, &CreativeSet)
	if err != nil {
		return nil, resp, err
	}
	return &CreativeSet, resp, nil
}
func ( s * AppAssetService ) List ( ctx context . Context , adamId int , opt * AppAssetOpt ) ( * CreativeSetAssetsDetail , * Response , error ) { req , err := s . client . NewRequest ( " " , fmt . Sprintf ( " " , adamId ) , opt ) if err != nil { return nil , nil , err } CreativeSet := CreativeSetAssetsDetail { } resp , err := s . client . Do ( ctx , req , & CreativeSet ) if err != nil { return nil , resp , err } return & CreativeSet , resp , nil }
Fetches assets used with Creative Sets.
Fetches assets used with Creative Sets .